Giter VIP home page Giter VIP logo

android_things_template's Introduction

Android Things Template

This is start-template to save you a little time. RxJava Ready

Works with Raspberry Pi 3, Intel® Edison, NXP Pico i.MX6UL, Intel® Joule™ 570x, NXP Argon i.MX6UL

alt text

What it does:

Blinks a led... it's a template app.

Tip #1: Enter in a terminal: "adb connect ip_of_the_board"

Tip #2: you can run the app after you disconnect from the computer like this

$adb shell
rpi3:/ $ am start -n com.androidadvance.thingstest/.MainActivity
Starting: Intent { cmp=com.androidadvance.thingstest/.MainActivity }
rpi3:/ $

Tip #3: If you play around with different apps (packages) and want the app to run on boot. You need to have just ONE app with the launcher IOT_THINGS in the manifest file installed. To uninstall the other apps

adb shell pm list packages -3
adb uninstall com.your_package_name

How to use it:

CREATE a file caled locale.properties and in it put the location of the android sdk ex: sdk.dir=C:\Users\admin\AppData\Local\Android\Sdk

Step 1:

  • Create a new blank android project or clone this repo. Add a local.properties with your sdk location.
  • Manual mode: Download the zip file for this project.
  • Copy paste the app folder
  • Copy paste the build.gradle and modify applicationId "com.androidadvance.androidthingsultimatetemplate" to your package name
  • Check the compileSdkVersion, and buildToolsVersion to be the latest
Attention
  • Connect to your board with: "adb connect board_ip"

  • IMPORTANT: Remove the libs that you don't need. Add those that you do. Profit!

  • Star this repository

Step 2: ??? Step 3: Profit

Need more nice stuff ?

Updates, Questions, and Requests

Ping me here :)

You like this project ? Check

License

Copyright 2015 AndroidAdvance.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.