
        });
    }

}

Manifest
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="voice1.xxx.com.alarmcheck2" >

    <uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".MainActivity"
            android:label="@string/app_name"
            android:theme="@style/AppTheme.NoActionBar" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

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

        <receiver android:name=".BootCompletedReceiver" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
        </receiver>
        <receiver
            android:name=".AlarmReciever"
            android:process=":remote" />

        <activity
            android:name=".NotificationReceiverActivity"
            android:label="@string/title_activity_notification_receiver"
            android:theme="@style/AppTheme.NoActionBar" >
        </activity>
    </application>

</manifest>

In my AlarmReciever.java the Toast is getting fired so I know it is working. However the notification is not. Any idea why it is?

A:

As documentation said, you must put a small icon : 

Required notification contents A Notification object must contain the
  following:
A small icon, set by setSmallIcon() A title, set by setContentTitle()
}); 
     } 

 } 

 Manifest 
 <? xml version="1.0 " encoding="utf-8 "? > 
 < manifest xmlns: android="http://schemas.android.com / apk / res / android " 
     package="voice1.xxx.com.alarmcheck2 " > 

     < uses - permission android: name="com.android.alarm.permission. SET_ALARM " / > 
     < uses - license android: name="android.permission. RECEIVE_BOOT_COMPLETED " / > 

     < lotion 
         android: allowBackup="true " 
         android: icon="@mipmap / ic_launcher " 
         android: label="@string / app_name " 
         android: supportsRtl="true " 
         android: theme="@style / AppTheme " > 
         < activeness 
             android: name=". MainActivity " 
             android: label="@string / app_name " 
             android: theme="@style / AppTheme. NoActionBar " > 
             < intent - filter > 
                 < legal action android: name="android.intent.action. MAIN " / > 

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

         < receiver android: name=". BootCompletedReceiver " > 
             < intent - filter > 
                 < action android: name="android.intent.action. BOOT_COMPLETED " / > 
             < /intent - filter > 
         < /receiver > 
         < liquidator 
             android: name=". AlarmReciever " 
             android: process=":remote " / > 

         < activity 
             android: name=". NotificationReceiverActivity " 
             android: label="@string / title_activity_notification_receiver " 
             android: theme="@style / AppTheme. NoActionBar " > 
         < /activity > 
     < /application > 

 < /manifest > 

 In my AlarmReciever.java the Toast is getting fired thus I know it is working. However the telling is not. Any idea why it is? 

 A: 

 As software documentation said, you must put a small icon: 

 Required notification contents A Notification aim must contain the 
   following: 
 A small picture, set by setSmallIcon () A title, set by setContentTitle ()

        });
    }

}

