[android-developers] Re: Can I initialize an Array list from data specified in xml resource file?

2009-03-10 Thread mafro
params are the binding key/value pairs. I hope this is clear enough! Looks like the external XML resource thing is there to give you the flexibility to achieve pretty much anything. The string-array construct is just a convenience. mafro On Mar 9, 6:32 pm, Videoguy puri_mall...@yahoo.com wrote

[android-developers] Re: parsing xml data

2009-03-13 Thread mafro
input - it accepts a path to a file. This is what causes your exception. Where does your XML come from originally? The SAX parser is designed to parse directly from a Stream, so wherever your XML is first loaded, parse it there. mafro petunio wrote: Hi everyone I am trying to parse some data

[android-developers] TabHost and Scrollbars

2009-03-27 Thread mafro
this is? Or indeed how to fix it? The resource xml follows. Thanks! mafro TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@android:id/tabhost android:layout_width=fill_parent android:layout_height=fill_parent LinearLayout

[android-developers] Re: TabHost and Scrollbars

2009-03-27 Thread mafro
Thanks Romain, no idea how I failed to find this when searching for scroll, tab host and view. On Mar 27, 4:17 pm, Romain Guy romain...@google.com wrote: You need to use a ScrollView inside your tab. On Fri, Mar 27, 2009 at 8:47 AM, mafro mafro...@gmail.com wrote: Hey all, My app

[android-developers] Re: Can I initialize an Array list from data specified in xml resource file?

2009-03-09 Thread mafro
reference. You can create an ArrayList and add this array to it if necessary. mafro Videoguy wrote: Is is possible to specify data in xml resource file and initialize ArrayList from it? I am looking for a way to use the ArrayList with a SimpleAdapter to bind to a ListView. I am wondering

[android-developers] Handling an Intent without an Activity UI

2009-06-09 Thread mafro
. This must be possible - I just can't work out how.. Once I'm handling the shortcut Intent in onCreate() the UI has initialised and I get a little screen flicker if I then run my code and finish(). Thanks for any input! mafro --~--~-~--~~~---~--~~ You received

[android-developers] Re: Handling an Intent without an Activity UI

2009-06-10 Thread mafro
I'm thinking I might need to write a service to handle my shortcut's Intent. The main application could then raise a similar Intent to the service to provide the same functionality whilst in the application. Comments anyone? On Jun 9, 11:34 am, mafro mafro...@gmail.com wrote: Hey list, I've

[android-developers] Re: Handling an Intent without an Activity UI

2009-06-10 Thread mafro
You're right it does sound terribly complex. Ill report back on my findings for anyone else who has a similar problem. Thanks for your input, Mark. On Jun 10, 1:09 pm, Mark Murphy mmur...@commonsware.com wrote: mafro wrote: I'm thinking I might need to write a service to handle my

[android-developers] Error in Android documentation

2009-07-20 Thread mafro
checkableBehavior - Whether the items are checkable. Valid values: none, all (exclusive / radio buttons), single (non-exclusive / checkboxes) This should actually be the other way round: * all (non-exclusive / checkboxes) * single (exclusive / radio buttons) mafro