ED's Notes

Here is my technical notes. If any comments or errors, please feel free to give feedbacks.

2018/08/07

AOSP - 系統內建 app 的 Android.mk 範例

›
有玩過 aosp 的人應該都有接觸過 mk 檔的撰寫 今天就來整理下如果要將 app 放進 aosp 裡面 Android.mk 檔要怎麼寫 最簡單的方式是先將 Module 編譯成 apk 檔 這樣子可以使用 gradle 編譯 dependency 也不用寫在 A...

Room Persistence Library 簡單介紹

›
使用 Room 需要在 app 的 build.gradle 中增加 dependencies dependencies { def room_version = "1.1.1" implementation "android....
2016/07/13

Mac 使用 FAQ 與 terminal 指令

›
*手動產生 SSH key 1. 產生 public/private rsa key pair ssh-keygen -t rsa 你會需要設定一組 password (passphrase) 完成後檔案會放置在 /Users/yourusername/.ssh/id_r...
2016/07/07

Flex Box 與常用 Styles

›
Flex Box Flex Box 的 style 屬性有四個 flex, flexDirection, justifyContent, alignItems 其中 flex 代表該 element 應該擴展的大小, 0 代表不展開 另外三個則互相相關: flexD...
2016/07/06

Component Lifecycle API

›
Component 的生命週期有 建構, 掛載(mount), 渲染(render), 更新(update), 卸載(unmount), 銷毀( destroy)等 你可以在各生命週期中插入執行自定的程式碼來達到更細膩的控制 Mounting Cycle const...
2016/05/16

在 Android Studio 2.1 開啟對 Lambda expressions 的支援

›
Android N 與 Android Studio 2.1 引進對 Java 8 語言的部分支援 像是: Default and static interface methods Repeatable annotations Lambda expressions 與 ...
2016/04/18

adb monkey test

›
adb shell monkey usage: monkey [-p ALLOWED_PACKAGE [-p ALLOWED_PACKAGE] ...] [-c MAIN_CATEGORY [-c MAIN_CATEGORY] ...] ...
›
首頁
查看網路版
技術提供:Blogger.