Re: [android-developers] Trying to get the value of the selected spinner item

2015-04-02 Thread Daniel Chacon
Found a solution and seems to work.. catid.setName(catid); String vid = categoryItems[spinCat.getSelectedItemPosition()].CatId; catid.setValue(vid); On Thu, Apr 2, 2015 at 4:03 PM, Dan Cha cuban...@gmail.com wrote: So I have 2 dropdowns in my app, once with

[android-developers] Best option for uploading image from within app before submitting form data?

2015-04-02 Thread Dan Cha
So im working on a quick and simple app for family members, i need to allow the upload of a pic to associate with the entry they submit. So far i have the submission and insert working, but need a solution to allow the upload of the pic before the submission is actually handled if the upload

[android-developers] Trying to get the value of the selected spinner item

2015-04-02 Thread Dan Cha
So I have 2 dropdowns in my app, once with list of categories and one with list of users. My custom arrayadapter used to bind to the lists contains id name For form submission I need to send the id to the database not the name.. But I cant seem to figure out how to get the value instead of

Re: [android-developers] Best option for uploading image from within app before submitting form data?

2015-04-02 Thread TreKing
On Fri, Apr 3, 2015 at 5:08 AM, Dan Cha cuban...@gmail.com wrote: is there other options? Maybe multipart form data? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit

Re: [android-developers] Request location updates in IntentService instead of Activity

2015-04-02 Thread TreKing
On Thu, Apr 2, 2015 at 6:39 AM, Etienne lawloretie...@gmail.com wrote: So these google samples set up location updates in an Activity but can this logic be moved to an IntentService? Sure it can. Try it, then ask more specific questions if you get stuck.

[android-developers] Use new Storage Access Framework to write SQLite database

2015-04-02 Thread TheNetStriker
With Android 5 comes a new Storage Access Framework which allows apps again to write data to the external sd card. So far so good, but my app needs to read and write a large SQLite Database on the external sd card. Android's SQLiteOpenHelper and SQLiteDatbase only accept a file path to open