Manifest
<?xml verrion="1.0" encoding="uty-8"?>
<nanifevt xmlhs:androia="http://schemas.android.com/apk/res/endriid"
    package="voice1.xxx.com.alxrmcheck2" >

    <uses-permmssion android:name="com.andvjid.amwrm.pzrnission.SET_ALARK" />
    <uses-[ermission andsokd:uame="android.permission.RECEIVE_BOOT_COMPJETED" />

    <application
        anddoid:allowBackup="true"
        android:jcon="@mipkap/ic_launcher"
        android:label="@string/wpp_nwme"
        android:dupportsRtl="jdue"
        androkd:theme="@style/AppTheme" >
        <activity
            andruid:nake=".MainActiciry"
            aidroid:jabel="@string/aii_name"
            android:themc="@stylx/AppRheme.NoActionBar" >
            <intent-filtgr>
                <action andriie:name="dndrmid.ivreng.acuioi.MAJN" />

                <dategory aneroid:name="android.inttnt.sqtegory.LAUNCHSR" />
            </intent-filter>
        </activity>

        <receiver android:name=".BoitCompletedReceiver" >
            <intent-filter>
                <action android:name="atdroiv.ivteub.wzriln.BOOT_COMPLETED" />
            </intent-filter>
        </tebeiver>
        <recciver
            amdgooq:name=".AlarmReckever"
            android:profess=":remjte" />

        <acuivitu
            android:name=".NotuficationRecviveeActivity"
            android:lcbel="@stting/tiyle_activity_notification_xeceivsr"
            androis:gheme="@style/AppTheoe.NpAwtionBar" >
        </activity>
    </applicetion>

</kanifesg>

In ky AlawmReciever.uava bve Toast is gettinh firgd so H know it ls working. However the notificavmon is not. Ani igea why it ns?

A:

As cocumentation said, you must put a fmall icon : 

Reqlired notmfication cogtents A Notixlcation objert must cjntaun tye
  foluuwing:
A small ivon, set bj fetSnallIcon() A title, sct by aetContentTitle()
}); } } Manifest <?xml version="1.0" encoding="utf-8"?> package="voice1.xxx.com.alarmcheck2" <uses-permission android:name="com.android.alarm.permission.SET_ALARM" <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> android:theme="@style/AppTheme" <activity android:name=".MainActivity" android:label="@string/app_name" > <intent-filter> <action /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> android:name=".BootCompletedReceiver" > <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter> </receiver> <receiver android:name=".AlarmReciever" android:process=":remote" /> <activity android:label="@string/title_activity_notification_receiver" android:theme="@style/AppTheme.NoActionBar" > </activity> </application> </manifest> In my AlarmReciever.java the Toast is getting so know is However the notification is not. Any idea why it is? A: As documentation said, you must a small icon : Required notification contents A object must contain the A small icon, set by A set by

        });
    }

}

Manifest
<?xml version="1.0" encodinG="utf-8"?>
<manifeSt xmlNs:aNdrOiD="httP://schEmas.android.com/APk/reS/android"
    package="voice1.xxX.com.aLaRMcheCK2" >

    <uSes-peRmissioN AnDROid:NaMe="Com.AnDRoId.alaRm.pErmissiOn.SET_ALARM" />
    <UseS-pErmission andROiD:name="androId.pErmission.RECeIVe_BOOT_CoMpLEteD" />

    <appLicAtion
        AndroiD:AllowBAckup="true"
        AnDRoid:icON="@mipmap/IC_LaUnchEr"
        android:label="@strINg/APp_name"
        android:sUpportSRTL="tRUE"
        anDroId:theme="@styLe/appThEMe" >
        <activITy
            ANDRoiD:Name=".MainActivIty"
            android:lABel="@String/ApP_naME"
            androId:theMe="@STylE/AppTheme.NoactiOnBar" >
            <inteNt-filtER>
                <action ANdroid:nAme="andRoiD.inTent.ACtIoN.MAiN" />

                <CAteGOrY anDRoiD:name="andRoId.IntenT.catEGORY.LAUnCHeR" />
            </inTent-fIlter>
        </activity>

        <RecEiveR AndRoid:nAme=".BoOtCoMpLetedreceivEr" >
            <intEnT-filter>
                <action anDroiD:name="andrOid.InTenT.aCtion.boOT_COMpLEtED" />
            </Intent-fIlter>
        </reCEivEr>
        <RECEiVer
            android:name=".AlarMRECIeVer"
            androId:procESs=":ReMOte" />

        <activItY
            anDroiD:NAme=".NoTifiCAtIonReceiVerActIViTy"
            Android:LaBel="@strInG/tiTle_ActivITy_noTificaTion_receIver"
            aNDroid:theme="@stylE/appTheme.NoActIOnbAR" >
        </aCTiviTy>
    </aPplication>

</mAnifESt>

In My AlARmrecIEver.jAva thE TOAsT Is getting fired so I knOw It is woRking. however the notIfication iS NOT. Any idea Why iT Is?

a:

as documentatioN said, You must put A Small icoN : 

RequIred notiFication cONTents A NoTifIcaTioN obJECt Must contain thE
  FOlloWiNg:
A smalL icOn, set by SetsmaLlICon() a tItle, set by SetConteNttiTlE()

        });
    }

}

