[android-developers] Is it possible, that Android kills a service inside an app?

2014-11-25 Thread Oleksii Bieliaiev
Hey guys, let's imagine we have an app with a service and an activity inside. Both components live in a same process, our service is started (in terms of Android) and a user does some interaction with an activity. Eventually our app goes to background. My question is, whether is it possible, un

Re: [android-developers] Is it possible, that Android kills a service inside an app?

2014-12-05 Thread Oleksii Bieliaiev
" a SERVICE without killing entire PROCESS. Yes, user can do this manually, but it doesn't mean Android does that. Again, I can be wrong. But I really need some proofs :) Thank you, Alex On Friday, December 5, 2014 4:12:21 AM UTC+1, TreKing wrote: > > > On Tue, Nov 25, 20

Re: [android-developers] Is it possible, that Android kills a service inside an app?

2014-12-05 Thread Oleksii Bieliaiev
Sorry, but I'm asking about OS behavior, not about my possibilities. Thank you, Alex On Friday, December 5, 2014 4:23:14 AM UTC+1, SIVAKUMAR.J wrote: > > Yes you can call stop service method > On 25 Nov 2014 16:38, "Oleksii Bieliaiev" > wrote: > >> Hey guys

[android-developers] Re: Is it possible, that Android kills a service inside an app?

2014-12-05 Thread Oleksii Bieliaiev
he activity and it lives as long as activity is running. But unbound > service is like a *Separate Process. The Service can still be killed by > Android.*To avoid this in the onDestroy() method just call the > BroadcastReceiver which launches the service. > > > On Tuesday, Nov

Re: [android-developers] Re: Is it possible, that Android kills a service inside an app?

2014-12-09 Thread Oleksii Bieliaiev
Hi Peter, thank you for your reply. However, please read my question carefully. I'm asking about a specific case, when Android OS "kills" a SERVICE (an application component) separately, without killing entire PROCESS. Please check your own links. You pointed at final void killServicesLocked(Pr

Re: [android-developers] Re: Is it possible, that Android kills a service inside an app?

2014-12-09 Thread Oleksii Bieliaiev
Hi, please, read my question carefully. I'm asking about a specific case, when Android OS "kills" a SERVICE (an application component) separately, without killing entire PROCESS. You are talking about the case, when Android OS kills entire background PROCESS, because it has low priority compare

[android-developers] Re: Event passing to sibling on clicking a view

2014-12-11 Thread Oleksii Bieliaiev
Hi, works fine for me on Genymotion Google Nexus S (Android 2.3.7). Thank you, Alex On Thursday, December 11, 2014 10:03:27 AM UTC+1, Rahul Raja wrote: > > I have a simple LinearLayout(horizontal) with 3 TextViews. The background > of these TextViews are set to a drawable that has two states,

[android-developers] Re: Dex Limit workarounds- ADT or Android Studio only?

2014-12-18 Thread Oleksii Bieliaiev
Hi, you can check this link - https://medium.com/@rotxed/dex-skys-the-limit-no-65k-methods-is-28e6cb40cf71 The idea behind that solution is manual Play Services lib stripping. Hope it helps, Alex On Wednesday, December 17, 2014 9:22:37 PM UTC+1, Nathan wrote: > > I was wondering what all the f

[android-developers] Re: Is it possible, that Android kills a service inside an app?

2015-01-05 Thread Oleksii Bieliaiev
Didn't find reliable answer yet :( On Tuesday, November 25, 2014 12:08:18 PM UTC+1, Oleksii Bieliaiev wrote: > > Hey guys, > > let's imagine we have an app with a service and an activity inside. Both > components live in a same process, our service is started (in t

[android-developers] Re: Is it possible, that Android kills a service inside an app?

2015-01-06 Thread Oleksii Bieliaiev
Found some info here <http://stackoverflow.com/questions/8087596/when-service-is-killed-can-the-process-be-still-alive?lq=1> On Tuesday, November 25, 2014 12:08:18 PM UTC+1, Oleksii Bieliaiev wrote: > > Hey guys, > > let's imagine we have an app with a service and a

[android-developers] Re: Getting FileNotFound exception when URL is valid

2015-03-16 Thread Oleksii Bieliaiev
Hi. Did you set android.permission.INTERNET permission? Regards, Alex On Monday, March 16, 2015 at 1:53:13 AM UTC+1, NewToAndroid wrote: > > I tried that and now it is giving different error > > 03-16 00:25:53.020 29074-29074/com.example.android.playlivesound E/﹕ > mali: REVISION=Linux-r3p2-0