[android-developers] Re: Obfuscating Android Library Project

2013-07-21 Thread Piren
I haven't tried to obfuscate a jar file after it is made, but you can definitely obfuscate it when you build the library project. Just remember to put up rules as to not obfuscate all the public methods you'd like to use as the API for the library (which i guess you forgot). On Friday, July

[android-developers] Re: Best practice for co-ordinating a SyncAdapter and GCM updates of data within an app

2013-07-21 Thread Piren
Just use a queue to feed the IntentService (or have a queue in it). On Wednesday, July 17, 2013 12:51:57 PM UTC+3, fr1550n wrote: My app uses a SyncAdapter to periodically sync server data to SQLite. It also syncs in response to a GCM message that indicates new/updated server data; via.an

[android-developers] Re: Anyone know where to find the list of environment variables?

2013-07-21 Thread Piren
http://developer.android.com/reference/packages.html On Friday, July 19, 2013 3:36:28 PM UTC+3, Flavio marcio Portela wrote: Anyone know where to find the list of environment variables? ex: EXTERNAL_STORAGE -- -- You received this message because you are subscribed to the Google Groups

[android-developers] finish() method of an activity inside of oncreate() and onpause() behaves differently. why?

2013-07-21 Thread ansal mishra
Hi, when i call finish() methode inside of the oncreate() method of an activity then after it ondestroy() method work ( means activity finish without calling any other call back method ). but when i call finish() method inside the onpause() method then it call series of callback method

[android-developers] getting error (-19,0), while playing wav file from sdcard

2013-07-21 Thread Narendra Singh Rathore
Hello, I am trying to play a music file, that exists in sdcard, as follows MediaPlayer mp = new MediaPlayer(this); mp.setDataSource(path to file in sdcard); mp.prepare(); mp.start(); I have also specified the *Write External Storage *permission in my manifest.xml file. But..., I am

[android-developers] VM does not provide monitor information

2013-07-21 Thread Ralph Bergmann | the4thFloor.eu
Hello, I want to debug my app but when a breakpoint is reached I got this message: VM does not provide monitor information What's wrong? Ralph -- -- 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] New warning when exporting Android application

2013-07-21 Thread Ted Hopp
We have an app that was first submitted to Android Market several years ago. We've published several updates and are preparing a new update. We recently started receiving the following warning when exporting a signed .apk file: Certificate expires on Thu Sep 16 19:19:35 EDT 2038. The

[android-developers] Re: finish() method of an activity inside of oncreate() and onpause() behaves differently. why?

2013-07-21 Thread Ted Hopp
This is because of the activity lifecyclehttp://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle. When you call finish() from within onCreate(), none of the other activity start-up events have occurred, so the corresponding shut-down events are also skipped. This

[android-developers] Re: getting error (-19,0), while playing wav file from sdcard

2013-07-21 Thread RichardC
What is really on this line? mp.setDataSource(path to file in sdcard); On Sunday, July 21, 2013 5:23:59 PM UTC+1, Narendra Singh Rathore wrote: Hello, I am trying to play a music file, that exists in sdcard, as follows MediaPlayer mp = new MediaPlayer(this); mp.setDataSource(path to file

Re: [android-developers] New warning when exporting Android application

2013-07-21 Thread TreKing
On Sun, Jul 21, 2013 at 4:45 PM, Ted Hopp ted.h...@gmail.com wrote: This is because (again, I may not understand this exactly correctly) if the certificate changes, we will be forced to also change the package name for the apk. This will do great damage to our position in the market. I can't

Re: [android-developers] Recover Certificate from APK

2013-07-21 Thread Ted Hopp
On Thursday, June 14, 2012 12:43:51 PM UTC-4, Dianne Hackborn wrote: The platform has an app signed with a cert. If you want to install an update to that app under a different cert, how could the platform trust that this is actually coming from the author who owns the original cert

[android-developers] Best way to save user's avatar

2013-07-21 Thread cybersun
Hi all, I am creating an app that user can communication with other friends (IM app, send message, card, ...), so user have provide user's profile like id, name, avatar. My question is: what is the best way to save friend's avatar to make local contact list for my app? I created a local

Re: [android-developers] Re: getting error (-19,0), while playing wav file from sdcard

2013-07-21 Thread Narendra Singh Rathore
Its * mp.setDataSource(Environment.getExternalStorageDirectory()+/vcgc.wav);* Is there anything wrong in this line? On Mon, Jul 22, 2013 at 4:06 AM, RichardC richard.crit...@googlemail.comwrote: What is really on this line? mp.setDataSource(path to file in sdcard); On Sunday, July 21,

Re: [android-developers] Recover Certificate from APK

2013-07-21 Thread Nikolay Elenkov
On Mon, Jul 22, 2013 at 1:08 PM, Ted Hopp ted.h...@gmail.com wrote: On Thursday, June 14, 2012 12:43:51 PM UTC-4, Dianne Hackborn wrote: The platform has an app signed with a cert. If you want to install an update to that app under a different cert, how could the platform trust that this is

Re: [android-developers] New warning when exporting Android application

2013-07-21 Thread Ted Hopp
Thanks for the lead, TreKing. It would be a big relief if Google disarmed this time bomb. If you happen to run across the thread, I'd appreciate a pointer to it; I definitely would like to follow any developments. -- -- You received this message because you are subscribed to the Google Groups