Developing cross platform app - android

I have developed a phonegap app (android) using Eclipse IDE. Is there any way by which I can use same HTML, CSS and Js to develop IOS app? I do not have a Mac system to do that. Do I need Mac System or can it be done on windows? Do I need to have developer account? Can It be done without having Developer account? How can I create .ipa file without using Mac system?

you can put your code on this it will generate IPA for you
https://build.phonegap.com/

Do I need Mac System or can it be done on windows?
Yes, you will need a Mac computer in order to compile it for iOS. You might want to use Xcode for the compilation purpose or test/deploy the application on device. You also need a Mac to configure certificates and provising profiles. Moreover, iOS Simulator does not run on Windows. Hence, Mac is a must one even if you develop app using web technologies.
Do I need to have developer account? Can It be done without having Developer account?
You won't need to have a developer account for writing applications for iOS. However, you will certainly need to have one when you want to test the app on your device. You will not be able to test your application on a device unless you have a developer account.
How can I create .ipa file without using Mac system?
Without a Mac system, this will not be possible. But, you might want to see more info on PhoneGap Build from this link.

I just find the following in which he can explain setting up building iOS apps without a Mac
1)http://community.phonegap.com/nitobi/topics/detailed_guide_for_setting_up_building_ios_apps_without_a_mac
2)http://www.iandevlin.com/blog/2012/11/phonegap/building-an-ios-signing-key-for-phonegap-in-windows

Related

Writing own Android Apps for personal use?

I am interested in coding up some interactive apps for personal use on my Samsung Galaxy tab running the Android OS. Ideally I would like to write a program in C++/Haskell/Python on my desktop, test them out with a simulator in an IDE such as Eclipse, and then transfer the compiled
executable onto my Tablet to be used like any normal Android app.
Can this be done? All sites I have come across so far are about writing android apps on your PC and then publishing them to Google Play
after meeting some quality criteria as mentioned here
The closest question on SO I could find is this one but it does not seem to answer the question.
If so, can someone tell me the workflow for doing this? In particular to which folder must I transfer my executable to?
Note: I will be coding these apps on Ubuntu 14.04 in the languages mentioned above.
You can build and run your own apps without uploading to anywhere. Android allows apps to be installed from the computer to device using the adb executable (Android Development Bridge). You can develop the app and push it directly to your device.
If your interested in python android you might want to checkout: https://kivy.org/
For more information on building apps and installing locally checkout here: http://developer.android.com/training/index.html

Can I test/develop an App without having Xcode?

I'm really excited to see React Native available but I don't have an Apple device of any kind around and I am used to coding on Debian-based systems.
Is it possible to test the app locally and then once I get a Mac to do the run the build process?
Also, anyone knows when the Android version will be available?
It's not officially supported but you should be able to. The app delegate has a path that points to a JS server:react-native/Examples/SampleApp/iOS/AppDelegate.m.
If you point that URL to your Debian machine before building to your phone, it should work. (Of course, the JS should get bundled into the app before submission to the App Store.)
Unfortunately you can't do that for now.
It supports only iOS devices and you need XCode in order to test in the simulator because following the documentation (http://facebook.github.io/react-native/docs/getting-started.html#content), it's going to create an XCode project
Unfortunately you can't.
If it's because you don't have an apple computer you can always try running one on a virtual machine.
Here's a rough outline of what you would need:
An iDevice
A colleague who will put a build on that iDevice whose root react native bundle points to some endpoint you can control. e.g. jsCodeLocation = [NSURL URLWithString:#"http://mydomain/index.ios.bundle"];
Compile your react app to that location.
Run the application on the iDevice, which will do so by downloading the js bundle.
This flow would be considerably inferior to developing on a mac though, as there would be virtually no capacity for debugging, the setup would be a pain, and you would need to restart the application on the device every time.

Is there any way to run an application direct to the device on Corona SDK?

It is very time-consuming to build an application, copy the apk on the device, install it and run it, just because you want to change the value of a variable. Is there any way to run an application straight to the phone (like in Unity) ?
Does Gideros or any other similar SDK offer this capability? I read that ZeroBrane offers on device debugging but I didn't find any more tutorial/information how can you do it.
Gideros provides exactly such capability, you just install Gideros Player on your device, enter IP address on your computer, and instantly run your app on device, without any exporting or building, just click play.
Additionally with combination of ZeroBrane you can achieve live coding
http://bowerhaus.eu/blog/files/live_coding.html
Corona cannot do that without ZeroBrane LiveCoding.
Gideros do that by default.
There are tutorials and documentation at the ZeroBrane site for doing remote device debugging (and even live coding for some frameworks).
Generally remote debug requires that the on-device code be able to load the modules mobdebug (provided with ZBS) and luasocket.

Cross-platform application (Android, iOS, Symbian)

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!

Is there a programmatic way to update an android app on the android market?

Are there any web service APIs available that allow the developer to upload a new build of their android app without having to manually use the android market developer GUI? I would like to configure my one click build system to also deploy to the market if possible.
You could automate this e.g. with a recorded and parameterized selenium script.
This capability doesn't exist currently.

Categories

Resources