Basic4Android Sample for Pushe
This is a sample application (made by B4A), which is powered by Pushe push notification service.
You can see other samples:
To see our demo app or its wiki page you may take a look at:
Using Pushe Sample Code for B4A
The project is organized in a way that you can use it with minimum efforts. To use this sample, follow these steps:
- First download or clone the project on your computer
- Go to
b4a-samplefolder and open the B4A project.
Tools -> configure Pathsfrom B4A menu bar and set
aditional-libfolder which exists in the root of this project. Alternatively you can copy the content of this folder into your
- If you
DONT wantto send costum json with your notifications, remove
PusheJsonServicefrom project via
Project -> Remove Modulealso remove below lines to your manifest by selecting
Project -> Manifest Editor: I AddManifestText() AddPermission($PACKAGE$.permission.C2D_MESSAGE) AddPermission(com.google.android.c2dm.permission.RECEIVE) ' Push Service Receiver Attribute SetReceiverAttribute(PusheJsonService, android:permission, "com.google.android.c2dm.permission.SEND") ' Service Receiver Text AddReceiverText(PusheJsonService, )
- Run the project.
For detailed documentations visit http://docs.pushe.co
support [at] pushe.co
+98-21-44668276 (8:00 to 17:00 Sat-Thu)