{"id":173,"date":"2010-10-20T13:19:34","date_gmt":"2010-10-20T12:19:34","guid":{"rendered":"https:\/\/greladesign.co\/blog\/?p=173"},"modified":"2011-01-22T20:52:14","modified_gmt":"2011-01-22T20:52:14","slug":"air-for-android-with-flashdevelop","status":"publish","type":"post","link":"https:\/\/greladesign.co\/blog\/2010\/10\/20\/air-for-android-with-flashdevelop\/","title":{"rendered":"AIR for Android with FlashDevelop"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I have been playing with AIR for Android lately but I could do it only from Flash CS5, recently I have found that my embedded fonts wasn&#8217;t displayed in the android application, after further investigation it was Flash CS5 problem and latest Flex SDK:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;flex-sdk-description&gt;\r\n&lt;name&gt;Flex 4.1&lt;\/name&gt;\r\n&lt;version&gt;4.1.0&lt;\/version&gt;\r\n&lt;build&gt;16076&lt;\/build&gt;\r\n&lt;\/flex-sdk-description&gt;<\/pre>\n<p>I have reverted to the earlier version of SDK:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;flex-sdk-description&gt;\r\n&lt;name&gt;Flex 4.0&lt;\/name&gt;\r\n&lt;version&gt;4.0.0&lt;\/version&gt;\r\n&lt;build&gt;7219&lt;\/build&gt;\r\n&lt;\/flex-sdk-description&gt;\r\n<\/pre>\n<p>and it worked but not when Flash CS5 was used. So because I couldn&#8217;t use Flash CS5 and have fonts embedded I have searched for solution to use FD to build air for android applications.<\/p>\n<p>I have found <a href=\"https:\/\/prerelease.adobe.com\/project\/forum\/thread.html?cap=E30C51D41E3B4960BC4F1EBD76BEE24D&#038;forid={de38c2ef-3575-45b9-9320-f3d03884447d}&#038;topid={53E0B797-59BB-4BA4-8D45-BC25D3ED585B}\">this<\/a> and <a href=\"http:\/\/www.flashdevelop.org\/community\/viewtopic.php?f=19&#038;t=6994&#038;hilit=air+for+android\">that<\/a> and using that knowledge I have compiled AIR for Android project for FlashDevelop that works perfectly for me, it builds APK file and uploads it to the connected device (not emulator &#8211; which is slow anyway) and runs it. I have used Project image (PNG) from <a href=\"http:\/\/www.fazermokeur.com\/\">fazermokeurs<\/a> version project.<\/p>\n<p><ins datetime=\"2011-01-22T20:42:45+00:00\"><br \/>\nUPDATE: well I know why fonts were not embedded, it was due to the new way of embedding fonts (As CFF &#8220;Compact Font Format&#8221;) used by default for the Flash Text Engine, you may find info <a href=\" http:\/\/www.flashdevelop.org\/community\/viewtopic.php?f=9&#038;t=6639&#038;hilit=cff\">here<\/a> and <a href=\"http:\/\/help.adobe.com\/en_US\/Flex\/4.0\/UsingSDK\/WS2db454920e96a9e51e63e3d11c0bf69084-7f5f.html\">here<\/a>.<\/ins><\/p>\n<p><a href=\"https:\/\/greladesign.co\/blog\/wp-content\/uploads\/2010\/10\/The-AIR-for-Android.zip\">The AIR for Android<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, I have been playing with AIR for Android lately but I could do it only from Flash CS5, recently I have found that my embedded fonts wasn&#8217;t displayed in the android application, after further investigation it was Flash CS5 &hellip; <a href=\"https:\/\/greladesign.co\/blog\/2010\/10\/20\/air-for-android-with-flashdevelop\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":""},"categories":[17,37,9],"tags":[39,303,78,81,80,82,38,79,77,83],"_links":{"self":[{"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/posts\/173"}],"collection":[{"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/comments?post=173"}],"version-history":[{"count":7,"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/posts\/173\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/posts\/173\/revisions\/275"}],"wp:attachment":[{"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/media?parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/categories?post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/tags?post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}