[android-developers] Running late

2014-09-02 Thread Russell Wheeler
Eta 10:45 -- 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

Re: [android-developers] App Backgrounded check, onTrimMemory Activity finish(), behaviour

2014-09-02 Thread Omkar
Hi Mukesh, Any suggestions on how to get current pid? ActivityManager.getRecentTasks is deprecated by google in android OS L for provacy purposes. so can not use any ActivityManager method to get current PID/Running task. onTrimMemory seems reliable way to get if app is hidden or not, but only

Re: [android-developers] App Backgrounded check, onTrimMemory Activity finish(), behaviour

2014-09-02 Thread Mukesh Srivastav
Dear Omkar, Here is the code to check if the apk pid.. private boolean isMyServiceRunning() { ActivityManager manager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE); for (RunningServiceInfo service : manager .getRunningServices(Integer.MAX_VALUE)) { if

Re: [android-developers] Re: Android XML

2014-09-02 Thread janvi
Can any one tell me the disadvantages of using the above approach? Thanks in advance On Monday, August 4, 2014 10:02:35 AM UTC+5:30, janvi wrote: Thanks Nemichand I will surely try this out. I have one approach here which works fine i.e if use android:launchMode=singleTask for the

Re: [android-developers] App Backgrounded check, onTrimMemory Activity finish(), behaviour

2014-09-02 Thread Omkar
Dear Mukesh, As I said this won't work with Android OS L, Kindly test on OS L emulator. This method has a warning on Developers page *Note: this method is only intended for debugging or implementing service management type user interfaces.*Google deprecated this method in OS L and will return

Re: [android-developers] Getting exception while cropping the image.

2014-09-02 Thread TreKing
On Wed, Aug 27, 2014 at 1:40 PM, Seshu s.seshu...@gmail.com wrote: if any body knows then please let me know. http://developer.android.com/reference/android/os/TransactionTooLargeException.html -

[android-developers] Lost production keystore file

2014-09-02 Thread Jim Andresakis
So the app Im currently on has quite a lot of downloads and the keystore file used to sign it has been lost on a remote server that went down and is no longer available. Is it possible to publish the latest build in the playstore without renaming the package and creating a new app which will

Re: [android-developers] Lost production keystore file

2014-09-02 Thread TreKing
On Tue, Sep 2, 2014 at 8:08 PM, Jim Andresakis jimandresa...@gmail.com wrote: Is it possible to publish the latest build in the playstore without renaming the package and creating a new app which will put the download number back to 0? Not without the original keystore, no. You should have