Search This Blog

Friday, November 28, 2014

Build Android apps as Chrome apps/extensions, Build Android apps for ChromeOS, configure build server

What I want to accomplish is configure a build server (like TeamCity) to build an Android application from source and convert it to a chrome extension that can be published on Chrome WebStore as an application.

First of all you can read this source which explains how to run android apps in chrome.

1. Download ARChon runtime and install it as an extenion in Chrome.

2. You can convert your apk manually with this chrome extension - Twerk

3. To enable Chrome App Launcher on Ubuntu (speeds up app launching) - follow this link.

4. Install chromeos-apk
asdsa

  1. In a terminal, run the following command: sudo apt-get install npm
  2. (Ubuntu only): Run the following command: sudo apt-get install lib32stdc++6
  3. Download node.js.
  4. Unzip the tar.gz file you downloaded from the above link.
  5. Per the README file, open a terminal to the unzipped folder containing node.js. And run the following commands in order:
    1. ./configure
    2. make
    3. make install
  6. Run the command: sudo npm install chromeos-apk -g
  7. To make sure you're updated to the latest version (now or in the future), run: sudo npm install -g chromeos-apk@latest
5. Convert your compiled application in apk to chrome app with:

chromeos-apk --tablet --scale --name ApplicationName application.apk


5. Remember - to update the chromeos-apk plugin just run:

sudo npm install -g chromeos-apk@latest

4 comments:

  1. Chrome OS utilizes a particular runtime that permits Android apps to run locally inside it.This implies that its not an emulator or virtualization stack,yet a legitimate runtime.Chrome OS is utilizing the same kind of engine that Android uses to run software straightforwardly.So rather than a Genymotion-like circumstance where you have an entire Android phone running on your machine,here you can launch Android apps from the Chrome launcher.to start,we'll have to download the Archon Custom Runtime.This is important to run Android apps in Windows,OS X, and Linux.
    @Rachel Wood.

    ReplyDelete
  2. First of all you can read this source which explains how to run android apps in chrome. Cell Phone Tracker Software

    ReplyDelete
  3. Hi! On the off chance that you haven't given Chrome a test commute yet, we profoundly empower doing as such. To help kick you off, we've assembled a rundown of 21 marvelous extensions. You can decide to introduce only one, each of the 21, or none by any means. That is the magnificence of Chrome - the final result is the thing that you, the client, makes of it! In the event that you have a most loved extension that isn't on the rundown - very likely, since there are such a large number of - offer it with us and different peruses in the remarks segment underneath.
    ~~~~~~~~~~~~~~~~~~

    http://www.amazon.com/Horror-Hidden-Object-Official-Movie/dp/B00Q271GEE

    ReplyDelete
  4. Getting Android apps running on any platform without an emulator is pretty dang cool,paying little mind to how practical it is.Also,it may even prompt some cool new things leaving it.I've been considering learning Android advancement.Knowing I could test my apps on the desktop (or even write one that could be utilized on both!) is unendingly exciting.

    Bonnie Jenkins.

    ReplyDelete

If you like this post, please leave a comment :)