Airpush Library

susu

Well-Known Member
Licensed User
Longtime User
Yes, it showed 1 new install but in status is "Upgrade SDK" ? I'm using 4.02 SDK.
 

susu

Well-Known Member
Licensed User
Longtime User
You're right. It disappeared :D
 

TrisectDevelopment

Active Member
Licensed User
Longtime User
Why can't I use this line?

B4X:
Dim glapad As APAdView

That line gives me an error when compiling.

But this compiles okay!

B4X:
Dim glapad As MESAPLib

But I dont see any Adds, but I just joined Airpush today so maybe tomorrow??
 

ssg

Well-Known Member
Licensed User
Longtime User
Why can't I use this line?

B4X:
Dim glapad As APAdView

That line gives me an error when compiling.

But this compiles okay!

B4X:
Dim glapad As MESAPLib

But I dont see any Adds, but I just joined Airpush today so maybe tomorrow??

Whoops.. sorry, the sample is outdated :D The MESAPLib is the right one.

Yes, airpush ads are not immediate. Do have a look at the "new installs" number, it should have increased.

Cheers!
 

TrisectDevelopment

Active Member
Licensed User
Longtime User
Yes I did.

This is my manifest file:

B4X:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="something.AirPush"
      android:versionCode="1"
      android:versionName="1"
     android:installLocation="internalOnly">
   <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="Airpush Test">
      <activity android:windowSoftInputMode="stateHidden" android:launchMode="singleTop" android:name=".main"
 android:label="Airpush Test" 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" />
<!-- 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.PushServiceStartxxxxxxxxxxxxxxxxxxx"/>
</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"/>
</manifest>

The xxxxxxxxxxxxxxxxxxx is of couse my AddID from Airpush.
 

ssg

Well-Known Member
Licensed User
Longtime User
the wonderful worlds of android... they really could have made the manifest simpler dont your think?

hmm... i'll need to see whats causing this... another confirmation... the addid you mention, it is a 5 digits number right?
 

TrisectDevelopment

Active Member
Licensed User
Longtime User
Arghh!

No I was using the API Key, my bad.
I have changed the code and manifest file now to the right AddID.
How long before I can se new installs on their website?

I use this in the template file.

B4X:
glapad.Initialize(xxxxx, True, True, False)

Is this correct for testing?
 
Last edited:

ssg

Well-Known Member
Licensed User
Longtime User
Hehehe... it happens!

They mention their stats are delayed by 10 minutes. You should see the update in less than 10 mins though.

The code you provided above is correct for testing. But when I started, test ads took forever to show up too. Just have a look if the installs count increases...

Goodest luck!!!
 

TrisectDevelopment

Active Member
Licensed User
Longtime User
So if i'm only runnig the template app on the emulator I would not get any new installs on the Airpush site?

Should I try on my device maybe?
 

ssg

Well-Known Member
Licensed User
Longtime User
Not too sure abt the emulator.

Yeah, install on your device. You could also upload your test apk here, i could give it a try...

Slow replies after this... need to try this thing called "sleep"...
 

ssg

Well-Known Member
Licensed User
Longtime User
So I implementet it on my App "My Computer Companion".
Now I just have to wait and see if it works.

Are your install counts increasing? I've downloaded it and so far no ads yet.

While downloading, I saw android market only showing 2 permissions... just to check, did you include the following in your manifest:

B4X:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
 

susu

Well-Known Member
Licensed User
Longtime User
Sgg, could you please check your AirPush report? From 11/06 until today my report chart didn't show new installs although total new installs keep increasing.

Ps: I got $40 in 9 days. It's a huge money to AdMob!
 

TrisectDevelopment

Active Member
Licensed User
Longtime User
Yes install is increasing on push adds.
And I got earning $0.01

I have this in my manifest file.
B4X:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.VIBRATE"/>
 

ssg

Well-Known Member
Licensed User
Longtime User
Hmm... you're right susu. I just noticed that too... it is flat 0 from the 6th... I will write in to their support and see what they say.

Btw... great revenue you've got there! Keep it up... remember to update your app on the 8th day after previous release/update!
 
Top