vim+android+app,GitHub - amahi/android: Amahi Android App

ic_launcher.png Amahi Android App

0cf70368d6b97ff3e07d9727b5cdd27b.png

68747470733a2f2f7472617669732d63692e6f72672f616d6168692f616e64726f69642e7376673f6272616e63683d6d6173746572

68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f616d6168692e7376673f7374796c653d736f6369616c266c6162656c3d40616d616869

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636861742d6f6e253230667265656e6f64652d627269676874677265656e

This repository contains the source code for the Amahi Android app.

You will need JDK 1.8+ installed to work with it. Gradle, Android SDK, and project dependencies will be downloaded automatically.

Building the app

Set API information.

$ vim api.properties

url.amahi = URL

url.proxy = URL

client.id = ID

client.secret = SECRET

chromecast.app.id = APP_ID

This is something to keep private and you obtain it by sending a message to support@amahi.org.

Build the application using a command line or using GUI.

$ ./gradlew clean assembleDebug

Once you have built the application, you will be needing credentials to use the application. Go to Amahi website and create your account, once the account is activated, you will see the description on how to set up the Amahi server. However, this is not strictly needed, as we have a set up of a demo server called "Welcome to Amahi" which you should see even without your own server installed.

Code Style Convention

Set the Code Style Scheme to Default in Android Studio settings.

Run Reformat Code on changed files before committing.

Please check out the Code Style for Contributors section in AOSP and maintain as much consistency with them as possible.

Generating the documentation

Install Android documentation.

$ android update sdk --no-ui --force --all --filter doc-21

Generate the documentation.

$ ./gradlew clean assembleDebug generateDebugJavadoc

Debugging

For debugging the APIs and logging requests and responses you can either use Logcat on Android Studio or enable Chuck Interceptor (UI based) from the steps given here.

To debug with some special purpose server, you can find steps here.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值