How do I connect ActionScript 3 code to a Windows Service? - actionscript-3

I have an AS3 application, and a Windows Service running in the local network, how can I connect the AS3 App to the Windows Service running in the other PC?
If the question is pretty vague it's because I don't have a clue on how/what the possibilities are and I'd like to know what should I search/look for, any hints are appreciated.
If this isn't possible, what would be a good course of action?

I would assume you are talking about AIR desktop development, for Flash there is no such possibility. You should have a look at AIR native extention, which supports desktop environment. Basically, your app talks to the native extension, which then talks to OS.
http://help.adobe.com/en_US/air/build/WS597e5dadb9cc1e0253f7d2fc1311b491071-8000.html

Related

ZeroMQ on Windows Phone 8.1?

I've been developing an app for Windows Phone 8.1 and i wanted to use ZeroMQ for the communication with the server. I've used ZMQ before and it has always worked after some trying but i just coulnd't get it to work with WP8.1. I already tried to use NetMQ but i get the error "the package does not contain any assembly references or content files that are compatible with that framework" when trying to install it via NuGet, the same Problem with clrzmq4 and Castle.ZMQ Is there any possibility out there to get ZeroMQ running on WP8.1? I'm thankful for your help.
According to this thread, ZeroMQ is not compatible with Windows Phone, since this doesn't support the .NET sockets library.
I guess you'll have to use an alternative or build your own then...

Building Intel XDK with SQLite

This might be a often repeated question. I am a newcomer to the world of mobile and programming in general. I am trying to build an app that uses the native database capabilities within android (sqlite) with Intel XDK (HTML5) as the rendering framework. I don't want it to a web based app, but a complete on the device app.
Can i code server side on XDK (server side code and database connections)
If not what should be my way of creating the server side component - build it seperately and somehow package it?
thanks in advance!
Yes, As per my knowledge Intel XDK is just your front end, to make a communication with your Master DB (MySQL, MsSQL, etc..) you need to have server side language. You can make use of PHP and it is a light weight server side scripting language, you can run it on XAMPP server.
Here is useful link.
To make connection with local (device) DB you don't need server side language and server also. Intel XDK itself providing feature to build the app for android (.apk) and IOS (.ipa) format.
So far I gone through and got, Intel XDK is providing list of four local database connectivity in client end. Which are
Local Storage
Web SQL Storage
Session Storage
Indexed DB
For more detail refer this link.
I'm not sure about Intel XDK with SQLite.
Yes,
You can work with SQLite in phone gap application.Please use the link to the Intel XDK third party plugin. Before that please download the project dependency jar file from GitHub and create the directory with cordova plugin SQLite name and place the file in it, include the jar file. Then try to add the plugin using URL.By this you can easily work with the SQLite in phone gap.
Also you can work with the server-side storage using Phone gap application. please see the link for sample.
Hope all helpful

Doubts on Phonegap.js, Phonegap Build and Intel XDK

I am very new to mobile application development. Now I am into a mobile application project which should work on IOS, Android, BB and WP.
After googling to learn what can I do on this, I felt Phonegap fulfils my requirement. I have downloaded and installed phonegap on eclipse to start develop for Android.
I have downloaded, SDK, AVD, eclipse etc to get started with Phonegap for Android.I followed the procedures in the Getting Started Guide.
For User Interface, I took Intel App Framework as my tool of choice.
Everything goes fine with me, other than my doubts in Cross Platform mobile application development.
1) I have read about PhoneGap build, it just requires html,css and js file to wrap up an application for different platforms. So downloading and linking phonegap.js in an the application is not required unless I need to access the device's native function ?
And just create a responsive HTML5 application and build with PhoneGap Build is all I have to do ?
2) If I can just do like above, then why I should install eclipse and android SDK to create for android when I can just make HTML5 application and build with phonegap build and put it on google play.
3) I have came across Intel XDK and they have similar service like phonegap, if I use Intel XDK then I don't have to use any assets of phonegap ?
Please answer these question as these things are confusing me a lot.
As per my knowledge these are the answers,
1) I have read about PhoneGap build, it just requires html,css and js
file to wrap up an application for different platforms. So downloading
and linking phonegap.js in an the application is not required unless I
need to access the device's native function ?
Yes, until your application need to access devices's native function or any inbuilt or custom plugins, no need of phonegap.js.
And just create a responsive HTML5 application and build with PhoneGap
Build is all I have to do ?
2) If I can just do like above, then why I should install eclipse and
android SDK to create for android when I can just make HTML5
application and build with phonegap build and put it on google play.
Phonegap applications need to be developed as native applications using web technologies,
ex: IOS apps need to developed on MAC (using IOS SDK) etc.
3) I have came across Intel XDK and they have similar service like
phonegap, if I use Intel XDK then I don't have to use any assets of
phonegap ?
Intel XDK using cloud based development where your html,css etc are uploaded into the Intel server and the application will build their and give your the final build. In this case you no need of MAC for IOS application development.
In my experience developing with Phonegap and its Build service I generally use a plain web IDE which is based on eclipse called Aptana. It's primary use is for just HTML web development. I never install iOS or Android SDK's since the whole reason you use Phonegap's online build service is so you can be free from having to set up multiple development environments.
All my project specifications are configured in the config.xml. I don't include a copy of Phonegap's libraries since they are bundled at the time of compilation in via Phonegap's online build service.
For general testing and debugging I use either the Chrome debug inspector or Chrome and the Ripple emulator. When I've finished testing and need to compile the binaries I send my code up to Phonegap's build service using maven and Chris Price's Phonegap build maven plugin.
This allows me to :
Unlock the signing keys (maven-ant-plugin and an http get call)
Upload my project for compilation to Phonegap's Build service
Sign my project with a specified signing key
Download a compiled binary for a specified platform
All from one single command. When I develop on my Mac Mini I installed a ruby script which will deploy the downloaded binary straight to my iOS device as final step.
I came up with this solution with the idea that I wanted to be able to checkout my code and be able to compile it online using only maven on any machine. This achieves that.
To answer #2. For phonegap you only need to download eclipse and android SDK or Xcode(iOS) if you are NOT using phone gap build. If you use Phonegap Build (included with Photoshop subscription) you can build with their servers and download the app straight to the device through the phonegap site. Its real simple for Android, a bit harder for iOS.
My understanding is that you have to subscribe to iOS Developer Program (US$99pa) to generate an iOS-installable app (even just for testing it), and publishing/distribution is also a bit more complicated than e.g. Android as well. That is completely regardless of what tool you use to build it, you need an Apple key code to install it. Of course, you can always just build and publish it as a a web application that be viewed in any browser. Then you don't need the iOS developer sub.

Client Machine requirements to run windows8-style app?

I used Windows8 Release Preview and Visual Studio2012 RC to develop my windows8-style application, And I want to run my application on another machine(client).They have windows8 Release Preview on their machine . So here my question are:
Are they need to install any other software like Visual Studio2012
and .NetFramework4.5 on their machine or not?
Can anyone give me some helpful information related to client's
machine requirements to run metro app successfully?
Thank you.
Are they need to install any other software like Visual Studio2012 and .NetFramework4.5 on their machine or not?
You can test it with PowerShell, it may require .net framework to install and for detailed information follow the links below.
Refer these:
How to deploy a Metro App to the Desktop?
Will Metro-style applications be able to be installed outside the market frame?
Deploying Metro style apps to non-development systems
Sharing an app package locally (Metro style apps)
Deploying Windows Metro style apps from Visual Studio
Can anyone give me some helpful information related to client's machine requirements to run metro app successfully?
Check the Edit Section of the answer and the reference video in the another answer for your second query.
Supporting a Metro style Device App
Hope this help you explore about the metro app deployment.
You can also configure your machines to do remote debugging if you want. This is useful if your development machine is a traditional laptop or desktop but you want to debug your app running on a slate that has an accelerometer, GPS, multi touch, etc.
http://msdn.microsoft.com/en-us/library/bt727f1t.aspx has information on how to get that set up.

Adobe AIR app installer offline

I'm making a software using AIR, and I got the installer installer.exe, but when I'm going to install in the target pcs, It tells me "This application requires a version of adobe air which cannot be found .....", but I need that my installer setup everything that I need to run my app in these pcs that have no Internet connection.
I'll appreciate any help !!
Greetings
Just download the latest AIR installer on a PC with an internet connection, and bring that along with your AIR app installer. You can get it from http://get.adobe.com/air/
From the research I've been doing, you can't legally include the runtime installer with your app unless you join adobe's runtime distribution license. If you look at the Adobe Runtime Distribution FAQ that seems pretty close to what you are trying to do.