• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android app reuse code; semi-fail

java_dude

Lurker
I have a group of related apps. When any of the apps are run there is some initialization performed common to all. I decided to reuse the code of an old app to create a new app. When new app is called it creates an intent to launch old app. It also does a 'putextra' so that the unique code for new app can be executed from old app.

Here is how it executes: When old app runs first, then exited and enter new app, all is well. When new app runs first I get a null pointer exception: the intent controller did not run to initialize the application hook.

This leads me to believe my androidmanifest files need some work. I'm new to android, so I'm unsure what this could be. Any ideas?
 
Back
Top Bottom