Start an activity without declaring it in manifest file

by semaka » Tue, 02 Sep 2008 21:42:41 GMT


Sponsored Links
 Hi guys,

I have a project in which I have to start an activity which is not
declared in AndroidManifest.xml. Is that possible to register an
activity dynamically by code? Or is it possible to overwrite the
AndroidManifest.xml from an installed .apk  or to replace it without
reinstalling the .apk on the emulator?

Any help will be highly appreciated.

--~--~---------~--~----~------------~-------~--~----~



Start an activity without declaring it in manifest file

by Mark Murphy » Tue, 02 Sep 2008 22:21:20 GMT


 


Not that I'm aware of.


Not that I'm aware of.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
_The Busy Coder's Guide to Android Development_ Version 1.1 Published!

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Start an activity without declaring it in manifest file

by Justin (Google Employee) » Wed, 03 Sep 2008 03:10:37 GMT


 As mark has said, nope, its not possible. The manifest registers your
application with the system. This is the only way the system becomes
aware of executable targets.

Cheers,
Justin
Android Team @ Google





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to run Instrumentation tests on device

Hello All,

Can you please tell me the process for running the tests on device?
currently I am using the eclipse IDE to run the tests as Android Junit
tests. And I would like to run the unit tests on device. Your help is
appreciated.

Thanks,
Android user.
--~--~---------~--~----~------------~-------~--~----~

2. Why the g2 could not play "rtsp" movie?

hi ,all.
 I wrote a app that was just use the videoview to play the
streaming.When it play the "http" movie,it is ok.But when play the
"rtsp",it has something wrong.I find the buffer percentage is always
is 0% in the log. I am not sure whether the percentage will increase
with  the UDP packets being received.I guess that  maybe it has not
received any UDP packet because the percentag is always 0%.But I am
not sure because I don't know how to prove this.I will be very
appreciate if someone could give me the correct answer about the
reason why this could happen?Thanks.
--~--~---------~--~----~------------~-------~--~----~

3. MediaPlayer and rtsp streaming problems

4. Have anyone used mediaplayer to run rtsp streaming successfully either on the emulator or on the HTC device?

5. Log various events along with time stamp in Androi

6. Emulator won't finish booting...

7. ANDROID SDK 1.6 DOES NOT SUPPORT ARABIC LOCALE