标签:#Android

Posts

· 2017-11-06 · * Android * drawpath *

Recently I worked on an android keyboard app, encountered the need of gesture typing path drawing effect. Normalizely, by using drawing path of the records of ontouchevent postion would be ok, but we could do it better like below:

Let's get over the code:

  1. The main logical of drawing path tail is in class PathTailHelper.java

  2. Then use the instance of PathTailHelper in any view class which would be drawn with the tail. In my project it was PathTailView.java

· 2017-11-01 · * Android * console *

When No usb cabble connecting to your android phone,but you need to check your app's log information.

You can use Android Console Server

Using a NanoHTTPD Server on app side for serving the console command and request.

  • TODO:
    • list external app directory infos
    • clear external app directory files
    • format activity info string