Android :: Android DatagramSocket Not Working Correctly

Aug 2, 2010

public void Connect() throws Exception
{
InetAddress dest;
dest = InetAddress.getByName("192.168.1.100");
DatagramSocket socket = new DatagramSocket();
socket.connect(new InetSocketAddress(15900));
byte[] message = "Oh Hai!".getBytes();
DatagramPacket packet = new DatagramPacket(message, message.length,dest,15900);
socket.send(packet);
}

Using the above code on Android SDK 1.5, when attaching the debugger to the android emulation, I step through the above sample (obtained from a tutorial), and the debugger returns control to the user when it reaches the DatagramSocket line... as soon as I hit F8 (Eclipse Galileo) to continue, I immediately have control again.. basically it never reaches socket.connect.... What is going wrong here? If I surround it in a try/catch block, nothing is caught so it's not an exception.

Android :: Android DatagramSocket not working correctly


Android :: Mail Not Working Correctly

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

Android :: Torrent FU Not Working Correctly

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

Android :: Google Sky Map Is Not Working Correctly

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

Android :: Sounds Not Loaded - SoundPool Working Correctly?

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

Android :: Location NOT Working Correctly In Droid After The Upgrade To 2.2

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

Android :: Get FileDescriptor From DatagramSocket?

Aug 7, 2009

So how can you get a FileDescriptor from a DatagramSocket (or even a Socket for that matter)? I notice there is a DatagramSocketImpl function which has a protected class for getFileDescriptor() but how do I extend the standard one to expose that somehow? Is there another way?

View 2 Replies View Related

Android :: Transparent Background Turn White While Scrolling / Get This Working Correctly?

Jan 7, 2010

I'm using a ListView with a transparent background. It works fine in Android 1.5 & 1.6, but in Android 2.0 and later, the ListView background turns white while scrolling. I want it to stay transparent, just like in 1.5 & 1.6.

Does anyone know what's going on, or better yet, how I can get this working correctly?

View 2 Replies View Related

Android :: DatagramSocket.receive - Sometimes Blocks For Too Long

Dec 28, 2009

I have a thread that constantly polls a UDP connection and posts the received data to another thread. It uses a connected DatagramSocket, reads a packet (which is always the same side), gets the data and posts it to a message queue (not the android one, my implementation). The problem happens mainly over 3G connection, not wifi.

Code looks like:

CODE:...............

View 2 Replies View Related

HTC EVO 4G :: Mail Not Working Correctly?

Jun 9, 2010

so i tried out k-9 mail last night and i gotta say i like some of the features but the overall look just doesn't look as nice as the stock, and the stock works just fine for me so i decided to delete it. before my emails seemed to be pushed to my phone right as they came. now they never push to my phone i have to hit refresh in order to get my emails. i didn't change any settings.

View 15 Replies View Related

HTC EVO 4G :: Delete Messages Not Working Correctly

Jun 28, 2010

Whenever i go into my messages(texts), it loads up fine. But when I go to open any conversations It takes atleast 30 seconds before anything happens. I've tried deleting messages, but that did nothing. Literally nothing. Like no messages deleted. Also, my Micro USB port is being a little haywire. To get it to charge or connect to my computer, I have to hold down the cable, so that it's at an angle. This is the only way it'll charge. This just started happening last night. I've treated this thing very nice, and I haven't dropped it once. I'm thinking about taking it into a Sprint store to see what they can do. I just downloaded the update today, and the hardware version is 0002.

View 8 Replies View Related

HTC Incredible :: Charger Not Working Correctly

May 10, 2010

Everytime I plug my INC into the mini USB to charge, I have to unplug and replug several times and jiggle it to get it to charge. It's like it is not recogizing that it's connected. I had this problem with my blackberry a few times, and it ruined it. I had to submit an insurance claim because it couldn't be repaired easily.

View 2 Replies View Related

HTC Incredible :: Swype Not Working Correctly?

Jun 2, 2010

I tried to install Swype. It installed no problem, and I can select it as an input method. All is good, untill I try to swype a word. I get the little "swype mark" blue streak deal, and it makes the noise, but no word appears in the text box area. I've tried it on the internet, handcent, and normal messages.

View 9 Replies View Related

HTC Hero :: Browser Not Working Correctly

Nov 15, 2009

1) I cannot get some pages to close after viewing them on the browser. After clicking the X in the top right corner of the page the phone shows the message "stopping" but the page remains on the screen. Only way I can get the page off the screen is to reboot the phone.

2) I have the default screen on the home page. The two "white pages" show the time incorrectly; one hour ahead of actual time.

View 10 Replies View Related

General :: Ported CWM Not Working Correctly?

Feb 19, 2013

I have been trying to port cwm5 to my low-end samsung phone.

After a few days of effort, I managed to compile a half-working cwm:Can be flashed by odin1.85
Boots successfully

All keys work, including volume up/down and power

Adb works, I can now mount /system and root my device

Something wrong with display, screen blurred and messed when boot into cwm

Partitions not correctly auto-mounted,

Code:
adb shell mount -a
said: [code]....

3. Can't reboot to android system

I guess it has something to do with MSC partition not mounted, but not sure.

View 1 Replies View Related

Motorola Droid :: SetCPU Not Working Correctly

Sep 10, 2010

I just rooted my droid to Liquid froyo 1.6. Everything is smooth except for SetCPU, it doesn't want to do anything for me. I made a widget, and whenever I try to change my speed, overclock or underclock it force closes, it won't let me do anything.

View 9 Replies View Related

HTC Incredible :: SetCPU Not Working Correctly - Overlock?

Jul 14, 2010

The SetCPU isn't working correctly for me on my Incredible... though it works great on my Eris. The max it gives me is 998, and min 245. Changing them doesn't do a thing. I can't overlock it... whats going on? What did I miss?

View 3 Replies View Related

HTC Desire :: News Widget Not Working Correctly

Jul 27, 2010

ive the news feed widget on my homescreen and it just shows the headlines til the other day i just had to press the headline i was interested in and it took me to another page showin headline and saying press for full story. if pressed took you to the bbc site onto that story. now if you press it just does nothing. it flashes green so it knows its been touched but doesnt do anything. ive not changed any settings or anything

View 7 Replies View Related

HTC Eris :: Swype Not Working Correctly After Rooted To 2.0

Apr 8, 2010

I've got my phone up and running with sense-able 2.0 but for some reason swype is not working correctly. It never seems to make the line all the way to the letter I'm trying to type. Its like this for every letter. Its especially missing the last letter it usually ends up a couple letters away from where I end up. I was using it just fine when I wasn't rooted and on 1.5 but now its giving me problems. I've even tried playing with the settings and it doesn't seem to help. I'm wondering if anyone else has had this issue. I guess I'll try uninstalling and reinstalling it.

View 6 Replies View Related

HTC EVO 4G :: Animated Gifs On Froyo Working Correctly

Jul 30, 2010

Are animated .gif's working correctly with the new 2.2 update?

Example: weather maps on weatherunderground.com showing animation? Link below...
Weather Underground (Mobile)

View 8 Replies View Related

HTC Hero :: Marketplace Stopped Working Correctly

Dec 13, 2009

For some reason downloads from the market has stopped working... I haven't been able to download anything from the market in the last hour... The download just sits at 'Starting Download' but never starts... I heard that you have to hack/root your phone to download market apps if you're using a European or Telus Hero in the states but when i first got the phone I was downloading apps just fine so I figured that was false... any idea how to go about finding out what's wrong? I'm on WiFi...

View 10 Replies View Related

UDP DatagramSocket Usage?

Sep 16, 2013

I am trying to port an application from Windows to Android that uses datagramsockets for communication. (C# to Java)

In the windows world, I created a messagereceived event listener that is automatically called when a UDP packet is received. The program continues to process data while it is waiting for a message to arrive.

In Android, there does not appear to be a corresponding event listener. All of the samples that I have found use loops to poll for the data and call the blocking datagramsocket.receive method to fetch the packet.

My program can't sit idle as it waits for the UDP packet, it needs to work even if the other end of the UDP system is down.how to replicate this process in java on the Android?

View 2 Replies View Related

General :: Google Speech To Text Not Working Correctly

Aug 26, 2013

This appears to be affect multiple brands and models. About a 3-4 days ago it started deleting previous sentences or phrases and only leaving the most recent phrase you spoke minus the last word. Long delays as well. As mentioned, it is affecting multiple phones based on other comments throughout internet. Very frustrating!

Initially I thought it was related to the recent Maps update, but rolled back to older version and no change. Not sure about the recent change for Google Voice to Hangouts, but that seems like a possibility . .

View 2 Replies View Related

General :: Google Speech To Text Not Working Correctly?

Aug 23, 2013

I have a Samsung Galaxy Centura and I'm using Go SMS Pro and SwiftKey.

Starting today, when I try to text using the voice to text feature, every time I start a new sentence, the previous sentence disappears. This has never happened to me before. I tried repeatedly, to the point I was cursing, and now it is also blocking out offensive words also. I went to Language and Input > Google Voice Typing and made sure Block offensive words is not checked.

View 24 Replies View Related

HTC Desire :: Playing Games And Emulators - Multitouch Working Correctly?

May 15, 2010

Whenever I use multitouch, as soon as my fingers get close to the same axis, they seem to snap onto the same axis. Is this normal, as it makes playing some games and emulators rather fiddly. Sent from my HTC Desire using Tapatalk

View 3 Replies View Related

Sony Ericsson Xperia X10 :: Keyboard / Buttons Not Working Correctly

Aug 31, 2010

For someone my keyboard on me Xperia X10 Mini doesn't seem to work as it should and by that i mean when i press some buttons like the . or a it. will print out more than one letter or even a whole string of numbers. Also when i press the back button all it does is close the app rather then going back. Which is what the middle button should be doing.

View 2 Replies View Related

Motorola Droid X :: Contact Search Results Not Working Correctly?

Oct 6, 2010

When I click on the search button (magnifying glass), type in the name of a person I am looking for in my contacts, I come up with a list of people who match what I have typed. On my droid, I could then click on any of the results to bring up that persons contact information. On this phone, it flashes the contact information for about a 10th of a second then goes back to my search results. I can get the contact information by clicking on the icon for that person, then selecting the contacts icon that comes up below. Is this something that is going on with my phone only or are others having this issue also.

View 5 Replies View Related

HTC Droid Eris :: Display Not Working Correctly After Manual Update

Jan 4, 2010

I manually updated the phone with the file that was posted here as the leaked update. The process was easy and pretty much headache free. I used the trial version of MyBackup app and it did what its supposed to do. However I am facing some problems and have some questions also.

1. It seems that my display is not working correctly now. Maybe it is just me, but i can tell that that the backlight is not as responsive as it should be. It doesnt go to the set brightness level as fast and smooth as it was.

2. I let MyBackup restore the apps also and it was a mistake in my opinion. It erased the apps in "My downloads". Now not only can't I find a certain app (USA Today seems to disappear...and no, not the USA Today widget one. that one sucks. Anyone knows what happened to it?) I also dont know how to uninstall an app if it is not in my downloads. I suppose in manage applications? Correct me if I am wrong.

3. For me YouTube app started working better, but still says it cant play video in High Quality mode.
4. Anyone using something different from the People app?
5. Could not find a post about how to erase the vocabulary you added. I spelled something wrong and need to get rid of it.

6. The email is set to update once i day..still i get the notification as soon as I receive one. Help?

Overall, there is a little speed improvement. I didnt notice any drastic improvement, but its just quicker a bit. However, Id rather have my display back to working the way its supposed to be. I can wait until the OTA officially comes out.

View 17 Replies View Related

Motorola Droid :: Automatic Brightness Of Video Recorder Not Working Correctly

Dec 4, 2009

i don't record video very often, so i just noticed this problem after having my droid for almost a month. does anyone else experience this? it's a little difficult to explain, but it seems like the automatic brightness of the video recorder is not working correctly. in low light scenarios, instead of the video getting brighter so you can see more, it actually gets DIMMER. i can tell this because i set up a scenario where half the room is regular light and half is low light.

things look fine in the regular light. additionally, things look fine when i have both sides of the room in the picture, and i can tell the droid adjusts a little because the the picture will get brighter, causing the regular light side to be very bright but the low light side to be visible (that's the expected behavior). then, when i pan to the low light side, i see the camera make a brightness adjustment again, but it gets dimmer rather than brighter, making it almost impossible to see anything. the screen basically turns black. i'm sure this is not how it's supposed to work, but what i'm wondering is whether i have a faulty unit and should exchange or whether everyone has this issue. did anyone understand this post?

View 4 Replies View Related

Jelly Bean :: Galaxy S4 / 4.3 Upgrade - Handsfree Mode Not Working Correctly

Jan 10, 2014

Recently upgraded from 4.2.2 to 4.3 on my Galaxy S4 and since then the Hands-free turns on automatically every few minutes. It is annoying, especially since I do not use it. Tried to turn it off but it comes back by itself. The people at AT&T ddisabled it but it came back after a few hours.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved