Best way to share Android app with Azure - android

We have a website hosted as an Azure web app service. The system also has an Android client. The system is a LOB system with known customers and (at the moment) we don't want to host the app in Google Play at the moment.
At the moment we share the Android apk through the website but that always requires a new build of the web even when only the android app has changed.
Problem with just republishing the app service are twofold:
The site is an Asp.net Core site with WebJobs. At the moment tooling doesn't support deploying WebJobs with Asp.net Core sites so with every build we have to reupload the WebJob through the Azure portal so we don't want to increase the amount of builds.
The apk needs to be added to the visual studio project and the removed after deployment so we don't add the apk to version control.
Provisioning a CDN service just for this apk file is overkill. Hosting it in Azure blob storage is an option but don't know how to manually update a row there.
Requirements are that the url the the apk file should be static, either so that the Azure resource would have a static url or that the web site could stream the file from some Azure storage.
Are there any better ways to host an app in Azure?

If someones interested I ended up creating a Storage account for blobs and it turned out I could upload and edit the blobs directly from Visual Studio. The apk then got the url
https://storageaccount.blob.core.windows.net/mycontainer/myapp.apk

Related

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!

In Unity, how to build and play a WebGL project and play it on an Android device?

I'm trying to build a WebGL Unity game for Android and iOS devices but I'm not sure how. I can run the game fine on PC because the Build & Play option from the Build Settings does this automatically for me. But what if I want to playtest the game on an Android device?
For clarification, I am not looking to create an Android build (i.e. an APK file). I'm attempting to create a WebGL build and playtest this WebGL build on an Android device's web browser.
For using WebGL export on mobile devices in windows, install IIS.
In Linux, use Apache to create a web server and upload the exported folder to the www root folder of the web server.
Then call your ip:port/yourSiteName in a mobile browser.
Check this link for a walkthrough of uploading in IIS
When WebGL build's selected Unity asks where to save it. In the selected location a directory with selected name will be created. For example, I've for the lack of imagination called mine webgl and this's what I've got:
If you make content of this directory available via HTTP (or put it to a web server), you can open your game with any WebGL-enabled device.
So, I can tell you from experience, Unity WebGL games work pretty poorly on mobile devices.
But if you still want to try it, I run a website for hosting Unity WebGL games at https://simmer.io. To upload you drag and drop the WebGLBuild folder onto the website.
For local development, I like this tool for exposing a local web server to the internet: https://ngrok.com/. Or you can host the game on any web hosting service. Here's how to do it on AWS: https://hackernoon.com/how-i-built-and-deployed-a-webgl-game-to-a-new-website-in-35m-15b2e8339c31

ArcGIS Web Application wont load on mobile device

I have created an app with ArcGIS Web App Builder and when hosted on a local server it works fine, but when I build the app using Apache Cordova and load the APK file onto the phone and install it. That app will not load on the phone and stay on the splash screen. Any ideas?
This may be an obvious question, but is the original Arcgis app based on esri web-server applications or do you have your own esri server? In previous conversations with esri, they have indicated that apps must run through (or are ultimately controlled by) their servers and cannot be stand-alone without a server account. Someone on stackoverflow can add more insight, but one test of this is to see if the whole web package will run without a web connection. Usually, you will find that basemaps,and other embedded files interact with the esri mothership.

Best way to deliver a website to view offline on an Android tablet

looking for some advice on what is the best way to deliver an HTML/CSS based website for use on Android tablets offline.
Having researched the topic on here for a while and looking into different development techniques there seems to be two outright 'winners' as such for delivering such a project.
Firstly, is to build the website normally and then save it to an SD Card to run in the Android browser, secondly is to use Adobe Air and run as an Android app but what I'd also like to know is whether if it is possible to browse the website online and have it cache on to the device so that when it loses an internet connection the full website will still run as normal.
A bit more info on the website, it will be built completely in HTML/CSS with responsive templates so that resolutions aren't an issue and it is a 'brochure' website so the content won't need updated at any point.
Any help on the issue is much appreciated as developing Android apps or running websites from an SD Card is something I've not had the pleasure of doing before.
Many thanks
PhoneGap is an HTML5 app platform that allows you to author native
applications with web technologies and get access to APIs and app
stores.
Say goodbye to SDKs, compilers and hardware. Simply write your app
using HTML, CSS or JavaScript, upload it to the PhoneGap Build service
and get back app-store ready apps for Apple iOS, Google Android, Palm,
Symbian, BlackBerry and more.
By compiling in the cloud with PhoneGap Build, you get all the
benefits of cross-platform development but can still build apps just
the way you like.
You can use PhoneGap and even Build PhoneGap (online version) - just upload your entire HTML5 app as a ZIP folder (local paths like /assets/ and not D:/images/) - just the full app code and zip it - then use PhoneGap - it will convert it and give you the App code file - visit Android marketplace as well as others such as Apple and upload.
done.

How can I deploy an Android application internally in an organization?

I would like to deploy an Android application internally in an organization.
For the moment while developing the application, I have used e-mail to spread my application. Then the user has to install the Android SDK, install a driver for his phone and finally run the adb install MyApplication.apk to install the application.
Is there any better ways to deploy Android applications internally? Is it even possible to manage updates?
I read on a forum that applications can be deployed on a webserver. Then the user only has to download the application for installing. But when I tried to simply upload an .apk file to my webserver and visit the URL using the browser on my phone I got this message:
<Uknown>
mydomain.com
Cannot download. The content is not supported on the phone.
So how can I fix this? Is there any kind of MIME-type I have to set on the webserver? Doing the same thing as described in the link above on http://slideme.org/sam2.apk works fine, and the installation starts.
The only thing I can find about this on Android Developers Publishing Your Applications
is:
You can publish your application using a hosted service such as Android Market or through a web server.
Try application/vnd.android.package-archive as the MIME type.

Categories

Resources