Dim glapad As APAdView
Dim glapad As MESAPLib
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??
<?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>
glapad.Initialize(xxxxx, True, True, False)
So I implementet it on my App "My Computer Companion".
Now I just have to wait and see if it works.
<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.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"/>