Re: [android-developers] Re: Issues with KitKat 4.4.2, the recent apps list, and startForeground(): What criteria does KitKat use to kill an app when swiped away from the recent apps list?

2014-03-12 Thread Digipom Inc.
Based on those threads and the issues list, it seems that receiving a broadcast is the main known way that this is triggered (aside from not having a foreground service, but I do have one), but I have logs on all my onReceive and it doesn't seem to be that. :( On Mar 13, 2014, at 2:45 AM, Pent

[android-developers] Re: Issues with KitKat 4.4.2, the recent apps list, and startForeground(): What criteria does KitKat use to kill an app when swiped away from the recent apps list?

2014-03-12 Thread Pent
Try a search of the forum. There are some long threads on this issue. It's also on the Android issues list in various guises. 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@goo

[android-developers] Re: Issues with KitKat 4.4.2, the recent apps list, and startForeground(): What criteria does KitKat use to kill an app when swiped away from the recent apps list?

2014-03-12 Thread Digipom
I decided to dig further into this based on readings from Googling, and here are some stats from adb shell dumpsys activity: Here's the last line I see an instant before the app is killed (I'm just running it over and over): Proc # 4: prcp F/S/IF trm: 0 17361:com.mypackage.name/u0a241 (fg-ser

[android-developers] Re: Issues with KitKat 4.4.2, the recent apps list, and startForeground(): What criteria does KitKat use to kill an app when swiped away from the recent apps list?

2014-03-12 Thread Digipom
With dumpsys activity | grep "Proc #" | grep my.package.name It looks like the app was in "fg-service" before getting killed. Looking at the source code here: 6968

[android-developers] Re: Issues with KitKat 4.4.2, the recent apps list, and startForeground(): What criteria does KitKat use to kill an app when swiped away from the recent apps list?

2014-03-12 Thread Digipom
With dumpsys activity | grep "Proc #" | grep my.package.name It looks like the app was in "fg-service" before getting killed. Looking at the source code here: 6968

Re: [android-developers] SurfaceView scrolling

2014-03-12 Thread Amit Garg
Thanks for the insight. I am using surfaceview to render video stream and I cannot use anything other than surface view or video view. My application requires me to display multiple cameras on a screen within a scroll view. When a video is playing and I scroll the window, it makes a big hole on

[android-developers] Issues with KitKat 4.4.2, the recent apps list, and startForeground(): What criteria does KitKat use to kill an app when swiped away from the recent apps list?

2014-03-12 Thread Digipom
I'm running into an issue with my app on KitKat 4.4.2: when it's recording, and the user later sends it to the background and swipes it away from the recent apps list, the app is killed, even though it called startForeground! This did not happen on 4.3, and to add insult to injury, the notificat

Re: [android-developers] Location based App

2014-03-12 Thread Kristopher Micinski
In some cases, the location just isn't available all the time. What happens if the user goes indoors, out of cell range, etc...? Then getting a fix just won't work. Kris On Wed, Mar 12, 2014 at 6:14 PM, Rahul Shukla wrote: > Hello all, > > I am developing an android application wherein I need

[android-developers] Location based App

2014-03-12 Thread Rahul Shukla
Hello all, I am developing an android application wherein I need the user location updates pretty frequently. Say 2 times a minute. Earlier I had been using Google Play Service's "Fused location service" but the location updates were not received as requested. The location updates got stuck f

[android-developers] How to add two libraries into project

2014-03-12 Thread Aung Myo Oo
*Libraries:* - https://github.com/chrisbanes/Android-PullToRefresh - https://github.com/JakeWharton/Android-ViewPagerIndicator I am trying to Android-PullToRefresh and Android-ViewPagerIndicator into Eclipse's work space to reference into my project. I have imported Android-PullToRefres

Re: [android-developers] Thermal Printer

2014-03-12 Thread ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ
Check out Datecs.bg. You can do this via bluetooth Στις 12 Μαρ 2014 5:04 μ.μ., ο χρήστης "Diego N." < diegonunes.sist...@gmail.com> έγραψε: > Dear, hello. > > I need to print to a thermal printer from my application, someone has > already done this kind of implementation? Wi-Fi? Bluotuth? > > Will

[android-developers] Thermal Printer

2014-03-12 Thread Diego N.
Dear, hello. I need to print to a thermal printer from my application, someone has already done this kind of implementation? Wi-Fi? Bluotuth? Will be necessary to find a vendor that has an API for Android, or is there another option? Thank you. -- http://about.me/dnassuncao Diêgo Nunes Assunç