yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] brantasticvoyage:
unable to get Google api module to work with voice for plex

Hello I am fairly new to the world of mods and such and am trying to get my voice control for plex to work thru Google now.I followed all the steps from installed the closed framework then reboot then install the module reboot then finally installing the voice for plex app and no luck searching using Google now. I'm using the custom ROM carbon and Franco kernel if that even matters. I would like to move on to advanced stuff like autovoice commanding my Google TV and plex using tasker but its a bit over my head at the moment lol I'm a newb but I'm trying!! If anyone can leave me some advice on what I should do and possibily why this isn't working please let me know .
[Xposed Framework Modules] mdamaged:
Did you import the VoiceControlForPlex.prj.xml into tasker?
[Xposed Framework Modules] abuttino:
What does that project use? The http api from Plex?
[Xposed Framework Modules] brantasticvoyage:
I haven't really tried messing with autovoice and tasker for voice plex. Not real sure then steps I need to do for it.

What I would like is this... Autovoice to automatically start from my trigger word then say watch whatever title then it plays. Also would like to incorporate voice commands for my google tv like saying power on or switch apps or volume up pause play Etc. I am completely new to tasker and don't know how to go about setting this up. I appreciate the quick reply :)
[Xposed Framework Modules] abuttino:
First of all this really isn't the thread to talk about this on.. If you start your own thread please put the link here..

Here is a sample task..

1JunkTask (145)
A1: HTTP Get [ Server:Port:http://plexmediaserveraddress:32400 Path:/system/players/plexplayerip/playback/stop Attributes: Cookies: User Agent: Timeout:10 Mime Type: Output File: Trust Any Certificate:eek:ff ]

There is a document floating around if you search for plex http api that will give you the rest of the commands
[Xposed Framework Modules] mdamaged:
The steps are outlined on the store page for voice control for plex depending on the method you want to use, so pick a method (there are 4 ways to implement what you want) that's easiest for you. I'm not sure how much help can be had here, since not everyone is using the voice control for plex app.

You'd be much more likely to get help from the groups and threads which would be more likely using that app and or the method you choose to use.

If you need help specifically with tasker and autovoice, post for help in the tasker community and/or autovoice community, if you need help with using voice control for plex, post for help in that thread, if you need help with the utter! method, that thread is here.

In the case of autovoice, you would want to find help in the voice control for plex thread, the tasker thread, as well as the autovoice thread, probably in that order.

Good luck.
[Xposed Framework Modules] g2uzer:
I'm new to the tasker and its a requirement to get this module, not sure why the autovoice plug in is not showing up. I have rebooted but no luck. I'm sure I have the lasted module that was posted a few pages back
[Xposed Framework Modules] mdamaged:
Uninstall autovoice and reinstall it.
[Xposed Framework Modules] g2uzer:
Thanks a lot ! It worked .I kept uninstalling google api multiple times but I didn't think if autovoice .
[Xposed Framework Modules] spiderflash:
You have to reinstall AutoVoice if you installed this plugin after AutoVoice
[Xposed Framework Modules] b00sted:
this may me being dense but all the vids I have saw say you need this plug for voice for autovoice to work with the G watch, I have installed it but still not working but cant seem to see anything I need to set or configure nor any info on it in the threads. Any help would be stellar!
[Xposed Framework Modules] vermont1998mx:
You have to install this module first, and then install autovoice,
[Xposed Framework Modules] UdiFlpb:
newest version doesnt work

hi i just installed the 1.2.1 version of google search api and it doesnt work on the google now newst version which i have installed

the version is: 3.5.16.1262550.arm

is there a fix for this ?
[Xposed Framework Modules] spiderflash:
Read before posting.
[Xposed Framework Modules] dadykhoff:
The apk from the xposed repository is out of date. look a few pages back in this thread for 1.3.1
[Xposed Framework Modules] b00sted:
I was able to get some help on the tasker forums thanks, just a few more bugs to weed out.
[Xposed Framework Modules] UdiFlpb:
i dont know what to do i just installed the google search api 1.3.1 and 1.3.2 twice with the music controls and the voice toggels plugin

on my tablet it works just fine and on my htc one it doesnt any ideas ?
[Xposed Framework Modules] Amr.Shendy:
[Problem] Please Help !!

Thanks man for you hard work,

But I have a problem using this module:

-I've installed it and enabled it in Xposed

- I've downloaded and inatalled the Plugins (voice toggles and music control)

But after restarting, it doesn't work, Non of the two plugins work at all , It just do a google search that's it !!

Please Help, I really would like to use this amazing module.

I'm Using "Samsung Galaxy Note 3 SM-N900"

With Stock "Android KitKat 4.4.2"

ROM Build "N900XXUDNA6"

Google Search Version: 3.5.16.1262550.arm

Xposed Framework Version: 2.7 experimental1

The module "Google Search API" Version: 1.2.1

Thanks :)
[Xposed Framework Modules] spiderflash:
Maybe install the newest Version?! Read before posting. Current Version is 1.3.1
[Xposed Framework Modules] JJnJ:
All looks fine from the phones point of view. I can run tasks by using Google now and autovoice. But when trying to do it using my G Watch, it will only search and nothing happens (except usual search). Can someone point me in the right direction?
[Xposed Framework Modules] SteakHause:
G Watch commands are working great for me. Is search API enabled in xposed and recognizing AV? Running search api 1.3.1? Watch commands won't work with latest beta on xposed downloads.
[Xposed Framework Modules] tristan21:
Plug In Suggestion

A cool plug in would be showing notifications (new text messages, missed calls, ect) as cards on google now.
[Xposed Framework Modules] jahaangle:
I had the very same problem with my G watch, make sure you have 1.3.2 installed not 1.3.1. Also uninstall autovoice after installing 1.3.2 then reinstall it. This solved the problem for me.
[Xposed Framework Modules] bar-aka:
Initiate Google Voice search with bluetooth button?

Anyone know how to start Google Voice search by hitting the button on a Bluetooth headset?

I tried Bluetooth Launch, but that doesn't always work, e.g. if I searched for something else and am still on the Google Search app, then it won't start Voice search.

I also tried a more dirty way, by setting Autovoice as the default app when hitting the bluetooth button, then in tasker I setup a profile that initiates on the state Autovoice BT Pressed that first kills Autovoice then start Google Voice search. But that doesn't always work either.

Selecting Google Search as the default option launches Google Voice Caller, which only allows to make calls.

Did anyone find a better solution?
[Xposed Framework Modules] iHelp101:
3.6.13 Google Search Update

bir -> bpn

bjb -> bpy

bur -> cby

cmh -> cuc

w -> x

azL -> aCT

heb -> hmu

bul -> cbs

bkt ->bqk

Tested and everything is working including text searches. APK is attached.
[Xposed Framework Modules] pispuso:
Thanks, you are super fast!

Working great!
[Xposed Framework Modules] digitaldesaster:
Thanks for this great software.

Update: after downgrading to 1.3.2 everything works like expected. (page 29)

unfortunately, i can't get it to work on my xperia Z1. i have used xposed framework with autovoice for a while on an moto x.

did several reboots after installing xposed framework and google search api. reinstalled autovoice.

autovoice shows up in search api plugins.

settings in autovoice

- autovoice accesibility services not enabled

- google now integration via accesibility service not enabled

- alternative method tested (not enabled)

- advanced settings

- xposed module

- google now integration is enabled

- search type is both

if i enable autovoice accesibility all works like expected. but as i am using an LGG Watch i need the xposed framework.

xperia z1 is on 4.4.4 - 14.4.A.0108

xposed framework: 2.7 experimental 1 (also tested with 2.6)

google search api v 1.4

