[android-developers] Signing App

2015-04-17 Thread Rahul Kaushik
Hello Team What is the difference between android export signed application package or export android application which is a better way to sign an app Please Suggest TX RK -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Which activity method is good for a continuous loop?

2015-04-17 Thread NewToAndroid
Hi all, I have a very simple app, which has 1 screen with few buttons. It will start a service which will pay music using mediaplayer. Now, sometimes if I go in no internet coverage area or move between 3g and wifi, the player stops and service completes (does its onDestroy). I am thinking of

Re: [android-developers] Which activity method is good for a continuous loop?

2015-04-17 Thread Justin Anderson
It sounds like you are trying to fix the symptom of a problem rather than address the actual issue. The real question should be Why does my service get destroyed? Have you looked into why your service gets destroyed? What kind of service are you using (hopefully not IntentService)? On Fri, Apr

Re: [android-developers] Signing App

2015-04-17 Thread Justin Anderson
http://lmgtfy.com/?q=android+signed+vs+unsigned+application On Fri, Apr 17, 2015 at 8:08 AM Rahul Kaushik rahulkaushi...@gmail.com wrote: Hello Team What is the difference between android export signed application package or export android application which is a better way to sign an app

Re: [android-developers] Which activity method is good for a continuous loop?

2015-04-17 Thread TreKing
On Fri, Apr 17, 2015 at 8:50 AM, NewToAndroid rahulra...@gmail.com wrote: I have a very simple app, which has 1 screen with few buttons. It will start a service which will pay music using mediaplayer. Now, sometimes if I go in no internet coverage area or move between 3g and wifi, the player

Re: [android-developers] Which activity method is good for a continuous loop?

2015-04-17 Thread Justin Anderson
*When there is no internet connectivity, the mediaplayer assumes, the mp3 it was playing is finished and performs onComplete method. I had put stopself in onCompletion, so the service is stopping.* *Now, somewhere I would like to have this code that, if the mediaplayer has completed itself

Re: [android-developers] Which activity method is good for a continuous loop?

2015-04-17 Thread NewToAndroid
Yes. It might be the case that I am not going to the root cause. I have a main activity, which starts a service. The service creates a MediaPlayer object and plays a MP3. This MP3 is not a mp3 file, but it is the live stream which is played over internet. When there is no internet