Android Start
-
Hello members Good morning I have a write simple .apk file for android in my eclipse editor.When i send .apk file in android phone through my eclipse then application launch it self but when i send .apk through command adb install test.apk that time application not launch it self. My question is how to auto start .apk file when i successfully install in phone? Please help me..
-
Hello members Good morning I have a write simple .apk file for android in my eclipse editor.When i send .apk file in android phone through my eclipse then application launch it self but when i send .apk through command adb install test.apk that time application not launch it self. My question is how to auto start .apk file when i successfully install in phone? Please help me..
try using
adb shell am start ...
- type just
adb shell am start
for help on the command Check your manifest xml file for details regarding the intent information the activity string can be formatted as
/.
"It was when I found out I could make mistakes that I knew I was on to something." -Ornette Coleman "Philosophy is a study that lets us be unhappy more intelligently." -Anon.
-
try using
adb shell am start ...
- type just
adb shell am start
for help on the command Check your manifest xml file for details regarding the intent information the activity string can be formatted as
/.
"It was when I found out I could make mistakes that I knew I was on to something." -Ornette Coleman "Philosophy is a study that lets us be unhappy more intelligently." -Anon.
Thank for reply I try to use adb shell am start i got some information. i have question about this what i check sir.
/.
Here manifest xml please help me
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.innovantesindia.broadcast_onBoot"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".SendSMS_OnBoot"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity></application>
<uses-permission android:name="android.permission.SEND_SMS"></uses-permission>
<uses-permission android:name="android.permission.RECEIVE_SMS"></uses-permission>
</manifest> -
Thank for reply I try to use adb shell am start i got some information. i have question about this what i check sir.
/.
Here manifest xml please help me
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.innovantesindia.broadcast_onBoot"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".SendSMS_OnBoot"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity></application>
<uses-permission android:name="android.permission.SEND_SMS"></uses-permission>
<uses-permission android:name="android.permission.RECEIVE_SMS"></uses-permission>
</manifest>OK. try using:
adb shell am start -n com.innovantesindia.broadcast_onBoot/.SendSMS_OnBoot
"It was when I found out I could make mistakes that I knew I was on to something." -Ornette Coleman "Philosophy is a study that lets us be unhappy more intelligently." -Anon.
-
OK. try using:
adb shell am start -n com.innovantesindia.broadcast_onBoot/.SendSMS_OnBoot
"It was when I found out I could make mistakes that I knew I was on to something." -Ornette Coleman "Philosophy is a study that lets us be unhappy more intelligently." -Anon.