zoukankan      html  css  js  c++  java
  • [Call Vibrator] How to Enable Outgoing Call Vibration without ROOT

    Call Vibrator requires the radio log of phone to detect when outgoing call is answered. But since Android JellyBean(4.1), the permission for radio log is not granted to non-system app by default.

    If your device is rooted, Call Vibrator will prompt a dialog to let user grant the permission to itself.

    If your device is not rooted, follow the instructions to grant the permission to Call Vibrator manually.

    1. Install the USB driver of your phone

    2. On your phone go to Settings –> Developer options –> toggle on Android debugging . (If you don’t  see Developer options in Settings, go to Settings –> About phone and tap Build number until you see the message that you are a developer and return to Settings, you will then see Developer options)

    image    image

    3. Download Read Log Permission Enabler script from https://bitbucket.org/shaobin0604/readlogpermissionenabler/downloads/readlogpermissionenabler.zip, it’s about 500KB zip file

    4. Unzip the content to C:

    5. Click Start –> Run, type cmd, when the black window opens up, type:

    cd C:
    eadlogpermissionenablerlibs

    image

    6. Connect your phone to the PC with USB cable.

    7. make sure that in command prompt your are now at C: eadlogpermissionenablerlibs and type:

    adb devices

    you will see a combination of numbers and letters and the word device, that means you are all set.

    image

    8. for CallVibrator(Lite) type

    adb shell "pm grant io.github.yutouji0917.callvibrator.ad android.permission.READ_LOGS"

    for CallVibrator(Donate) type

    adb shell "pm grant io.github.yutouji0917.callvibrator.donate android.permission.READ_LOGS" 

    image

    or if you are lazy just run the script grant_read_log_permission.bat in C: eadlogpermissionenabler

    9. Unplug your phone from PC

    10. Open the Call Vibrator app. Check all the options you need.

    11. Try making a call. If the phone does not vibrate, try reboot the phone and then making a call once again.  

    That’s all, have fun with outgoing call vibration to avoid radiation

  • 相关阅读:
    正则表达式语法学习
    微软开放WP开发者回复用户应用评论功能
    下载安全程序需谨慎 黑客盯上XP用户
    软件业进入由大变强关键期
    54%的恶意程序无法被检测出
    CSS:第1课
    Javascript疑问【长期更新】
    不同语言的注释【长期更新】
    定制博客CSS样式
    认识Html DOM
  • 原文地址:https://www.cnblogs.com/shaobin0604/p/4039309.html
Copyright © 2011-2022 走看看