cozybit / devdroid Goto Github PK
View Code? Open in Web Editor NEWandroid development framework
android development framework
WHAT IS THIS? ############# This is a first attempt to create a framework that helps deploy and debug an android system and apps in multiple android devices. It also has the flexibility of working with external projects that are not included/integrated in the AOSP. It was born as a set of scripts that help build and flash the Android images on the phones, but it's moving to something more serious and useful. Therefore it is still under heavy development. DESCRIPTION ########### + config/ : set of configuration files that this framewrok uses + dev_apps/ : group of usefull apps that help development & debugging + scripts/ : set of scripts that help with some tedious tasks like flashing, etc. + tools/ : set of scripts used for very common operations. HOW TO INSTALL IT ################# In order to use this framework, you need to follow these three steps: 0 - Edit and customize the config files available in the config/ folder. 1 - Add the "DEVDROID=path_to_this_project" variable to your bashrc. 3 - Add ${DEVDROID}/tools to your path. QUICK START ########### Most useful commands: ant-dev, builstall, adbs and logcat-p + adbs: *super* adb. Allows you to execute an adb command against multiple devices secuentially. To target devices, it uses friendly names as CB01, CB02, etc. instead of those nasty serial numbers that nobody memorizes. Also, you won't have to care if the phone is connected via USB, TCPIP, etc. ie: "$ adbs -s CB01,CB02,CB03 remount" or "$ adbs -s all remount" + ant-dev: allows you to build an Android project from cmd line, but adding extra info about your dev environment to the versionName attribute within the AndroidManifest. This way, you will always know what version of the you are testing. ie: "$ ant-dev debug" NOTE: it requires that the project has a git repository or it will fail. + builstall: builds and installs! As simple as it sounds..but extremly usefull. It will handle those cases where ceritificates are inconsistant and everything. It supports other features like: specify a build type (-t) or launch the app (-r). ie: "$ builstall -s CB01,CB02 -r" --> it will build, install and launch the project. "$ builstall -s all -i" --> skips building, just installs. + logcat-p: prints a colored logcat output of specific app/process. ie: "$ logcat-p -s CB01 -p com.cozybit.myapp" Also, if the AndroidManifest.xml is available in the current folder, -p parameter is not necessary.
$ adbs -s XZ1 logcat -C
(standard_in) 1: illegal character: J
(standard_in) 1: illegal character: X
(standard_in) 1: illegal character: J
(standard_in) 1: illegal character: X
ping: unknown host 11...18
[STDERR] [XZ1/BX903J8X12] WARNING: device not connected to adb (via USB or TCP). Skipping device.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.