You have to create the view elements of your activity at real time.
Check out for example this:
http://www.brighthub.com/mobile/google-android/articles/48845.aspx
On 28 April 2011 12:51, Mark Murphy <mmurphy@commonsware.com> wrote:
On Thu, Apr 28, 2011 at 1:02 AM, Mohit sharma <mohit7575@gmail.com> wrote:You cannot create an activity at runtime.
> I was doing some project in which i need to create UI at runtime which
> implies that i need create activity dynamically .
>
> I have googled a lot about how to create activity dynamically but
> couldn't find thing relevant . Please help me on how to create
> activity at runtime .
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, One Low Price!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment