How to call local html file using actionscript in Android AIR app - android

I have made a AIR apk using action-script in Flash builder and the same i wanted to run in android which is running perfectly. but I am not able to open local html file that i have put in sdcard. so i want to open an local HTML file using an AIR app. Please suggest!

Related

How web crawler works in Android written in python3?

web-crawler written in python3, webdriver.Firefox() or webdriver.Chrome(Path) allows to open the browser and extract something. But, what if this crawler (written in python) exported to Android either using Kivy or using some other way Will .apk file work? Will the browser will open there too? In .apk file, we cannot not allow to open the browser. Then how the web-crawler will work? Any other solution except headless browsing that can work in android application ?

how to display pdf files on mobile by using MobileFirst

How can we display PDF Files on BB/iOS/Android and Windows phone by using MobileFirst (MobileFirst Studio) ? These PDF actually exists in DB as binary files.
Is there any API given by IBM?
MobileFirst does not (and should not) provide API to display a PDF file.
I am not sure this will possible in BlackBerry, but you can google for BlackBerry API or Cordova API to display it.
As for Windows Phone it seems that if you will provide a direct URL to the PDF file the default PDF reader should be able to display it, according to: Opening a PDF file in Windows Phone - so that means you can use the window.open JS API to open the URL to the PDF file.

Opening Native File Browser in android using the cordova

I am using the cordova 3.4.0 and trying to upload a file, using the file transfer and file api plugins given by cordova, but i am not able to open the file browser window, in order to select the file to upload. How do i open the file browser window in android using the corodva
I used an Input tag in my html, like so:
<input type='file' id='fileInput'>
And then when it is clicked on the Android device, I get a pop-up asking me which file browser I want to use. My Galaxy S3 gives me seven choices (one of which is a downloaded app), and the Panasonic ToughPad I'm developing for gives me three (one of which is the same downloaded app I have on the phone).
I do not know if it is possible to get it to automatically select one in particular - for me, choosing a file manually is supposed to be a temporary need, as eventually the app is supposed to load specific files automatically.

Phonegap/Cordova how to open a native file open dialog for android?

I write an android application based on Cordova and JQuery Mobile. I have to open a picture from SD card of the device. The user has to pick it.
Is there a way to use a file open dialog in android from HTML based applications? The application is a port from blackberry (WebWorks). On this system I had to write my own extension. I don't think Cordova brings us this fileopendialog. But maybe there is a solution to create a plugin like in webworks.
You can select a Image from the image library:
http://docs.phonegap.com/en/2.0.0/cordova_camera_camera.md.html#camera.getPicture
This works directly with android. If it is a file from Filesystem:
http://docs.phonegap.com/en/2.0.0/cordova_file_file.md.html#File
But this will not create a Fileseletion Dialog. This hast to be implemented within the javascript.

can Android Adobe Air download and run SWF files with code?

Can Android Adobe Air download SWF files with code?
In my flash Web application I can download code for some sub game and run it dynamically.
Now I need to write application for Android with Adobe AIR and leave the same functionality as in Web version, so can I download swf file from internet and then start it via Adobe AIR??
Thanx!
It is possible to download and run SWF files, but with some restriction:
http://help.adobe.com/en_US/air/security/WS485a42d56cd196415cc29732124ef23decb-7ffa.html
We have no access to file system.
There can be two solutions:
http://blogs.adobe.com/emalasky/2008/04/remote_plugins.html
1) Use Sandbox Brigde API (to communicate between separate sandboxes)
2) Sign modules and import it directly to application sandbox
Additional resource:
http://www.hufkens.net/2008/09/loading-remote-swf-files-in-air/

Categories

Resources