Flex Mobile - Php INSERT

Hello everybody, im a novice on Developpement using Flex.
im working on a project which will be runned on BlackBerry Tablet (PlayBook), im using FlashBuilder Burrito + AIR SDK
my project is a CRUD application, so i follow this tutorial http://www.adobe.com/devnet/flex/testdrivemobile/articles/mtd_1_1.html and it works
now i try to do the same things on my DataBase, i can retrieve data but i can't Insert or Delete ...
this is the code of my application :
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx"
          xmlns:valueObjects="valueObjects.*"
          xmlns:affiliesservice="services.affiliesservice.*"
          title="Accueil">
     <fx:Script>
          <![CDATA[
               import mx.rpc.events.ResultEvent;
               protected function saveBtn_clickHandler(event:MouseEvent):void
                    aff.longitude=11111.1;
                    aff.lattitude=11111.3;
                    createAffilies(aff);
               protected function createAffilies(item:Affilies):void
                    createAffiliesResult.token = affiliesService.createAffilies(item);
               protected function createAffiliesResult_resultHandler(event:ResultEvent):void
                    navigator.popView();
                    navigator.pushView(ajoutValides);
          ]]>
     </fx:Script>
     <fx:Declarations>
          <valueObjects:Affilies id="aff" />
          <s:CallResponder id="createAffiliesResult" result="createAffiliesResult_resultHandler(event)"/>
          <affiliesservice:AffiliesService id="affiliesService"/>
     </fx:Declarations>
     <s:Scroller left="0" right="0" top="0" bottom="103">
          <s:VGroup x="38" y="110" width="100%" height="100%" gap="15" paddingBottom="15"
                      paddingLeft="15" paddingRight="15" paddingTop="15">
               <s:Label text="Nom"/>
               <s:TextInput width="100%" text="@{aff.nom}"/>
               <mx:Spacer height="5"/>
               <s:Label text="Adresse"/>
               <s:TextInput width="100%" text="@{aff.adr}"/>
               <mx:Spacer height="5"/>
               <s:Label text="Telephone"/>
               <s:TextInput width="100%" text="@{aff.tel}"/>
               <mx:Spacer height="5"/>
               <s:Label text="Url"/>
               <s:TextInput width="100%" text="@{aff.lien}"/>
               <mx:Spacer height="5"/>
          </s:VGroup>
     </s:Scroller>
     <s:Button id="saveBtn" left="10" bottom="10" width="45%" label="Save"
                 click="saveBtn_clickHandler(event)"/>
     <s:Button id="cancelBtn" right="17" bottom="10" width="45%" label="Cancel"/>
