I'm developping an HTML5 cross-platform game. Now I'm using Phonegap with the Android sdk. But I want this game to work on iOS. Should I have a Mac and repeat all the work on it, or the game will be working on iOS without all this procedure?
PhoneGap doesn't produce one app that can run on different platforms, instead it is used to create an app per platform (each app contains the same version of your HTML5 code). Thus you will have to create an iOS specific version of your app using PhoneGap. This is very quick to do, however you will need a Mac and XCode in order to build the app.
Apple apps also need to be signed with certificates, so you will need to sign up as an iOS developer with the Apple web site and create the necessary certificates.
You could use this site to build your application for all plateforms: https://build.phonegap.com/. For generating your iOS application you should have a certofication licence.
Good luck!
Related
Please, am a web developer. I just built a web app for a school to manage their results and fees.
Now, i intend to build an app on android and ios so its 'easier' for both staff and students to get notifications and interact better.
Is JQuery mobile the asnwer?
Thanks for your reply
jQuery Mobile doesn't create an application for Android nor for iOS, it only makes websites look better on said platforms.
To create a real, native, application for Android you should use Android Studio. To do the same for iOS you need XCode and MAC OS X.
But, if you prefer to write websites, Apache Cordova does what you need. Allows you to create apps for any platform using your usual HTML, CSS and Javascript.
I'll drop the link here so you can check it out.
https://cordova.apache.org/
Another approach is creating a basic Android and iOS app that simply opens a web page (your website), but it is most of the time lacking in performance. If this last approach interests you, just look up "WebView" for Android, "UIWebView" for iOS (Obviously you'll need Android Studio and XCode)
EDIT
This is an old answer, now a ton of different technologies exist to build multiplatform applications, without even losing out on performance (for example, see react-native)
If you have already built the app using JQuery mobile and want to make it into an app I recommend looking at Cordova (PhoneGap) https://cordova.apache.org/
For notifications etc I found https://www.pushwoosh.com/ to have the best integration
Currently I am planning to use Hybrid App (ionic framework) to develop an initial version of our app. The reason is I am planning to start a startup and currently not in a position to afford individual developer for various platforms (especially for iOS, the developer rate is too costly).
So I decided to use Hybrid App using ionic, and our requirements fits well for hybrid app at-least for initial few releases. But at later point planning to migrate to native Android and iOS when I earn enough funding. Because later versions of app may have features like payment gateway integration, chat features etc.
So my question is, is it possible to release initial version of app using hybrid and at later updates push native version? If yes can someone give me basic idea of how is this achieved so I can take it forward? I searched quite in Google but didn't find enough information regarding same.
Publishing hybrid app on platform specific stores are same process as publishing native app.
You can develop and build application using any cross platform mobile application development tool (i.e. ionic framework or any other) and later easily move to native development tool. You can also develop application on hybrid tool(ionic framework) and build it on native development tool(Xcode or Android Studio) and proceed further for publishing on store.
In Android, package name(application ID) should be same for different versions of app binary. Also signing certificate remain same during version change.
In iOS, Bundle ID must be same for different versions/builds of app binary. Apart from this, provisional profiles and certificates also need to be same.
It is possible unless the binary have the same bundle identifier.
You may first release an app with Ionic framework and later push a native version of it. One thing is that the two binary have to have same bundle identifier.
You can surely do by keeping package name same at google playstore or say bundle identifier at App store. It will replace your old apk or ipa file with code using native APIs at later point in time.
I am planning to develop a cross platform mobile app.
My app has to deal with camera, organizing pics.. I am planning to use PhoneGap for building the app. I need to select a user friendly IDE for developing my app. There are so many Editors in the market.
This is my first app and I am very confused which would be a best one to use. I am developing my app on Mac. I need a simple, user-friendly Editor.
Can someone please suggest what pros and cons do I have using different Editors and a better one to use?
I am currently using Monaca for developing mobile apps using PhoneGap. It includes an IDE for developing by simply using web browser. The good thing is that you write your code just using HTML5 and Javascript and deploy it to the platform such iOS, Android and Windows 8.
There is a guide here for create a simple app with camera using PhoneGap and JQuery mobile. It is very simple to do. You can have a try.
For Cordova/PhoneGap development right on iOS devices we developed GapCoder IDE.
What is the difference between installing JQuery Mobile application on a device using Google Play Store and using PhoneGap?
Also, is there other tools we can use to install Jquery application on devices besides PhoneGap?
Thank you!!!!
You don't install an application using PhoneGap. Phonegap is a framework that lets you develop apps using html 5/javascript. After you develop your app you still have to publish it on Google Play if you want users to install it. Jquery Mobile is also a framework, designed to develop webpages optimized for mobile screens.
There is a good post here Explaining the differences between phonegap and jquery mobile.
There are several other mobile web frameworks such as Titanium, sencha, kendo ui, and I am sure you can find others if you run a quick search for it.
You need to read a little about them and understand the differences and advantages between them. Googling "Phonegap vs Titanium" for example will give you a good start point to understand the difference between them.
PhoneGap is just a cross-platform framework to develop mobile applications. You can use HTML, CSS, JS (incl. jQuery and jQuery Mobile) to develop in PhoneGap. In order to test applications, you can transfer them to your device using tools provided by PhoneGap and the Android SDK.
But in order to publish your application and make it available for others in the Google Play Store, you have to create a developer account ($25 at the time of writing this) and upload your application package (APK) there.
PhoneGap Guide (read "deploy to device")
Android Guide "Using hardware devices"
Android Guide "Get started with publishing"
There are also other cross-platform frameworks available such as "Titanium". Keep in mind that jQuery Mobile is only a Javascript (jQuery) extension to help building user interfaces that resemble conventional app behavior and look. It is not a complete framework to build your application.
I am wanting to build a cross-platform mobile app for iOS and android devices. I have never tried making a mobile app before and was thinking of using Corona SDK. I went to the Corona site to download the SDK and I have a few questions. First, it says that "Due to Apple's restrictions, you cannot build for iOS on Windows". Does this mean I can only build an Android app or does it mean I have to publish it to the app store using an Apple computer? Seeing that Corona is cross platform I think it would be stupid if you had to use an Apple computer to get the cross-platform benefit of Corona. Second, do I have to subscribe to Corona to be able to put my app on the app store or can I do this for free with the free version of the Corona SDK. Any help would be appreciated.
Thanks.
See this page about distribution. Yes, you need a mac to use iOS because of Apple's restrictions.