google search 3.5.16.126550.arm (latest update in german play store)

any hints?

Alex
[Xposed Framework Modules] iHelp101:
Fixed
[Xposed Framework Modules] theknut:
I don't know what you are doing but you might want to have a look at my ObfuscationHelper. I get the Google Search version from here. With this you are able to support all versions in one APK.

In the code you then just use something like this:
[Xposed Framework Modules] iHelp101:
Those three lines of heaven <3. The method I was using just parsed the APK for the AndroidManifest in order to get the version. The issue was classLoader gave me a bunch of extra data including the version number. So I would have had to directly link to the APK location to parse it. Overall your method is the best.
[Xposed Framework Modules] stonega:
Thank you so much for keeping the API up to date with the latest Google Now. I just got my Gear Live working again on Google 3.6 with API 1.4. Thanks again!
[Xposed Framework Modules] iHelp101:
Looks like Google dropped Google Search 3.6.14, which doesn't break any of the current hooks. Everything is working fine for me.
[Xposed Framework Modules] wshinji:
Did you have to restart the google now API module in framework to make it work again?
[Xposed Framework Modules] iHelp101:
Nope. Everything should work the same. It is still hooking the same methods. Are you having issues?
[Xposed Framework Modules] wshinji:
I installed the latest google search update on google play store today - BAD mistake.

google now on the actual phone still hooks properly but originally when i set it up it for the first time it took me forever to get android wear to parse the voice commands to the phone properly. im using google framework api 1.3.2. maybe i need to use the latest 1.4?

Cant get voice commands to parse through android wear watch yet again.....
[Xposed Framework Modules] iHelp101:
Correct 1.4 fixed the past hook issue for Google Search 3.6.13 and 3.6.14. It seems you just got the update that broke the previous hooks. Which version of Google Search are you currently using? In the next release one APK will have support for at least the last three Google Search updates, so it won't be a hassle trying to find the right version.
[Xposed Framework Modules] wshinji:
I was using google search X.X.13 and it worked properly with API 1.3.2

Now im pretty sure its X.X.14 and yea well no longer works

Can i bother you with a link to the latest API 1.4? Just to be sure I am using the correct version? Thanks!!!!
[Xposed Framework Modules] iHelp101:
Google Search 3.6.13 would not have worked with the API 1.3.2 hooks, but either way lets just get you updated and working.

Link To Google Search API 1.4
[Xposed Framework Modules] wshinji:
Thank you so much!! The latest Australia google now search on play store is working with API 1.4.

I really appreciate your prompt help in getting this back up and running again. Thank you also to the DEVs to constantly updating API for google search framework!!!
[Xposed Framework Modules] chrisnash:
Annoying search results on G Watch

Updated search API working well now using G Watch, AutoVoice and Tasker but it keeps bring up search results on my watch after giving a command. Any way to stop this? I've worked out how to disable the Google Now search on my phone via the advanced options when setting a voice command but can't see a way to disable the search on my phone. It's really annoying :(
[Xposed Framework Modules] iHelp101:
Currently there is no work around for this. The LG G Watch dims and removes the search card after about 15-20 seconds. So you could say "Close Garage" and walk into your house and the card would already be gone. This has not been an issue for me. I either swipe the card or just let it disappear after 15 seconds.
[Xposed Framework Modules] Delay3d:
I've tried different google search versions from 3.5 till the latest 3.6.14, I have autovoice installed and the accessibility checked.

I've also tried the different API's from 1.2 till 1.4 and Google Search still crashes about 5 seconds after I say Ok Google. Am I doing something wrong somewhere?

I9300, nova launcher, cyanogenmod 11 M9. Help is appreciated. Done plenty of google searches, nobody seems to have their google crash when they do this :/

