Click here to Skip to main content
15,917,971 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
<manifest android:versioncode="1" xmlns:android="#unknown">
android:versionName="1.0"
package="com.commonsware.android.syssvc.alarm"
xmlns:android="http://schemas.android.com/apk/res/android">

<uses-sdk android:minsdkversion="17">
android:targetSdkVersion="18"/>
<supports-screens android:resizeable="true">
<supports-screens android:smallscreens="true">
<supports-screens android:normalscreens="true">
<supports-screens android:largescreens="true">
<supports-screens android:anydensity="true">


<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED">
<uses-permission android:name="android.permission.WAKE_LOCK">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE">
<uses-permission android:name="android.permission.SEND_SMS">
<uses-permission android:name="android.permission.RECEIVE_SMS">
<uses-permission android:name="android.permission.READ_LOGS">
<uses-permission android:name="android.permission.READ_CALL_LOG">
<uses-permission android:name="android.permission.READ_CONTACTS">
<uses-permission android:name="android.permission.CALL_PHONE">
<uses-permission android:name="android.permission.READ_PHONE_STATE">
<uses-permission android:name="android.permission.VIBRATE">

<application android:icon="@drawable/cw" android:allowbackup="true" android:exported="true">
android:label="@string/app_name">

<activity>
android:name="com.commonsware.android.syssvc.alarm.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN">

<category android:name="android.intent.category.LAUNCHER">


<receiver android:name="com.commonsware.android.syssvc.alarm.OnBootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED">


<receiver android:name="com.commonsware.android.syssvc.alarm.OnAlarmReceiver">

<service android:name="com.commonsware.android.syssvc.alarm.AppService">


Posted
Updated 17-Mar-14 23:51pm
v2

<manifest android:versioncode="1" xmlns:android="#unknown">
android:versionName="1.0"
package="com.commonsware.android.syssvc.alarm"
xmlns:android="http://schemas.android.com/apk/res/android">

<uses-sdk android:minsdkversion="17">
android:targetSdkVersion="18"/>
<supports-screens android:resizeable="true">
<supports-screens android:smallscreens="true">
<supports-screens android:normalscreens="true">
<supports-screens android:largescreens="true">
<supports-screens android:anydensity="true">


<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED">
<uses-permission android:name="android.permission.WAKE_LOCK">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE">
<uses-permission android:name="android.permission.SEND_SMS">
<uses-permission android:name="android.permission.RECEIVE_SMS">
<uses-permission android:name="android.permission.READ_LOGS">
<uses-permission android:name="android.permission.READ_CALL_LOG">
<uses-permission android:name="android.permission.READ_CONTACTS">
<uses-permission android:name="android.permission.CALL_PHONE">
<uses-permission android:name="android.permission.READ_PHONE_STATE">
<uses-permission android:name="android.permission.VIBRATE">

<application android:icon="@drawable/cw" android:allowbackup="true" android:exported="true">
android:label="@string/app_name">

<activity>
android:name="com.commonsware.android.syssvc.alarm.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN">

<category android:name="android.intent.category.LAUNCHER">


<receiver android:name="com.commonsware.android.syssvc.alarm.OnBootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED">


<receiver android:name="com.commonsware.android.syssvc.alarm.OnAlarmReceiver">

<service android:name="com.commonsware.android.syssvc.alarm.AppService">


 
Share this answer
 
I have followed the above solution but same thing..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900