Re: [android-developers] Re: SdkController app
Thanks for the explanation and workaround! 2013/3/26 colin colin...@googlemail.com: Yes. I built my own copy of the SdkController app and managed to track down the bug. The problem was (and presumably still is) that a string in the protocol being sent from the emulator to the app was being corrupted with four leading zero bytes. I didn't investigate the emulator code, but my assumption is that a struct-padding issue somewhere means that an extra word is being inserted into the stream of data when the emulator is compiled for MS Windows, but not for the Mac. (So the proper solution would be to track down where this is happening and process the relevant fields individually, rather than take the containing struct as a whole.) But for my purposes, I came up with a hack in the app file Connection.java. The string being corrupted is the channel name, causing the method getChannel() to return null - public Channel getChannel(String name){ for (Channel channel : mChannels) { if (channel.getChannelName().equals(name)) { return channel; } } return null; } So I added a couple of lines within the above for loop to do wildcard matches on the only two channels that currently exist (sensor and multitouch) - if (channel.getChannelName().matches(.*sen.*) name.matches(.*sen.*) ) { return channel; } if (channel.getChannelName().matches(.*multi.*) name.matches(.*multi.*) ) { return channel; } Ugly, but it got things working. To be honest, I didn't then do much with it, so I don't know if there are other issues. The fact that something so fundamental went unnoticed suggests there may well be. On Saturday, 23 March 2013 12:22:36 UTC, Sebioff wrote: Did you get it working in the meantime? This would be such an awesome tool, but I can't get it working either and not many people seem to know that this even exists, so it's hard to find help... Am Mittwoch, 14. November 2012 00:24:38 UTC+1 schrieb colin: Hi, Has anybody been able to get the SdkController app to work with the emulator? I found an old thread about this and tried to revive it, but I don't think I will be getting a reply there - https://groups.google.com/d/topic/adt-dev/TyZiFZ_Ns5Y/discussion. Given the video of it working on a Mac from Google IO, I'm wondering if there is a problem with the Windows version of the emulator. -- -- 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+unsubscr...@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 a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/s6pQibI0Jb8/unsubscribe?hl=en. To unsubscribe from this group and all its topics, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Activity
Hi Friends, I have a doubt in activity destroy. 1. When the activity is destroy without calling the in-built method like (on-destroy,finish, is Finishing) and without press back button? 2.How can i get the call back in default Stack process like activity is adding the stack and deleting the stack? Pls help me -- *Thanks Regards* *K.Arun Kumar* -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Google Maps V2 Empty map on Galaxy Note 2
I am using Google Maps API V2 in my Android application. As you can see in screenshot I have FragmentPager and there is a fragment which include google maps v2. On the device Galaxy Note 2 i have problem with displaying map content. On other devices maps works without any problem and displays added markers and lines. As you can see that it displays only background image of my activity. I already tested my application on different devices but only Galaxy Note 2 has problem. Any idea about solution? Thanks. https://lh4.googleusercontent.com/-AV7jmOb_iCs/UVGlp6w7F5I/AAM/aCA_TkaI5sw/s1600/fuwXL.png -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: App works on Samsung Galaxy Note ONLY when I debug it with eclipse
Ok I am debugging threads. But it seems that all threads are waiting for the i/o thread, I mean the one waiting for libcore.io.posix.poll To me this thing seems right, I do not understand why i/o thread newer wakes up. Il giorno lunedì 25 marzo 2013 11:08:52 UTC+1, Mario Giammarco ha scritto: Il giorno domenica 24 marzo 2013 23:49:40 UTC+1, Kostya Vasilyev ha scritto: If I were to guess, I'd say there might be a thread race issue I suppose a race issue too but usually race issues are random, in this case with 2.3.6 it always works with galaxy it always not work (apart with debugger) When it hangs, use the Eclipse DDMS perspective to attach the debugger (select the device, then your app on it, then tap the green Bug icon). Next, switch to Debug perspective / tab, and use the Pause button there to pause and examine your threads. Great hint thanks! I did not remember that I can attach debugger AFTER it hangs!! That's what I would do anyway. -- K 2013/3/25 Mario Giammarco mgiam...@gmail.com: Can no one help me? Is there a thread problem in asynctask? Il giorno mercoledì 20 marzo 2013 10:03:35 UTC+1, Mario Giammarco ha scritto: 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-d...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: App works on Samsung Galaxy Note ONLY when I debug it with eclipse
Sounds like a blocking socket operation that is blocked. What type of I/O are you doing? TCP over Wifi? Thanks. On Tuesday, March 26, 2013 9:17:04 AM UTC-5, Mario Giammarco wrote: Ok I am debugging threads. But it seems that all threads are waiting for the i/o thread, I mean the one waiting for libcore.io.posix.poll To me this thing seems right, I do not understand why i/o thread newer wakes up. Il giorno lunedì 25 marzo 2013 11:08:52 UTC+1, Mario Giammarco ha scritto: Il giorno domenica 24 marzo 2013 23:49:40 UTC+1, Kostya Vasilyev ha scritto: If I were to guess, I'd say there might be a thread race issue I suppose a race issue too but usually race issues are random, in this case with 2.3.6 it always works with galaxy it always not work (apart with debugger) When it hangs, use the Eclipse DDMS perspective to attach the debugger (select the device, then your app on it, then tap the green Bug icon). Next, switch to Debug perspective / tab, and use the Pause button there to pause and examine your threads. Great hint thanks! I did not remember that I can attach debugger AFTER it hangs!! That's what I would do anyway. -- K 2013/3/25 Mario Giammarco mgiam...@gmail.com: Can no one help me? Is there a thread problem in asynctask? Il giorno mercoledì 20 marzo 2013 10:03:35 UTC+1, Mario Giammarco ha scritto: 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-d...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Google Maps V2 Empty map on Galaxy Note 2
What does this icon mean? https://lh6.googleusercontent.com/-KH2Cq0Tssl8/UVGz4KngxKI/AUU/z5oYBmSsaAc/s1600/erricon.png Maybe that's the ticket? On Tuesday, March 26, 2013 8:42:10 AM UTC-5, Captain Comando wrote: I am using Google Maps API V2 in my Android application. As you can see in screenshot I have FragmentPager and there is a fragment which include google maps v2. On the device Galaxy Note 2 i have problem with displaying map content. On other devices maps works without any problem and displays added markers and lines. As you can see that it displays only background image of my activity. I already tested my application on different devices but only Galaxy Note 2 has problem. Any idea about solution? Thanks. https://lh4.googleusercontent.com/-AV7jmOb_iCs/UVGlp6w7F5I/AAM/aCA_TkaI5sw/s1600/fuwXL.png -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Google Maps V2 Empty map on Galaxy Note 2
It is icon of Insert SIM Card notification. Internet connection is not problem because device connected to internet using wifi. 2013/3/26 bob b...@coolfone.comze.com What does this icon mean? https://lh6.googleusercontent.com/-KH2Cq0Tssl8/UVGz4KngxKI/AUU/z5oYBmSsaAc/s1600/erricon.png Maybe that's the ticket? On Tuesday, March 26, 2013 8:42:10 AM UTC-5, Captain Comando wrote: I am using Google Maps API V2 in my Android application. As you can see in screenshot I have FragmentPager and there is a fragment which include google maps v2. On the device Galaxy Note 2 i have problem with displaying map content. On other devices maps works without any problem and displays added markers and lines. As you can see that it displays only background image of my activity. I already tested my application on different devices but only Galaxy Note 2 has problem. Any idea about solution? Thanks. https://lh4.googleusercontent.com/-AV7jmOb_iCs/UVGlp6w7F5I/AAM/aCA_TkaI5sw/s1600/fuwXL.png -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Google Maps V2 Empty map on Galaxy Note 2
And you are sure it works on other devices when they have their SIM card removed? On Tuesday, March 26, 2013 10:47:46 AM UTC-4, Captain Comando wrote: It is icon of Insert SIM Card notification. Internet connection is not problem because device connected to internet using wifi. 2013/3/26 bob b...@coolfone.comze.com javascript: What does this icon mean? https://lh6.googleusercontent.com/-KH2Cq0Tssl8/UVGz4KngxKI/AUU/z5oYBmSsaAc/s1600/erricon.png Maybe that's the ticket? On Tuesday, March 26, 2013 8:42:10 AM UTC-5, Captain Comando wrote: I am using Google Maps API V2 in my Android application. As you can see in screenshot I have FragmentPager and there is a fragment which include google maps v2. On the device Galaxy Note 2 i have problem with displaying map content. On other devices maps works without any problem and displays added markers and lines. As you can see that it displays only background image of my activity. I already tested my application on different devices but only Galaxy Note 2 has problem. Any idea about solution? Thanks. https://lh4.googleusercontent.com/-AV7jmOb_iCs/UVGlp6w7F5I/AAM/aCA_TkaI5sw/s1600/fuwXL.png -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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+unsubscr...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Google Maps V2 Empty map on Galaxy Note 2
Yes, I removed all of sim cards and again map works on other devices except Note 2.=( 2013/3/26 lbendlin l...@bendlin.us And you are sure it works on other devices when they have their SIM card removed? On Tuesday, March 26, 2013 10:47:46 AM UTC-4, Captain Comando wrote: It is icon of Insert SIM Card notification. Internet connection is not problem because device connected to internet using wifi. 2013/3/26 bob b...@coolfone.comze.com What does this icon mean? https://lh6.googleusercontent.com/-KH2Cq0Tssl8/UVGz4KngxKI/AUU/z5oYBmSsaAc/s1600/erricon.png Maybe that's the ticket? On Tuesday, March 26, 2013 8:42:10 AM UTC-5, Captain Comando wrote: I am using Google Maps API V2 in my Android application. As you can see in screenshot I have FragmentPager and there is a fragment which include google maps v2. On the device Galaxy Note 2 i have problem with displaying map content. On other devices maps works without any problem and displays added markers and lines. As you can see that it displays only background image of my activity. I already tested my application on different devices but only Galaxy Note 2 has problem. Any idea about solution? Thanks. https://lh4.googleusercontent.com/-AV7jmOb_iCs/UVGlp6w7F5I/AAM/aCA_TkaI5sw/s1600/fuwXL.png -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@**googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://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+**unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: App works on Samsung Galaxy Note ONLY when I debug it with eclipse
My app connects to an activemq server using stomp protocol ( a text based protocol). I so open a socket over wifi or UMTS Then the socket is kept open because there is a bidirectional asynchronous communication. I supposed a thread deadlock but my app installed on a 2.3 android works perfectly and for perfectly I mean that there are 50 people that are connected to the server each day since last year so it is very strange that noone have experienced at least a lock. So now I suppose that it cannot be a deadlock. This lock happens just after the tcp connection is established (syn, ack, syn/ack). In 2.3 it does not lock so the app can send the first message and the receive the first reply. 2013/3/26 bob b...@coolfone.comze.com: Sounds like a blocking socket operation that is blocked. What type of I/O are you doing? TCP over Wifi? Thanks. On Tuesday, March 26, 2013 9:17:04 AM UTC-5, Mario Giammarco wrote: Ok I am debugging threads. But it seems that all threads are waiting for the i/o thread, I mean the one waiting for libcore.io.posix.poll To me this thing seems right, I do not understand why i/o thread newer wakes up. Il giorno lunedì 25 marzo 2013 11:08:52 UTC+1, Mario Giammarco ha scritto: Il giorno domenica 24 marzo 2013 23:49:40 UTC+1, Kostya Vasilyev ha scritto: If I were to guess, I'd say there might be a thread race issue I suppose a race issue too but usually race issues are random, in this case with 2.3.6 it always works with galaxy it always not work (apart with debugger) When it hangs, use the Eclipse DDMS perspective to attach the debugger (select the device, then your app on it, then tap the green Bug icon). Next, switch to Debug perspective / tab, and use the Pause button there to pause and examine your threads. Great hint thanks! I did not remember that I can attach debugger AFTER it hangs!! That's what I would do anyway. -- K 2013/3/25 Mario Giammarco mgiam...@gmail.com: Can no one help me? Is there a thread problem in asynctask? Il giorno mercoledì 20 marzo 2013 10:03:35 UTC+1, Mario Giammarco ha scritto: 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-d...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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 a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/r335myLkLbk/unsubscribe?hl=en. To unsubscribe from this group and all its topics, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit
[android-developers] Monthly Payout Reports late... and missing 50% of entries
Just got a link to the report for February, about 2 weeks late I believe. Only about half of the entries are there. There's a 'Known Issue' with Play Store support about 'Mismatches in Monthly Payout Reports', I guess that's the 50% missing entries issue. Does anyone know how long that 'Known Issue' has been there ? Thanks, Pent -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] De compile Android Application
You want the app to be able to be transfered, installed and executed, don't you? That means that it has to be read each step. That means you always can decompile it, can't you? So no, this can't be done, but you can make it harder to understand the code with good obscuring programs that rename methods etc. You could develop another compiler the decompiler has problems with. But that is just obscuring your code, not stop anyone from decode your program. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] De compile Android Application
You can't always decompile the code to something sensible. Decompilers work based on (generally) pattern matching what a compiler would generate. If you change assembly sequences you can break a decompiler. So no, you can't *always* decompile it, for most definitions of what a decompiler is. (And they're usually tuned to a specific compiler's output.) Decompilation is a tricky process. Usually disassembly is really all you need, and you can obviously always do that. Kris On Tue, Mar 26, 2013 at 1:18 PM, Jxn anders.jack...@gmail.com wrote: You want the app to be able to be transfered, installed and executed, don't you? That means that it has to be read each step. That means you always can decompile it, can't you? So no, this can't be done, but you can make it harder to understand the code with good obscuring programs that rename methods etc. You could develop another compiler the decompiler has problems with. But that is just obscuring your code, not stop anyone from decode your program. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Google Maps V2 Empty map on Galaxy Note 2
Can you create an emulator that is basically a Note 2? Thanks. On Tuesday, March 26, 2013 11:40:08 AM UTC-5, Captain Comando wrote: Yes, I removed all of sim cards and again map works on other devices except Note 2.=( 2013/3/26 lbendlin lu...@bendlin.us javascript: And you are sure it works on other devices when they have their SIM card removed? On Tuesday, March 26, 2013 10:47:46 AM UTC-4, Captain Comando wrote: It is icon of Insert SIM Card notification. Internet connection is not problem because device connected to internet using wifi. 2013/3/26 bob b...@coolfone.comze.com What does this icon mean? https://lh6.googleusercontent.com/-KH2Cq0Tssl8/UVGz4KngxKI/AUU/z5oYBmSsaAc/s1600/erricon.png Maybe that's the ticket? On Tuesday, March 26, 2013 8:42:10 AM UTC-5, Captain Comando wrote: I am using Google Maps API V2 in my Android application. As you can see in screenshot I have FragmentPager and there is a fragment which include google maps v2. On the device Galaxy Note 2 i have problem with displaying map content. On other devices maps works without any problem and displays added markers and lines. As you can see that it displays only background image of my activity. I already tested my application on different devices but only Galaxy Note 2 has problem. Any idea about solution? Thanks. https://lh4.googleusercontent.com/-AV7jmOb_iCs/UVGlp6w7F5I/AAM/aCA_TkaI5sw/s1600/fuwXL.png -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@**googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://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+**unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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+unsubscr...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Google Maps V2 Empty map on Galaxy Note 2
Actually there is an other issue that. In same application I used Maps V2 in an other Activity. That Activity contains only one fragment and i inserted GoogleMapsV2 into that fragment and there isn't any problem with map. I can see map content and markers. I think the problem is with FragmentPager. 2013/3/26 bob b...@coolfone.comze.com Can you create an emulator that is basically a Note 2? Thanks. On Tuesday, March 26, 2013 11:40:08 AM UTC-5, Captain Comando wrote: Yes, I removed all of sim cards and again map works on other devices except Note 2.=( 2013/3/26 lbendlin lu...@bendlin.us And you are sure it works on other devices when they have their SIM card removed? On Tuesday, March 26, 2013 10:47:46 AM UTC-4, Captain Comando wrote: It is icon of Insert SIM Card notification. Internet connection is not problem because device connected to internet using wifi. 2013/3/26 bob b...@coolfone.comze.com What does this icon mean? https://lh6.googleusercontent.com/-KH2Cq0Tssl8/UVGz4KngxKI/AUU/z5oYBmSsaAc/s1600/erricon.png Maybe that's the ticket? On Tuesday, March 26, 2013 8:42:10 AM UTC-5, Captain Comando wrote: I am using Google Maps API V2 in my Android application. As you can see in screenshot I have FragmentPager and there is a fragment which include google maps v2. On the device Galaxy Note 2 i have problem with displaying map content. On other devices maps works without any problem and displays added markers and lines. As you can see that it displays only background image of my activity. I already tested my application on different devices but only Galaxy Note 2 has problem. Any idea about solution? Thanks. https://lh4.googleusercontent.com/-AV7jmOb_iCs/UVGlp6w7F5I/AAM/aCA_TkaI5sw/s1600/fuwXL.png -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@**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=enhttp://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/**grou**ps/opt_outhttps://groups.google.com/groups/opt_out . -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@**googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://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+**unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: App works on Samsung Galaxy Note ONLY when I debug it with eclipse
I would make sure to test it over Wifi as UMTS can be flaky. Also, how do you know none of the users has had a problem over the past year? If they did have a problem, I wouldn't assume they reported it to you. Thanks. On Tuesday, March 26, 2013 11:43:29 AM UTC-5, Mario Giammarco wrote: My app connects to an activemq server using stomp protocol ( a text based protocol). I so open a socket over wifi or UMTS Then the socket is kept open because there is a bidirectional asynchronous communication. I supposed a thread deadlock but my app installed on a 2.3 android works perfectly and for perfectly I mean that there are 50 people that are connected to the server each day since last year so it is very strange that noone have experienced at least a lock. So now I suppose that it cannot be a deadlock. This lock happens just after the tcp connection is established (syn, ack, syn/ack). In 2.3 it does not lock so the app can send the first message and the receive the first reply. 2013/3/26 bob b...@coolfone.comze.com javascript:: Sounds like a blocking socket operation that is blocked. What type of I/O are you doing? TCP over Wifi? Thanks. On Tuesday, March 26, 2013 9:17:04 AM UTC-5, Mario Giammarco wrote: Ok I am debugging threads. But it seems that all threads are waiting for the i/o thread, I mean the one waiting for libcore.io.posix.poll To me this thing seems right, I do not understand why i/o thread newer wakes up. Il giorno lunedì 25 marzo 2013 11:08:52 UTC+1, Mario Giammarco ha scritto: Il giorno domenica 24 marzo 2013 23:49:40 UTC+1, Kostya Vasilyev ha scritto: If I were to guess, I'd say there might be a thread race issue I suppose a race issue too but usually race issues are random, in this case with 2.3.6 it always works with galaxy it always not work (apart with debugger) When it hangs, use the Eclipse DDMS perspective to attach the debugger (select the device, then your app on it, then tap the green Bug icon). Next, switch to Debug perspective / tab, and use the Pause button there to pause and examine your threads. Great hint thanks! I did not remember that I can attach debugger AFTER it hangs!! That's what I would do anyway. -- K 2013/3/25 Mario Giammarco mgiam...@gmail.com: Can no one help me? Is there a thread problem in asynctask? Il giorno mercoledì 20 marzo 2013 10:03:35 UTC+1, Mario Giammarco ha scritto: 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-d...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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+unsubscr...@googlegroups.comjavascript:. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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 a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/r335myLkLbk/unsubscribe?hl=en. To unsubscribe from this group and all its topics, send an email to android-developers+unsubscr...@googlegroups.com javascript:. For more options, visit
Re: [android-developers] Re: App works on Samsung Galaxy Note ONLY when I debug it with eclipse
Not sure why you'd have all threads waiting for i/o. There should be binder threads, typically in native code, and the main thread, typically in MessageQueue.nativePollOnce. Do you set a timeout for your network calls? -- K 2013/3/26 Mario Giammarco mgiamma...@gmail.com: Ok I am debugging threads. But it seems that all threads are waiting for the i/o thread, I mean the one waiting for libcore.io.posix.poll To me this thing seems right, I do not understand why i/o thread newer wakes up. Il giorno lunedì 25 marzo 2013 11:08:52 UTC+1, Mario Giammarco ha scritto: Il giorno domenica 24 marzo 2013 23:49:40 UTC+1, Kostya Vasilyev ha scritto: If I were to guess, I'd say there might be a thread race issue I suppose a race issue too but usually race issues are random, in this case with 2.3.6 it always works with galaxy it always not work (apart with debugger) When it hangs, use the Eclipse DDMS perspective to attach the debugger (select the device, then your app on it, then tap the green Bug icon). Next, switch to Debug perspective / tab, and use the Pause button there to pause and examine your threads. Great hint thanks! I did not remember that I can attach debugger AFTER it hangs!! That's what I would do anyway. -- K 2013/3/25 Mario Giammarco mgiam...@gmail.com: Can no one help me? Is there a thread problem in asynctask? Il giorno mercoledì 20 marzo 2013 10:03:35 UTC+1, Mario Giammarco ha scritto: 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-d...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.