Can we make facebook application using Adobe Air - apache-flex

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.

Related

cross-compile ASP.NET website to desktop?

Is there a way to cross-compile or port an ASP.NET based webpage to a native Windows GUI?
I am developing a web app, with an ASP.NET webservice doing much of the grunt work, and an ASP.NET webpage as the GUI. I would like to also offer an "offline" version of the app that doesn't require teaching random people how to manage IIS. Some of my target users will not have internet access consistently when they want to use the app; also, I like not having to rely on an active web connection myself because I'm an old fogey and this web 2.0 stuff is just a fad, right?
The core of the app logic is a library that is disassociated from everything else - the service just provides an API (which I want publicly available for others to use), and that I use for my own app. I could go ahead and design a new GUI in WPF or WinForms, import my libraries and there you go, but I'm lazy enough that I'm curious if there's an automated solution. Or even a semi-automated solution.
If I can target not-Windows as well, that would be nice. I already have a console interface that I used in development of the core library that directly accesses them, which I'm still testing but should relatively easy to make work in WINE but if I can offer more support for offline use to non-Windows users I'd feel better.
You could run that web application on .NET Core in a self-hosted way. That way you get the full IIS feature set and there is no need for the user to configure anything.
You can then use a WebBrowser control to show the application as a GUI app, or just open the web site in the users installed browser.
.NET Core runs on non-Windows as well.

Add Platform in Application Registration Portal

I am trying to register a mobile app to the Application Registration Portal but whenever I click the App Platform I get the option of 1. Web 2. Native Application 3. Web API. But I do not see the option for mobile app.
But when I try the native app, two platforms are added. one for Web and the other for Native Application. Why the platform for Web is added.
I am very new to this development.
Because of this whenever I am running the Xamarin.Forms app on iPhone simulator, I am getting the message that "Safari cannot open the page because the address is invalid".
Native application is for both the PC's application and the mobile application.
When you choose native application, web application is added because you may need to use a web server as a back-end service for your native app.
I don't think this issue related to your problem with iPhone and Safari.

Host web cam in uwp app over asp.net website

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.

SharedObject between Air and Flex Web application

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.

which is better for desktop application?

i'm new to creating desktop applications. I've a working site in php with mysql support. I want to convert this site into a desktop application. Is Adobe AIR or Adobe Flex better?
can i use php as such in both AIR and Flex? or should i convert them to xml or something which it uses?
AIR is Flex on the desktop... So... I suppose you mean whether you can use AIR with PHP? AIR/Flex should be able to handle whatever communication protocol you're using on the server.
Saying 'should i convert them to xml or something' is a bit nebulous.
I guess what you really asking is: Should I rewrite my application entirely in Adobe technologies or Can I/Should I integrate it with my existing PHP code.
I would recommend you expose the existing PHP functionality as RESTful web services and redo the user interface in Adobe AIR. That way you can leverage the existing site to make the desktop application. There is a ton of information of building applications like this, just research REST, SOA (service oriented architecture), SAAS (Software as a Service).
Adobe AIR/Flex is fine, especially if you want it to work on multiple operating systems, but the Application won't necessary have the looking and feel of its host desktop environment.
Adobe AIR is a runtime that adds to the capabilities of Adobe Flash Player to allow the creation of desktop applications.
Adobe Flex is a framework to build rich user interfaces. Flex applications are supported both in Flash Player and AIR.
This cannot be a question of one or the other. Flex can be used together with AIR. If you want a desktop app that allows you to use Adobe's Flash Platform technologies, definitely use AIR. If you want a set of pre-built UI controls to use in that AIR app, use Flex too!
You can communicate with PHP on your server in both Flash Player and AIR. PHP cannot be run directly in AIR. If you want the application to be entirely self-contained with no server, then you can't use PHP.

Resources