<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.taptica.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.taptica.com/index.php?action=history&amp;feed=atom&amp;title=SDK_Ads_Android</id>
		<title>SDK Ads Android - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.taptica.com/index.php?action=history&amp;feed=atom&amp;title=SDK_Ads_Android"/>
		<link rel="alternate" type="text/html" href="https://wiki.taptica.com/index.php?title=SDK_Ads_Android&amp;action=history"/>
		<updated>2026-05-11T14:09:13Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.1</generator>

	<entry>
		<id>https://wiki.taptica.com/index.php?title=SDK_Ads_Android&amp;diff=103&amp;oldid=prev</id>
		<title>Admin at 12:44, 22 August 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.taptica.com/index.php?title=SDK_Ads_Android&amp;diff=103&amp;oldid=prev"/>
				<updated>2012-08-22T12:44:34Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.taptica.com/index.php?title=SDK_Ads_Android&amp;amp;diff=103&amp;amp;oldid=102&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://wiki.taptica.com/index.php?title=SDK_Ads_Android&amp;diff=102&amp;oldid=prev</id>
		<title>Admin: Created page with &quot; == Steps to Integration == To integrate with TapticaAd™ SDK, follow these steps: 1. '''Application/Site ID''' - Retrieve your app/site ID from Taptica's account manager. 2....&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.taptica.com/index.php?title=SDK_Ads_Android&amp;diff=102&amp;oldid=prev"/>
				<updated>2012-08-22T11:35:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; == Steps to Integration == To integrate with TapticaAd™ SDK, follow these steps: 1. &amp;#039;&amp;#039;&amp;#039;Application/Site ID&amp;#039;&amp;#039;&amp;#039; - Retrieve your app/site ID from Taptica&amp;#039;s account manager. 2....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== Steps to Integration ==&lt;br /&gt;