Edit: Backtracked all the way to Google Search v3.4 just to get it to work. Is there a workaround so this works from 3.5 instead? Or is no one able to recreate this :x
[Xposed Framework Modules] iHelp101:
Open Xposed Installer and click logs. Do you get any errors in this log? An error will usually look something like "java.lang.NoSuchMethodError". I have never had a crashing issue. One thing to try is go to the latest 3.6.14 and install Google Search API 1.4, which is linked above. Disable the AutoVoice accessibility setting and see if anything changes. Again after doing this check the logs and see if you get any errors or if an error seems to go away after this.
[Xposed Framework Modules] Delay3d:
I sent an email to Joao and he said that the google api wasn't needed for autovoice to work. So I uninstalled the API and installed the latest Google Search, it worked fine even after a reboot.

After reading your reply, I tried installling the 1.4 API again and after a reboot, it hasn't crashed so far. I have no idea what caused the crashes last night.

Thanks, will update if there are any crashes in the future.
[Xposed Framework Modules] iHelp101:
It is great to hear the API is working for you. Currently the API is only needed when you want to use Android Wear since AutoVoice is unable to get the searches from the watch itself. If you are only using your phone for commands then using the AutoVoice accessibility setting will be your best option.
[Xposed Framework Modules] zzEvilGeniuszz:
I too am trying to get Google Search API to work so I can use autovoice. Also, I want to be able to execute Tasker task on my LG G watch but the Google Search API is needed for that. For some reason, no programs are showing up...

I have tried several different versions both stable and also beta.

I have also done the same with Xposed itself running stable and also beta version.

My problem is that I have a Huawei phone and there have been issues with this phone and Xposed in the past. Regardless, I need to get it working. Do any of you have any ideas?
[Xposed Framework Modules] mdamaged:
Uninstall autovoice, then re-install it, the plugin should show up.
[Xposed Framework Modules] zzEvilGeniuszz:
You are the freaking man. I cannot believed that worked. Thanks.
[Xposed Framework Modules] oldman20:
Sr, but i dont know how to do to make module work fine. I installed module with xposed, restart, open Walkman to play a song. While Walkman is playing, I open google search app, then click icon micro, it listening my world, but Walkman is pause immediately, so google voice just typing every my word on search box, like normal when I search by voice! What I mistake?
[Xposed Framework Modules] iHelp101:
Is the issue that when you use the Google Search app it interrupts the music being played? If so I believe this is standard for most apps. If you opened Google Search and clicked the microphone icon to listen it would be able to get information from the song. So I believe when the Google Search app is opened it pauses the music in order for it to be able to listen to you solely. This module gets the information you said to Google Search, but nothing more then that. It doesn't attempt to block the mute that is caused.
[Xposed Framework Modules] oldman20:
Thanks for reply. But why they can do it on video, while me is not? That cause base roms are differences, right? If that true, so I can do like that video[emoji17]
[Xposed Framework Modules] iHelp101:
Could you link me to the video? I am unsure exactly what video you are talking about.
[Xposed Framework Modules] oldman20:
Here, plz

https://www.youtube.com/watch?v=ThbW5glU7zM
[Xposed Framework Modules] iHelp101:
In the video you can see the phone and tablet are on a laptop. I believe the music is actually coming from the laptop. Also Google Search is louder than the music, which usually indicated the music is from another source.
[Xposed Framework Modules] oldman20:
Thanks, i got it! [emoji16]
[Xposed Framework Modules] dolebomo:
My watch now controls my garage door, nest, and lights!

What I learned getting my android wear moto360 google search to work with autovoice and tasker:

Order of install is important:

1) Xposed framework

2) Google Search API v1.4

3) Autovoice v2.0.14 (**if it was previously installed, uninstall and re-install after Google Search API)

(existing install of Tasker is fine)

All my settings are in the attached screen shots. If you think you have everything right and its not working, try rebooting the phone one last time.

