How to set width/height of iPad app in ipa file

Hello,
I am developing an app for iPad in Flash Builder 4 and Packager for Iphone.
I set the width and height node values in the descriptor XML and compile the application. When I run the same in iPad, I am not able to see any effect on the app's width and height.
Also, in default load, app opens in dimensions as per the iphone view and not specifically for iPad.
Any help?
Tanu

hi,
How does your application descriptor file look like? I also had the same problem, when I realised that I had a few things missing in my app desc. file. My file looks like this
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/2.0">
    <id>IPadApp</id>
    <filename>IPadApp</filename>
    <name>IPadApp</name>
    <version>v1</version>
     <initialWindow>
        <content>IPadApp.swf</content>
        <fullScreen>true</fullScreen>
        <autoOrients>true</autoOrients>
        <title>IPadApp</title>
        <aspectRatio>portrait</aspectRatio>
        <systemChrome>none</systemChrome>
        <transparent>false</transparent>
        <visible>true</visible>
        <!-- Portrait -->       
        <width>768</width>
        <height>1024</height>       
        <!-- Landscape -->
        <!--
        <width>1024</width>
        <height>768</height>
        -->
        <!--<x>100</x>
        <y>100</y>-->
        </initialWindow>
    <supportedProfiles>desktop mobileDevice</supportedProfiles>
<iPhone>
  <InfoAdditions>
  <![CDATA[
    <key>UIDeviceFamily</key>
    <array>
    <string>2</string>
    </array>
  ]]>
  </InfoAdditions>
  </iPhone>
</application>
Check your desc. file.
-Vrushali