To integrate with TapticaAd™ SDK, follow these steps:&lt;br /&gt;
1. '''Application/Site ID''' - Retrieve your app/site ID from Taptica's account manager.&lt;br /&gt;
2. '''Download SDK''' - Download the TapticaAd™ SDK from the Taptica developer's website&lt;br /&gt;
3. '''Premissions Declaration''' - Provide our application with the relevant permissions&lt;br /&gt;
4. '''Import''' - import the .jar file to your application&lt;br /&gt;
5.'''Call SDK''' - Use TapticaAd™'s SDK in order to receive real ads from the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Application/Site ID TapticaAd™ ==&lt;br /&gt;
Retrieve your Application ID from Taptica's account manager or register to the TapticaAd™ service via Taptica's website - [http://taptica.com]. at the end of the process ou will acquire an '''Application ID''' . Save it for future use, it will be needed when identifying your application/site while using the TapticaAd™ Android SDK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Downloading TapticaAd™ SDK ==&lt;br /&gt;
Following download, you can extract the downloaded file and find the .jar file, the minimum requirement for the SDK to run.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Declaring permissions ==&lt;br /&gt;
You must add internet permissions for your application into the manifest file:&lt;br /&gt;
  &amp;lt;uses-permission android:name=&amp;quot;android.permission.INTERNET&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it is required in order for the SDK to contact the AdCore™ server.&lt;br /&gt;
You may also wish to add one of the following permissions, which will enable you to implement geo-location targeting:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;uses-permission android:name=&amp;quot;android.permission.ACCESS_FINE_LOCATION&amp;quot; /&amp;gt;&lt;br /&gt;
  or:&lt;br /&gt;
  &amp;lt;uses-permission android:name=&amp;quot;android.permission.ACCESS_COARSE_LOCATION&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TapticaAd™ SDK supports multiple screen sizes. You can also add the following permissions into the manifest as well:&lt;br /&gt;
  &amp;lt;supports-screens android:smallScreens=&amp;quot;true&amp;quot; android:normalScreens=&amp;quot;true&amp;quot; android:largeScreens=&amp;quot;true&amp;quot; android:anyDensity=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This enables TapticaAd™ SDK to provide your application with the optimal ad size, based on screen size.&lt;br /&gt;
TapticaAd™ SDK automatically suports indicating whether the end user is currently using Wi-Fi or Carrier Network. We recommend using this feature. The permission needed for this feature is:&lt;br /&gt;
  &amp;lt;uses-permission android:name=&amp;quot;android.permission.ACCESS_NETWORK_STATE&amp;quot; /&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Importing ==&lt;br /&gt;
Import the .jar file, included in the SDK pack, into your application.&lt;br /&gt;
If you are using the Eclipse development environment:&lt;br /&gt;
1. Right click on your project in the project explorer window&lt;br /&gt;
2. Select '''Properties'''&lt;br /&gt;
3. Click '''Java Build Path.'''&lt;br /&gt;
4. Click the '''Libraries''' tab.&lt;br /&gt;
5. Click the '''Add External JARs''' button&lt;br /&gt;
6. Navigate to the location of the '''TapticaAdSDK.jar''' and select it.&lt;br /&gt;
7. Click '''OK'''&lt;br /&gt;
&lt;br /&gt;
To include Javadoc for displaying your information while using the SDK:&lt;br /&gt;
1. Expand the newly added entry (TapticaAdSDK.jar) and select '''Javadoc Location'''.&lt;br /&gt;
2. Select '''Edit''' and then '''Javadoc in archive''' as an archive path.&lt;br /&gt;
3. Select the path to the .jar file and as a '''Path within archive''' choose doc.&lt;br /&gt;
4. Select '''OK'' for all the windows and in order to confirm all changes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Calling the SDK ==&lt;br /&gt;
The first step in using the SDK is to place the ad view into your activity. The profiling clues for the AdCore™ server are set and the '''requestAd()''' on the ad view is invoked.&lt;br /&gt;
&lt;br /&gt;
Following are some basic example you may wish to apply:&lt;br /&gt;
&lt;br /&gt;
   package com.TapticaAdSdkTest;&lt;br /&gt;
   import android.app.Activity;&lt;br /&gt;
   import android.os.Bundle;&lt;br /&gt;
   import android.widget.LinearLayout;&lt;br /&gt;
   import com.Taptica.AdCore.TapticaAdManager;&lt;br /&gt;
   import com.Taptica.AdCore.TapticaAdView;&lt;br /&gt;
   import com.Taptica.AdCore.TapticaAdManager.LocationRequestType;&lt;br /&gt;
   public class TapticaAdSdkText extends Activity&lt;br /&gt;
   {&lt;br /&gt;
   @Override&lt;br /&gt;
   public void onCreate(Bundle savedInstanceState)&lt;br /&gt;
   {&lt;br /&gt;
   super.onCreate(savedInstanceState);&lt;br /&gt;
   setContentView(R.layout.main);&lt;br /&gt;
   TapticaAdManager.setApplicationId(&amp;quot;my application id&amp;quot;);&lt;br /&gt;
   // creating and setting a new TapticaAdView :&lt;br /&gt;
   final TapticaAdView adView=new TapticaAdView (this);&lt;br /&gt;
   // &amp;lt;==here you can put optional clues for the Taptica Ad server&lt;br /&gt;
   LinearLayout linearLayout=(LinearLayout)findViewById(R.id.linear_layout);&lt;br /&gt;
   linearLayout.addView(adView);&lt;br /&gt;
   // request a new ad to be shown&lt;br /&gt;
   adView.requestAd();&lt;br /&gt;
   // adView.requestFullScreenAd(); // use for full screen ad&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''“AndroidManifest.xml” file:'''&lt;br /&gt;
   &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
   &amp;lt;manifest xmlns:android=&amp;quot;http://schemas.android.com/apk/res/android&amp;quot;&lt;br /&gt;
   package=&amp;quot;com.TapticaAdSdkTest&amp;quot; android:versionCode=&amp;quot;1&amp;quot; android:versionName=&amp;quot;1.0&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;uses-sdk android:minSdkVersion=&amp;quot;3&amp;quot; android:targetSdkVersion=&amp;quot;8&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;supports-screens android:smallScreens=&amp;quot;true&amp;quot;&lt;br /&gt;
   android:normalScreens=&amp;quot;true&amp;quot; android:largeScreens=&amp;quot;true&amp;quot; android:anyDensity=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;uses-permission android:name=&amp;quot;android.permission.INTERNET&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;application android:icon=&amp;quot;@drawable/icon&amp;quot; android:label=&amp;quot;@string/app_name&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;activity android:name=&amp;quot;com.LoigiaAdSdkTest.TapticaAdSdkTest&amp;quot; android:label=&amp;quot;@string/app_name&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;intent-filter&amp;gt;&lt;br /&gt;
   &amp;lt;action android:name=&amp;quot;android.intent.action.MAIN&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;category android:name=&amp;quot;android.intent.category.LAUNCHER&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;/intent-filter&amp;gt;&lt;br /&gt;
      &amp;lt;/activity&amp;gt;&lt;br /&gt;
     &amp;lt;/application&amp;gt;&lt;br /&gt;
   &amp;lt;/manifest&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''&amp;quot;main.xml&amp;quot; file:'''&lt;br /&gt;
   &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
   &amp;lt;LinearLayout xmlns:android=&amp;quot;http://schemas.android.com/apk/res/android&amp;quot;&lt;br /&gt;
   android:orientation=&amp;quot;vertical&amp;quot; android:layout_width=&amp;quot;fill_parent&amp;quot;&lt;br /&gt;
   android:layout_height=&amp;quot;fill_parent&amp;quot; android:id=&amp;quot;@+id/linear_layout&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;TextView android:layout_width=&amp;quot;fill_parent&amp;quot; android:id=&amp;quot;@+id/text_view&amp;quot;&lt;br /&gt;
   android:layout_height=&amp;quot;wrap_content&amp;quot; android:text=&amp;quot;the ad is shown below this line:&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/LinearLayout&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For banner ad use: &lt;br /&gt;
adView.requestAd();&lt;br /&gt;
&lt;br /&gt;
For full screen ad use:&lt;br /&gt;
adView.requestFullScreenAd();&lt;br /&gt;
&lt;br /&gt;
When requesting banner ad, it will appear&amp;amp; refresh untill removed from super view.&lt;br /&gt;
It is possible to request full screen ad while banner ad are displaying.&lt;br /&gt;
When requesting full screen while banner ad displaying the banner ad will be paused and not refreshed.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>