I have an Air application that runs an embedded web flex application (This is done in that way because remoteObject calling is faster than webService calling). The problem is that I need to have a sharedObject between air and web embedded application.
Is this possible in flex?
SharedObjects of AIR applications are stored in a different directory than SharedObjects of web applications. Also, every AIR application and web domain has its own directory for SharedObjects. So you can't read SharedObjects from other apps directly.
You could try to read and parse the .sol files of your web application from your AIR app using the file system API but this won't be trivial.
Related
I have an asp.net web application and a universal windows platform application running on my laptop with a web cam.
I want to access the web cam from my asp.net web application.
If you want to access access camera from a web hosted UWP app, you can refer to Create your Hosted Web App. And you probably need to enable the WebCam and MicroPhone capabilities in UWP App's manifest file in some scenario.
If you want to make your web application can directly call the camera device without a UWP app, you can use some jQuery webcam plugin. For example, you can try this one. But this can not be used from your UWP app.
In this case, if you want to access web cam both from hosted uwp app and your web app, you need to implement two procedures in your web app, one for hosted UWP app using WinRT API to call the camera, the other one for web app only.
We've a stand alone application developed using JavaFX technology. Now we have a requirement to make it accessible using browser from remote machines(basically a web-app). I'm just wondering if there is any way to convert the said JavaFX application to war file so that it can be deployed on the web server. Any pointers would be appreciated.
A JavaFX based Application is an application that is running on a desktop. It's no server application that needs an application container or something. Therefore you should not build a WAR file.
By default you can't run JavaFX applications in a browser. You could use applet technology or webstart but this is a workflow that will create problems - wrong JRE version on client, etc. (Java Applets - is it a wrong choice today?).
The best way to build and share a JavaFX application is by creating an executable JAR or a native application / bundle (http://code.makery.ch/library/javafx-8-tutorial/part7/).
There are some prototypes that can be used to render JavaFX in the browser (by using HTML5 Canvas) but I would not use
I know that we can make application using Adobe air that will run on mobile, desktop and web environments. Can we deploy same application on facebook? like we do with other flash applications.
Thanks
I know that we can make application
using Adobe air that will run on
mobile, desktop and web environments.
That is not accurate. Adobe AIR applications will not run in a web (AKA Browser) based environment. You can reuse the code you use to create an Adobe AIR application--often very easily--to also create a browser based application. But, that is not the same as running an Adobe AIR Application in a web environment.
Can we deploy same application on
facebook? like we do with other flash
applications.
Well, I do not expect you'd be able to deploy an AIR based application to facebook; as facebook is a web site. But, yes you can deploy a Flash Application (SWF) to Facebook.
I have written and deployed an ASP.NET application that is pretty complex. It uses XSL transformations to create web forms for a large variety of data objects. The data comes from the database as XML via a web service.
Now, I need to create a Windows desktop application that will provide a small subset of the web applications functionality to a user who may not have access to the web (working in remote areas). I will provide the data syncing using the MS Sync Framework. And I will have the desktop use a local data store.
I would like to use the same xslt files in the desktop app that I use in the web app for the form creation so that, if changes are made, the desktop app can update itself when it connects and syncs its data.
But, I am wondering how to replicate the asp.net codebehind logic of my web app in the windows forms. If I use a browser control to render the XSLTransformation result, then how could I handle click events, etc, in the form? Also, can I launch other windows as "dialog boxes" from my windows forms (I do this in my web app using RadControls functionality)?
Thanks for any advice you can give.
I'm making an application (web based) using flex and i have a requirment to access the SQLite database on the local system. There is no server running and i've decided to give them the link to the html file and see how that works out.
So in the root directory, there will be all required swf, html files, etc and a .db file. Can i access that database thro the flex web application ?
Please help.
No. Flex can access an SQLite database via the Air SDK, but you are out of luck when running from the browser sandbox/SDK.
If you don't like to use AIR SDK, You can do that by Java applet. You can make a collection of needed JavaScript functions on the web page to be called by Flex and their will call a Java applets functions to deal with SQLite instead of using HTTP services.