Similar Messages

  • How to set width for this modal dialog box?

    Hi All,
    How to set width to this modal dialog box:
    <input id="btnVote" onclick="javascript:SP.UI.ModalDialog.showModalDialog({ url: &#39;../Lists/Sports%20Activities%20Voting/NewForm.aspx&#39;, title: &#39;User Survey&#39;}); return false;" type="button" value="Vote"/>
    Thanks in advance!

    set as bellow:
    <input id="btnVote" onclick="javascript:SP.UI.ModalDialog.showModalDialog({ url: &#39;../Lists/Sports%20Activities%20Voting/NewForm.aspx&#39;, title: &#39;User Survey&#39;,width:700,height:350}); return false;" type="button" value="Vote"/>
    yaşamak bir eylemdir

  • How do I get the numbers ipad app to plot a graph of dates against values, where the most recent date is on the right of the graph, but the most recent date is at the top rather than bottom of the rows in the table?

    How do I get the numbers ipad app to plot a graph of dates against values, where the most recent date is on the right of the graph, but the most recent date is at the top rather than bottom of the rows in the table?
    Also how can it be a line graph without plotting a circle at each value?
    Thanks this is very frustrating

    Make a copy of the table and produce your Line chart or Bar chart from the copy. Sort the copy into the order you want to see in your chart.
    Alternately you could use a Scatter Chart...
    Jerry

  • How to set  row height  for  each row

    Hi
    i am trying to set rowheight of row in a JTable using setRowHeight(row,rowheight)
    it is not affecting on Table.but if i use setRowheight(rowheight) it applying
    entire table ,please help me to solve this problem
    after setRowHeight(row,rowheight), i am calling firechanged() method also ,i t will not affecting please hemp me
    how to set row height at runtime in a JTable

    Ok fine... do one thing... post ur code here let me check and tell u....
    Ciya.....

  • How to set up printer from ipad?

    how to set up printer from ipad?
    Johs.

    iOS AirPrint Printers  http://support.apple.com/kb/HT4356
    How to Print from Your iPad: Summary of Printer and Printing Options
    http://ipadacademy.com/2012/03/how-to-print-from-your-ipad-summary-of-printer-an d-printing-options
    Print from iPad / iPhone without AirPrint
    http://ipadhelp.com/ipad-help/print-from-ipad-iphone-without-airprint/
    How to Enable AirPrint on a Mac and Use Any Printer
    http://ipadhelp.com/ipad-help/how-to-use-airprint-with-any-printer/
     Cheers, Tom

  • How to set specific height in JLabel but vary in width ...

    Hi,
    I want to set the height of JLabel to fix height but vary the width according to the content of the label...
    How does I do that ??
    JLabel lbl = new JLabel("Hello this is aman");
    lbl.setPreferredSize(100,30);
    If the the text is changed, the width will be truncated at 100 pixels... how do I change
    that to height 30, but width change according to text ?
    thank

    Hi..
    may be this works for you ---
    since u want to adjust the width with the text size.. means that you will be taking an input from the user and then set it on the label.. so before setting the text on the label & width of label .. get the length of the text and set this length as the width parameter to method setPrefferedSize()..
    ex:
    // get the text from textbox
    String userinp = textbox.getext();
    JLabel lbl = new JLabel();
    lbl.setPreferredSize(userinp.length,30);
    lbl.setText(userinp);

  • HT5557 How to set Night mode on Ipad Mini iBooks apps when reading PDF file?

    How to set Night mode in iBooks (ver 3.1) for iPad Mini?

    It's not available within the iBooks app  for PDFs, the closest you can get is to the Invert Colours accessibility option  (though pictures will appear negative) -  you can set Settings > General > Accessbility > Triple-Click Home to 'Invert Colours', which means that you can then use a triple-click of the home button to go to white text on a black background.

  • StyleName for a Button - can I set width & height?

    Hi folks,
    I've declared a style in my app's css file like this:
    .styButtonSmall {
    width: 15;
    height: 35;
    And declared a button like this:
    <mx:Button id="bSave" click="doSave()" label="Save"
    styleName="styButtonSmall"/>
    The style seems to have no effect - I get standard size
    buttons. I've also tried specifying numbers like "15px" rather than
    15, and also tried setting maxHeight and maxWidth in the style
    specification. No luck. However, if I set height and width directly
    on the button, they size themselves correctly.
    So my question is: How do I use a style to specify button
    height and width?
    Thanks,
    ws

    Changing the width and height of components is not supported
    in styles in Flex:
    http://www.adobe.com/devnet/flex/quickstart/styling_components

  • How to set width of a vertical scrollbar (such as in a combobox)

    I have a combox. I have successfully figured out how to set the font name and font size for each time, however as I have increased the normal very tiny size of the combobox items (now more legible), the remaining last problem is the measly 16 pixels for the scrollbar. This might be acceptable on a desktop with a precise cursor positioning system, but for mobile apps I need a way larger scrollbar thickness, perhaps 30 pixels. How does one set the scrollbar thickness for a combobox? I am willing to stick with scaled up icons from whatever is being drawn as a default, so if possible I would just like to set some style number. But can't find any documentation on this. The Apple system has a nasty fixed width scrollbar (20 pixels), and so far it seems Adobe Flash is using only 16. Great for when you are cramped but I am trying to UN-CRAMP the user interface!
    any help is greatly appreciated.  A free copy of Discus ($40 value) for whomever helps me solve this vexing problem with the least amount of effort!
    edj

    Edit the item and in the HTML Form Elements Attributes field type the following:
    style="width:120px";adjust the 120 to whatever width you like
    Shunt

  • How to set Panel height to browser height?

    I have a panel in a module in an application (App > Module > Panel). I would like the panel to take up the full height of the browser window. How can I achieve this? Trying to set height="100%" doesn't work, and makes the panel disappear. Setting the layout to absolute also doesn't work when setting top and bottom margins to 20.
    Any ideas welcome.
    Thanks!
    Mike

    There is something odd going on. I did what you suggested, but then the module doesn't display. However, when I remove the percentage-based height tags everything shows up.
    It seems that the Panel object is sensitive to height being percentage-based. As soon as I set its height to "500" instead of "100%" it displays.

  • How to add iPhone folios to iPad app in iTunes?

    My ipad app is in the itunes store.
    I have now built separate folios for the iphone 3/4 and iphone 5. The folio names are identical to the iPad app. I need to update the app to make these iphone folios available for download in iTunes app store. I have not "published" the iPhone folios in the DPS Folio Producer yet.
    Once I publish the iPhone folios in the Folio Producer, are they going to available in the App Store or do I also have to update/create a new multi-folio app with App Builder (selecting iPad and iPhone but using the same original app name/id) for them to be available to iPhone users?
    Not quite sure how this all works. I've read this:
    http://helpx.adobe.com/digital-publishing-suite/help/create-folio-renditions.html
    But still don't quite understand the iTunes part of it, and don't want to do this, wait a week for the app to be approved in iTunes, only to find out the iphone apps aren't there.
    Thanks!

    Did you set up the original app as both iPad and iPhone?
    If so you just need to publish your iphone folio's and they will appear in your app when viewed on an iPhone.
    If you didn't set it up as both in the first place, you will have to start again and do an Apple update
    Hope that helps a bit
    Alistair

  • How to set the height of a textarea dynamically

    Hi,
    I have been trying to set the ui.textarea's height dynamically and I am not able to do it. This is what I am doing.
    <ui:textArea binding="#{assignment$EditResult.textArea2}" id="textArea2" style="height: 90%" text="#{currentRow.value['comments']}"/>
    The height is being ignored and it is set to the default size. How can I set the height of this component to fit to the size of its cell, which is dynamic?
    Thanks for your help.

    Thank you for your help! It worked for something like this:
    getTextArea2().setStyle("color : red");
    but this does not work still.
    getTextArea2().setStyle("height: 90%");
    I think it still does not know the size of the cell at this point yet. But this is a good tip, thanks anyway!
    ~Kazzie

  • How to set width of apex_item.select_list_from_lov?

    Hello experts!
    Sorry to bother you but I can't find out how to set the width of a select list generated in my query.
    I already had a look at the Oracle Express Api docu but and tried the following to no avail.
    apex_item.select_list_from_lov(8, a.lng_arbeitsschritt, 'Auftakt_LOV','.style.width = "300px";',
    '%', null,null, null, 'class="combobox"')Do you have a better idea?
    Many thanks,
    Sebastian

    I just did some more testing and discovered that the following works:
    apex_item.select_list_from_lov(8, a.lng_arbeitsschritt, 'Auftakt_LOV','style="width:500px";',
    '%', null,null, null, 'class="combobox"')Maybe this helps others as well!
    Thanks for having a look!
    BR,
    Seb

  • How to set width of cfgid in percentage?

    I have to make the cfgrid compatible irrespective of screen size. But it is not taking width in perecntage(giving error : Attribute vallidation error, height/width can not be given in percentage.)
    I put the cfgrid inside a div and set width of the div as 100%, but it has no effect on the cfgrid.
    Can anyone please give me a solution??
    I will be thankfull towards any helpfull suggestion.

    Then you have to find a way to get the browser to send information about screen size to ColdFusion. One way to do it is by means of AJAX. Another, in my opinion much simpler way, is to get Javascript to store the screen size as a cookie, and then to get ColdFusion to read the cookie. I was thinking of something like this
    <script type="text/javascript">
    var browserWidth = screen.width;
    var browserHeight = screen.height;
    var expiryDate=new Date();
    /*set expiry date tomorrow*/
    expiryDate.setDate(expiryDate.getDate()+1);
    document.cookie= 'browserWidth='+browserWidth+',browserHeight='+
                                browserHeight+',expires='+expiryDate;
    </script>
    <cfset percentWidth = 90>
    <cfif isDefined("cookie.browserWidth")>
        <cfset browserWidth = cookie.browserWidth>
    <cfelse>
        <cfset browserWidth = 800>
    </cfif>
    <cfset gridWidth = int(percentWidth*browserWidth/100)>
    <cfform>
    <cfgrid format="html" name = "myGrid" width="#gridWidth#">
    </cfgrid> 
    </cfform>

  • Setting width/height of a control with CSS

    Hi,
    I am styling a button a button in CSS and set a background-image for the button in my stylesheet.
    The problem is, that the button should scale to the width/height of the image.
    I added:
    -fx-width: 32px;
    -fx-height: 32px;
    but it has no effect.
    I also tried it with
    -fx-min-width: 32px;
    -fx-min-height: 32px;
    If I use setMinWidth(32); in Java, it works.
    But I rather want to set it in my stylesheets, because the image can change, if we use another skin.

    CSS documentation (http://docs.oracle.com/javafx/2.0/api/javafx/scene/doc-files/cssref.html) states:
    "JavaFX CSS does not support CSS layout properties such as float, position, overflow, and width. However, the CSS padding and margins properties are supported on some JavaFX scene graph objects. All other aspects of layout are handled programmatically in JavaFX code."
    I thought you might be able to do something using the -fx-shape property, but the shape does not affect the size of the button - so that didn't work.
    I had more luck with the -fx-graphic property - you could try to enhance the stylesheet below to get what you want.
    .root   { -fx-background-color: azure; -fx-padding: 20; }
    #smurf-button { -fx-graphic: url("http://bluebuddies.com/smurf_fun/smurf_race/jpg/Smurf_Race_100x100.jpg"); -fx-background-color: transparent; }
    #smurf-button:hover { -fx-effect: dropshadow( three-pass-box , rgba(184,134,11,0.6) , 20, 0.0 , 0 , 0 ); }
    #smurf-button:armed { -fx-effect: innershadow( three-pass-box , rgba(0,200,0,0.6) , 30, 0.0 , 0 , 0 ); }
    public class ButtonStyle extends Application {
      public static void main(String[] args) throws Exception { launch(args); }
      public void start(final Stage stage) throws Exception {
        final Button button = new Button();
        button.setId("smurf-button");
        final Scene scene = new Scene(StackPaneBuilder.create().children(button).build());
        scene.getStylesheets().add(this.getClass().getResource("style.css").toExternalForm());
        stage.setScene(scene);
        stage.show();
    }

Maybe you are looking for