Flash lite - database

Hi
I am new to Flash lite and i am currently working on an app
for Nokia N95 for a school project. Can anyone tell my how i can
get the phone to connect to a database and then pullout data and
show them on the phone?
Morten

Hi Morten,
First you will need to be proficient (but not expert) in 3
technologies, databases (eg MySQL), server scripting (eg PHP) and
Flash Lite.
Then in MySQL, you set up the database to store the data.
Write a PHP script to read the data in the database, then parse and
'print' that data into name>value (eg
&variable1=data1&variable2=data2) pairs which Flash Lite
can then read as variables and values. Then you need to use
loadVars() in Flash Lite to read the name>value pairs from the
PHP script.
Thats it in its basics, there are more detailed examples in
the
Adobe Mobile and
Devices Developer Center.
Regards

Similar Messages

  • Flash Lite database application - help!

    Dear all,
    I would like to ask for your help/opinion.
    I am a beginner Flash programmer. I am planning to create a Flash Lite application that will provide information on current cultural events (e.g. music, theatre), cinema listings, restaurant recommendations etc.
    For this, I need to have a database on my server, which will store all the data (e.g for a music event I need the place, artist name, date and time, description of event, contact details, and maybe an image).
    I then want to transfer the data (only updates) to my users' mobile phones, and store them there. This will allow them to update and then be able to browse the information offline.
    I am not sure how to do this. I read about Shared Objects, but it seems that these objects do not provide enough space for what I need to do (let's say 1000 records at least at any one time).
    Can anyone provide any direction on how to solve this problem? Just to recap, I am looking for a solution to create a Flash Lite database application that will receive cumulative updates from a web server and store the data locally on the mobile.
    Thanks in advance for any kind of help you can give me!
    Andreas

    To handle the synchronization of these items you will need to use plugins, which will restrict your platform reach.
    These are two great starting points:
    KuneriLite
    Nokia Platform Services
    Using the solutions above you can download and upload files, and using XML you can load and sync events.  Unfortunately it would be quite complex to handle the delta between items, updates and such so I recommend using a dynamic XML feed.
    Good Luck!
    Mark - Adobe
    www.flashmobileblog.com

  • Best practise for data exchnge Flash Lite 2.0?

    Hi all,
    At present I am using LoadVars to communicate between Flah
    Lite and my server is there a better way? I am building an
    applciation that needs constant information and updates, such as
    being able to send message to different users. At the moment I am
    checking all the nesaccary database info using LoadVars. This is
    called every 1-5secs for the different functions.
    This however is far from elegant and also the data charges
    can add up if the app is running for a long time.
    Can I use an socket driven solution? Is this possible with
    Flash Lite 2.0.
    I am using PHP to retrieve info from a MySql database.
    Thanks.
    Dev

    Ciao
    is not to Adobe to rebuild the Flash Lite player. Adobe
    license the player to mobile phones manifactures and they decide
    when/how to implement the FL player on their phones.
    If you want to know the roadmap, some hints here:
    http://www.biskero.org/?p=581
    Alessandro

  • Flash lite app

    Hi all
    I'm planning to develop a flash lite application with a
    connection to a online mySQL database.
    I've searched the web endlessly, but unfortunately there is
    less than none information about how to's...
    My question now is, is it possible to connect via PHP to a
    mySQL database online starting from a standalone flash lite
    application. The main action that users have to make is a
    searchfunction to speficif data on products and display the
    results. Users must select a product then to get detailed
    information about it.
    I've noticed that with the introduction of 2.1 SOAP is also
    available to work with, but I don't exactly now what kind of
    advantages this brings versus PHP/mySQL.
    Hopefully, someone can point me into the right
    direction.

    Yes. You can do this with Flash Lite 1.1. Have Flash Lite do
    a loadVariablesNum() call and target a PHP file. Then have the
    Flash Lite movie loop until it reads a specific variable form the
    PHP file (for instance, myEOF).
    Within the PHP, echo your variables out to a name/value pair
    such as:
    variable1=this&variable2=that&myEOF=yes
    Refer to Alessandro's article on the DevNet for more
    information.
    http://www.adobe.com/devnet/devices/articles/flashlite11_rss.html

  • Flash lite connection to ms sql

    how can i read xml data types stored in my ms sql database
    into my flash lite application?

    I did something like that some years ago. 
    I think taht you can execute your SELECT statements only using OPEN FETCH and CLOSE statements.
    If the problem is the access to the DB, I remember a table (but not it's name) where every DB must be listed with relative driver.
    Sorry about the tablke name but I really do not remember.
    Hope to be helpfully anyway.

  • Flyer - Open Source Python Framework for Flash Lite Developers

    I’m pround to announce the first release of Flyer.
    Flyer was built to extend Flash Lite features with Python for S60.
    Flyer is based on the Flash Lite 2.1 integration with Python
    for S60 and contains the following features:
    - Take photos with device camera from Flash Lite
    - Take device screenshots from Flash Lite
    - Send files over a bluetooth connection from Flash Lite
    - Get the contact entries in the default device database
    Future releases (May, 2007)
    - Sound recording and playback
    - File upload to a remote server
    - GPS module to display latitude, longitude, satellite count,
    and time
    - Record device screen
    Project Home
    Get Flyer Running on your
    mobile device

    Sorry Romu, but this against the CoC and [Terms of use|http://www.sun.com/termsofuse.jsp#g2_1] here.

  • Is anyone looking to integrate more (non-Flash Lite) devices into ADC?

    Every device in ADC supports Flash Lite. But scores of
    unrepresented devices support wallpapers or video. I'm sure
    everyone who designs for the enormous mobile phone
    wallpaper market would love to streamline the workflow from
    Photoshop or Illustrator into the various supported wallpaper
    formats. I'm sure the same goes for Premier users and the peculiar
    format and frame rate concerns mobile presents.
    Wallpaper and video dimensions (as well as file types... also
    frame rates and audio codecs for video) are all over the map and
    supporting the widest possible number of handsets is critical,
    particularly for a wireless carrier like Verizon. Most
    handset/carrier combinations throughout the world will allow you to
    send a link to a 600x600 jpeg and everything works out fine. The
    wireless carrier allows their customer to surf to pretty much any
    link. The phone scales the image or video automatically. Nobody
    gets hurt. But Verizon (and some others) are particularly nasty,
    requiring an on-the-fly decision as to whether the phone supports
    the content at all based on whether the user agent profile is on
    your 'VIP list' of supported handsets.
    Is anyone interested in making a more robust device directory
    with handset data that is significant to wallpaper/ringtone/video
    content producers? Is this already being done? Is there a cheap and
    easy way to take the XML in
    WURFL and turning it into
    the format ADC reads (as outlined in Anant Parekh's excellent
    article
    here?
    dotMobi is also
    building a mobile phone
    database. That would probably be an even more reliable source
    for device capabilities than WURFL.
    If anyone knows if the above is being pursued, is possible,
    or sounds interesting, please feel free to contact me at
    TOMatGIMMEMOBILE.COM. I'd love to hear some thoughts.

    Ciao Tom,
    I am one of the contributor for Flash Lite in WURFL. I
    understand what you mean but I see it difficult to include all
    those infos into ADC, or at least a major effort.
    I agree with you that it would be a great addition to ADC
    which will be used not only by FL developers but by mobile
    developers in general.
    Also I would like to invite you to join the Mobile and Device
    User Group of Boston, www.flashmobilegroup.org
    Ciao
    Alessandro

  • Getting Big Headache, What is difference between Flash Lite 3.1 and Flash Player 7

    Hello, I am asking questions about the two similar yet different programs for Pocket PC version only:
    1) Which came first, Flash Lite 3.1 or Flash Player 7?
    2) If I have both in my Pocket PC, will there be product incompatibility?
    3) What is the difference between Flash Lite 3.1 and Flash Player 7.
    4) I have a Flash Lite 3.1 but uninstall information says "Flash Lite 3.1 for Opera Mobile", did you releaase this? Is this an illegal copy? A developer's copy?
    *I don't know exactly where I got it, but I got it from the HTC developer's forum: XDA-developers.com
    *I also use Opera mobile, a web browser for Pocket PC's.
    5) What is difference between Flash Lite 3.1 and Flash Lite 3.1 for Opera? Is the only difference is that Flash Lite Supports everything flash related, while Flash Lite Opera supports only flash in opera?
    Hi, I don't expect all answers, but I hope someone or someone from adobe support can clear some things up for me.

    The program under my "remove programs" list is specifically called "Adobe Flash Lite for Opera". The XDA forums people said along time ago that it was Flash Lite, and kept calling it Flash Lite, and not Flash Player 7.
    Now what about this:
    http://www.adobe.com/products/flashlite/version/
    The table shows the differences between FP 7 SDK, FL 2.1, and FL 3.1. And it's quite obvious that FL 3.1 has way more features than Flash Player 7. What does SDK mean? And why are you telling me FP 7 has more features?
    With this information, can you or anyone else provide any more details and clarification?

  • Flash lite and Memory

    Hi everyone,
    I am loading 4 xmls in my application whose size is not more
    than 200 KB. My application is 75 KB.
    I am loading these xmls into their respective arrays. I
    tested this application on E51 and it is installed on memory card.
    When I am manpulating the array contents and send this
    content to the server sometimes I am getting memory overflow error.
    I have kept track of the memory which I noticed at one point
    of time exceeds 2 MB and overflow error occurs.
    I tried freeing the xml objects using <xmlObject>=null
    after loading the contents into respective arrays, but still the
    memory freed is very little.
    How do I solve this issue?
    Moreover the static and dynamic heap memory for flash lite
    applications varies from device to device. Is there any way to
    extend the memory or use virtual memory sort of thing when the
    application is installed in memory card instead of phone memory
    itself.

    Hi Alex,
    I am not "from" Adobe but I have been playing with FL for a
    while and I am an ACE. For a Qualcomm specific question you may
    want to try thte qualcomm forums (
    http://brewforums.qualcomm.com/)
    but in the meantime, I can at least tell you what has been working
    for me.
    Add the code used here to you movie (but remember that adding
    this debugger will add to the memory load)::
    I hope that helped. The biggest message—test on your
    device **(but suprissingly, the numbers on my Flash (not qualcomm)
    emulator when targeting my exact device are the same as on the
    device. Once it gets below 70% the device throws memory errors.
    Also, make sure you do garbage collection (search term in FL help
    file) otherwise as your program stays on it could throw errors.
    (i.e. After 20 minutes the device could throw a memory error but
    not right away. This actually happend to me.).
    *p.s. Obviously functions require FL 2.0 and not 1.1, but we
    are in the BREW forum. To be backwards compatable to FL 1.1 you
    would need a frames based method to measure time.
    Best,

  • Problem with Flash Lite in Nokia 5800 XpressMusic-Problema con Flash Lite en Nokia 5800 XpressMusic

    I've got a problem playing videos in YouTube with my 5800. Recently I updated my version of Flash Lite to 3.1,  from that day I can't see correctly videos on YouTube, when the the indicator of the bar reaches 1/4 of the totallity of the bar, the sound and image stop, but the indicator continues playing. If i want to see completly a video I have to put the indicator in the start of the bar and wait the load again. Some idea to fix this problem?
    Sorry for my English level.
    Tengo un problema reproduciendo vídeos en YouTube con mi 5800. Hace poco actualicé la versión del Flash Lite a la 3.1 y desde entonces no puedo ver correctamente vídeos de YouTube, cuando el indicador de la barra alcanza 1/4 de la distancia total, se detienen el sonido y la imagen, pero el indicador continúa como si siguiera reproduciendo, es decir para el vídeo es como si siguiera reproduciendo pero ni el sonido ni la imagen continúan., para ver los vídeos tengo que llevar el cursor de carga al principio y esperar la carga de nuevo, es un problema realmente molesto. ¿Alguna idea para solucionarlo?

    Hi,
    I have Nokia 5800XM as well. The YouTube videos are playng fine for me. my FW is 40.0.005 with FL3.1
    Maybe you need to update your device's firmware and FL version.\
    Start Device Manager application on your 5800XM from menu or dialing *#0000#. It will check for new updates and ask you to download them. Remember that these updates are in MBs. I'd recommend update using a WiFi connection or flat-rate data plan.
    Best,
    // chall3ng3r //

  • Captivate and Flash lite 2.1 for Mobile

    Hi, I need to visualize a SWF file in my Intermec CN3 HH, but
    when I try to do that, visualization isn't good, i've installed
    Adobe flash lite 2.1 and MFlashPlayer 7 to visualize my SWF, but
    doesn't work, do I still need another program?, or what can I do?,
    I exported from Captivate 3 that SWF file compatible with Flash 7,
    do i need to make it compatible with flash lite 2.1, do i need to
    export to Flash CS3, and then export from there to flash lite 2.1?,
    thanks,

    > Hi, I need to visualize a SWF file in my Intermec CN3
    HH, but when I try
    > to do
    > that, visualization isn't good, i've installed Adobe
    flash lite 2.1 and
    > MFlashPlayer 7 to visualize my SWF, but doesn't work, do
    I still need
    > another
    > program?, or what can I do?, I exported from Captivate 3
    that SWF file
    > compatible with Flash 7, do i need to make it compatible
    with flash lite
    > 2.1,
    > do i need to export to Flash CS3, and then export from
    there to flash lite
    > 2.1?, thanks,
    See if this helps:-
    http://www.adobe.com/devnet/captivate/articles/mobile_captivate.html
    There are several things in Captivate 2 that are not viewable
    in Flash Lite.
    The above article should help you create a project file that
    can be viewed
    on your mobile devices.
    Steve
    Adobe Community Expert: Authorware, Flash Mobile and Devices
    http://www.magnoliamultimedia.com
    You need to go to MAX -
    http://adobemax2007.com/na/

  • Focus manager is not working in Flash lite 4.0

    Hi,
    I am working on development of UI components in flash lite 4.0. And i am using Focusmanger class to handle focus of all components present in the stage. I don't have any issues when the component is running in flash player 10. But i am getting some issues if i test the same component in deceive central.
    Eg: I will place 2 combobox component on a stage. Focus first combobox and click enter list items will open.
    I will try to navigate between the combo item. At the last combo item focus is going outside the component. As per the requirement focus should not go outside until user clicks enter again. Looking for valuable solution for this.

    There is no way to know what will change in the future. This
    is the solution that works now. It will probably remain in place
    for the reasonable future.

  • How to create a table in Oracle Lite database?

    Hi,
    I have installed SOA 10.1.3 on my laptop. Now I am trying to create a table in the database to do some own examples. I have problem in installing oracle database. So I am trying to create a table in Oracle Lite database which comes with SOA suite. I am not able to do it, can some body suggest me please?
    Regards
    Khaleel

    HI James,
    Thank you so much. I am able to create table and insert rows and able to select them too. However I am not able to use these tables in my BPEL process for my practice. The DB adapter is throwing some error, any idea?
    --khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to load a audio stream in flash lite 3.0

    var music:Sound = new Sound();
    music.loadSound("http://38.101.195.5:8000;Stream.mp3",true);
    I am not able to load the stream.
    Please help me to play the stream

    Hello kkc_mca.
    As I know, unlike desktop PC player, there is no progressive load capability with Flash Lite.
    May be there is one option for FL3 is to stream a mp3 from Flash media server or compatible server. You might also be able to use the FL2 video object to stream audio only 3gp or aac audio from RTSP server.
    I can not say this is proper way but hope you will be succeed.

  • Converting between tables in an Oracle Lite Database

    We have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
    Both the structures reside in the same database.
    Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
    However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
    Anyone got any better ideas?
    Cheers, Matt

    We have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
    Both the structures reside in the same database.
    Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
    However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
    Anyone got any better ideas?
    Cheers, Matt

Maybe you are looking for