java - Open an activity inside an alert dialog box in android -


can trigger activity inside alert box?

here trying out: have list of items in db.

i have main.class - has button - on click on button gets list.class (this list oncreate gets , values of db , displays (async used)) shown in full screen.

instead want show list of fetched items in alert dialog instead of showing in full screen? possible?

let me know!

thanks!

you mean want show activity in alert dialog instead of activity/page.

it's simple if looking for. add

android:theme="@android:style/theme.dialog" 

in manifest file corresponding activity(list activity). , call requestwindowfeature(window.feature_no_title) before setcontentview in activity class, activity displayed alert dialog.

hope helps.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -