The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 2 of 2

Thread: Packing php files in apk file export

  1. #1
    55
    posts
    Registered User

    Robot1 Packing php files in apk file export

    Hi I have successfully been able to package an android app with xml files in flash cc but I'm having trouble getting the php files to work, is there a successful way to do this, do php and javascript files work at all within the apk packaging?

    Thanks

  2. #2
    You might be able to get PHP files to run in your AIR app, but it would be exceedingly complicated. There's this project, PHP for Android, and perhaps you package that into a binary that you include with your APK, and address in Flash via a native extension.

    JavaScript is easier, since I assume that you can still use some sort of embedded WebKit in the AIR for Android (via an HTMLLoader).

    It's a bit unusual to try to adapt a Flash+PHP client-server model app onto a phone, to be honest. You'll likely be forging your own path if you want to avoid rewriting the server logic in AS3.
    “Who were you, Krilnon, and how did you know so much about AS4?”
    The historian sighed as she gazed up at the sky and saw… not stars. A story.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012