Wesley wrote: > 1st question example > ApiDemo, it have a lot of example of activity which each activity need > to declare at AndroidManifest.xml rite??? If one of the activity I did > not declare at manifest, sure I can't start the activity, but I want > to hard code the activity manifest in code not in manifest, so that I > can start the activity. Is there a way to set it dynamical??
Sorry, I guess I was unclear. "but I want to hard code the activity manifest in code not in manifest, so I can start the activity" What information -- in other words, what specific portions of the manifest file -- do you want to set or change dynamically? > 2nd question example > each activity need certain resources to run it... But each activity I > choose to load it dynamic using coding... Now, after I load it before > start activity I need change the pointer to new resources... Is there > a way to reset/set resources?? There are dozens and dozens of methods for setting resources on widgets. ImageView and ImageButton have setImageResource(). TextView and its subclasses (e.g., Button) have setText() (which can take either a String or a resource id). And so on. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch in September! http://www.bignerdranch.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

