Wednesday, March 20, 2013

[android-developers] App works on Samsung Galaxy Note ONLY when I debug it with eclipse

Hello,
I have written an Android app that uses fusesource stompjms client.

The app connect to a server with stompjms. I am using AsyncTask for network related operations.

The app:

- works on all 2.3 devices;
- works on 2.3 emulator;
- works on 4.0 emulator;
- works on HTC 4.0 phone;
- hangs on connect to server on Motorola RAZR 4.0;
- hangs on connect to server on Samsung Galaxy Note 4.0;
- WORKS ON GALAXY NOTE WHEN I AM DEBUGGING IT WITH ECLIPSE AND USB CABLE!

I can see that stomp jms is an asynchronous framework that uses CountDownLatch java class.
When it hangs I am pretty sure that it waits forever on latch.await()

Please help me, it is a very strange behaviour!

Thanks,
Mario

--
--
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
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment