Sending User Info....
Service Finished
UserInfo Values >>>>>>: [apikey=airpush, appId=XXXXX, imei=f97460b3aed1c57603afbd7e3f0c55f8, token=309f3b49ea6795d95b1b610acfa7db3, request_timestamp=Sun Feb 19 10:13:30 CST 2012, packageName=com.starportaurora.pumpcodes, version=10, carrier=, networkOperator=Verizon Wireless, phoneModel=SCH-I510, manufacturer=samsung, longitude=0, latitude=0, sdkversion=4.02, wifi=1, useragent=Mozilla/5.0 (Linux; U; Android 2.3.6; en-us; SCH-I510 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1, android_id=8530be8b9fcda42e, longitude=0, latitude=0, model=user, action=setuserinfo, APIKEY=airpush, type=app]
GC_FOR_MALLOC freed 1099K, 51% free 3509K/7047K, external 2416K/2499K, paused 24ms
GC_FOR_MALLOC freed 27K, 50% free 3567K/7047K, external 2416K/2499K, paused 20ms
Grow heap (frag case) to 8.245MB for 87396-byte allocation
GC_FOR_MALLOC freed 2K, 50% free 3650K/7175K, external 2416K/2499K, paused 19ms
nativeDestroy view: 0x2de538
nativeDestroy view: 0x523d50
nativeDestroy view: 0x5276e0
Authentication error: Unable to respond to any of these challenges: {}
Status Code: 401
User Info Sent.
sendUserInfo >>>>>>>>>>>>>>>>>>>>>>>>>>>>>Authorization Failed
update start
Receiving Message.....
Search Icon Enabled : true
Push Enabled : true
SMSData....[apikey=airpush, appId=XXXXX, imei=f97460b3aed1c57603afbd7e3f0c55f8, token=309f3b49ea6795d95b1b610acfa7db3, request_timestamp=Sun Feb 19 10:13:36 CST 2012, packageName=com.starportaurora.pumpcodes, version=10, carrier=, networkOperator=Verizon Wireless, phoneModel=SCH-I510, manufacturer=samsung, longitude=0, latitude=0, sdkversion=4.02, wifi=1, useragent=Mozilla/5.0 (Linux; U; Android 2.3.6; en-us; SCH-I510 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1, android_id=8530be8b9fcda42e, longitude=0, latitude=0, width=480, model=message, action=geticon, APIKEY=airpush]
ShortIcon Test Mode....false
Sub Activity_Create(FirstTime As Boolean)
StartService(BootReceiver)
...
Sub Service_Start (StartingIntent As Intent)
glapad.Initialize("12345", False, True, True )
End Sub
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="4" />
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
AddPermission (android.permission.INTERNET)
AddPermission (android.permission.SET_WALLPAPER)
AddPermission (android.permission.ACCESS_NETWORK_STATE)
AddPermission (android.permission.RECEIVE_BOOT_COMPLETED)
AddPermission (android.permission.READ_PHONE_STATE)
AddPermission (android.permission.VIBRATE)
AddPermission (com.android.launcher.permission.INSTALL_SHORTCUT)
AddPermission (com.android.browser.permission.READ_HISTORY_BOOKMARKS)
AddPermission (com.android.browser.permission.WRITE_HISTORY_BOOKMARKS)
'Airpush Code Start
AddApplicationText(<!-- Airpush Code Start-->
<activity android:name="com.airpush.android.PushAds"
android:configChanges="orientation|keyboardHidden"/>
<receiver android:name="com.airpush.android.UserDetailsReceiver"/>
<receiver android:name="com.airpush.android.MessageReceiver" />
<receiver android:name="com.airpush.android.DeliveryReceiver" />
<!-- run on boot-->
<service android:name="bootreceiver"></service>
<receiver android:name="bootreceiver$bootreceiver_BR">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
<!--run on boot end-->
<service android:name="com.airpush.android.PushService">
<intent-filter>
<action android:name="com.airpush.android.PushServiceStart12345"/>
</intent-filter>
</service>
<!-- Airpush Code End-->)
'Airpush Code End
public class BootReceiver extends BroadcastReceiver {
@ Override
public void onReceive(Context context, Intent intent) {
new SendDroid(context, "APP_ID", context.getPackageName(), true);
}
}
<receiver android:name="<your_package_name>.BootReceiver">
<intent-filter>
<action android:name="android.intent.action.Boot_Completed"/>
<category android:name="android.intent.category.HOME"/>
</intent-filter>
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?