[IMG="Autovoice setup"]https://lh6.googleusercontent.com/-wjUdIMk-3SQ/VBhJOV1ENhI/AAAAAAABEfs/rkb2EDWij14/s512/Screenshot_2014-09-16-08-51-38.png[/IMG]

[IMG="Autovoice Google Now"]https://lh5.googleusercontent.com/-odE8POXAmFo/VBhJOQpbIRI/AAAAAAABEfw/JTswPAT3YSU/s720/Screenshot_2014-09-16-08-51-44.png[/IMG]

[IMG="XPosed Module"]https://lh3.googleusercontent.com/-lyEcL2KMP8c/VBhJOW9Zb8I/AAAAAAABEfw/2zgaNssgKeo/s720/Screenshot_2014-09-16-08-52-03.png[/IMG]

[IMG="XPosed Modules"]https://lh4.googleusercontent.com/-Mbo1-EAHTUE/VBhJOa86lLI/AAAAAAABEfw/24XRMZg3DUk/s720/Screenshot_2014-09-16-08-52-19.png[/IMG]

[IMG="XPosed GSearch API intro"]https://lh6.googleusercontent.com/-2vTV7Qw5QYY/VBhJOYdUi9I/AAAAAAABEfw/taACAEqLw3w/s720/Screenshot_2014-09-16-08-52-33.png[/IMG]

[IMG="XPosed Search API Plugin"]https://lh3.googleusercontent.com/-xRw0Nfh2bJk/VBhJOVSN5fI/AAAAAAABEfw/78gAEtkpTIc/s720/Screenshot_2014-09-16-08-52-38.png[/IMG]

[IMG="Phone Settings Accessibility Options"]https://lh3.googleusercontent.com/-Z7fPVRM2cDY/VBhJOTQVT5I/AAAAAAABEfw/C0_cRusHMWI/s720/Screenshot_2014-09-16-08-52-50.png[/IMG]
[Xposed Framework Modules] Maxr1998:
Cool, thanks for sharing!

Now I the only thing I need is a smartwatch [emoji23]

Sent using my nexus⁴ running Mahdi 2.7 with Xposed and hells-Core B54 KK
[Xposed Framework Modules] bogus83:
Thanks a bunch for those screenshots. I spent far too long trying to figure this out and that got it working. :good:
[Xposed Framework Modules] ghettobuck10:
I'm trying to install these latest Google Search API 1.4. When I install the API after unistalling the old version from the link provided in forum it reverts back to

v 1.2. when I reboot. Can somebody help me with this issue?

Thanks
[Xposed Framework Modules] Maxr1998:
Maybe the build still has the old version name, but the new code for new Search app. Does everything work as expected, or are there problems?

Sent using my nexus⁴ running Mahdi 2.7 with Xposed and hells-Core B57 KK
[Xposed Framework Modules] ghettobuck10:
Yes its working now. Does your phone have to be awake for particular commands. Ex: if i use a tasker command to play music from my watch, the screen remains asleep but does not play song in spotify. The app opens. But doesnt play.
[Xposed Framework Modules] iHelp101:
This is correct. Some task done by tasker require the screen to be on. Once tasker gets the command it is its job to get the music playing. So it's possible to tell tasker to wake the screen and execute the command. However you may not want the phone waking in your pocket.
[Xposed Framework Modules] nghiaxp:
Link isn't working for me.
[Xposed Framework Modules] iHelp101:
What link is not working? The link to the APK or something else? Below is the link to the current Google Search API APK.

APK - Google Search API 1.4
[Xposed Framework Modules] abuttino:
New Google search is out for lollipop only
[Xposed Framework Modules] iHelp101:
I don't believe Xposed is working right now for ART support. I have found all the hooks, which I will update when I can test them. Again if Xposed isn't working on ART no module(s) will work. I can only test them when Xposed works.

SearchControllerClassHook = "bpn"; -> cjq

MyVoiceSearchControllerListenerClassHook = "bpy"; -> cjw

SearchResultFetcherClassHook = "cby"; -> cmt

