I have a desktop Java Application and need to migrate it to all kinds of smartphones.
Here’s a short summary of what it does:
It can record human speach, save it to a wav file and send it to a webservice. The webservice can analize it send some metadata back to the client. So the application is accessing the microphone and the hdd of my computer and can communicate with other services.
I need to migrate this to android and iOS. I was looking for a solution, where I can develop once and compile the result to android and iOS. I found e.g. haxe or jQuery Mobile as cross-phone-development solutions.
The requirements for the cross-framework are the following:
- I need to be able to access the microphone
- I need to be able to record and store wav files on the phone
- I need to be able to tell the user when wlan is available for cheap data transfer
- I need to be able to send the files to webservices and wait for results *
My problem is that I cannot access the phone’s microphone and storage with javaScript, or can I? Do you see a way/framework that allows me to develop once and compile everywhere? Or must I learn Objective-C and Android to accomplish what I want to do?
I’m new to this phone-development thing and would be very pleased if you could point me to the right direction.
Thank you!
You can use a mobile framework such as phonegap which will allow you to access all the features (most of them) of the phone and then deploy the same code to multiple platforms, including android, iOS, windows phone and others.