How can i build android app on my server? - android

Good Morning,
I have an android application and I sell it on a third-party website so, my customers need to configure it. My question is, can they build my app online without the need to open android studio also, they will only change one line like (SECRET_API_KEY) and that. Can I upload my app source code on my website and build it online? I see that websites like appyet.com use the online build for apps! As I said, I just need to change one line and change package-name online that's my issue

You certainly can. You don't actually need Android Studio to build your app: under the hood, Android Studio uses gradle scripts to build it. All you need is a server with Java and the Android SDK installed, so you can build the app from command line.
The solution is a CI/CD solution like Gitlab or Jenkins. Both can be installed on your own server, or you can subscribe to their website and pay a small fee. When the app is bought, the build can be triggered with a webhook by your server.
A few questions come to mind:
How many app do you think you think you'll sell? In other words, is it worth the time to set this up?
What do you want as the end result? A link to an .APK on your website, a link to the Play Store?
If you update the app, do you want previous buyers to receive an update?

Related

Ionic getting to know what was the recently run apps on android

I'm writing a simple android app detection using Ionic (fairly new too as well with mobile apps dev using Ionic). Using this plugin App Availaibility I was able to get a list of installed apps, however is there a way or plugin or is it possible to know what was the recent app that was used in the foreground? Like if a com.android.appname was run, it may be able to detect it? Thanks.
No there is not, I'd assume that there won't be a plugin for this either. In order for the device to know what app has ran in the past, it must hold this data somewhere. I doubt google or apple does anything like this.
or
you can always try and build a plugin yourself and see if its possible.

Shifting Android app development framework without relaunching the app

I have an Android/iOS app built with Apache Cordova. I am having some issues in getting some enhancements done to it.
Is it possible to shift to a different architecture of the app like from Apache Cordova to Flutter, without relauncing the app in the AppStore?
It could be Cordova to Native Android App, or hybrid ones like Flutter, but I want to know if I can change the app development framework architecture.
I have checked in here, but could not get the exact answer.
I dont think it is possible, but I wanted to check one final time before re-architecting. If the answer is yes, please do provide some pointers so that I can take a look.
So long as you sign it with the same key, yes. The store doesn't know or care what framework an app is written in. All it cares is that the signing key is the same, and that the version code increases.

Deploy a Native android app (apk) on Cloud-Foundry

So, I am new to cloud-foundry that's quiet evident by the question title but I tried to search a lot on the internet and could find a lot of distributed information i.e.
CF is cloud platform where you can publish your apps (web and
mobile), no practical demonstration of how to do what and a basic setup for a newbie (probably i couldn't find).
CF is a free service where you can write and publish your
web-services via Node.js and MongoDb.
But what I am really looking for is answer about how can I migrate or deploy a native mobile app i.e. an apk file on cloud foundry so that a user can download some cloud foundry client on his android smartphone and run the same.
What if I have made and apk or native android app ground up and I want to utilize the capabilities of cloud-foundry to release it to the users.
How much work is pending at my end and what ?
I apologize as I do not understand exactly what you're trying to do here, but if you just want to be able to upload and distribute some static files (i.e. your APKs), you can do that quite easily.
There is a "Hello World" tutorial here which shows how to push a static HTML file. Replace that file (or add additional files, everything in the current directory is uploaded) with your APKs and you should be able to distribute them via Cloud Foundry.
https://docs.cloudfoundry.org/buildpacks/staticfile/index.html#sample
Hope that helps!

BackgroundFetch / Background running app using PhoneGap Build

OK I have done a lot of research over the last few days, reading a lot of posts on here. I have build an app that using the accelerometer and geo-location.
Now thanks in part to many different posts on here and other sites I have got most of my app working without any problems.
I now have to get it working as a background app. I am building this for iOS and android, but the main aim is iOS. I know that iOS7 changed a few things but also add support for BackgroundFetch, how do I use that within a app that I will be building with build.phonegap.com?
Now I have found this plugin, de.appplant.cordova.plugin.background-mode but when I added it to the config.xml file, phonegap build says its unsupported?
I know there is a list of areas, What's solution to make task background in iOS same service in Android? , where you can list in your 'plist file' for iOS and state what type of application it is and iOS will run it in the background because its using one of these features.
Now I have read somewhere - not to sure where - that the config.xml is built, when phonegap build runs into the plist file, so somewhere in that file I should be able to state that it is application using this and that, therefore run in the background?
So is there any many of making my app run in the background?
Any help would be most welcome
Thanks
Glenn.
The resources you have found are referring to building apps locally on your machine, not with phonegap build. You will not be able to achieve the functionality you are looking for with PGBuild as they don't allow that level of configuration.
To achieve this you will need to setup a local cordova/phonegap client and build your app from your computer.

Titanium and Testflight won't work together

Here's the case:
I'm building an app and distributing it for beta-testers through Testflightapp.com.
Testflight provides a useful SDK, from which you can detect the user's interactions in the app.
The problem is, that although I've implemented the SDK as every tutorial/guide/forum-thread says, I'm not recieving any data..
Here's the data from the file running the testflight sdk. I've tried both the com.0x82.testflight-sdk-module from Titanium's own module-site and the NappTestflight-module (https://github.com/viezel/NappTestFlight).
What am I doing wrong?
(I've tried changing the guid of the app to the app-token and running it with normal guid)
Thanks !
I use this module to talk with TestFlight.
Setup was simple, and it is free. You need to check inside your App on TestFLight to get the correct id.

Categories

Resources