[android-developers] Help required understanding cursor lifetime in CursorLoaders

2013-02-20 Thread saladbowl
Hello there, I am trying to get my head around CursorLoaders and would appreciate some help. I have a ListFragment which loads list data in a background thread via a CursorLoader/implementing the LoaderManager.LoaderCallbacks interfaces. The data in the list comes from a database via a Cont

Re: [android-developers] AccountManager and storing credentials

2013-02-12 Thread saladbowl
extremely sensitive data, e.g. credit card details)?. On Tuesday, 12 February 2013 17:05:23 UTC, Nikolay Elenkov wrote: > > On Wed, Feb 13, 2013 at 12:11 AM, saladbowl > > > wrote: > > > > My understanding is that the AccountManager stores the > > username a

[android-developers] AccountManager and storing credentials

2013-02-12 Thread saladbowl
OK - there is a lot of information out there on this subject, a lot of it is conflicting and some of it is probably outdated by now. I am hoping that some clear, concise answers will help clear my confusion. I am new to developing Android applications and I am currently developing a prototype.

[android-developers] Re: Styling list selector in spinner dialogs?

2013-01-31 Thread saladbowl
Some further information . this only seems to apply when the spinnerMode is set to dialog, the list selector is picked up in dropdown mode. On Thursday, 31 January 2013 18:36:53 UTC, saladbowl wrote: > > *In earlier versions of Android (API level 8-10 I think):* > If I crea

[android-developers] Styling list selector in spinner dialogs?

2013-01-31 Thread saladbowl
*In earlier versions of Android (API level 8-10 I think):* If I create my own ListView style with the listSelector attribute set to my own custom state list drawable in my styles.xml file, then I am able to see my custom colours when a list item is pressed, focused, etc., including in spinner di

[android-developers] Re: SyncAdapter and multiple threads?

2013-01-17 Thread saladbowl
Thanks so much for the responses - much appreciated. -- 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+u

[android-developers] SyncAdapter and multiple threads?

2013-01-16 Thread saladbowl
I have created a SyncAdapter class which inherits from AbstractThreadedSyncAdapter and runs in its own Service. I was wondering if the SyncManager only allows one synchronisation to be undertaken at a time (i.e via a called to my SyncAdapter's onPerformSync()) or do I need to explicitly make su

[android-developers] Re: Android example code and Apache 2.0 licence

2012-12-20 Thread saladbowl
I'm sorry if this is not relevant. I understand that no-one on here is a lawyer - but I thought that developers need to have some appreciation of software licensing and was hoping for some general guidance. Many apologies. On Thursday, 20 December 2012 19:17:32 UTC, Lew wrote: > >

[android-developers] Android example code and Apache 2.0 licence

2012-12-20 Thread saladbowl
Hello there, If I copy a few lines here and there (but not entire functions/files) from example code on the Android Developers site and the samples, modify them and use them in my commercial project, I assume as they are licensed under Apache 3.0 that my work will be a derivative I need to prov