[android-developers] Universal image downloader lib + basic authentication

2014-12-04 Thread ANKUR GOEL
How can we add basic Authentication in universal image down loader library .Android -- 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, sen

[android-developers] Re: Google Play Service crash with leaderboard on android 3.2

2014-12-04 Thread TobyKaos
On my android 3.2 device I have the exception: resources notfoundexception in play service lib. Must I add support lib with resource? I have see that my play store is the version 4.8. On my another android device play store is 5.0. Anyone know how to solve? Le jeudi 16 octobre 2014 11:31:22

[android-developers] LinearLayout with weight doesn't work inside a listview

2014-12-04 Thread Manish
I am trying to build a custom view for the ListView rows. Below is what my row looks like Img | Text 1 |Text | Text 2 Below is my layout that I am using to generate row view http://schemas.android.com/apk/res/android"android:layout_width="match_parent

[android-developers] How do I get logcat working on my LG G Tab 7.0?

2014-12-04 Thread Jim Graham
I recently picked up (special deal while upgrading/renewing etc.) an LG G Tab 7.0 as, mostly, a development/testing device. There's just one problem. It doesn't appear, by default, to log anything other than system processes. I've called LG tech "support" ... and if the quoting of "support" didn

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

2014-12-04 Thread Peter Teoh
On Tue, Nov 25, 2014 at 7:08 PM, 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 terms of > Android) and a user does some > it is called multithreading: https://devel

Re: [android-developers] How do I get logcat working on my LG G Tab 7.0?

2014-12-04 Thread Peter Teoh
On Fri, Dec 5, 2014 at 8:41 AM, Jim Graham wrote: > I recently picked up (special deal while upgrading/renewing etc.) an LG G > Tab 7.0 as, mostly, a development/testing device. There's just one > problem. It doesn't appear, by default, to log anything other than > system processes. I've calle

Re: [android-developers] How do I get logcat working on my LG G Tab 7.0?

2014-12-04 Thread Jim Graham
On Fri, Dec 05, 2014 at 08:55:40AM +0800, Peter Teoh wrote: > On Fri, Dec 5, 2014 at 8:41 AM, Jim Graham wrote: > > > So does anyone here know how I get logcat to log everything, so I can > > use it when I need it? > > As compared with the earlier Android version, there are now many more > featu

Re: [android-developers] Same database cursor in ListFragment and ViewPager

2014-12-04 Thread TreKing
On Tue, Nov 25, 2014 at 3:19 AM, Markus wrote: > So now I have to match the "position" in getItem with the database _id! You might want to elaborate. If you have a list of items and have a single ID of the item you clicked, you should not need its position to show the details for that item. Wit

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

2014-12-04 Thread TreKing
On Tue, Nov 25, 2014 at 5:08 AM, Oleksii Bieliaiev wrote: > My question is, whether is it possible, under certain conditions (low > memory, timeout, etc), that Android "kills" our started service separately, > without killing entire process? Yes, it's possible. If the process does not have a fo

Re: [android-developers] How do I get logcat working on my LG G Tab 7.0?

2014-12-04 Thread TreKing
On Thu, Dec 4, 2014 at 7:50 PM, Jim Graham wrote: > Btw, I could not > even find the Developer Options menu on this thing. I found the usual > "unknown sources" checkbox under Security, but none of the USB Debugging, > etc., stuff. > You need to enabled developer mode: http://developer.android.

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

2014-12-04 Thread SIVAKUMAR J
Yes you can call stop service method On 25 Nov 2014 16:38, "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 terms of > Android) and a user does some interaction with

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

2014-12-04 Thread Peter Teoh
On Fri, Dec 5, 2014 at 10:45 AM, TreKing wrote: > > On Tue, Nov 25, 2014 at 5:08 AM, Oleksii Bieliaiev < > abel.the.fi...@gmail.com> wrote: > >> My question is, whether is it possible, under certain conditions (low >> memory, timeout, etc), that Android "kills" our started service separately, >>

Re: [android-developers] How do I get logcat working on my LG G Tab 7.0?

2014-12-04 Thread Peter Teoh
On Fri, Dec 5, 2014 at 10:58 AM, TreKing wrote: > > On Thu, Dec 4, 2014 at 7:50 PM, Jim Graham wrote: > >> Btw, I could not >> even find the Developer Options menu on this thing. I found the usual >> "unknown sources" checkbox under Security, but none of the USB Debugging, >> etc., stuff. >> >

Re: [android-developers] How do I get logcat working on my LG G Tab 7.0?

