android - Basis approach for Login and then listview -
i'm working on android app display listview items loaded web. listview must displayed after logging in app.
what i've done far:
- i created main activity tabs on top.
- in 1 of tabs (activity's) have log in.
- then use asynctask authenticating in background.
now that's i've done far. need make following:
when username , password meet requirements, app should start new activity, show listview remote items web. need done in proper fashion, use asynctask this. problem is...
i don't know how approach this. because when verify username load... , load again when it's loading list items.. there way working nicely , within tabs interface is?
i'm not sure if understand asking for.
as far can tell though, want add listview tab after authenticating. use tabhost.newtabspec() make new tab once async task returns login successful.
sorry if misunderstood. hope helps.
Comments
Post a Comment