What is the best way to create cross-platform mobile apps? - mobile

We're trying to put together a couple of simple apps that we would like to release on the iPhone and Android, and also on the desktop (Windows and Mac), if possible. The prototype is being built using HTML & Javascript, and it would be ideal to use it as a base to create native apps for multiple platforms.

If you're using html and javascript, PhoneGap is probably your best bet for iPhone and Android.

An alternative would be jquery mobile:
http://jquerymobile.com/

Related

How can I incorporate a C project in Xamarin Forms?

I have a project, written in C which I want to use in Xamarin Forms. What is the best way to use this code? Generate libraries for each platform?
What I'd prefer is to have one wrapper that I can use in shared code that doesn't have to be implemented for each platform.
Unfortunately, the way binding works is different for Android and iOS, so you would need to generate libraries for each platform.
You can read more about how that is done here for iOS and here for Android. For iOS, you can consider using Objective Sharpie which will do the most of the work for you.
Afterwards, you can simply use DependecyService to access the native platform features.

Speech recognition in a hybrid mobile app?

I'm looking to build a cross platform app, ideally using an HTML5 framework such as Trigger.io. However, I'm wondering what would be the best way to implement speech recognition. According to my research most HTML5 speech recognition systems only work on Chrome so that's not really an option. Is there a way to build this using native modules? If not on Trigger.io, is this supported in other frameworks?
Have you tried PhoneGap.It has certain native capabilities exposed through there api and for the things which are not there you can always code in native and use as plugin with phone gap.

Platform Independent Mobile Development SDK for a small task

I want to create an mobile phone app which can run on more than one mobile OS. with a little bit of browsing it became clear that I can use SDK's like Phonegap or Appcelerator so that my app would run on any mobile OS. my problem is that i dont know which SDK should I use ? All that i require from my app is that
1. It should run on the mobile 24x7.
2. It should have access to the GPS functionality of the Mobile phone.
3. It should send a data string to a specified server.
Should I work with Phonegap or Appcelerator or are their any other better SDK's for this tiny task ?
Thank you
It's better to go with Appcelerator titanium because it gives native look to your application..., as the application would be implemented in javascript.
please go through this link
http://docs.appcelerator.com/titanium/2.1/index.html
Phonegap works on 7 mobile platforms vs 2 mobile platforms for Appcelerator
I would say, from my own experience, in order to create a multi-platform application with a native look/feel and native performance it is best to go with Appcelerator Titanium.
It is very easy to have an application run on both iOS and Android with minimal change of code.
Either Titanium (JavaScript) or the combination of PhoneGap and Sencha Touch (HTML/CSS/JavaScript) will suit your purposes, however, as stated above, I advise using Titanium for the native feel.

Best program for making app for mobile (android, iphone and others)

i try for a few time now to make app for mobiles with appmobi XDK phoneGap XDK from appmobi, sencha and appcelerator but except iphone where the app works ok in android mobiles doesn't work well. Any other program except these or any tricks for make it work better in android and in others?
any help it will be very important
thanks
Actually i want to avoid that.I want to build for all mobiles together in the same time.That's why i used that programs. I don't known a lot of thinks and i am looking for a simple way to do that. I want a way which i can read about it on internet and i can find thinks because except jquery mobile i can't find for any other library. So did anyone known how i can find the best way that's my question.
thanks for your time and your answer.
Not sure why you're asking for a "program" and then referring to some technologies/tools (Appcelerator, PhoneGap, etc).
Anyways, I've been developing cross-platform mobile applications in the last few months using Appcelerator for almost everything. However, they technology you'll choose also depends on your needs.
There are three kinds of mobile development these days:
Native Mobile Development: Using Objective-C (language) + X-Code for iOS and Java (language) + Android SDK for Android, etc. You can always choose something like Appcelerator if you're targeting multiple platforms, as you mentioned earlier. Good for: Performance, Native capabilities (using the camera, for example). Recommended Tools: Titanium Appcelerator.
Mobile Web Development: If you have only web skills (HTML/CSS/JavaScript) you can always make your web application mobile-compatible, using tools like jQuery Mobile or Sencha Touch. Recommended Tools: jQuery Mobile, Sencha Touch.
Hybrid Mobile Development: Using web technologies for your application (you'll be loading a web page), but using a native application (a web wrapper) for making the application Native (and distributable) across the Play Market or AppStore. Recommended Tools: PhoneGap, Trigger.io, or you can even use Titanium Appcelerator and use a Web View Component
How you should take a decision?
Do you need native capabilities (use the camera, accelerometer, etc)? If you, you need to go either native or hybrid.
How many platforms do you plan to support? If it's only Android and iOS, then you can use either Appcelerator or make it native. If you're planning to support more platforms PhoneGap or a Web Application sounds more reliable.
Do you plan to deliver your application through the AppStore/Play Market? Then you need to make it native/hybrid.
Note/Recommendation: By reading your question I noticed that you're really confused on mobile and programming stuff. Before going so far, you should take some time in reading more about overall development.
Perhaps not exactly a program but what can be quite convinient(based on your application needs) is to make it a webapplication. Then you can use libraries such as Jquery mobile to adapt the website to the mobile platform as well as incorporate technologies only available on smartphones, such as swipe, orientationchange etc. Then you can make a simple Webviewer for androind and iphone which can be made seperately.
You can look at Kendo UI
kendo UI mobile have support for : iOS 3.0+, Android 2.0+ and BlackBerry touchscreen devices.
What i really liked about it is native-like UI experiences for end users automatically on same code base for different OS.
You can check demo , change OS using OS SIMULATOR MODE
I am not associated with Kendo.

is there any common platform for all mobile applications?

i want to know if there is any tool or a platform for developing applications that could be run on all sort of mobiles.
that is, i want to develop an application on a platfrom which enables me to use it in Windows Mobile, Iphone, Android, Symbian OS phones .....etc
(mostly for iphone and android other are optional)
please let me know..
Yes there are a couple of tools for to do that. Try to "google" u will get all the info u need.
try searching for Appcelarotor.
There are frameworks like Phonegap.
For native development,there is a framework base on c++:
https://github.com/9miao/CrossApp
or you would like some web-like/based framework:
https://github.com/mcasimir/mobile-angular-ui
further,you could google "react.js mobile"
Try Codename One. It's quite new but has a lot of slick features and it allows you to use one codebase for IOS, Android, Blackberry, Windows, Web and even Javascript.

Resources