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

Apps Place apk file onto device

Hi everyone, I've got to the stage where I'm testing my app on my own device. I've placed the apk file on my sd card and installed it but it seems to then place a file/icon for every class I have in my app? So I then have 13 icons which each open the various different pages?

What am I doing wrong? Surely if I just install the apk this shouldn't happen?

Thanks
 
Don't worry it's because I had the following lines in each activity in the Manifest file...

<intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter>

Lives and learns..
 
Back
Top Bottom