SearchOverlayImplClassHook = "cuc"; -> ebj

mContextHook = "mContext";

mVoiceSearchServicesHook = "mVoiceSearchServices";

ttsManagerHook = "aCT"; -> aPi

ttsManagerMethodHook = "a";

SearchResultFetcherQueryHook = "x"; -> g

searchQueryTextHook = "bqk"; -> ckd

mCacheHook = "mCache";

mClockHook = "mClock";

mCacheResultHook = "a";

MyVoiceSearchControllerListenerMethodHook = "a";

CharSequenceClassHook = "hmu"; -> ijg

CharSequenceClassHook2 = "cbs"; -> cmn
[Xposed Framework Modules] abuttino:
Android police says there is a way you can install this on 4.4 (KitKat)
[Xposed Framework Modules] Maxr1998:
It also works on Kitkat, refer to androidpolice, you just need a library in /system/lib/

Note: this also works for new Keyboard :)

Sent using my nexus⁴ running Mahdi 2.8 with Xposed and hells-Core B59-f
[Xposed Framework Modules] iHelp101:
I appreciate the information. I am not one that likes to mess with files like that. I have no idea if that file is accessed by another app for some reason, which might break the app. If anyone wants to test the newest APK I will link it to you. I want to at least know I have the proper hooks before posting it in the thread. Just message me if you want the link and are willing to test it out.
[Xposed Framework Modules] abuttino:
I'll give it a shot
[Xposed Framework Modules] iHelp101:
It looks like the hooks were confirmed working. Some people are reporting crashing with the newest Google Search update on KitKat. Below is the link with the newest update. I have also implemented a version checker to grab the proper hooks. This means if you have an older Google Search version you no longer have to hunt for the old APK. If you have any issues please post them since I have not been able to test things personally.
[Xposed Framework Modules] rmadrid20:
So i have my moto 360, new note4 rooted, xpose frame and google search api with tasker and autovoice, everything works great on the phone but no answer with the moto 360, any idea?
[Xposed Framework Modules] iHelp101:
Are you using the current Google Search API (1.4a)? If so go to Xposed -> Logs and take a screenshot. Post the screenshot to the thread for me to view, so I can see what the issue is. Also please check that autovoice is under the list on plugins. If it is not under the list on plugins uninstall and reinstall autovoice.
[Xposed Framework Modules] rmadrid20:
Yes i do have the 14a and autovoice is under the list of plugins, here it is the log... if you want i can send you my email so you can help me thru hangouts or so.

thanks a lot
[Xposed Framework Modules] iHelp101:
It looks like for some reason the Galaxy Note 4 has a custom or newer version of the Google Search app (3.8.0.1) pre-installed on it. I am not sure the reason for this, but the hooks are different. I have updated the hooks and if you have a Galaxy Note 4 the APK is attached. If anyone else has any more issues feel free to contact me.

SearchControllerClassHook = "bpn"; -> bpo

MyVoiceSearchControllerListenerClassHook = "bpy"; -> bpz

SearchResultFetcherClassHook = "cby"; -> ccf

SearchOverlayImplClassHook = "cuc"; -> cuj

mContextHook = "mContext";

mVoiceSearchServicesHook = "mVoiceSearchServices";

ttsManagerHook = "aCT"; -> aCZ

ttsManagerMethodHook = "a";

SearchResultFetcherQueryHook = "x"; -> x

searchQueryTextHook = "bqk"; -> bql

mCacheHook = "mCache";

mClockHook = "mClock";

mCacheResultHook = "a";

MyVoiceSearchControllerListenerMethodHook = "a";

CharSequenceClassHook = "hmu"; -> hnc

CharSequenceClassHook2 = "cbs"; -> cbz
[Xposed Framework Modules] rmadrid20:
I confirm this is 100% working on my note4 and moto 360, thanks a lot for your help iHelp101.............