Xcode iPhone app to Android app using PhoneGap - android

I already build an iPhone app in Xcode,i came to know that we can open the Xcode app in PhoneGap.
Is it possible to build Android app with some minimal changes from iPhone app code.
Or any other suggestion related to this.

PhoneGap is to create web-based mobile applications. The logic behind is that, you make mobile web page and PhoneGap packs it for Android, iOS etc.
You can not convert Native iOS App to Native Android App.

Related

Mobile app in ionic framework

I am new to ionic framework. I have SPA build in .net mvc, angularjs & web api which a large web application. But all form are simple data entry forms with input and dropdowns. I want to build simple mobile app for not all but some forms using the same web api. I have googled and found that Ionic framework can do the work, but where should I start from? Need guidance on what type of app (native,web or hybrid) will be best for my purpose. I am looking for these few features.
Should be available for android, iOS and windows download.
Should have push notification.
Update the app without uninstalling.
Performance
Basically ionic use basic html components + ionic components + angularjs and that can be installed across iOS, Android, and Windows mobiles.
Also push notification also supported in ionic
updates are available without uninstall
and it gaves best performance for a small and basic functionality
now a days so many application build with hybrid platform like reactjs and ionic.
For your business purpose you can go with it definitely as it is a simple form submission and saves your time.
You can refer that links to see apps build with ionic framework:
http://showcase.ionicframework.com/apps/top

Have difficulty understanding phonegap android vs webview

I have a problem understanding how phonegap works and i cannot find the answer in docs.
I installed phonegap on windows and phone device and played around with codes in www/* folder.
However, when I use phonegap-build to make my android app it extracted the files from platforms/browser but not the www/*
I know it sounds stupid but should i make different apps for different devices in different folders?, i know this cannot be true. so my question is:
If I make an app inside www/index.html how can I convert them to android .apk app?
Android WebView used to display web pages in native applications. But, Phonegap is a tool which is used to develop hybrid applications using html and javascript. Don't confuse with Android webview and phonegap. Both used for different purpose. You have to use separate folder for each projects.
Converting Your Phonegap App to an Android App w/ PhoneGap
Difference between a native application and a cross-platform mobile application

Cross platform mobile app Editor

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

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.

Integrating google analytics without using xcode for ios and Android?

I am developing a mobile app keeping in mind that I will be targeting both the iOS and Android platforms. I now wish to integrate Google Analytics into my app.
I have come across a lot of stuff that suggests using xcode and integrating the GA libraries into it(for iOS). I know it can be done this way but I don't have the Mac machine to run my app on.
My question is if there exists any way by which I can integrate GA into my mobile app without using XCode.
So far, I have used the phonegap plugin into my App and I am developing and testing the app simultaneously on safari before making any deployments on server and finally testing my app on an iphone.
Kind Regards,
Ronan
I have figured it out. I have now developed my application so that this can be accessed like any other web application(website) instead of using it as a downloadable app, therefore, I am now using the standard async GA script which is now working perfectly for me.

Categories

Resources