How to develop using remote MySQL data?

I need to develop an application with Flash Builder 4, but I need to develop using live data from the server?
Can this not be done with Flash Builder 4?
Brad Lawryk
Adobe Community Professional: Dreamweaver
Northern British Columbia Adobe Usergroup: Manager
My Adobe Blog: http://blog.lawryk.com

Okay.  Same answer really.  Most hosting providers will provide MySQL database connectivity as a default option (e.g a2 hosting).  Then when you deploy your app you are still talking to a database on the localhost (the web server) since your code is there too.  You can also write an AIR app that runs on your desktop and talks to the database on the web server using the same PHP stuff but just pointing to the remote I.P address. 
For testing I use MAMP (mac) which gives me MySQL, Apache and PHP in one install.
Regards
Des.

Similar Messages

  • How to make use of adjacent data elements within the same buffer

    Hi,
             Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
             Here I also attach my VI showing what I did.
        Thank you very much in advance,
                            Suksun
    Attachments:
    wheel_encoder_1.vi ‏98 KB

    Hi Suksun,
          I hope you'll forgive me for distilling your code - mainly to understand it better.  I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array.  As in your code, the last velocity is being paired with the first position.  If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
    cheers
    Message Edited by Dynamik on 01-07-2006 03:17 AM
    Message Edited by Dynamik on 01-07-2006 03:19 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!
    Attachments:
    encoder2.GIF ‏14 KB
    encoder2.vi ‏102 KB

  • I need use the line data(basle​r spl2048 camera,NI1​433 board) to perform FFT transform ,how can i use transforme​d data to construct an image

    hello everyone! as what i haved mentioned in the title.In optical coherence tomography system ,i need to perform for every line data whick accquired by NI1433,how can i use
    the transformed data tto construct an depth image .

    This is no longer my main area of expertise, but here is results of brief search:
    Spectral Domain Optical Coherence Tomography System Design: sensitivity fall-off and processing speed enhancement
    look at Chapter 5
    https://circle.ubc.ca/bitstream/id/91474/ubc_2010_​fall_chan_kenny.pdf
    Ultrahigh-resolution, high-speed, Fourier
    domain optical coherence tomography and
    methods for dispersion compensation
    http://www.opticsinfobase.org/oe/abstract.cfm?uri=​OE-12-11-2404
    hope this helps,
    Curt
    Curt Corum, Ph.D.
    Center for Magnetic Resonance Research
    University of Minnesota

  • Ok so I used remote wipe data by using find my iphone app in order to fix something. Now I can't use imessage with my number. I see it but it's not checked in the send

    Ok so I used remote wipe data by using find my iphone app in order to fix something. Now I can't use imessage with my number. I see it but it's not checked in the send

    Using iphone 5s *******

  • How have I used so much data in 6 days?!

    ok so i have 500mb as part of my monthly data allowance. this resets on the 10th of every month. i didn't go on the any internet apps at all (facebook, twitter, etc) and all i did was use iMessage to text my friend. by the 16th, i recieved a text from my network provider saying that i have used 80% of my data allowance. how is this even possible?! i didn't send any photos or videos at all, just plain texting. i don't get how i can use 400mb of data on just iMessaging. since the text from my network provider, i have turned off data roaming and 3G just to be sure that i don't go over my allowance. thanks!

    ATT has been no help. They just gave me their basic canned responses about smart phones using data even when on wifi, when not actively using, etc. The last message from them actually suggested that I check for a hung up email that was trying to send. That was in response to a single data transmission of 2.4 gigbytes that I found on my bill.
    As it stands after the first five days of owning the iPhone 5 I am on pace to use 33 gigbytes of data this month. Over the past two years I have averaged under 2 gigabytes per month. I used 2.4gb in a single data transmission!
    The majority of the usage is in a small number of transmissions over a three day period. 5.3 gigabytes was used in six separate data transmissions:
    381mb
    120mb
    1.1gb
    2.4gb
    990mb
    333mb
    I feel sorry for everyone with a capped data plan. They're going to be in for a rude awakening when they get their bill if my usage is any indication.

  • How can I use remote disk?

    I just installed bootcamp on my Macbook Air. How can I use remote disk so that I can put a disc in my Mac Mini and use it in Windows 7 on my Air?

    Here are instructions directly from Apple: http://support.apple.com/kb/HT1777?viewlocale=en_US

  • How can I use remote app in a dorm?

    I have the most recent version of the remote app for my iPhone 4S, and I'd like to control the iTunes on my 2010 MacBook Pro, but I am in a dorm, so I only have access to the communal "ResHall" wifi. Both my computer and my phone are on this network, but they will not recognize one another. I have turned Home Sharing on and off on both (in different orders as well, i.e. turn both off, turn homesharing on MacBook on first vs. on iPhone first), as well as verified that they are using the same Apple ID. My MacBook's firewall is already set to allow incoming data to iTunes. The router IP address is the same for both machines. Is there any quick (or not so quick, I'm open to anything at this point) way to use remote in a dorm like this?

    Hey Ajthebassist,
    Thanks for the question. After reviewing your post, it sounds like you are having difficulty pairing the Remote app with iTunes. This article may be able to help in this situation.
    Remote app for iPhone, iPad, or iPod touch can't connect to iTunes or Apple TV
    http://support.apple.com/kb/TS1741
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • How can i use exisitng user data(Id, password) for user mapping

    Hi All,
    For User mapping , we can import user mapping data for many users from user administration. and for each user
    we can maintain mapping data in the standard format.
    eg:
    [User]
    uid=user2
    $usermapping$:BCE:user=ext_user2
    $usermapping$:BCE:mappedpassword=password
    i am clear till this point.
    this all works if we know the userid and passowrd on the system 'BCE'.the passwords on the system 'BCE', are encrypted . so there is no chance for me to know the passwords.
    so how can i use the existed userid/passowrd on the system 'BCE' for the mapped user and mapped password on the portal while doing usermapping.
    Thanks in Advance,
    Lakshmi

    Hi,
    I think this should work.
    1. Setup SSO with SAP logon tickets first. How to do this is described many places, e.g. http://help.sap.com/saphelp_nw04/helpdata/en/d3/41c8ecb31d11d5993800508b6b8b11/content.htm
    This SSO will not work at first, because the username is different in the back-end system. So what you need to do is to get the back-end username into the ticket (don't need a password because that is done by the SAP logon ticket)
    2. Create a portal component which uses the usermanagement API to create a usermapping which only consists of the username and a blank password. You can do this manually I think if you have no reference system defined.
    IUserMappingService umap =(IUserMappingService)PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);
    //this is the currently logged in user. You might another user
    IUserContext user = request.getUser();
    //Get the existing data (think it can be null)
    IUserMappingData userMapping=umap.getMappingData(systemAlias, user);
    HashMap map = new HashMap();
                             map.put(IUserMappingService.UMAP_KEY_USER, backEndUserName);
    //add blank password               map.put(IUserMappingService.UMAP_KEY_PASSWORD, "");
    //store the values                    userMapping.storeLogonData(map);
    Voila, this should allow you to do SSO using SAP logon tickets, but with another name that you use against the portal. I am uncertain if this will work if you have multiple usermappings in the sap logon ticket
    PS since the sap logon ticket is issued at logon time, you need to relogon to get the changes done by the code
    Regards
    Dagfinn

  • How can I use a mySQL database schema with numeric auto increment primary key instead of GUID?

    Hello!
    I'm using the TestStand "MySQL Insert (NI)" database schema with GUID as primary key. So everything works fine.
    But I prever using numeric values as primary key, because the database is in conjunction with another database which uses numeric values as primary key.
    Is this possible?
    Has anyone an idea how I can modify the "Generic Recordset (NI)" for use with MySQL?
    Thanks!
    Configuration:
    Microsoft Windows XP
    TestStand 3.1
    MySQL 4.1.12a
    MySQL ODBC 3.51 Driver
    Brosig

    Adam -
    The TestStand Database Logging feature does not allow you to run a separate SQL command after executing the command for a statement(table), so I do not think that you can use an auto incrementing column for the tables. There is just no way to get it back in a generic way. One option that I tried is something similar to the Oracle schema where you call a store procedure to return a sequence ID for each record that you want to add.
    So you would have to create the following sequence table in MySQL:
    CREATE TABLE sequence (id INT NOT NULL);
    INSERT INTO sequence VALUES (0);
    Then create a stored procedure as shown below that will increment the sequence value and return it in a recordset:
    CREATE PROCEDURE `getseqid`()
    BEGIN
            UPDATE sequence SET id=LAST_INSERT_ID(id+1);
            SELECT LAST_INSERT_ID();
    END
    Then update the MySQL tables to use INT primary and foreign key values, so the TestStand MySQL SQL file to create all tables would have text like this:
    CREATE TABLE UUT_RESULT
     ID    INT  PRIMARY KEY,
    ~
    CREATE TABLE STEP_RESULT
     ID    INT  PRIMARY KEY,
     UUT_RESULT   INT  NOT NULL,
    ~
    Then update the schema primary and foreign key columns in the TestStand Database Options dialog box to be INT to match the table. For the primary key columns, you will have to set the Primary Key Type to "Get Value from Recordset" and set the Primary Key Command Text to "call getseqid()". This will call the stored procedure to determine the next value to use as the ID value.
    Hope this helps...
    Scott Richardson
    National Instruments

  • How to find/use remote installer in 10.8

    I'm trying to erase my harddrive on an older macbook air and need to use "remote installer" on the base computer with the optical drive.  However, my imac uses OS 10.8 and doesn't seem to have this utility.  How do I accomplish the remote re-install without this utility or where can I find/download it?
    Thanks

    Hello Justin Cave ;
    Example :
    I have two databases.
    1st database block size is : 8192 (8k)
    2nd database block size is : above 8192  (128 k)
    i want to move  export table  from one database to another database.
       -   If block size is differ , can we done exp/imp successfully in 10g or higher version ?
              - please explain little , little more explanation ?

  • How can I use java.util.Date and change display format.

    Hello All,
    I want to use java.util.Date in View Context and in Custom Control Context of Web dynpro java. When i mapped of a Input Field to the java.util.Date then message shows that its not supported. Plz suggest me how to handle Date with different formats ??

    If you always want the user to enter the date in dd/MM/yyyy, you can do the following.
    Goto Local Dictonary -> Simple types in your project and create a type known as "InputDate" (or whatever you feel) of built-in type 'Date'.
    Now specifiy its format in the 'Representation' tab as "dd/MM/yyyy" (case-senstive).
    Now declare a value attribute say "inputdate" in your context with this type and bind the inputfield to this context value attribute.
    This will solve your problem.
    But if you want the user to input date depending on the region he belongs, change the default locale date in Control Panel->Regional and Language Options->Change to English(UK) -> Customize -> Date Tab -> Sort Date Format to dd/MM/yyyy.
    Now clear the cache, delete temporary files and restart the machine. This should solve the problem.

  • How to develop an Remote Enabled Function Module

    Hi All,
    I'm totally new to ABAP. I have a requirement to create a Remote Enabled Function Module, which I can use to call from an external program like Java using JCo.
    The functionality of the Remote Function is to write some data into certain fields of the tables AFPO and JEST.
    Can someone please guide me, how to do the above described task. Is there any code snippets available, that would be really gr8.
    Thanks & Best Regards,
    Chandrasekhar.

    you shuld have import parameters like this
    i_aufnr tpye afpo-aufnr.
    i_posnr tpye afpo-posnr.
    i_matnr tpye afpo-matnr.
    i_wemng tpye afpo-wemng.
    i_ltrmi tpye afpo-ltrmi.
    i_meins tpye afpo-meins.
    i_dwerk tpye afpo-dwerk.
    i_objnp tpye afpo-objnp.
    i_stat type jest-stat.
    in exceptions
    enter_key_data.
    assume all the fields are mandatory.
    types: begin of t_ekpo,
          aufnr like ekpo-aufnr,
          posnr like ekpo-posnr,
          matnr like ekpo-matnr,
          wemng like ekpo-wemng,
          ltrmi like ekpo-ltrmi,
          meins like ekpo-meins,
          dwerk like ekpo-dwerk,
          objnp like ekpo-objnp, "for Status update
          end of t_ekpo.
    types: begin of t_jest,
           objnr like jest-objnr,
           stat  like jest-stat,
           end of t_jest
    data: x_ekpo type t_ekpo,
          x_jest type t_jest.
    **need to validate before sending it to EKPO.
    if not i_aufnr is initial
         and not i_posnr is initial
         and not i_objnp is initial
         and not i_stat is initial.
    X_ekpo-aufnr = i_aufnr.
    X_ekpo-posnr = i_posnr.
    X_ekpo-matnr = i_matnr.
    X_ekpo-wemng = i_wemng.
    X_ekpo-ltrmi = i_ltrmi.
    X_ekpo-meins = i_meins.
    X_ekpo-dwerk = i_dwerk.
    x_ekpo-objnp = i_objnp.
    modify EKPO from X_ekpo .
    if sy-subrc = 0.
    commit work.
    endif.
    x_jest-objnr = i_objnp.
    x_jest-stat = i_stat.
    modify JEst from X_jest .
    if sy-subrc = 0.
    commit work.
    endif.
    else.
    raise exception enter_key_data.
    endif.
    please let me know if you need any validation on those.
    regards
    vijay
    Message was edited by: Vijay Babu Dudla

  • How much space used by App + Data

    Is there any way to determine how much space is used by each app including it's data?
    I have estimated how much space my apps should be occupying and it's 2 GB less that what iTunes shows. I can only assume that one ore more of my apps is taking up much more space that I think it would. I do have an app that is storing lots of photos. After estimating the total size based on the size and number of photos and talking to the developer it does not account for the missing space. The best thing is to actually see true app sizes with their data but I can't figure out how.
    Thanks

    HI Steve,
    I do have an app that is storing lots of photos.
    Something to keep in mind when syncing photos. When syncing photos to iPad, iTunes automatically creates a size optimized for iPad, if necessary. See “Syncing with iTunes” on page 28 from the iPad online user guide available here.
    http://manuals.info.apple.com/enUS/iPad_UserGuide.pdf
    That could make a difference in the space available on your iPad.
    The best thing is to actually see true app sizes with their data but I can't figure out how.
    Try resizing images on your computer first, then sync to iPad. If you are PC / Windows, help here:
    http://windows.microsoft.com/en-US/windows-vista/Resize-photos-in-Windows-Live-P hoto-Gallery
    Carolyn

  • How we can use existed REST data services with JSON to create MBO??

    Web site having REST web services with JSON format data interchange. By using these service call how we can create MBO ( MOBILE BUSINESS OBJECT ) in SAP Mobile Platform. Any Limitations are there for hybrid application development in SMP?? 

    You would need to parse the XML feed into your site with PHP or JavaScript. 
    http://www.w3schools.com/php/php_xml_simplexml.asp
    Nancy O.

  • How do I use the XML-data from a callback in JSP?

    I´ve tried this but with no success..
    How do I recieve the data in a servlet/JSP-page?
    Thanks.

    Thanks for helping me Anurag.
    The problem I tried to solve was that I want the result from my service methods
    in XML format. I thought a callback/polling was the best alternative, am I right?
    Since the callback option doesn´t work I will try to poll the service.
    Are there any other options for solving my problem??
    Thanks again!!
    /A
    "Anurag Pareek" <[email protected]> wrote:
    >
    Andrej,
    I guess you are trying to invoke a Webservice which defines a callback
    method
    from a JSP, and want the JSP to handle the callback made by the webservice.
    For a client to be able to handle a callback made by a Webservice, it
    has to be
    a web service in itself.
    Even some web service tools do not support 'Solicit responses' and hence
    they
    would not generate handlers for the callback methods by default. You
    can download
    a callback WSDL in such cases and implement it on the client side. The
    server
    side web service will then callback to that webservice.
    The other option to callbacks is to use polling methods. This can be
    done from
    any client such as Java client/ JSP client or a .NET client.
    Hope this helps. Let me know if you have any further questions.
    Regards,
    Anurag
    "Andrej" <[email protected]> wrote:
    I´ve tried this but with no success..
    How do I recieve the data in a servlet/JSP-page?
    Thanks.

Maybe you are looking for

  • Problem in Purchase order Smartform

    Hi, I am working on the purchase order and i have to  display a condition that if there is a Purchasing Document having the value ZRAW and there is a condition for the condition type 'ZING' (Ingot Price) ,'ZGRD'(Garde Charges) and 'ZBRL'(Rolling char

  • How do you know what version of itunes I have

    I keep trying to update to the 10.5 version of itunes and my computer says that I am completely updated. When I try to plug my iphone4S it says it can not be supported if I dont update to the newest version of itunes. Help please

  • IMac 24" behaving really weard!

    This is odd. We've had this iMac for about 4 years. It just started flickering the display whenever we start it up (it no longer boots completely). I can never boot into the OS. I stuck in the original install disk, press and hold the C key to boot i

  • How to use Type Casting in JSF Expression Language

    I have an attribute CategoryId in my VO of type oracle.jbo.domain.Number. I am trying to use the expression of Boolean item in JSF as #{row.CategoryId != 4} Here is the JSF code:                       <af:column id="s141NewItem3Col" noWrap="true" wid

  • Instalation Oracle 8i

    Is there any concern to install Oracle 8i on Windows XP?? I have to install this database version for tests. I have version to linux and windows as well, but I think that install on centos 4 won't any problems. I worry only for install so old databas