Right now I am in the process of working out this little "bug" as I want to 
call it. I'm almost certain that it is a manifest issues so I will post the 
code to the manifest down below. Going on what the title says. When I load 
my app into the emulator it installs just fine, but as soon as it goes to 
start it stops but then starts right afterward? At this point in time I am 
working on trying to make the app in question run in the background. Here 
is the manifest file since I have deduced that it is an issue in here:

<manifest xmlns:android="http://schemas.android.com/apk/res/android";
    package="path.to.this"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="9"
        android:targetSdkVersion="15" />

    <uses-permission 
android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.CALL_PHONE" />

    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <receiver
            android:name="path.to.this.AUTOBOT"
            android:enabled="true"
            android:permission="android.permission.RECEIVE_BOOT_COMPLETED" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" 
/>

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </receiver>

        <activity
            android:name=".MainActivity"
            android:label="@string/title_activity_main" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

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

        <service android:name="path.to.this.myService" >
        </service>
    </application>

</manifest>

Maybe I'm calling something wrong?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to