Phonegap remote build - android

I'm developing app in Sencha touch(Touch 2.4 && CMD 5) and packaging using Phonegap/Cordova for Android and iOS. I'm developing on windows machine with Android device(HTC) and iOS device(iPhone 5).
Initially i packaged the app with cordova, and with limitation of iOS build i keep working for Android build only. I added 5 plugins (Facebook, Network Information, Camera, FIle Transfer, Email Composer) using cordova and all working fine for android build. My latest Android apk file size is 3.8 MB.
Now i need to build iOS ipa as well, so i opted "Phonegap Remote Build Service" option. I clone my Sencha touch project and packaged it to Phonegap, added all plugins, mention the iOS platform in app.json and set remote true and add local.properties file with email and password set of paid adobe phonegap account. When i execute command "sencha app build native" , it did everything right but gave error of "Invalid email or password". Then i went for other option, i made zip file of phonegap folder and uploaded manually, and build on Adobe Phonegap Build portal, it provided me both the builds but with one big issue of huge size. Both files(apk, ipa) reached 37-40 MB.
Now i need help of different options which i can take(Other than iOS machine), how i can minimize the size of files. As locally cordova packaging providing me very lightweight apk file. If I'm doing something wrong in Phonegap packaging, please mention it.
Thanx in advance.

When you say manuall upload turns zip size to 37 - 40 MB ,i think it must contain library folder as well .
for Invalid email or password : - there must be some typo mistake only this is possible scenario i could think off.
Thanks

Related

Upload ipa and apk after build to s3 using teamCity

I would like to upload my ipa and apk to s3 bucket using team city...
My app builds with react native and for iOS Im using Xcode and for android I'm using Gradle and visual studio code
For example: I would like after I'm doing cd android && ./gradlew assembleRelease in the cmd so the app builds for android and when it done to upload the apk which created to my s3 bucket using team city. (same with Xcode after pressing the play button)
I have been trying to find a good guide to explain me how to do it but I couldn't find a guide that will satisfy me...
I would like to get some help and to know my options
Thank you
You can set up an external S3 artifacts storage in TeamCity and publish necessary files as artifacts in General build configuration settings. TeamCity will automatically publish data to the configured bucket at the end of the build.

Generate apk file from playground online

I have written a small test app on nativescript playground online, and I want .apk file of it. Is there any online tool to generate .apk file from playground, instead of having to install tns and run 'tns run'/'tns debug'/'tns build' on my local machine ?
No, it's not possible to generate APK from Playground.
If you don't want to setup Android SDK locally, you may try cloud build option but at least that requires NativeScript CLI / Sidekick setup on your local machine.

Distinguish an apk build with Cordova/Phonegap from a native one

I've been having some issues playing radio streams with MediaPlayer in a particular case. But that's not the point, the point is that I found an app that does exactly what I can't do, and I'm suspecting that is because It's using the Cordova / Phongap media plugin. My question is, given an apk there's anyway to know if the apk was build with Phonegap / Cordova or if was made with plain native Android code?
You download the apk (there are online tools to do that)
You unzip the apk (an apk is just a zip with a specific content)
In the extracted folder search for the assets\www\ folder.
If it's a cordova or phonegap app, you should see a file cordova.js in that folder.
(Yes, it's that easy to get all the sources of a cordova app :( )

Android build not generating, after submitting iOS app to AppStore : Is there limit for phonegap build compilation?

I already submitted iOS app to AppStore which is developed by using Phonegap Build. After that when I went to compile Android app version from Phonegap build, it is not completing [as we can see screen shot] For your information, both Android and iOS version app has got same package name. The zip file uploaded completely, and clicked on "Ready to build" button. The build is not generating/completing even after 15min.! as you can see in below screen shot.
Any quick solution ?
/***** UPDATE ******/
Now I am able to compile build through friend's github account, but not with mine! IS THERE ANY NUMBER LIMIT FOR THE BUILD COMPILATION IN PHONEGAP BUILD ??
Thanks and Regards,
iOS submission to AppStore has nothing to do with the Android build.
As I can see you are using PhoneGap.
Is the iOS version building and the Android not building?

Android and Unity 3D game development

I am starting to explore the game development using unity 3d for android. I have downloaded the trial version of unity 3.3. I went through few tutorials.
I have one question that is not answered. In the normal apps which we develop using eclipse, we can deploy onto mobile by copying the apk file. What about unity 3d? How do I get the game onto my phone. I don't want to publish on market.
It is possible to transfer your assets to Eclipse. When it's integrated you can debug via your android phone. Be sure to read the tutorial on Unity's homepage. There is a step by step start-up guide and some more. Following links are worth looking at:
Getting started with Unity and Android
Official - Integrating Unity with Eclipse
Alternative link - Integrating Unity with Eclipse
It would seem that the official "integration" link is broken so I updated with a forum post that covers the same topic. However I recommend to try with the official link first.
Yes, you can simply copy the apk to your device and install it. Unity builds an apk file (and will optionally sign it using a keystore that you provide or let it generate for you). Once it has built that apk you can deploy it normally. You can even have it include a customized manifest in the apk that it builds if you want to (but it generates a nice one from your settings in the unity project by default).
There are two methods for this, as far i understand,
Using Build Settings--> Build, It builds the apk file that can be installed on your device using adb install <apk file path and name>
Using Build Settigs--> Build and Run. Which automatically installs the apk built apk file on your device if connected
go to file
-build
-select android platform(your pc has to have android development kit)
-save your apk
As it is still unanswered I try to close this question
First of all, current version of Unity 5.2 is much more powerfull than version 3.3. mentioned in original question.
What about unity 3d? How do I get the game onto my phone. I don't want to publish on market.
The same way. Unity allows you to publish build as *.apk on ocal machine and then you can just copy it to your phone and install it.
What is more cool, now you can debug your application running on phone. You have to install Unity Remote to the phone and run. Now you can set breakpoints and debug as normally.
If you change your mind and go to publish on Market - Unity will sign your *.apk
Hope this helps someone, good luck!
The Same way you generate the apk through Eclipse like that in unity you need to build the project. For that android sdk and jdk should be installed in your system and u need to show those path in the unity Preferences then u need a google keystore and need to sign in with that key store in the Publisher settings and then u are able to build the apk which will be store in your local system and you can copy that to your mobile and install the apk file.

Categories

Resources