Hello,
I am (finally) getting around to developing my first android app. It's nothing exciting, starting off as a catalogue and some other things.
I have set up the main activity with four tabs within the first tab I have three spinners. The first spinner is meant to let the user select a car manufacturer, the second spinner is meant to show models of that manufacturer and the third spinner shows editions. An example would be:
Manufacturer:
Vauxhall
Model:
Corsa
Edition:
2000+
I was wondering what the easiest way to dynamically change the contents would be? Right now I have one adapter created for each manufacturer with a setOnItemSelectedListener that changes the adapter based on which manufacturer was selected. I don't think this is the most efficient or tidy method though. Also, for a list of 60 odd manufacturers it's a pain to write.
Thanks guys! (and girls)
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Related
Hey all,
I am planning to do a lot of mountainbiking after this winter. Therefore, I want to have some sort of companion app which can run on my Galaxy S II while it's in a mount on my handlebar.
The last few days I've been searching for such app which meets these requirements:
Overview with map and speed/distance related information
Current speed, avg. speed, trip distance, total distance...
So, essentially, I want a single-screen, hands free, reference app, which displays my current position on a Google Map / Satellite overview (preferably the latter) and an overlay or a dedicated part of the screen with information mentioned in the second point here above...
For your reference I created a quick mash-up to make it more clear what I am looking for:
http:/ / dl.dropbox.com/ u/ 7263747/ MTBmashup.jpg
Sorry for the spaces but as a new user I am not able to post images or links yet...
If anyone is aware of something similar, please let me know!
Thanks!
Give Locus a try
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Hi,
i finally recently updated from WM6.5 to Android phone, but i have found one EXTREMELY frustrating thing. When i view Top Apps in android market, they are relevant to my location (Czech Republic). There are apps for local TV, local Czech games, etc. I hate being discriminated just because i was born in this $#!thole, and having low quality Czech content among top apps in Android market.
Is there any way to make android market worlwide, so i know what apps are popular around the world, not just this deep dirty corner of the earth i live in?
Thank you in advance.
.
Thread moved to Q&A due to it being a question. Would advise you to read forum rules and post in correct section.
Failure to comply with forum rules will result in an infraction and/or ban depending on severity of rule break.
Hello,
Hope this is correct forum for this question...
In my company we are starting one project that will (among other) include e.g. 50+ android mobile devices on the field...
So I need to find windows 7 desktop software for managing all of this devices at one place...
To have statuses, check location, lock apps, wipe etc - all regular stuff when administrating device...
Is there such software??
Ivo
Questions should be asked in Q&A forums, not Development forums.
Thread moved.
helo,
I would like to discuss about proper ways of reducing the memory footprint (and thus the possibility of receiving an OutOfMemoryError). After having taken away 2 x 4mb backrounds, my app has stopped OOM-ing. But this is not a viable thing to do in practice of course. How about just terminating the activities as user navigates through them ? Anyone can share some experience ?
Thanks,
Kellogs
Sir, while you are waiting on some answers, First ensure you post in the Correct Sections, the Development Section is for that...
Your Thread as been moved, here is some good reading:
[GUIDE] - XDA New User Guide - Getting started on XDA
Forum & Marketplace Rules
I have ended up clearing the background in all the main layouts of each activity in onStop() and then putting it back in onStart(). So far so good.
LE:
Lots of complications in my case; make the Activities noHistory="true" and troube is just behind the corner due to Android not finishing the the Activities immediately. So, isntead of A getting finished when A -> B, Android will only finish A when C has been reached: A-> B -> C. add the FLAG_REORDER_TO_FRONT in the mix and the soup is ready. Ended up finishing the Activities as user navigates away from them.
Apologies if this isn't the type of development question that goes on XDA, but if it isn't, could you please tell me where people go with questions like these? I'm working on my first android application and could use the guidance.
I'm setting up a screen with a search that is querying a SQLite file. I want the search to re-run with every letter entered and show the results in a listview. The full list is on the order of 600-700 items, so we're not talking anything huge.
I'm using ADO instead of ORM because I'm much more familiar with ADO, but if there are enough compelling reasons to switch to ORM I'll bite the bullet and do some reading.
So all that explained, what's the right way to filter the list view. Do you re-run the sql query every letter press, or do you directly modify the data supplier which feeds listview?