[Root] Set Long-Press Home Button Action

[Root] Set Long-Press Home Button Action

Hzj_jie
Oct 9, 2017
  • 5.8 KB

    Dosya Boyutu

  • Android 1.5+

    Android OS

[Root] Set Long-Press Home Button Action hakkında

Set Voice Assistant (Long-Press Home Button Action) Programmatically

*** THIS TOOL NEEDS ROOT PERMISSION: IT WON'T WORK WITHOUT PROPERLY SETUP ***

This is a small tool to set voice assistant (long press home button action) programmatically.

You always need to install this tool into /system/priv-app/, otherwise it won't work. This is usually achievable by using root explorer on rooted device or third-party recovery.

Usually you do not need this tool unless your rom blocks you from setting voice assistant or automatically reset the setting.

Simply clicking on the shortcut of this app will set the voice assistant to Google Search. You may also use other voice assistant by executing,

am start --user 0 -d "set-assistant://org.gemini.set-assistant/foo/bar/bar/foo" "org.gemini.set_assistant/.SetAssistantActivity"

Refer to the screenshots or sample at

https://github.com/Hzj-jie/android-init/blob/master/sample/set-assistant.sh

This app sets following three settings,

assistant

voice_interaction_service

voice_recognition_service

into the value provided by intent or the default value as Google Search.

and sets following two settings,

assist_structure_enabled

assist_screenshot_enabled

to 1.

Refer to the source code for details,

https://github.com/Hzj-jie/android-set-assistant/blob/master/src/main/java/org/gemini/set_assistant/SetAssistantActivity.java

This application is efficient and small: it does what it needs to do and exit. So you may need to use some other tools to start it automatically.

I am using "Event based script runner" at https://play.google.com/store/apps/details?id=org.gemini.init to execute this tool when resuming the device. You may refer to the sample at,

https://github.com/Hzj-jie/android-init/blob/master/sample/screen-on.sh

and

https://github.com/Hzj-jie/android-init/blob/master/sample/set-assistant.sh

The source code can be found at https://github.com/Hzj-jie/android-set-assistant. You may review it to verify the behavior of this application.

Daha Fazla Göster

What's new in the latest 1.0

Last updated on Oct 9, 2017
Minor bug fixes and improvements. Install or update to the newest version to check it out!
Daha Fazla Göster

Videolar ve ekran görüntüleri

  • [Root] Set Long-Press Home Button Action gönderen
  • [Root] Set Long-Press Home Button Action Ekran Görüntüsü 1

[Root] Set Long-Press Home Button Action APK Bilgileri

En son sürüm
1.0
Kategori
Araçlar
Android OS
Android 1.5+
Dosya Boyutu
5.8 KB
Geliştirici
Hzj_jie
Güvenli ve Hızlı APK İndirmeleri APKPure'de
APKPure, virüssüz [Root] Set Long-Press Home Button Action APK indirmelerini sağlamak için imza doğrulaması kullanır.

[Root] Set Long-Press Home Button Action'in eski sürümleri

APKPure simgesi

APK Uygulaması ile Süper Hızlı ve Güvenli İndirme

XAPK/APK dosyalarını Android'e yüklemek için tek tıkla!

İndir APKPure
thank icon
Kullanıcı deneyiminizi geliştirmek için bu web sitesinde çerezleri ve diğer teknolojileri kullanıyoruz.
Bu sayfadaki herhangi bir bağlantıya tıklayarak, Gizlilik Politikamıza ve Çerezler Politikamıza izin vermiş oluyorsunuz.
Daha fazla bilgi edin