[android-developers] Re: How to use strace for android application

2017-02-06 Thread Omkar Mozar
ovember 2, 2016 at 6:06:38 PM UTC+5, Omkar Mozar wrote: >> >> >> I have searched a lot on internet about how to use "strace" to find >> system calls made by my android application but there is no proper tutorial >> for this. Internet stuff seems to be mo

[android-developers] How to use strace for android application

2016-11-02 Thread Omkar Mozar
I have searched a lot on internet about how to use "strace" to find system calls made by my android application but there is no proper tutorial for this. Internet stuff seems to be more confusing. To be more specific what i am looking for is how my application interacts with system? what

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

2014-09-02 Thread Omkar
have problem descibed above. On Monday, September 1, 2014 5:59:44 PM UTC+10, Mukesh Srivastav wrote: why not just check the current pid state of the app rather than doing all those things.. On Fri, Aug 29, 2014 at 11:25 AM, Omkar omk...@gmail.com javascript: wrote: Hi All, I am

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

2014-09-02 Thread Omkar
only requesting apps service not other apps service *.*Anyways thanks for help. On Tuesday, September 2, 2014 9:29:32 PM UTC+10, Mukesh Srivastav wrote: Dear Omkar, Here is the code to check if the apk pid.. private boolean isMyServiceRunning() { ActivityManager manager = (ActivityManager

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

2014-08-28 Thread Omkar
Hi All, I am working on a App where functionality is when ever User goes out of the app and comes back it should ask him login details, so when ever user kicks himself out of app, by pressing home button or multi-task button or start other app on my app, then my app should automatically

[android-developers] Intercepting Samsung's Call Keypad and formatting PhoneNumbers

2012-01-09 Thread Omkar
android.telephony.PhoneNumberFormattingTextWatcher or something different. Is this possible and how ? Could some one guide me to a good start up code / sample for this ? Thanks Omkar Ghaisas -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Battery Log using service

2011-05-04 Thread Omkar
I have done that while debugging.. But don't know what exactly to look for in this case.. Hence a clue or something would be helpful. Thats why I have pasted the code so a direct pinpointing at error can be done by someone more experienced than me. Thanks Omkar On May 4, 4:09 pm, Dianne Hackborn

[android-developers] Re: Battery Log using service

2011-05-03 Thread Omkar
a constantly monitoring when the phone is connected for charging / disconnected from charger. If something lets my service know that charger has been connected / disconnected, within my OnReceive, I can check what intent.getAction it is and then take a correct action accordingly. Pls suggest. Thanks Omkar

[android-developers] Re: Battery Log using service

2011-05-03 Thread Omkar
constantly running. The 1st intent being an offline intent, would allow my app service to be triggered automatically thereby starting the service and then service would actually do its work and close itself after its work is done.. Is that ok ? Thanks Omkar On May 3, 4:32 pm, Kostya Vasilyev kmans

[android-developers] Re: Battery Log using service

2011-05-03 Thread Omkar
I have pasted my code below.. I somehow dont get the Toast at all even when the app is triggered on usb cable plugin to the device. It starts off but force closes.. Pls suggest whats wrong here. I have a intent filter under receiver for Action_Power_Connected and disconnected under the manifest

[android-developers] Battery Log using service

2011-05-02 Thread Omkar
the activity. Pls suggest what change should I be doing to my app, so that whenever there is a charging / discharging change thru charger plugin / usb plugin, my app shld log it in file. Thanks Omkar -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Creating a background running service to auto turn on/off auto sync when wifi is turned on/off

2011-04-28 Thread Omkar
Wifi is turned on / off. The service need not be constantly running / started at boot time, if there are other alternatives to starting the same. Pls guide, if this is possible in Android (specifically Froyo and and above) and basic steps to do so. Thanks Omkar -- You received this message

[android-developers] Re: java.lang.NullPointerException when trying to edit strings.xml

2010-08-12 Thread Omkar
Thanks, this helps On Jul 9, 11:10 pm, Nitin Dahyabhai nitin.dahyab...@gmail.com wrote: On Jul 2, 5:16 pm, Xavier Ducrohet x...@android.com wrote: Hello all, We've tracked down this issue to a bug in the Eclipse Web tools plug-ins which provide the XML models and editors that our