</s:View>
and for the service i generate it automatically and this is the code :
<?php
*  README for sample service
*  This generated sample service contains functions that illustrate typical service operations.
*  Use these functions as a starting point for creating your own service implementation. Modify the
*  function signatures, references to the database, and implementation according to your needs.
*  Delete the functions that you do not use.
*  Save your changes and return to Flash Builder. In Flash Builder Data/Services View, refresh
*  the service. Then drag service operations onto user interface components in Design View. For
*  example, drag the getAllItems() operation onto a DataGrid.
*  This code is for prototyping only.
*  Authenticate the user prior to allowing them to call these methods. You can find more
*  information at http://www.adobe.com/go/flex_security
class AffiliesService {
     var $username = "root";
     var $password = "root";
     var $server = "localhost";
     var $port = "3306";
     var $databasename = "expressway";
     var $tablename = "affilies";
     var $connection;
      * The constructor initializes the connection to database. Everytime a request is
      * received by Zend AMF, an instance of the service class is created and then the
      * requested method is invoked.
     public function __construct() {
            $this->connection = mysqli_connect(
                                          $this->server, 
                                          $this->username, 
                                          $this->password,
                                          $this->databasename,
                                          $this->port
          $this->throwExceptionOnError($this->connection);
      * Returns all the rows from the table.
      * Add authroization or any logical checks for secure access to your data
      * @return array
     public function getAllAffilies() {
          $stmt = mysqli_prepare($this->connection, "SELECT * FROM affilies");         
          $this->throwExceptionOnError();
          mysqli_stmt_execute($stmt);
          $this->throwExceptionOnError();
          $rows = array();
          mysqli_stmt_bind_result($stmt, $row->id, $row->nom, $row->adr, $row->tel, $row->longitude, $row->lattitude, $row->lien);
         while (mysqli_stmt_fetch($stmt)) {
           $rows[] = $row;
           $row = new stdClass();
           mysqli_stmt_bind_result($stmt, $row->id, $row->nom, $row->adr, $row->tel, $row->longitude, $row->lattitude, $row->lien);
          mysqli_stmt_free_result($stmt);
         mysqli_close($this->connection);
         return $rows;
      * Returns the item corresponding to the value specified for the primary key.
      * Add authorization or any logical checks for secure access to your data
      * @return stdClass
     public function getAffiliesByID($itemID) {
          $stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename where id=?");
          $this->throwExceptionOnError();
          mysqli_stmt_bind_param($stmt, 'i', $itemID);         
          $this->throwExceptionOnError();
          mysqli_stmt_execute($stmt);
          $this->throwExceptionOnError();
          mysqli_stmt_bind_result($stmt, $row->id, $row->nom, $row->adr, $row->tel, $row->longitude, $row->lattitude, $row->lien);
          if(mysqli_stmt_fetch($stmt)) {
           return $row;
          } else {
           return null;
      * Returns the item corresponding to the value specified for the primary key.
      * Add authorization or any logical checks for secure access to your data
      * @return stdClass
     public function createAffilies($item) {
          $stmt = mysqli_prepare($this->connection, "INSERT INTO affilies (nom, adr, tel, longitude, lattitude, lien) VALUES (?, ?, ?, ?, ?, ?)");
          $this->throwExceptionOnError();
          mysqli_stmt_bind_param($stmt, 'sssdds', $item->nom, $item->adr, $item->tel, $item->longitude, $item->lattitude, $item->lien);
          $this->throwExceptionOnError();
          mysqli_stmt_execute($stmt);         
          $this->throwExceptionOnError();
          $autoid = mysqli_stmt_insert_id($stmt);
          mysqli_stmt_free_result($stmt);         
          mysqli_close($this->connection);
          return $autoid;
      * Updates the passed item in the table.
      * Add authorization or any logical checks for secure access to your data
      * @param stdClass $item
      * @return void
     public function updateAffilies($item) {
          $stmt = mysqli_prepare($this->connection, "UPDATE $this->tablename SET nom=?, adr=?, tel=?, longitude=?, lattitude=?, lien=? WHERE id=?");         
          $this->throwExceptionOnError();
          mysqli_stmt_bind_param($stmt, 'sssddsi', $item->nom, $item->adr, $item->tel, $item->longitude, $item->lattitude, $item->lien, $item->id);         
          $this->throwExceptionOnError();
          mysqli_stmt_execute($stmt);         
          $this->throwExceptionOnError();
          mysqli_stmt_free_result($stmt);         
          mysqli_close($this->connection);
      * Deletes the item corresponding to the passed primary key value from
      * the table.
      * Add authorization or any logical checks for secure access to your data
      * @return void
     public function deleteAffilies($itemID) {
          $stmt = mysqli_prepare($this->connection, "DELETE FROM $this->tablename WHERE id = ?");
          $this->throwExceptionOnError();
          mysqli_stmt_bind_param($stmt, 'i', $itemID);
          mysqli_stmt_execute($stmt);
          $this->throwExceptionOnError();
          mysqli_stmt_free_result($stmt);         
          mysqli_close($this->connection);
      * Returns the number of rows in the table.
      * Add authorization or any logical checks for secure access to your data
     public function count() {
          $stmt = mysqli_prepare($this->connection, "SELECT COUNT(*) AS COUNT FROM $this->tablename");
          $this->throwExceptionOnError();
          mysqli_stmt_execute($stmt);
          $this->throwExceptionOnError();
          mysqli_stmt_bind_result($stmt, $rec_count);
          $this->throwExceptionOnError();
          mysqli_stmt_fetch($stmt);
          $this->throwExceptionOnError();
          mysqli_stmt_free_result($stmt);
          mysqli_close($this->connection);
          return $rec_count;
      * Returns $numItems rows starting from the $startIndex row from the
      * table.
      * Add authorization or any logical checks for secure access to your data
      * @return array
     public function getAffilies_paged($startIndex, $numItems) {
          $stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename LIMIT ?, ?");
          $this->throwExceptionOnError();
          mysqli_stmt_bind_param($stmt, 'ii', $startIndex, $numItems);
          mysqli_stmt_execute($stmt);
          $this->throwExceptionOnError();
          $rows = array();
          mysqli_stmt_bind_result($stmt, $row->id, $row->nom, $row->adr, $row->tel, $row->longitude, $row->lattitude, $row->lien);
         while (mysqli_stmt_fetch($stmt)) {
           $rows[] = $row;
           $row = new stdClass();
           mysqli_stmt_bind_result($stmt, $row->id, $row->nom, $row->adr, $row->tel, $row->longitude, $row->lattitude, $row->lien);
          mysqli_stmt_free_result($stmt);         
          mysqli_close($this->connection);
          return $rows;
      * Utility function to throw an exception if an error occurs
      * while running a mysql command.
     private function throwExceptionOnError($link = null) {
          if($link == null) {
               $link = $this->connection;
          if(mysqli_error($link)) {
               $msg = mysqli_errno($link) . ": " . mysqli_error($link);
               throw new Exception('MySQL Error - '. $msg);
?>
and i can't even find an error !! could anyone help me or even give me a solution to read the error report.
thx.

so... while no one find the probleme or even give me an answer to it, i search another solution that correspond to my knowledge and i found : As-SQL it's easy to use and while u don't need to manage a lot of data this solution will be helpfull.
any way, even if i found another solution i still want to know the problem.

Similar Messages

  • Flex Mobile Application with online database

    Hi,
    I would like to create a Flex Mobile Application but this one have to be read/connect  to a online database ?
    I don't found any tuto or infos about that...
    Could you please tell me if it's possible and if yes, how to do that
    Thanks in advance !

    I don't understand one thing...
    There are different type to do a connection between Flex and PHP.
    Which one is the best ?
    1. With AMF (Flex :  service-config.xml, RemoteObject) (http://www.adobe.com/devnet/flex/articles/crud_flex_php_zend.html)
    2. With Zend Framework (Flex : Callresponder, Time,...)  already included in Flash Builder 4.5 (http://devzone.zend.com/1701/flex-and-zend-framework_part-1/)
    3. With Zend Server and Flash Builder 4.5 with PHP (http://www.adobe.com/devnet/flash-builder/articles/flashbuilder-php-part1.html)
    It's three differents approach but in 2 & 3, it's auto configured with Flex.. however to do a connection between Flex Mobile & PHP (online), I have to use the solution 1
    So, if somebody can help me to explain and understand the difference between that.
    thanks

  • How to insert a background image in VGroup in Flex Mobile

    I want to insert a background image for this VGroup. Help me out. I'm new to Flex !!
    I'm using this code in Flex Mobile Application
    <s:VGroup height="100%" width="100%"
              paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">   
        <s:List id="homeList" height="100%"
                labelField="title"
                dataProvider="{homeNews}">
            <s:layout>
                <s:TileLayout requestedColumnCount="1"
                              verticalGap="5"/>
            </s:layout>
            <s:itemRenderer>
                <fx:Component>
                    <s:ItemRenderer>
                        <s:VGroup>
                            <s:BitmapImage source="{data.source}"/>
                            <s:Label text="{data.title}" />
                        </s:VGroup>
                    </s:ItemRenderer>
                </fx:Component>
            </s:itemRenderer>
        </s:List>
    </s:VGroup>

    I don't think you can add a background image to a VGroup directly, nor can VGroup be skinned.
    As far as I am aware there are probably 2 solutions
    1) use a SkinnableContainer instead skin the container to have a background image and set its layout to VerticalLayout
    2) enclose the VGroup in a Group with a BasicLayout. you can then add a background image to the Group and overlay the VGroup

  • Flex mobile and PHP project

    Hi! Recently I've downloaded the Flash Builder for PHP to work with my Zend Server remotely located in OpenShift online. I did not  download and install the Zend Server physically on  my computer. Hence, when creating the Flex mobile and PHP project, I couldn't find my web root address. Now I have an error connecting to the MySQl database in the server from the Flash Builder. Can someone help me with this? I'm new to using these programs.
    I'm following this guide on building mobile apps:
    http://files.zend.com/help/Flash-Builder-for-PHP/Getting-Started/Mobile/build_a_mobile_(ph p)_application.htm#Step_13:_Preview_the_Mobile_Application_Using_the_Desktop_Emulator

    PHP is server side.
    If you want to have a app to function offline you would probably need sqlite and then code actionscript to synch data when the device regains it's connectivity.

  • Flex mobile project: web root and root path for a remote web service?

    Hi all,
    i'm trying to set up the testdrive tutorial for flex mobile project, with flash builder 4.5
    and php data.
    I've uploaded the files on my remote web space (e.g. http://mywebsite.org, and the
    test file is http://mywebsite.org/TestDrive/test/test.php... and it works
    correctly)... But when i'm setting properties of the project, i don't know what
    to write into the web root and root path fields... I thing root path is simply
    http://mywebsite.org... and whatever i write in the other fields (output folder
    too) i have errors when i click on "validate configuration"...
    What should i put into those fields? is zend framework (and gateway.php)
    strictly necessary?
    As you can see... i'm a bit confused....
    Many thanks for any help
    Bye
    Alex

    I thought it was a simple question...
    No advice?

  • Web Root Flash Builder 4.5 mobile + PHP

    hello everyone, i just want to know how to add the address of the web root when i do a flex mobile project, when i work locally in my server i put C:\xampp\htdocs, but when when i work remotelly how can i put this address.
    for example if mi server is 200.100.1.12, and my root URL is http://200.100.1.12, how can i write de web root for this server, please help me, i dont know if i have to configure something else in the server or what i need to do, pleas any answer will be welcome.
    Thanks

    Even though I spent a lot time, still my flex app on a mobile device cannot access to db on the remote server.
    I made changes on the following files. Can you point out what was wrong? Thanks
    .flexProperties file:
    serverRoot="/var/www/vhosts/mydomain.com/httpdocs/public" serverRootURL="http://mydomain.com"
    Web host's document root is /var/www/vhosts/mydomain.com/httpdocs/public
    MyService.as file:
        protected override function preInitializeService():void
            super.preInitializeService();
            // Initialization customization goes here
              this._serviceControl.endpoint = "http://mydomain.com/gateway.php";
    MyService.php
    class MyService
        public $username = "root";
        public $password = "pwd_2";
        public $server = "xx.xx.xxx.xx";
        public $port = "3306";
        public $databasename = "testdrive_db";
        public $tablename = "mydb";
    amf_config.ini
    webroot = "/var/www/vhosts/mobilemenu.info/httpdocs/public"
    zend_path ="/usr/local/php/ZendFramework-1.11.4-minimal/library"
    library ="/var/www/vhosts/mydomain.com/httpdocs/library"
    services ="/var/www/vhosts/mydomain.com/httpdocs/services"
    [zendamf]
    amf.directories[]=services
    gateway.php
    <?php
    ini_set("display_errors", 1);
    $dir = dirname(__FILE__);
    $webroot = $_SERVER['DOCUMENT_ROOT'];
    //Web Hosting Document Root: /var/www/vhosts/mydomain.com/httpdocs/public
    $zenddir = '/usr/local/php/ZendFramework-1.11.4-minimal/library';

  • Open PDF with Flex Mobile Project

    I want to be able to read PDFs inside a Flex Mobile Project (I'm working with Flash Builder 4.6 and Android and iPad).
    I've tried successfully stagewebview to load a pdf from a web server with this:
    webView = new StageWebView();  webView.loadURL("http://<url>/Paper.pdf");  webView.viewPort = new Rectangle(0, 100,this.stage.stageWidth, this.stage.stageHeight); webView.stage = this.stage;
    But what I really want it's something more visual. I mean, where you can create a flip book, go to page X, or similar. Something like this: http://devaldi.com/zine/NZ_Tourism_2007.php?ro=flash,html
    I've already tried FlexPaper, but Zine doesn't work on Flex Mobile Project.
    Do you know if there is something to do this? or how can I do this?
    Is there any native-extension or something?
    Thanks in advance

    Thanks Keith, I'll have a look at that. In addition to opening a PDF, I want to be able to encode an anchor id in to the open command to jump a specific anchor; I'd concluded that on iOS, until Adobe add decent url-scheme support, that was a no go - so I've been staring down the barrel of converting the .pdf to HTML and tidying up the inevitable issues manually. Here's hoping Print2Flash will help avoid that!

  • Flash Builder Mobile PHP Publishing

    I have zend server community edition running on my Mac. I have created a Flex Mobile and PHP Project using localhost as the Root URL and htdocs as the Web Root. After that, I have connected to a couple of php dataservices to my SQL database in Zend and added my components to view and change the data.
    When I test the app locally, everything runs perfectly, which is awesome. However, the time has come to publish to my mobile phone and I would like to connect the app to a mirrored database on my web server so that I may use it online rather than local and this is where I cannot get it to work. I assume I would have to change the php database connection properties, but no luck.
    Does anyone know what settings/code I must adjust in order to get my app to talk to my sql database hosted online?

    Hello Skant,
    I did get Flash Builder working using a remote database, but used a HTTPService request instead on cofiguring Zend. It looked like this:
    <s:HTTPService id="saveHole1Score" url="http://yourdomain.com/your.php" useProxy="false" method="POST">
                                  <s:request xmlns="">
                      <scorecard_id>{scorecard_id.text}</scorecard_id>
                      <hole1post>{hole1post.text}</hole1post>
                 </s:request>
    </s:HTTPService>
    However, I eventually gave up on Flash Builder as a method to build my mobile app because the published version for iOS of my app was 29MB, which is too large to download over the cellular network. This was problematice for the type of app I was creating. Plus with the announcement of the lack of ongoing support for Flash Builder was the cherry on top. I have since switched to HTML5 and Phonegap to publish my apps. So far it has made a better product and significantly lighter.
    Good Luck with your app.

  • How to get Checkbox Value from Flex in PHP.

    Hi,
    I need to know how to get a checkbox value from flex in PHP-POST/GET because I don't know what is the value property of a checkbox in flex.
    Please Help.

    Hi,
    It is very simple. Follow the steps below to achieve the solution,
    1. Write a check-box change event to capture the value of the check box. Store this value in a variable(say bolChkSelected:Boolean).
    2. In step 1 you got the value of the check box. Now your aim is to send the value to php. Declare a httpService in your flex application(i think you are aware of using it).Ok..im writing it
    <mx:HTTPService id="sampleService" resultFormat='e4x' url='http://yourdomain/file.php' result='handleResult()' fault='handleFault()'>
    </mx:HTTPService>
    3. Now the actual solution... u need to send the shcStatus in to php..
    Declare an object to hold the data
    var objparameters:Object={};
    objparameters['CheckBoxdata'] = bolChkSelected;
    --in the above line... 'CheckBoxdata' is used as a parameter to php..you shud have the same variable name while accessing in php file also..
    in php file..
    checkboxstatus = $_POST[''CheckBoxdata''];
    echo checkboxstatus
    thats it..

  • Can't convert Flex Mobile project to desktop project

    I'm using the Flash Builder 4.6 trial, and I'm very new to flex development. I've been asked to convert an existing Flex Mobile project (appears to have been developed in Flash Builder 4.5) into an AIR desktop app.
    The project imported without complaint. However, the Add/Change Project Type > Convert to Flex Desktop Project menu item is disabled.
    I created a blank Flex Mobile project, then a blank Flex web project, then a blank ActionScript project. It's greyed out for those, too. I checked with the projects closed and open; the rest of the items on that submenu are enabled for all projects when closed.
    Is this feature disabled in the trial version?  Is something else going on?

    Clearly the device from verizon works, I would try to contact a computer tech to repair your computer
    Really it should be as simple as turn on, connect, go. If it isn't there is a break down somewhere in that computer
    What error msg?

  • Flex Mobile Project unable to run on android device

    Hi,
    I Have created basic flex mobile project using flash builder and i could able to run on desk top, but while running the same on device i am getting force close exception also dint get any error log. i am using samsung galaxy pop GT-S5570 as my testing device. i have configured usb driver and enabled usb debugging in  my device too. any help to resolve this process?

    08:20:45.751 Raw device 'sd=sd1,lun=/dev/rdsk/c3t5000CCA03EC50D5Dd0s0' does not exist, or no permissions.
    Looks like either your lun doesnt exist  OR you running vdbnech session not as root.
    (Only a guess )

  • Is there a way to use Stage3D in Flex Mobile projects on iPad?

    When I create a project of type "Action Script Mobile Project" the Stage3D works on iPad, Android device and in the AIR desktop simulator.
    But when I create a project of type "Flex Mobile Project" it works in the desktop simulator and on Android device but does not work on iPad.
    When running on iPad the stage.stage3Ds[] collection is empty.
    Is it a sort of limitation made by intent? Or a bug? Or maybe I am doing something wrong?
    What I actually need is an ability to render offscreen bitmaps with GPU in an application that uses Spark UI. This is why I need Flex Mobile project.
    My configuration is the following:
    iPad with retina display
    Sony Xperia Tablet Z
    AIR SDK 3.7 (and I have also tried AIR SDK 3.8 today)

    Hi,
    Check this thread, discussing the similar issue
    Re: What video format that is compatible with Muse

  • Is there a way to save data to just one view in Flex Mobile applications?

    I am having trouble handling data between views in a Flex Mobile application that I am writing. I know how to pass data from one view to another, but I was wondering if there is a way to save that data to a view, then get more data from another view (in this case it would be the same view that the original data came from) and put that data on the same view without overwriting the original data. I would be glad to post some code if anyone needs to see it.

    I think we realise that this is the same question as the other thread.

  • Two styles for a native look (Flex Mobile App)?

    Hello,
    is it possible to use two styles/looks for the same App, that this one will look native on iOS AND on Android?
    Or will I have to build the same App twice to get this?
    - BB

    Check out Jason San Jose's blog posting here: http://blogs.adobe.com/jasonsj/2011/06/ios-theme-for-flex-mobile-projects-proof-of-concept .html

  • Flex Mobile project scaling with Retina display iPad (3rd gen).

    Adobe et al,
    With the new iPad 3 we now have a ton more pixels to utilize. I'm familiar with and have already successfully tested the AIR 3.1+ commandline compiler option (-platformsdk) to get Retina display on the new iPad. In ActionScript mobile projects the content is rendered beautifully on the new iPad. But with Flex Mobile projects, something is happening that causes it to render incorrectly. It's retina display alright, but the size is way too small.
    Below is an image WITHOUT the -platformsdk build tag, that causes the app to be pixel doubled to fit on the new iPad:
    Notice that it's scaled proportionally, even though the text and components are slightly pixelated. Not a big deal, but noticeable on the device.
    This image is taken with the app rendering in Retina display (setting the -platformsdk pointing to iOS 5.1 SDK):
    As you can see, the text/components are rendered really clear, but the scale is way off. Obviously it's getting the width of 2048x1536 from the device, but it's way too small.
    How do I fix this? I've tried changing the applicationDPI, but it doesn't fix it. Setting a width/height of 1024x768 does nothing either. It seems we need to overrride a behavior that causes it to fit everything in so small.
    A little help?
    Thanks,
    iBrent

    Alright, kevinkorngut's answer was the right one. It appears that even though AIR 3.x can render high resolution apps, it still returns the incorrect DPI for the new iPad. In a Flex Mobile project you have to override the DPI using the method mentioned above.
    Here are the results I got:
    Using the runtimeDPIProvider property on the TabViewApplication tag (works for any of the three project types) I created a class that extends RuntimeDPIProvider. To detect which iPad I was on, I used the following code:
    override public function get runtimeDPI():Number
         var os:String = Capabilities.os;
         if(os.indexOf("iPad") != -1)
              if(Capabilities.screenResolutionX > 2000 || Capabilities.screenResolutionY > 2000)
                   return DPIClassification.DPI_320;
              } else {
                   return DPIClassification.DPI_160;
         } else {
              return Capabilities.screenDPI;
    I'm returning a DPI of 320 as this gives the best result that matches the proportions of the device. In other words, even though the iPad DPI is 264, setting the app to 320 gives the correct size at the new Retina display.
    In order for this to work, you must compile the app with the -platformsdk flag pointing to iOS 5.1 SDK, and currently that means you need a Mac running Lion with Xcode 4.3.1. Here's the adt command I used:
    adt -package -target ipa-test -storetype pkcs12 -keystore ~/Desktop/iOS_DevCert.p12 -provisioning-profile ~/Desktop/iOS_DevProfile.mobileprovision newiPadTest.ipa newiPadTest-app.xml newiPadTest.swf -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPh oneOS5.1.sdk
    Also, the -app.xml descriptor file must have the <requestedDisplayResolution>high</requestedDisplayResolution> within the <iPhone> tags.
    Thanks everyone for their replies!
    iBrent

Maybe you are looking for

  • How to send only one (of several) attachment from a receiver email adapter?

    Hi all, I have been working with the SAP XI email adapter for some time and now I encountered the following challenge: I am receiving a message via email from a partner, call some modules which lead to the generation of 5 attachments in total for the

  • In Pages, is there a way to have both portrait and landscape pages within the same document?

    Question: In Pages, is there a way to change the orientation within the same document so that one page is portrait and the next page is landscape, for example?

  • On-line Action script course?

    Can anyone recommend an on-line Action script course? I'm working on a project where that will require more coding then I am use to dealing with. So I need to raise my skill set fast. I'm not sure where to receive the best time and financial investme

  • Diagram in a file?

    Hi, please tell me, is there any way to save or read created diagram in JDeveloper without cut and paste method? (screenshots) I want to put some of these in - for example - MS Word, or open such a diagram without using JDeveloper (for example on oth

  • Defined rule not seen in Properties Panel

    I am a novice, using DW CS5, trying to learn the 1 column liquid, centered, header and footer layout provided. The following rule is seen in Code View, as well as in the CSS Panel: ul, ol, dl { /* Due to variations between browsers, it's best practic