Android Things Template App Improved with extras! Rx Java Ready.
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
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:
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
Ping me here :)
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.