2014-12-04 Thread Jim Graham
On Thu, Dec 04, 2014 at 08:58:26PM -0600, TreKing wrote: > On Thu, Dec 4, 2014 at 7:50 PM, Jim Graham wrote: > > > Btw, I could not > > even find the Developer Options menu on this thing. I found the usual > > "unknown sources" checkbox under Security, but none of the USB Debugging, > > etc., st

Re: [android-developers] How do I get logcat working on my LG G Tab 7.0?

2014-12-04 Thread Jim Graham
On Fri, Dec 05, 2014 at 11:19:53AM +0800, Peter Teoh wrote: > On Fri, Dec 5, 2014 at 10:58 AM, TreKing wrote: > > > > > On Thu, Dec 4, 2014 at 7:50 PM, Jim Graham wrote: > > > > As for the device not being recognized, try various combinations of: > > > > > Right, and as mentioned in the URL link

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

2014-12-04 Thread Peter Teoh
On Fri, Dec 5, 2014 at 11:16 AM, SIVAKUMAR J wrote: > Yes you can call stop service method > > oh, cool, yes, your answer looks logical enough: reading carefully: http://developer.android.com/guide/components/services.html a service is a thread in a process, and start/stopping services basical

Re: [android-developers] How do I get logcat working on my LG G Tab 7.0?

2014-12-04 Thread Peter Teoh
On Fri, Dec 5, 2014 at 11:23 AM, Jim Graham wrote: > On Thu, Dec 04, 2014 at 08:58:26PM -0600, TreKing wrote: > > On Thu, Dec 4, 2014 at 7:50 PM, Jim Graham wrote: > > > > > Btw, I could not > > > even find the Developer Options menu on this thing. I found the usual > > > "unknown sources" chec

Re: [android-developers] Universal image downloader lib + basic authentication

2014-12-04 Thread Peter Teoh
On Thu, Dec 4, 2014 at 8:51 PM, ANKUR GOEL wrote: > How can we add basic Authentication in universal image down loader library > .Android > > -- question too general. so a general answer would be looking through samples here: http://stackoverflow.com/questions/17971537/basic-authentication-wit

Re: [android-developers] How do I get logcat working on my LG G Tab 7.0?

2014-12-04 Thread Jim Graham
On Fri, Dec 05, 2014 at 11:50:02AM +0800, Peter Teoh wrote: > On Fri, Dec 5, 2014 at 11:23 AM, Jim Graham wrote: > > > On Thu, Dec 04, 2014 at 08:58:26PM -0600, TreKing wrote: > > by default it does not exists, for all Android phone. You have to do the > tapping 7 times: > http://www.androidc

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

2014-12-04 Thread TreKing
On Thu, Dec 4, 2014 at 9:15 PM, Peter Teoh wrote: > I am curious what API or method Android used to kill a specific thread in > a process too.but your link above did not say anything on that? > Please enlighten me :-). I'm not sure what you're asking. The OP didn't ask anything about killin

Re: [android-developers] How do I get logcat working on my LG G Tab 7.0?

2014-12-04 Thread TreKing
On Thu, Dec 4, 2014 at 9:23 PM, Jim Graham wrote: > Ok. This link, like the last, points me to Settings-->Developer Options, > which, as I said above, does not exist on this tablet. So where WOULD I > find developer mode? > You did not clarify, so, to be sure, you followed the directions on th

Re: [android-developers] How do I get logcat working on my LG G Tab 7.0?

2014-12-04 Thread Jim Graham
On Thu, Dec 04, 2014 at 10:44:46PM -0600, TreKing wrote: > On Thu, Dec 4, 2014 at 9:23 PM, Jim Graham wrote: > > You did not clarify, so, to be sure, you followed the directions on that > page, right? Well, given that this post just now showed up here, no, I didn't even know about that. But...i

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

2014-12-04 Thread Peter Teoh
On Fri, Dec 5, 2014 at 12:38 PM, TreKing wrote: > > On Thu, Dec 4, 2014 at 9:15 PM, Peter Teoh > wrote: > >> I am curious what API or method Android used to kill a specific thread in >> a process too.but your link above did not say anything on that? >> Please enlighten me :-). > > > I'm not

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

2014-12-04 Thread Peter Teoh
On Fri, Dec 5, 2014 at 1:32 PM, Peter Teoh wrote: > > > On Fri, Dec 5, 2014 at 12:38 PM, TreKing wrote: > >> >> On Thu, Dec 4, 2014 at 9:15 PM, Peter Teoh >> wrote: >> >>> I am curious what API or method Android used to kill a specific thread >>> in a process too.but your link above did not