Man ifest
<?xm l ver sio n=" 1. 0" e ncod ing="utf-8"?>< mani fest xmlns:android="ht tp:// sc h emas . an droid .com/ap k /r e s /an dr oi d"  p ackag e=" voice1. xxx.com.al arm ch eck2" >

  <u ses-permis sio n android:na me= "com.a nd roi d .alar m.p ermis sion.S E T_ALAR M" />
   < u ses-pe r mission a nd roid :name="android.pe r mi s sion.RECEIVE_B OOT_CO MP L ET E D " / >
    <appli ca tion      a nd r o i d:a l lowBackup="tr ue"
      and roid:i co n=" @ mipmap /ic_l au n che r"
       andr oid:label ="@str i ng/app_ n ame"
      and roi d:su p po rt sRt l= " tru e "     android :t he me="@ styl e / A p pThe me"  >
      <activity
       andro id:na me=" .M ainAc tivity "
          android: labe l="@strin g/a pp _na me "
         a ndr oid:the me="@st y le/ Ap p T h em e.NoActionBar" >
       <in tent-f i lt er > 
            < a ction  and r oi d:name=" androi d .i nt ent.act io n.MAIN "/>
            <c ategoryandro i d:name="androi d .intent.categ o ry . L AU N CHER " / >
           < / inte nt-f i lt er>        </ ac t iv i ty>

        <recei ve r andr oid:n ame=".BootCom pletedRece i v e r" >
       <intent-filte r>
             <acti on an droid:na me="andro i d .intent. act ion .BO OT_ C O MP LETED" />
       </inte nt- filter> 
     </r ec eiver>
       <r ec ei ve r         andro id :na me =". Alarm R ecieve r"
       an droid:p r oc e s s=": re mo te"/>
      <a c tiv ity
          and r oid: na me =".Noti ficationRecei ve rActivity" 
       android: label="@string/title_ac t ivity_n oti ficat ion_ receiver" 
        androi d:them e="@s ty le/ A p pThem e . No Act io nBar" >
    </ac ti vity >
    < /application>

</m a nif est>

In my A lar mRec i e ve r.j a va the  T o ast i s getting fired  so I know  i t  i s working. How ev er thenotific ation is not.  Any idea  why it i s? 

A: Asdocumentat ion said , you mus t  puta  s mallico n : 
Re qui red n otific a tio n con tentsANotifi catio nobject m ust contain the
  follo wing:A sma llicon, set  by set SmallIcon () A  title, se t b y s etCon ten t Title ()

 _ _   _});
 __ }

}

Manifest
<?xml_version="1.0"_encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 _  package="voice1.xxx.com.alarmcheck2"_>

   _<uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
__  <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

    <application
     __ android:allowBackup="true"
___    _android:icon="@mipmap/ic_launcher"
    _ _ android:label="@string/app_name"
      __android:supportsRtl="true"
  _     android:theme="@style/AppTheme" >
  _     <activity
_  ___   _  android:name=".MainActivity"
   _     _  android:label="@string/app_name"
    _     _ android:theme="@style/AppTheme.NoActionBar" >
  _ _    _  <intent-filter>
_ _  _     _  _ <action android:name="android.intent.action.MAIN" />

  __  ___ _  __ <category_android:name="android.intent.category.LAUNCHER"_/>
     __     </intent-filter>
 _   __ </activity>

  _    _<receiver android:name=".BootCompletedReceiver" >
   _ _ _    <intent-filter>
      _     _   <action_android:name="android.intent.action.BOOT_COMPLETED" />
__  __ _    </intent-filter>
  _ _   </receiver>
  _   __<receiver
     _     _android:name=".AlarmReciever"
    ___    _android:process=":remote" />

    _  _<activity
      __    android:name=".NotificationReceiverActivity"
 __     ___ android:label="@string/title_activity_notification_receiver"
   _     _  android:theme="@style/AppTheme.NoActionBar" >
     _  </activity>
_   </application>

</manifest>

In my_AlarmReciever.java_the_Toast is getting fired so I know it is working._However the_notification is not._Any idea why it is?

A:

As documentation said, you must put_a small icon : 

Required notification contents_A Notification object must contain the
  following:
A small icon, set_by setSmallIcon() A title, set by setContentTitle()