[android-developers] Re: add an activity pragmatically in Menifest.xml

2009-08-12 Thread Dianne Hackborn
The PackageManager allows you to retrieve information about application components. I don't really know exactly what you are asking for to help more. On Tue, Aug 11, 2009 at 10:14 PM, Atif Gulzar atif.gul...@gmail.com wrote: is not it an extra task for client to list all activities provided by

[android-developers] Re: add an activity pragmatically in Menifest.xml

2009-08-12 Thread Mark Murphy
Atif Gulzar wrote: is not it an extra task for client to list all activities provided by my Lib? Yes. Libraries are not designed for having many activities. Bear in mind also that your library cannot package any resources, making activities that much more difficult to package in a library.

[android-developers] Re: add an activity pragmatically in Menifest.xml

2009-08-11 Thread Atif
suppose my library has some activities. Do I need to register these activities in client menifest file? Thanks On Aug 10, 6:10 pm, Andrei Bucur andrei.bu...@gmail.com wrote: This is how I make libraries for Android in Eclipse: 1. I make a new Java project 2. In the project properties, at Java

[android-developers] Re: add an activity pragmatically in Menifest.xml

2009-08-11 Thread Dianne Hackborn
Yes, all activities, services, receivers, and providers must be declared in the manifest. On Tue, Aug 11, 2009 at 9:05 PM, Atif atif.gul...@gmail.com wrote: suppose my library has some activities. Do I need to register these activities in client menifest file? Thanks On Aug 10, 6:10 pm,

[android-developers] Re: add an activity pragmatically in Menifest.xml

2009-08-11 Thread Atif Gulzar
is not it an extra task for client to list all activities provided by my Lib? -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Wed, Aug 12, 2009 at 10:41 AM, Dianne Hackborn hack...@android.comwrote: Yes, all activities, services, receivers, and providers must be declared in

[android-developers] Re: add an activity pragmatically in Menifest.xml

2009-08-10 Thread Mark Murphy
Atif wrote: I want to run an activity without adding it in Menifest.xml file. Is it possible? and how? It is not possible. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 Available!

[android-developers] Re: add an activity pragmatically in Menifest.xml

2009-08-10 Thread Andrei Bucur
This is how I make libraries for Android in Eclipse: 1. I make a new Java project 2. In the project properties, at Java Build Path - Libraries, I replace the the JDK library with the android.jar, found in the Android SDK. From what I tested, this solution seems to work. On Mon, Aug 10, 2009 at