67698

Admob requires api-13 or later can I not deploy on old API-8 phones?

Google Admob requires that I have to compile my project with API-13 or later. To be able to use admob sdk. My application is meant for mobiles with api-8 or later.

Does it mean if I compile my app with Api-13 or later I have to abandon my app support for older phones before Api-13 ?

My understanding is that since admob requires minimum api-13 to compile , it means it calls functions which are not available on old phones, so I am confused that potentially It won't be able to run my app for Api-8 to Api-12 and probably crash ?

Please advise me on this,

Answer1:

Does it mean if I compile my app with Api-13 or later I have to abandon my app support for older phones before Api-13 ?

No. If you read the AdMob documentation, "The Google AdMob Ads SDK for Android requires a run-time of Android 1.5 or later (set android:minSdkVersion to at least 3 in your AndroidManifest.xml). This means you can develop with the latest version of the Android SDK and your app will still run on an earlier Android version (1.5 minimum)."

My understanding is that since admob requires minimum api-13 to compile , it means it calls functions which are not available on old phones

It conditionally "calls function which are not available on old phones". This is fairly commonplace in Android development -- you use Build.VERSION.SDK_INT to determine if you are on a newer device and do one thing with newer APIs, but do something else on older devices.

Answer2:

in the android manifest i left the mini sdk as 8 . I then used ADT .. right click on project went to properties and set the target API to 13. tested on both devices with different API, works.

Recommend

  • Cookies On Mobile Phone
  • Best method for parsing date formats during import datas
  • Close button for AdMob banner
  • Pipe in for loop breaks double quoted variables
  • Admob Interstitial Ad showing black with new Ad unit ID
  • Generic collection in generic class
  • How to link 2 Jquery UI datepickers with Knockout?
  • Does Context/Scoping of a SQLAlchemy Session Require Non-Automatic Object/Attribute Expiration?
  • Android - VerifyError
  • How to name a 'group' check box in Adobe Reader when wanting to fill form by FDF / XFDF
  • How to configure Cygnus in relation to Orion and Cosmos
  • Excel distinct count with conditions
  • Responsive design method for collapsing a div
  • How do I remove all but some records based on a threshold?
  • cordova is not defined - cordova.js has already been loaded :: Ionic
  • Salesforce Different WSDL files and when to use
  • UWP/C# - Issue with AQS and USB Devices
  • Can I programmatically choose the Android layout folder?
  • Low TTL with Leveled Compaction, should I reduce gc_grace_seconds to improve read performance withou
  • How does this usort cmp function actually work?
  • Assign variable to the value in HTML
  • x64 applications using gdi+: what are the consequences on performance?
  • onBackPressed() not being executed
  • Unity3D & Android: Difference between “UnityMain” and “main” threads?
  • Java Scanner input dilemma. Automatically inputs without allowing user to type
  • output of program is not same as passed argument
  • Does CUDA 5 support STL or THRUST inside the device code?
  • When should I choose bucket sort over other sorting algorithms?
  • Statically linking a C++ library to a C# process using CLI or any other way
  • How do you troubleshoot character encoding problems?
  • Why winpcap requires both .lib and .dll to run?
  • SVN: Merging two branches together
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • PHP: When would you need the self:: keyword?
  • A cron job substitute?
  • Understanding cpu registers
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • How to get Windows thread pool to call class member function?
  • apache spark aggregate function using min value