AppBrain Best Android Apps
AppBrain | Docs
  • Apps
  • Statistics
  • Docs
  • Developers
  • Get SDK
  • Sign up
  • Log in

General

  • Introduction
  • Privacy policy
  • About AppBrain
  • HTML widgets
  • Embeddable Android app widgets

Publishers

  • AppBrain SDK
    • Getting started
    • Ad unit overview
    • Banners
    • Interstitial
    • ListView ads
    • Extra features
    • Integration with other SDKs
    • Integration policy
    • Javadoc
      • AdId
      • AdListAdapter
      • AdListAdapter.AdLayoutCreator
      • AdOptions
      • AdOptions.ScreenType
      • AdService
      • AdService.BorderSize
      • AdService.ReturnToAppConfig
      • AdvertiserService
      • AppBrain
      • AppBrainBanner
      • AppBrainBanner.BannerSize
      • AppBrainInitProvider
      • AppBrainUserData
      • AppBrainUserData.Gender
      • BannerListener
      • InterstitialBuilder
      • InterstitialListener
      • InterstitialListener.InterstitialError
      • KeepClass
      • ReferrerReceiver
      • RemoteSettings
  • Resources
  • Terms of service
  • FAQ

Advertisers

  • Resources
  • Terms of service
  • FAQ

Intelligence

  • Insights
  • Subscriptions
  • SDK downloads
  • Phone downloads
  • Terms of service

AppBrain API

  • Using the AppBrain API
  • API specification
  • Pricing
  • Promotion campaigns
  • Reporting
  • AppLinks TOS
Search

AppBrain

public class AppBrain

Entry point to the AppBrain SDK.

Author

AppBrain

See also: AppBrain monetization

Methods

public static void addTestDevice(String deviceId)

Put a device in test mode. In test mode random cloud alerts will be shown.

Parameters
  • deviceId – Your device ID, which can be found in the logcat output when debugging on your device.

public static AdService getAds()

Get an AdService implementation, which allows you to show AppBrain Promoted Apps.

Returns

An AdService implementation

public static AdvertiserService getAdvertiserService()

Gets an AdvertiserService implementation, which allows you to send conversion events to AppBrain.

Returns

An AdvertiserService implementation

public static RemoteSettings getSettings()

Get the values that were set on the server.

Returns

An object containing all values that were set on the server.

public static void init(Context context)

Initialize the AppBrain SDK. This method is best called in the onCreate() of any Activity where AppBrain is used. If your app has minSdkVersion 14 or higher, this method will be called automatically, so calling it from your activities is optional.

Parameters
  • context – The Activity context.

public static void initApp(Context context)

Initialize the AppBrain SDK. This method is especially meant for your android.app.Application.onCreate(). Because it’s not called from an Activity, the analytics will not count this user as active in your app (because the Application can be started because of a broadcast receiver or service for instance.

Parameters
  • context – The context of the Android app.

Android App Monetization by AppBrain
Interested in monetizing your app?
Monetize my app

More apps

  • Top Android apps being viewed
  • Dogsis tracker for whatsapp
  • Download AsianCrush - TV
  • Overflow

Android Statistics

  • Android statistics
  • Google Play Developer stats
  • Trending Android Apps
  • Top popular Apps

About AppBrain

  • Contact
  • Blog
  • Privacy
  • Documentation
  • Articles
  • Free webpage for your Android app
© 2010-2024 - AppBrain