easy and three step procedure to add start app ads to your android project
if you don't know about start app . have android applications that makes lots of money use
following refral link to support this article to sign up to start app
http://startapp.com/rf5kafd copy and paste this link in refral blog to sign up
1.add jar files in your liberay folder
if your familiar with android app development structure you have what is called lib folder in android application copy downloaded jar files and paste it on lib folder that will copy jar files in to lib folder
2.add this following code to your android manifest file
if you don't know about start app . have android applications that makes lots of money use
following refral link to support this article to sign up to start app
http://startapp.com/rf5kafd copy and paste this link in refral blog to sign up
1.add jar files in your liberay folder
if your familiar with android app development structure you have what is called lib folder in android application copy downloaded jar files and paste it on lib folder that will copy jar files in to lib folder
2.add this following code to your android manifest file
<activity android:name="com.startapp.android.eula.EULAActivity" android:theme="@android:style/Theme.Translucent" android:configChanges="keyboard|keyboardHidden|orientation" />
<activity android:name="com.startapp.android.publish.list3d.List3DActivity" android:taskAffinity="far.jscript.ui.AppWall" android:theme="@android:style/Theme" />
<activity android:name="com.startapp.android.publish.AppWallActivity" android:theme="@android:style/Theme.Translucent" android:taskAffinity="far.jscript.ui.AppWall" android:configChanges="orientation|keyboardHidden" />
make sure you add this code just before application tag of android manifest file
after pasting replace far.jscript.ui value with your application package name
now you need to add permissions its simple just paste following permissions
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" /> <uses-permission android:name="android.permission.READ_CONTACTS" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-feature android:name="android.hardware.telephony" android:required="false" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.RECORD_VIDEO"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" />
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.READ_PHONE_STATE"/> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> <uses-permission android:name="android.permission.GET_TASKS"/>
paste this permissions after end of manifest tag
after next line of this <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.rahul.videoder"
android:versionCode="2"
android:versionName="1.0.1" android:installLocation="auto">
that finishes work in manifest file
2. you need to add start app initialisation code in your main activity or activity you will start first add
this code before set contentview method
StartAppSearch.showSearchBox(this);
StartAppAd.init(this, "112238123", "201336813");
StartAppSearch.init(this, "112238123", "201336813");
this will initiate start app sdk and search bar sdk you will see eula screen and search ad on side of your main activity add this piece of code StartAppSearch.showSearchBox(this); where ever you wanna implement search bar ad
to show ad on exit add following code to your acitivy just below on create method
public void onBackPressed() {
startAppAd.onBackPressed();
super.onBackPressed(); }
@Override public void onResume(){
super.onResume();
startAppAd.onResume(); }
public void onPause() {
super.onPause();
startAppAd.onPause(); }
this will show ads on exit
you may see error on start app ad then add following declaration above main activity extends activity StartAppAd startAppAd = new StartAppAd(this);
as start app has introduces new add format called overlay that uses transparent background to show
the ads if you wanna implement it add following code at place where u wanna implement
startAppAd.showAd();
startAppAd.loadAd(AdMode.OVERLAY);
make money lot and sign up for start app use following link :http://startapp.com/rf5kafd
Como se puede entrar en el celular "-?
ReplyDeleteComo se puede entrar en el celular "-?
ReplyDeleteOi
ReplyDeleteOi
ReplyDeleteLet me use minecraft
ReplyDeleteHi guys
ReplyDelete