{"id":11,"date":"2015-04-23T05:14:08","date_gmt":"2015-04-23T05:14:08","guid":{"rendered":"http:\/\/www.jvesoft.com\/wp\/?page_id=11"},"modified":"2020-06-13T19:11:28","modified_gmt":"2020-06-13T19:11:28","slug":"configuring-android","status":"publish","type":"page","link":"https:\/\/www.jvesoft.com\/wp\/configuring-android\/","title":{"rendered":"Configuring Android"},"content":{"rendered":"<p>On Android further configuration of Android Manifest XML file is needed for specific components. When first compiling for an Android platform Delphi will create a new AndroidManifest.template.xml file. This is the file you should edit; the code should be added into the application tag.<\/p>\n<ul>\n<li><strong>AdMob<\/strong><\/li>\n<\/ul>\n<p>Select AdMob Service within Project Option\u2019s entitlements list.<\/p>\n<pre><\/pre>\n<ul>\n<li><strong>Chart Boost<\/strong><\/li>\n<\/ul>\n<p>Add chartboost.jar and jve-chartboost.jar file to the Libraries section of the Project Manager (under Target Platforms then Android). The following should be added to the manifest file:<\/p>\n<pre>&lt;activity android:name=\"com.chartboost.sdk.CBImpressionActivity\"\r\n  android:theme=\"@android:style\/Theme.Translucent.NoTitleBar\"\r\n  android:excludeFromRecents=\"true\" \/&gt;<\/pre>\n<ul>\n<li><strong>Facebook&#8217;s Audience Network<\/strong><\/li>\n<\/ul>\n<p>To use Audience Network on Android you need to perform the following three steps:<\/p>\n<p>1. Add audience-network.jar file to the Libraries section of the Project Manager (under Target Platforms then Android).<\/p>\n<p>2. Add audience_network.dex file to Project \u2192 Deployment, to be deployed within the assets folder (your deployment record should look something like in the picture).<\/p>\n<p><a href=\"http:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-494\" src=\"http:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment.png\" alt=\"\" width=\"2158\" height=\"264\" srcset=\"https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment.png 2158w, https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment-300x37.png 300w, https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment-1024x125.png 1024w, https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment-768x94.png 768w, https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment-1536x188.png 1536w, https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment-2048x251.png 2048w, https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment-220x27.png 220w, https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment-355x43.png 355w, https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment-730x89.png 730w, https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment-90x11.png 90w\" sizes=\"(max-width: 2158px) 100vw, 2158px\" \/><\/a><\/p>\n<p>3. The following should be added to the manifest file:<\/p>\n<pre>&lt;activity android:name=\"com.facebook.ads.AudienceNetworkActivity\"\r\n  android:configChanges=\"keyboardHidden|orientation|screenSize\"\r\n  android:excludeFromRecents=\"true\" android:hardwareAccelerated=\"true\"\r\n  android:theme=\"@android:style\/Theme.Translucent.NoTitleBar.Fullscreen\" \/&gt;<\/pre>\n<ul>\n<li><strong>Push Notifications<\/strong><\/li>\n<\/ul>\n<p>Select Push Notifications within Project Option&#8217;s entitlements list and enter all the data within the Services tab.<\/p>\n<ul>\n<li><strong>Permissions<\/strong><\/li>\n<\/ul>\n<p>Various components might require the following permissions to be selected within the Uses Permissions list of the Project Options:<\/p>\n<ul>\n<li>Access network state<\/li>\n<li>Access Wi-Fi state<\/li>\n<li>Get accounts<\/li>\n<li>Internet<\/li>\n<li>Read external storage<\/li>\n<li>Read phone state<\/li>\n<li>Read user dictionary<\/li>\n<li>Vending billing<\/li>\n<li>Wake lock<\/li>\n<li>Write external storage<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>On Android further configuration of Android Manifest XML file is needed for specific components. When first compiling for an Android platform Delphi will create a new AndroidManifest.template.xml file. This is the file you should edit; the code should be added &#8230; <a class=\"styledbutton\" href=\"https:\/\/www.jvesoft.com\/wp\/configuring-android\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"footnotes":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configuring Android - JVEsuite Components<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.jvesoft.com\/wp\/configuring-android\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuring Android - JVEsuite Components\" \/>\n<meta property=\"og:description\" content=\"On Android further configuration of Android Manifest XML file is needed for specific components. When first compiling for an Android platform Delphi will create a new AndroidManifest.template.xml file. This is the file you should edit; the code should be added ... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.jvesoft.com\/wp\/configuring-android\/\" \/>\n<meta property=\"og:site_name\" content=\"JVEsuite Components\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-13T19:11:28+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.jvesoft.com\/wp\/configuring-android\/\",\"url\":\"https:\/\/www.jvesoft.com\/wp\/configuring-android\/\",\"name\":\"Configuring Android - JVEsuite Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.jvesoft.com\/wp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.jvesoft.com\/wp\/configuring-android\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.jvesoft.com\/wp\/configuring-android\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment.png\",\"datePublished\":\"2015-04-23T05:14:08+00:00\",\"dateModified\":\"2020-06-13T19:11:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.jvesoft.com\/wp\/configuring-android\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.jvesoft.com\/wp\/configuring-android\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.jvesoft.com\/wp\/configuring-android\/#primaryimage\",\"url\":\"https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment.png\",\"contentUrl\":\"https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment.png\",\"width\":2158,\"height\":264},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.jvesoft.com\/wp\/configuring-android\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.jvesoft.com\/wp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configuring Android\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.jvesoft.com\/wp\/#website\",\"url\":\"https:\/\/www.jvesoft.com\/wp\/\",\"name\":\"JVEsuite Components\",\"description\":\"For Delphi XE4 \u2013 11.2 Alexandria (FireMonkey), but now defunct project\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.jvesoft.com\/wp\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configuring Android - JVEsuite Components","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.jvesoft.com\/wp\/configuring-android\/","og_locale":"en_US","og_type":"article","og_title":"Configuring Android - JVEsuite Components","og_description":"On Android further configuration of Android Manifest XML file is needed for specific components. When first compiling for an Android platform Delphi will create a new AndroidManifest.template.xml file. This is the file you should edit; the code should be added ... Read More","og_url":"https:\/\/www.jvesoft.com\/wp\/configuring-android\/","og_site_name":"JVEsuite Components","article_modified_time":"2020-06-13T19:11:28+00:00","og_image":[{"url":"http:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.jvesoft.com\/wp\/configuring-android\/","url":"https:\/\/www.jvesoft.com\/wp\/configuring-android\/","name":"Configuring Android - JVEsuite Components","isPartOf":{"@id":"https:\/\/www.jvesoft.com\/wp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.jvesoft.com\/wp\/configuring-android\/#primaryimage"},"image":{"@id":"https:\/\/www.jvesoft.com\/wp\/configuring-android\/#primaryimage"},"thumbnailUrl":"http:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment.png","datePublished":"2015-04-23T05:14:08+00:00","dateModified":"2020-06-13T19:11:28+00:00","breadcrumb":{"@id":"https:\/\/www.jvesoft.com\/wp\/configuring-android\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.jvesoft.com\/wp\/configuring-android\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.jvesoft.com\/wp\/configuring-android\/#primaryimage","url":"https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment.png","contentUrl":"https:\/\/www.jvesoft.com\/wp\/wp-content\/uploads\/2020\/06\/android-deployment.png","width":2158,"height":264},{"@type":"BreadcrumbList","@id":"https:\/\/www.jvesoft.com\/wp\/configuring-android\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.jvesoft.com\/wp\/"},{"@type":"ListItem","position":2,"name":"Configuring Android"}]},{"@type":"WebSite","@id":"https:\/\/www.jvesoft.com\/wp\/#website","url":"https:\/\/www.jvesoft.com\/wp\/","name":"JVEsuite Components","description":"For Delphi XE4 \u2013 11.2 Alexandria (FireMonkey), but now defunct project","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.jvesoft.com\/wp\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P6fFN2-b","_links":{"self":[{"href":"https:\/\/www.jvesoft.com\/wp\/wp-json\/wp\/v2\/pages\/11"}],"collection":[{"href":"https:\/\/www.jvesoft.com\/wp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.jvesoft.com\/wp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.jvesoft.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jvesoft.com\/wp\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":11,"href":"https:\/\/www.jvesoft.com\/wp\/wp-json\/wp\/v2\/pages\/11\/revisions"}],"predecessor-version":[{"id":496,"href":"https:\/\/www.jvesoft.com\/wp\/wp-json\/wp\/v2\/pages\/11\/revisions\/496"}],"wp:attachment":[{"href":"https:\/\/www.jvesoft.com\/wp\/wp-json\/wp\/v2\/media?parent=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}