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.

Similar Messages

  • I have Just Got Flash Builder 4.5 but I wanted Flash Builder for PHP

    I have Just Got Flash Builder 4.5 and I wanted Flash Builder for PHP do I need to buy the the separate product (Flash Builder for PHP) or can I use the Flash Builder Professional 4.5 that I have just purchased?
    And If I can use the Flash Builder Professional 4.5 what do I need to add to it to get it to work with PHP?

    Trial mode expires prematurely
    http://helpx.adobe.com/x-productkb/global/trial-software-expired-early.html

  • Flash Builder for PHP 4.5.1

    So I own Flash Builder 4.5 and upgraded to Flash Builder for PHP 4.5. Yesterday Adobe released an update for Flash Builder 4.5.1 which includes support for delpying for iOS devices.
    So my question is how soon is Zend going to provide and update to Flash Builder for PHP? Past experience tells me it is going to take a while. Can any Adobe/Zend engineers confirm a time line when the upgrade will happen?
    Also if upgrade is not a possibility, is there a Zend PDT Plugin for Adobe Flash Builder 4.5?

    Hello there,
    Flash Builder for PHP is expected to be released very soon, I can confirm it's a matter of week or two. I suggest to wait until the official release is out. 
    Best regards,
    Roy

  • How can I use flash builder for php?

    Hello! I saw a flash banner maker website http://ideal-banners.com/. My question that how can I use a flash builder for php?

    Hi Michael,
    Thanks for your two helpful replies.  The article by V. Brossier looks very useful, and I managed to use SDK 3.3 with FB.  But I had misdiagnosed my problem.  The problem was that the compiler was targetting Flash Player 9 instead of 10.  I've managed to fix that.
    Thanks again,
    Francisco

  • Dreamweaver and Flash Builder for PHP

    I have created a php database in Dreamweaver, can this database be imported or converted to Flash Builder for PHP?

    MySQL has nothing to do with Dreamweaver or any other development software. It's a DBMS (which stands for DataBase Management System). More simply, it's a way to store data. Other DBMS are PostgreSQL, Oracle, and so on..., as mentionned above.
    To use your existing MySQL database with FlashBuilder for PHP, simply specify where you store your PHP services on your computer when you create your project. Then FB will attempt to connect to MySQL with the help of your PHP code.
    And you'll be able to retrieve your data in the brand new Spark Datagrids !
    Hope it'll help.
    Julien.

  • Flash builder mobile app hangs on Realease Build after air 3.1 (3.2 - 3.8) for IOS devices

    The app stoped working after air 3.1 on IOS devices...Its is a Flex/actionscript mobile project...as of May 1st apple forced us to use newer sdk so i updated to air 3.8 and have tried every version since 3.1...the app only works perfectly in release build from air 3.1...on air 3.8 debug on device works perfectly non-debug run on device crashes with sigbus or sig 11 ...Ive used xcode console and device logs and they have not been helpful...since they reference post compiled native code which i dont have acces to i have tried every fix on the web. Ive been trying to figure this out for days..Does anyone have any insight on this issue.
    Curently Using:
    Flash Builder 4.7
    air 3.8 beta
    Compiler options:
    -locale en_US
    -swf-version=21
    -omit-trace-statements=false
    -keep-as3-metadata+=Inject

    The app stoped working after air 3.1 on IOS devices...Its is a Flex/actionscript mobile project...as of May 1st apple forced us to use newer sdk so i updated to air 3.8 and have tried every version since 3.1...the app only works perfectly in release build from air 3.1...on air 3.8 debug on device works perfectly non-debug run on device crashes with sigbus or sig 11 ...Ive used xcode console and device logs and they have not been helpful...since they reference post compiled native code which i dont have acces to i have tried every fix on the web. Ive been trying to figure this out for days..Does anyone have any insight on this issue.
    Curently Using:
    Flash Builder 4.7
    air 3.8 beta
    Compiler options:
    -locale en_US
    -swf-version=21
    -omit-trace-statements=false
    -keep-as3-metadata+=Inject

  • Flash Builder Mobile Target Updates Coming?

    Any word on the update for flash builder that will give the mobile options for Blackberry OS and iOS as target platforms in addition to the Google Android?

    Great. I appreciate the info. I had just been looking under Flex Mobile. Although, under ActionScript Mobile AIR I only see Apple iOS and Google Android as options. Is there an extension or something else to gain access for the playbook?

  • Flash Builder resets php include_path?

    Hi,
    using the data services of flash builder 4, I run into the following problem:
    we gathered all our include directories in one php file, that sets the include_path (ini_set('include_path')). The service classes include that file as a very first statement so the include_path points to several directories spread over the project, that contain further code.
    the benefit of this is that we do not need to bother about any directory trees when putting together our project. Due to the complexity of the project this still seems to be a good idea...but nevertheless...
    Now when I call a service via the Fb context menu in order to configure the returned data types I always get error messages saying some files could not be found. The error message dumps the include_path var as well and for some reasons all it contains at that point are the pathes to MAMP/php and the ZendFramework/library path.
    I dumped the include_path at several locations to check. Looks fine in the services when I dump right behind the include statement for the paths. But in any other class/function it seems to be reset.
    Calling the services over amfphp browser seems to work fine.
    I might be just pretty blind, so please make me see
    THX!

    Not sure what could be the cause of this failure, we will need you complete setup to reproduce, if it is Ok with you.
    If you would like do debug what could be the cause, let me explain how the amf calls are made from Flash Builder.
    You pointed out that Flash Builder is changing the include_path, but that cannot be done by Flash Builder directly.
    The way it works is that whenever you try using PHP Service from the Data Service view, Flash Builder first installs Zend Framework on your server if it is not present already. Then it puts gateway.php and amf_config.ini files in the output folder of the flex project on your server.
    Now this gateway.php actually becomes the endpoint to make amf requests, and can be used by Flash Builder or any other client like a Flex application running on Flash player.
    The gateway.php file does contain a modification of include_path, where it adds the Zend library in the path, but it does not remove anything.
    You make try to dump the path in gateway.php file to debug the cause of this issue.
    Thanks,
    - Gaurav

  • How to display local HTML5 web page in flash builder mobile application?

    We have one single html5 web page that includes script tag to include a set of resources(java script).
    Currently we have tried using web view, htmlloader and IFrame, but none of the approaches worked as the page is included in the assets folder itself of the application, and we need to run it on the mobile device(not the browser).

    If all you are doing is loading an HTML5 web page I would look at using PhoneGap instead:
    http://phonegap.com/
    PhoneGap was bought by Adobe.

  • Flash builder and php session management/login

    I've secured pages with cflogin using coldfusion but is there a comparible function in PHP?  I'm able to connect to a php/mysql DB but how do I lock those functions down with a login/password style security?
    Thanks

    Hi,
    I think this article contains what you are looking for.
    http://sudhirmanjunath.blogspot.com/2009/10/how-to-set-basic-authentication-for-php.html
    Please write back if you need any further clarifications.
    Thanks,
    Sudhir

  • Flash Builder mobile - complex XML reading

    Hello Developers,
    Please help me! I'm trying to develop a mobile app, that displays a complex xml file (i'm not a developer, so please be patient... ). Here's the xml file, then I write what I'd like to do:
    <?xml version="1.0"?>
    <server_status>
    <hosts>
       <host>
          <host_name>server1</host_name>
          <modified_attributes>0</modified_attributes>
          <check_command>check-host-alive</check_command>
          <check_period>24x7</check_period>
          <notification_period>24x7</notification_period>
       </host>
          <host>
          <host_name>server2</host_name>
          <modified_attributes>0</modified_attributes>
          <check_command>check-host-alive</check_command>
          <check_period>24x7</check_period>
          <notification_period>24x7</notification_period>
       </host>
    </hosts>
    <services>
       <service>
          <host_name>server1</host_name>
          <service_description>C:\ Drive Space - Exchange Edge 1</service_description>
          <modified_attributes>0</modified_attributes>
          <check_command>check_nt!USEDDISKSPACE!-l c -w 80 -c 90</check_command>
              </service>
              <service>
          <host_name>server1</host_name>
          <service_description>CPU Load - Exchange Edge 1</service_description>
          <modified_attributes>0</modified_attributes>
          <check_command>check_nt!CPULOAD!-l 5,80,90</check_command>
              </service>
       <service>
          <host_name>server2</host_name>
          <service_description>C:\ Drive Space - Exchange Edge 2</service_description>
          <modified_attributes>0</modified_attributes>
          <check_command>check_nt!USEDDISKSPACE!-l c -w 80 -c 90</check_command>
              </service>
       <service>
          <host_name>server2</host_name>
          <service_description>CPU Load - Exchange Edge 2</service_description>
          <modified_attributes>0</modified_attributes>
          <check_command>check_nt!CPULOAD!-l 5,80,90</check_command>
              </service>
    </services>
    </server_status>
    As you can see, there's 2 main nodes: hosts & services. On the opening screen of the app I can list the hosts displaying in a list the host nodes with host_name. That's fine. I select one of them and on the new view I show the selected host attributes like <modified_attributes>, <check_period>, etc. What I want is to display on this screen the selected host's services. Under the <services> node there are 4 <service> child node: 2 services for host1 and 2 services for host2. I only want to list those services that are belong to the host I selected on the main view.
    Please write me the source code of the solution either here or in email ([email protected])
    Thanks for your help!

    Really thanks for your reply, but I don't really know, where and how to put in the code. Here's the mxml:
    <?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:szolgaltatas="services.szolgaltatas.*"
                        title="DetailsView"
                        viewActivate="getDetails()"
                        >
              <fx:Script>
                        <![CDATA[
                                  import mx.events.FlexEvent;
                                  [Bindable] private var ha:String;
                                  [Bindable] private var hb:String;
                                  [Bindable] private var hc:String;
                                  [Bindable] private var hd:String;
                                  import valueObjects.Host;
                                  import valueObjects.Service;
                                  private function getDetails():void
                                            var thisItem:Host = data as Host;
                                            ha = thisItem.last_time_up;
                                            hb = thisItem.last_check;
                                            hc = thisItem.plugin_output;
                                            hd = thisItem.host_name;
                                  protected function textArea_creationCompleteHandler(event:FlexEvent):void
                                            getDataResult.token = szolgaltatas.getData();
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <s:CallResponder id="getDataResult"/>
                        <szolgaltatas:Szolgaltatas id="szolgaltatas"/> <!-- Szolgaltatas service -> getData(): Service[] -->
              </fx:Declarations>
              <s:Label top="10" left="10" right="10" text="Time Up: {ha}"/>
              <s:Label top="30" left="10" right="10" text="Last Check: {hb}"/>
              <s:Label top="50" left="10" right="10" text="Check Result: {hc}"/>
              <s:Label top="90" left="10" right="10" text="Hostname: {hd}"/>
              <s:TextArea id="textArea" left="10" right="10" bottom="10" height="50%"
                                            creationComplete="textArea_creationCompleteHandler(event)"
              />
    </s:View>
    Thank you Jakub!

  • Help setting up Flash Builder 4.5 for PHP

    I am looking for a concise set of steps for setting up ALL requirements for running Flash Builder 4.5 for PHP.  I have been fighting for three days to get the TestDrive example up and running, with no success.  At every step of the way I have encountered problems.  I fought for a day and a half with MySQL.  Then I fought for another day with PHP (Liip).  Then I fought for another day with Zend.  All along the way I have fought problems with Flash Builder and Flash Builder for PHP.  I've had to relearn all of my UNIX shell commands (it's been a few years).  I've tried using a remote server at 000webhost.com.  I've tried using an old laptop for a server.  I finally ended up trying to do it all on my main laptop.  I have completely given up and am ready to dump my project altogether.  Forget my students.  They'll just have to live without what would have been a fantastic new way of learning.
    HELP!!!

    Hi There,
    I do not have a 'concise' answer for you - in fact I am not using FB 4.5 for PHP.  I started using FB 4  around 8 months ago.  I installed a 'WAMP' thing, called 'EasyPHP'.  That actually went pretty smoothly.  I did the whole thing on my personal laptop running Windows 7.  I 'hooked up' FB to the PHP side using the built in data services wizards and such, as I imagine you are trying to do.  I too had to 'fight' a bit, but found most of the answers scattered around the Internet.  Had to tweak a few settings here and there in various files, and viola, it worked.
    I have resisted upgrading to 4.5, and especially the 4.5 "for" PHP, only becuase of the great expense.  It seems like a lot of money to pay for 'integrated, round-trip debugging'.  I already can debug the PHP side 'independently' of the FB side (from inside the Eclipse+PHP plugin free toolset), which, for most SQL situations is good enough. I simply set up a 'test page' in PHP and use that to 'call' the various functions I write.
    On the FB side, I gave up on using the 'built in data services wizard thingies' because they simply could not get the data-type mappings correct between the two sides.  Also, the "value objects" things (really just a fancy data-object class definition) seeme overly complex and inflexible, i.e., they would re-code themselves after every change I made to the PHP side.  I prefer a more 'lean' approach, and one that I control 100%.  So far I am able to do everything I need using my own 'value objects' (simple classes).
    So...as you can see, I may not be able to help much, but, if you can explain some of the details of what is failing, maybe I can provide a bit of assistance.  From what I understand, the big difference between 4.5 and 4.0, at least on the PHP side, is that the 'introspector' is a bit more accurate now and of couse there is the 'round-trip' debugging and 'awareness of each other's objects/definitions' while in PHP or FB.
    Finally, as best I can tell, after 8 months of 'experimenting' with Flex and PHP, there are simply not many people doing it, or, at least not that many doing it that participate on this forum and who have practical experience, especially with the more 'recent' releases, i.e., 4.0, 4.5.  I would encourage you to scan the rest of the Internet...there *is* knowledge out there...but it can difficult and slow to get.
    -David

  • Deletion of Flash Builder 4.5 when installing Flash Builder 4.5 for PHP

    There is a very serious error with the Flash Builder 4.5 for PHP installer (from http://static.zend.com/topics/Flash-Builder-for-PHP-4.5.0-Release-Notes.txt ):
    If Flash Builder 4.5 (not PHP) is already installed on the machine, and the
      product (Flash Builder for PHP 4.5) is then installed in a different location,
      the user gets the "FB is installed" dialog.
      After clicking OK, the installation rolls back and removes both Flash Builder
      and Flash Builder for PHP.
    My questions:
    Can Flash Builder 4.5 for PHP be installed in the same location without deleting Flash Builder 4.5? If so, please define "location."
    Is there a workaround for installing both flavors of Flash Builder 4.5 and avoiding the deletion issue described above?
    Can a single do-it-all version of Flash Builder 4.5 be installed that combines the SDKs and features of both flavors of the Flash Builder 4.5 product?

    Hi Mike,
    Could you please send the following log files so we identify the exact problem and hopefully help you quickly:
    Windows:
    1.       <path_to_adobe_fbphp>/_Flash Builder 4.5 for PHP.log
    2.       Logs located under C:\Program Files\Common Files\Adobe\Installer\
    Max OSX:
    1.       <path_to_adobe_fbphp>/_Flash Builder 4.5 for PHP.log
    2.       Logs located under /Library/Logs/Adobe/Installers/
    Thanks for sharing this,
    Roy

  • Will there be an version of Flash Builder 4.7 for PHP?

    Flash Builder for PHP is sensational, it's a complete solution for web development, much better than Flash Builder itself I think.
    Does adobe have a plan of releasing Flash Builder 4.7 for PHP?

    that's too bad.....
    apparently Adobe has abandoned us......

  • Flash Builder "publishes" every time I minimize or switch to other programs.

    On my Mac, when I switch from Flash Builder to Flash Pro, Flash Builder insists on "Publishing", which means I must wait for 30 seconds each time.
    Please help.
    Roger

    On my Mac, when I switch from Flash Builder to Flash Pro, Flash Builder insists on "Publishing", which means I must wait for 30 seconds each time.
    Please help.
    Roger

Maybe you are looking for

  • Final Cut Pro with OS 10.5.8?

    I just downloaded the Final Cut Pro Final (trial) but it says I cannot use "this version of the application.. with this version of Mac OS X". I am using version 10.5.8. Is there a different FCP application that I can download or a Mac OS software upd

  • How do I get my galaxy s4 to work again?

    A Week ago I dropped my galaxy s4 in the toilet on accident. I let it air out and it seemed it work fine and charged that night but since then It hasn't been charging. I couldn't use it for a couple days because once it died it wouldn't charge again.

  • Scanned pdf email attachment - converted to text pdf - file then renamed to specific contents

    Hi All, Im new to the world of programming, So forgive me if this is a stupid request. I'm wanting to use a mail rule in outlook to call a vba script, to save all attachments from a certain email address. I have successfully done this part. Using the

  • Nokia music activiton problem

    I have bought nokia lumia 720 and i have problem i first phone working. Properly then later i restore my phone then from that moment. I am unable to sing in to my nokia account which is present in,setting option and i have trouble in nokia music as a

  • How to export to adhoc query to Excel

    I am trying to export a list of bank account into excel through Adhoc query, when I go to List >> Export >> Spreadsheet, there is only Xml format for me to choose. However, my colleague has the option to choose excel. Is this Windows setting or SAP s