{"id":251,"date":"2011-01-13T13:41:57","date_gmt":"2011-01-13T13:41:57","guid":{"rendered":"https:\/\/greladesign.co\/blog\/?p=251"},"modified":"2011-01-17T10:16:23","modified_gmt":"2011-01-17T10:16:23","slug":"flashdevelop-air-for-android-project-and-projector-size","status":"publish","type":"post","link":"https:\/\/greladesign.co\/blog\/2011\/01\/13\/flashdevelop-air-for-android-project-and-projector-size\/","title":{"rendered":"FlashDevelop, AIR for android project and projector size"},"content":{"rendered":"<p>Hi,<\/p>\n<p>recently I was trying to change default size of the projector as it was just too small in my Air for Android project, I have searched for ADL command options and found <em>-screensize<\/em> option where you specify what you wish to have. <\/p>\n<p><!--more--><\/p>\n<p>I haven&#8217;t found other place to put it other then by editing the &#8220;<em>Run custom command&#8230;<\/em>&#8221; option from project properties. However, instead of changing this value from <strong>adl.exe; application.xml bin<\/strong> into this <strong>adl.exe; -screensize 480&#215;800:480&#215;800 application.xml bin<\/strong> <del datetime=\"2011-01-13T14:15:27+00:00\">you can set another option: <em>-profile mobileDevice<\/em>, and then the size specified in the project properties are used! very useful.<\/p>\n<p>Now your custom command will look like this: adl.exe; -profile mobileDevice application.xml bin<\/del><\/p>\n<p>Unfortunately I&#8217;ve double checked and you have to stick to the -screensize option, still useful though.<\/p>\n<p>More details about ADL options you may find here: <a href=\"http:\/\/help.adobe.com\/en_US\/air\/build\/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffa.html\">Device simulation using ADL<\/a><\/p>\n<p><ins datetime=\"2011-01-17T10:07:38+00:00\">Update:<br \/>\nI have created batch file to help with selecting projector size when publishing. Now the custom command calls new batch in which you may chose destination size from the list, I have updated project file accordingly. This batch uses REPLY.COM created using this <a href=\"http:\/\/support.microsoft.com\/kb\/77457\">doc<\/a> from the Microsoft site.<br \/>\n<\/ins><\/p>\n<p>I have updated mine Air for Android project, you may found it here:<br \/>\n<a href='https:\/\/greladesign.co\/blog\/wp-content\/uploads\/2010\/10\/The-AIR-for-Android.zip'>The AIR for Android<\/a><\/p>\n<p><strong>Note:<\/strong> I assume that:<br \/>\nAndroid SDK is in <em>C:\\android-sdk-windows\\tools<\/em><br \/>\nFlex SDK is taken from the FlashDevelop settings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, recently I was trying to change default size of the projector as it was just too small in my Air for Android project, I have searched for ADL command options and found -screensize option where you specify what you &hellip; <a href=\"https:\/\/greladesign.co\/blog\/2011\/01\/13\/flashdevelop-air-for-android-project-and-projector-size\/\">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":[47,9],"tags":[68,69,67,50,38,71,70],"_links":{"self":[{"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/posts\/251"}],"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=251"}],"version-history":[{"count":12,"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/posts\/251\/revisions"}],"predecessor-version":[{"id":259,"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/posts\/251\/revisions\/259"}],"wp:attachment":[{"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/media?parent=251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/categories?post=251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greladesign.co\/blog\/wp-json\/wp\/v2\/tags?post=251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}