How to deploy APK from TFS to Google Play? - android

I'm in the research phase of a native Android application side project for which I would like to utilize Android Studio and Visual Studio Online (TFS). The app will also have web service portion (WCF/WebAPI TBD) written in .Net.
So far I've found how to integrate TFS with Android Studio and build the package using Maven, but am hung up on how to automate the package deployment from TFS to Goole Play.
Is it possible to have TFS deploy to Google Play?
If so, how do I configure TFS to do this?
If not, is there an alternative ALM I should use that would meet all these requirements (SCCM, planning, building, testing, deployment to website and Google Play)?
Note: I may want to monetize this so it will be closed source.

To upload an existing task to VSO, you need to use the “TFS Cross Platform Command Line”, also known as TFX.
Instructions are in the README.md at the GitHub. Basically:
Install Node.JS from the Node website.
Run at the command-line: npm install –g tfx-cli
Run tfx login and enter your collection url (probably
https://youraccount.visualstudio.com) and your personal access token
Run tfx upload <folder> to upload your task.
Run tfx delete <GUID> to delete your task. TFX does not overwrite, so
you’ll need to delete before uploading again.
Check this blog: https://www.simple-talk.com/sql/database-delivery/writing-build-vnext-tasks-for-visual-studio-online/
Then you can add this task in your build steps in vNext build to automate deployment from Visual Studio Online to Google Play.

Related

Android: upload apk from android studio terminal to google drive account

Can I generate APK and upload it to google drive using an android studio terminal?
Most likely you can write a gradle script or use a gradle TaskExecutionListener to generate/listen to the apk and then upload it to a given google drive. As far as I know there are some Google Drive CLI clients so you just need to piece them together.
I don't know about any built-in solution for Android Studio if that is what you are looking for.

How to build a react-native app for sharing for test without having local dependency

I am new to react-native app development. I wanted to know how can a developed app be shared between other developers without having a local dependency. Is an apple developer account needed for a test build to be shared in ios as well? How can the test build be created?. I wanted the build to be created and downloaded on any ios device or android for testing purpose and without having depending any of the local code changes.So the build downloaded should not get updated after any code change done after that.
Is there an easy way to do it?
To share a release build for Android please follow this guide Generating Signed APK.
But for iOS you gonna need a Apple Developer account, I don't know the whole process exactly.

How to deploy & publish cordova ios from VS2015

I have develop an Cordova App in vs2015 and I'm able to deploy on android, test and publish on Play Store.
So, I attach my remote iMac and compile&build ios platform but I don't find a simple and robust path for deploy.
First of all, to deploy on App Store I need to do it only from iMac... is possible to deploy directly from Win10 after build from mac?
So if it's correct I need to open the .xproject and prepare to send to app store but the .xproject change on every new deploy from VS (the remote_build create a new folder on every build).
There is a very good resource for you to see how to "Package your Cordova app so that you can publish it to a store".
You can learn how to prepare them for Android, iOS and Windows App Store publish.
Here it is at this url: Package your Cordova app so that you can publish it to a store

Hockeyapp distribution with daily build

I have developed an android application and it has been deployed on the server side, and apk file generated and I want to automate the steps with hockeyapp distribution. When the .apk has been built, I want to send it to the testers.
My question is how hockeyapp could be automated with daily build? Is there any guideline or tutorial?
Quick googling for a 'gradle hockeyapp plugin' brought up this.
Another option (imho preferred one) is to have a build server like Jenkins do your builds (usually connected to your git or other vcs), there's plugins for those too that will upload builds to hockeyapp automatically.

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