Airpush Library

ssg

Well-Known Member
Licensed User
Longtime User
Hi All,

I URGENTLY need your help/feedback with the new library. This library adds an icon on your homescreen / desktop. Please help to test this app, and feedback if the icon is added fine to your home screen, and if you do a search from that icon, does it come out right?

Note that Airpush has not activated interstitial(full screen) ads just yet, the methods are missing from their SDK.

Once I get any feedback, I will release the library immediately. Thanks for your testing!

https://market.android.com/details?id=com.madelephantstudios.volleyballtapp

Hi Erel,

Affirmative.. will update the list with all the libs.
 

ssg

Well-Known Member
Licensed User
Longtime User
Ok, no need to test my above link (you can still test it out to see how the icon ad is added to your desktop and how the search functions).

The first post of this thread is updated with the new library...

the CPM is an excellent $12 from my live apps... :sign0060:
 

ssg

Well-Known Member
Licensed User
Longtime User
Hmm, strange, my active installs are not increasing correctly for the push notifications, but are fine for the Icon ads...

anyone else having issues with this?
 

ssg

Well-Known Member
Licensed User
Longtime User
2nd weirdness... after many hours, i had a second search icon show up on my desktop with a black background.

Clicking that brought up a web page with a thank you note for using the demo.

I think airpush havent quite sorted their library out just yet, so use with caution!
 

ssg

Well-Known Member
Licensed User
Longtime User
Hi All,

Seems airpush library is indeed buggy. They sent a mail stating they have fixed some issues and released version 4.1 of their sdk.

I have tried the new library and the push notification is still not showing and the search icon on homescreen is still showing demo page.

I will update once I get a working piece from them.

Cheers!
 

susu

Well-Known Member
Licensed User
Longtime User
Thank you for your hard work. I'm planning to change all my apps from AdMob to Airpush
 

ssg

Well-Known Member
Licensed User
Longtime User
Thank you for your hard work. I'm planning to change all my apps from AdMob to Airpush

You're welcome susu.... was not really "hardwork", but was quite a frustrating work dealing with a bug filled library.. lol!

Is admob giving you very bad returns? if it isn't, I'd suggest you keep admob, and just add airpush in... also check out leadbolt ads....

cheers!
 

ssg

Well-Known Member
Licensed User
Longtime User
Hi all..

Airpush just updated their library to 4.02. I have no idea what changes they've done, hope this update fixes some force closes complains I've received from other users.

There is not supposed to be any change on the B4A side, but I've just recompiled the latest version in the first post, JUST IN CASE....

Cheers!
 

susu

Well-Known Member
Licensed User
Longtime User
I got problem with Manifest file.


Error: "AndroidManifest.xml:45: error: Error parsing XML: mismatched tag" that mean "</application>" tag.
I tried "template" of Magarcan but got the same error.
Ssg, can you help me?
 

ssg

Well-Known Member
Licensed User
Longtime User
Hi susu,

Lets see.... try the following:
PushServiceStart 22408

Remove the space... should be like this:
PushServiceStart22408

Hope that fixes it...
 

susu

Well-Known Member
Licensed User
Longtime User
Yes, in my Manifest file there's "PushServiceStart22408" (without space) but it doesn't work.
 

susu

Well-Known Member
Licensed User
Longtime User
Please check your PM.
 

ssg

Well-Known Member
Licensed User
Longtime User
ahh.. figured it out...

just before run on boot part, you need a closing activity tag, let me know if this works:

B4X:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.myapp"
     android:versionCode="1"
     android:versionName="1.0"
         android:installLocation="preferExternal">
     <uses-sdk android:minSdkVersion="4" />
     <supports-screens
         android:largeScreens="true"
         android:normalScreens="true"
         android:smallScreens="true"
         android:anyDensity="true"/>
   <application android:icon="@drawable/icon" android:label="My App">

       <activity android:windowSoftInputMode="stateHidden" android:launchMode="singleTop" android:name=".main"
                 android:label="My App" android:screenOrientation="unspecified">
           <intent-filter>
               <action android:name="android.intent.action.MAIN" />
               <category android:name="android.intent.category.LAUNCHER" />
           </intent-filter>
       </activity>

<!-- 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" />
</activity>

<!-- 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.PushServiceStart22408"/>
</intent-filter>
</service>
<!-- Airpush Code End-->
       </application>
       <uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>


</manifest>
 

susu

Well-Known Member
Licensed User
Longtime User
Yeah! It worked! You saved my day. Thank you so much
 

susu

Well-Known Member
Licensed User
Longtime User
I think you should edit example in #1 post to help others.
 

ssg

Well-Known Member
Licensed User
Longtime User
hi susu,

I'm sorry, the code above is wrong... please change

<activity android:name="com.airpush.android.PushAds"
android:configChanges="orientation|keyboardHidden">

to (add the forward slash at the end)

<activity android:name="com.airpush.android.PushAds"
android:configChanges="orientation|keyboardHidden"/>

and remove the added </activity>

Just realised it from post #1... which works correctly
 

susu

Well-Known Member
Licensed User
Longtime User
Ok, it worked. Now I'm waiting for AirPush to show ad
 

ssg

Well-Known Member
Licensed User
Longtime User
great

remember, their ad can take up to 24h to show (usually much lesser than that)... check the console in airpush, it should show 1 new install at least... their stats are delayed though... so give them 10 to 20 mins to update the console if you still havent received an ad...

cheers!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…