Android :: BluetoothServerSocket : Close It Correctly?
Mar 29, 2010
I've activity, which send files using Bluetooth. When I want to stop server socket which is waiting for accept I call close(). After that activity just hang. How should I close BluetoothServerSocket correctly?
View 4 Replies
Feb 10, 2010
In my application I need to react on APN changes (including going back and forth between WiFi and GSM connections) and change proxy settings in case it needs to be taken into account to connect with the network. I'm listening for ConnectivityManager.CONNECTIVITY_ACTION broadcasts to check for APN changes which contains 'reason' extra among others. Unfortunately the 'reason' for APN change is not documented, maybe it should not be used? I was using (with limited success) reason:apnChanged and reason:apnSetupComplete as indicators of APN change being done but that does not work well with going back and forth between WiFi and mobile connection. What is the correct way of listening for changes of current network APN/Interface?
View 2 Replies
View Related
May 23, 2010
I got my droid eris last Feb. 2010. I was always able to retrieve my POP yahoo mail, but it never worked like it should. Then one day a couple of weeks ago, it started working correctly, meaning I would hear a notification sound, the phone would vibrate and there would be a green number on the mail icon on my home page. I don't know what setting I changed, but it was working. Then I decided to get a Mail Plus yahoo account so I could store all my emails in my Mail program on my Mac. I set up it up and all was working.
Then the 2.1 software update came through last week. Mail was not working correctly, so I reset up the yahoo account. The phone did it automatically and I noticed now it's using an IMAP and android.imap.mail.yahoo.com server address. I could retrieve my email OK, but again, it did not work as I expected. Now, in the last 2 days, it is deleting mail from my server when I delete the mail from my phone. There WAS a setting that said Never Delete from Server in the Send/Receive setting area, BUT NOW THAT IS GONE!
View 3 Replies
View Related
Feb 13, 2010
I am having problems getting Torrent Fu to work correctly on my Eris. I have done everything I can think of and need a new pair of ears to help me get past these problem. I have done everything (which I think I did correctly (according to the setup page)) and it is still not working. I have a port on my router open and even tested it and that is ok. However my Eris is not able to see it nor send a torrent to the uTorrent app on the computer.
View 13 Replies
View Related
May 15, 2010
The Gmail app on my Samsung Galaxy Portal/Lite/Spica (i5700) doesn't seem to be syncing mail correctly when previously it was.
I have updated via Odin to Eclair, however the problem was there in 1.5 and I was hoping 2.1 fixed it. Curiously, the issue wasn't there when I first got the phone and it is a relatively recent issue.
When I read a mail in the Gmail app it should mark as read, however when I log on to Gmail from a PC it still shows as unread. But the phone will still mark it as unread.
How do I make the Gmail app show all mail read through it as read when I log on via a PC?
View 4 Replies
View Related
Oct 29, 2009
I've been trying to load a class with DexClassLoader, but it doesn't really work. There was a couple of posts about this, so I tried some of them, but it didn't work.Here's my code:
DexClassLoader dLoader = new DexClassLoader("/data/app/ com.testpackage.test2.apk", "/data/dalvik-cache", null, ClassLoader.getSystemClassLoader()); try { Class cLoad = dLoader.loadClass("com.testpackage.test2.Test2");
} catch (ClassNotFoundException e) { Log.d("ERROR", "Class Not Found"); e.printStackTrace(); } ..............
View 4 Replies
View Related
Feb 19, 2010
Google Sky map is not working correctly.
The display remains stationary when I slowly rotate from North around 360deg.
When I move the phone vertically from the horizon upwards, the constellations change,as expected.
GPS is enabled and gives my correct location when Sky Map starts.
Has anyone, any suggestions. I am an astronomer, and bought my Hero because of this application.
My phone details are:-
HTC hero
Firmware 1.5
Build No: 2.73.61.66
Software version: 1.0.0.A6288
View 6 Replies
View Related
Jun 5, 2009
I have a LinearLayout and I am setting a Background image. I am using a PNG24, and the image has a gradient in it. When I see the image on the computer the gradient is perfect, but when I see it on the emulator or on a real phone, some colors are lost and I see only like 10 colors, so I see lines and not a perfect gradient. Is the emulator 'compressing' the images? Should I make them in other format?
View 3 Replies
View Related
Jun 1, 2010
Is there any way to correctly stop the camera service? This does not seem to work: After doing that the camera does not work, even if I use the program that is pre installed in my handset.
View 2 Replies
View Related
Feb 17, 2010
I've gotten headaches from this too.
Usually a double loop works fine for me:
CODE:....................
View 2 Replies
View Related
Aug 28, 2010
i have a list view and custom list adapter for it. There are various other fields in it and a Checkbox. The problem is that it is not able to map Checkboxes properly. I mean if an entry is already present in database it should come checked.When i put a log in the View function it shows some of the entries that are repeated, i think this is the main reason.
View 3 Replies
View Related
Sep 9, 2010
Youtube app has never worked correctly and now doesn't work at all Since I've had the droid x the youtube app had given myself and others the log in problems where you try to log in and it will log you in"username@youtube.com" how and why does it even do this? The error "There is a problem with network response" I've had since the beginning aswell only now force closes on it self.
View 1 Replies
View Related
May 2, 2010
A small percentage of our users are getting a package not signed correctly error when installing our app that was downloaded from the Market. They can't re-download from the Market, so we are having to get them to download and install it from our site, which works fine. It seems to happen to maybe 1% of our users, and only for our paid app, not for the free one (at least that we've heard of, naturally the paid users are going to contact us more than the free ones). I'm guessing it's a problem when the download is corrupted for some reason, but in that case shouldn't the Market let them re-download it and try again? Anyone else seeing this? You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers @googlegroups.com To unsubscribe from this group, send email to android-developers+ unsubscribe @googlegroups.com For more options, visit this group at ttp://groups. google.com /group/android-developers?hl=en
View 2 Replies
View Related
Nov 17, 2009
I have a WebView that I'm using to display some html/image files stored in the assets/ directory.
View 10 Replies
View Related
Sep 16, 2010
I want to insert a String value call temp but I don't seems to get it working for the INSERT INTO statement. Anything wrong with the code? This is the initialization to create table and insert some default values into the table if the database doesn't exist. Code...
View 4 Replies
View Related
Apr 16, 2010
This is a simple question about getting started with developing Android apps using Eclipse. I have followed all the tutorials on the developer site for installing Eclipse, the SDK and the ADT plugin. When trying to run a simple Hello World program, everything seems to compile correctly, but then the virtual machine comes up empty. In the Console Window it reads:
The program then just sits and my text never comes up. Any idea with what the problem could be?
View 1 Replies
View Related
Jul 30, 2010
I have tested on the simulator motorola provides and on various hardware (Droid, Nexus One, G1,wildfire) but can't reproduce anything. Wondering if anyone else has had any issues.
View 4 Replies
View Related
Oct 30, 2010
I have a square which I'm rendering using four vertices's and GL_LINE_LOOP. It works fine.
However, if I start to rotate this square on all axes and part of the square leaves the emulator screen, the loop appears to drop the vertex that has left the screen. I then get a triangle for a while until the fourth vertex returns to the screen and the loop draws the square again.
I'm extremely new to OpenGL. Is this expected behavior, a bug in the Android emulator, or something I've missed?
View 1 Replies
View Related
Aug 16, 2010
I want to keep the phone from ringing during my meal times, so I have set a profile called "Meal." I have it set to Silent mode and have turned media volume to zero (I use an MP3 song for my ring, so I figured doing both would be safer). I have set the rule to activate "Meal" from 18:00 to 19:00. I set this up over the weekend, but I got a call tonight (and it rang) at about 6:50 (18:50). Am I missing something in my settings? I have the full version, not the trial.
View 7 Replies
View Related
Jan 2, 2013
I tried android gingerbread,ICS, now I am on CM 10.1 android 4.2.1. I have tried several browsers: stock , chrome , mozilla , opera .
This is how some of the sites look ,by the way ,it's the same in landscape mode
Samsung galaxy S2 i9100
View 6 Replies
View Related
Oct 7, 2009
i want to keep cancel button in the title bar at the right side, but i am getting the icon at the left side of title bar. Is this a bug or something else is required to accomplish this?
View 2 Replies
View Related
Aug 9, 2010
I just got a hold of an HTC Evo and well my app really looked bad(What a shame my part But the app looked great on another device I got Xperia X10.The differences: Evo: 480x800 X10: 480x854.Currently I have only 2 layouts that need special attention.My questions... What is the best way to properly handle screens resolution/sizes/types? I thought I would create the following resource folders: res/layout res/layout-800x480 res/layout-854x480.Does anyone know if this is the best way to handle specific layouts for specific screens?Doing it by resolution size?
View 6 Replies
View Related
Feb 25, 2009
I've recently started working with the SoundPool class in SDK 1.1R1, and noticed that my app deadlocks from time to time, or sounds are not loaded. I remember reading, back in November, that this was to be addressed in the next SDK. I've used pretty much the same code that others have used and most of the time it works for a bit. Just a minute ago, the app completely crashed with no "Force Close" and returned to the home screen. Logcat reveals that "HeapWorker is wedged: 26577ms spent inside Landroid/media/SoundPool;.finalize()V" I'm not sure if this is the same issue others had with SoundPool or if I have encountered an entirely new beast.
View 13 Replies
View Related
Sep 6, 2010
I had filed a similar issue about location services not working properly in emulator. However after I upgraded my droid phone to 2.2, I am finding that location services are not showing the correct location. Though the coordinates looks correct, it is showing my location as San Jose while I stay in Los Gatos. Therefore my local search query gives me result based on San Jose.
View 6 Replies
View Related
Jul 16, 2009
My operation procedure is as below: 1. Execute Cupcake emulator with WVGA-P skin. 2. Activate Contacts application, and select "Contact" tab. 3. Press "Menu" key and select "New contact" option item. 4. Discover that the middle of current layout isn't represented.
View 2 Replies
View Related
May 30, 2010
I have a ListView, which has a TextView and a RadioGroup with 4 RadioButtons as Children in each row. Now i can select a RadioButton in each row. But if i scroll the ListView, my Selection is gone or it does not show correctly. For example, i choose the RadioButton A in the first row, if i scroll through the ListView and then go back to the first row again, either none of the RadioButtons in the RadioGroup is checked or RadioButton C is checked instead of A.How can i fix this Problem? I have tried 7 days already, but still i find no solution.
View 1 Replies
View Related
Jun 8, 2010
I have a ListView, which contains an EditText in each of it's row. I also have an Array.The length of the Array==the Nr of the rows in the ListView. I want to store the user input (the text in the EditText) to the Arrray. E.g, if i type some text in the EditText in the first row of the ListView, i want the text to be stored in Array[0]. But how can i detect to which row the EditText belongs to? I can detect the possition of the row if the row contains a RadioGroup, but not a EditText. What if i first type some text in the EditText and sometime later i want to update mein Input? How can i update it?
View 1 Replies
View Related
May 9, 2010
There is a task to make smt like todo list on widget (with dinamic number of elements), how to organize this list for click support on this elements. I only found how add click event on one widget layout element (with setOnClickPendingIntent), and how send text to widget element TextView. But it's unclear how handle click events for sub-elemets, or how get click coordinates(or item) where was click event. I saw widget "Agenda widget" - and it work fine with clicking on different calendar rows.
View 1 Replies
View Related
Dec 17, 2009
I custom the BaseAdapter to show image array with full-screen mode. I want the user can flick the images so I use the gallery class.When a image displays on the screen, a correlative sentence should be showed as well. The issue is the position param in getView function jump abnormally, especially when I flick into more one picture at a time. Therefore the string is showed incorrectly, I don't know why the image still displays normally. Here is my code...
View 4 Replies
View Related
Aug 21, 2010
I'm trying to create a way to adjust volume settings for each of the different streams (media, notification, ringtone, etc) and have a way to preview the output sound level of each stream. I believe I have the correct implementation, but when I set the output stream type, there is no sound that plays.
Here is the code that correctly plays the user's selected alarm sound:
CODE:.................
That commented out line is what is causing me problems. I would like to hear the alarm sound at the volume levels of the different audio streams, but when I include that line for STREAM_ALARM or any other audio stream, no sound at all plays.
View 1 Replies
View Related