Contextual computing apps? - Moto X Q&A

Are there any API's available for the coprocessors that allow apps other than Moto's preinstalled stuff to take advantage of the coprocessors? For example, can a fitness app use the contextual coprocessor to track your steps rather than firing up the main CPU? If so, do any such apps exist at this point?

Related

[Q] Can an app developer access the Moto X's natural language processor?

Hi guys,
One of Moto X's features is the always-on listening (touchless control) via a discrete core in the X8 chip that is specifically for natural language processing. As far as I know, the only thing this is used for is Google Now (saying "OK, Google Now" to trigger it).
Do any of you know if it's possible to access this language processor from a custom app? I would love to use the Wit API (a natural language processing service that is free for open source projects) to be able to make my own functionality accessible by voice control. Wit already provides speech recognition as well as interpreting the query, so all that's needed is the ability to trigger a custom app via a custom voice phrase instead of triggering Google Now (which is the default). There's not much point in doing this in software only, because it would drain batteries like mad.
Anyone have a push in the right direction, or know if this is possible?
xtagon said:
Hi guys,
One of Moto X's features is the always-on listening (touchless control) via a discrete core in the X8 chip that is specifically for natural language processing. As far as I know, the only thing this is used for is Google Now (saying "OK, Google Now" to trigger it).
Do any of you know if it's possible to access this language processor from a custom app? I would love to use the Wit API (a natural language processing service that is free for open source projects) to be able to make my own functionality accessible by voice control. Wit already provides speech recognition as well as interpreting the query, so all that's needed is the ability to trigger a custom app via a custom voice phrase instead of triggering Google Now (which is the default). There's not much point in doing this in software only, because it would drain batteries like mad.
Anyone have a push in the right direction, or know if this is possible?
Click to expand...
Click to collapse
I was in the hunt for the same.
Is it possible to design an application to use the Motorola's X8 computing system to respond to our own Hot-Word or Key Word and invoke our Application.?
This always listening feature opens to the different world of developing high potential applications.
Any help would be greatly appreciated.
Thanks in advance
The same here; Tried to decompile touchless control, but it's not the correct app.
I think it's either in Motorola Services or Contextual Services (maybe this is more likely).
Maybe trying to decompile it would reveal something.
Maybe it uses some JNI code to assign it to a specific core.
I'm still just guessing

tasker Additional Features

Yet in Tasker, you can create widgets and individual applications, and you can extend the functionality with plug-ins. There are plug-ins for voice control or remote control of the device, they are all available on the network, and they are inexpensive. With their help, you’ll even more improve your tablet or smartphone on Android.
Note that plug-ins are added to contexts and tasks – it all depends on what kind of chain of actions you want to create.
As you can see, the application’s capabilities are simply stunning, and it’s not for nothing that Tasker is called the best service for automation. Yes, at first, you need to understand the interface of the program but the elapsed time will completely pay for itself when you can fully configure the device for your own purposes. Therefore, the Tasker tool is definitely worth the installation and will significantly expand your knowledge of the system and your gadget.

[REQUEST] Better SplitScreen

Does anyone know if there is or is there any module that causes both screen-split applications to stay in focus / active?
That's outside of the scope of magisk,that would require modifying the framework code on a per device basis and that is impossible with magisk
lucasbitencourt said:
Does anyone know if there is or is there any module that causes both screen-split applications to stay in focus / active?
Click to expand...
Click to collapse
I've looked into this, split applications follow the activity life cycle even tho both are visible on the screen at the same time.. which means they pause/resume when you interact with something outside of their environment. Modifying this behavior has proven to be very tricky, at least I couldn't figure out a logical way of going about it.
Fun fact: before split view was merged into android, Samsung use to have their own implementation of it which allowed two applications to be run simultaneously... it's what inspired me to even look into this in the first place (the behavior change).
A better approach if possible would be to create a floating activity for the specific app you want to interact with occasionally.

Question Smart Switch Alternative?

TL;DR: Is there an alternative to Smart Switch that will bring over App data?
I just upgraded from a Note9 to a S21 Ultra and I used Smart Switch to bring over some stuff. However, I was displeased to learn that Smart Switch doesn't bring over application data it just installs the app on the other side. I have a few games and chat apps that don't have cloud sync option so I don't know of a way to get the history over to the new phone. Samsung support confirmed that Smart Switch doesn't do that... But are there any apps out there that will?
To be clear, I'm not talking about "system" level stuff. My contacts, email and so on are through my Google Apps account and my text messages were brought over by Smart Switch... I'm talking about stuff like my Solitaire High Scores and puzzle game progress and so on. I'd rather not have to replay 500 levels of <insert digital addiction here>. I'd also like to avoid rooting for now if possible although I guess I'm not opposed in principle.
Thanks in advance!

Android Auto Development: App focus based on geofence?

I'm not sure if this forum gets that technical, I guess we will see.
I'm developing some Android Auto specific apps that I would like to be launched or focused when in a geofenced area. Is there a way to launch apps or give them focus with the API's for Android Auto based on outside influences? I'm thinking this could be against driver distraction guidelines but would certainly be handy in my use cases (think not advertising, marketing focused at all but useful and helpful!)
Sounds interesting.
What kind of Android Auto apps are you developing?
I can't say what I am developing, but here is another idea. Think of a "pay for parking" app that just brings up the payment authorization on the screen as you are driving into the lot. Just press "yes I accept" and you are allowed in. Based on geofence, so it just pops up when you are in "range".
hummbug said:
I'm not sure if this forum gets that technical, I guess we will see.
I'm developing some Android Auto specific apps that I would like to be launched or focused when in a geofenced area. Is there a way to launch apps or give them focus with the API's for Android Auto based on outside influences? I'm thinking this could be against driver distraction guidelines but would certainly be handy in my use cases (think not advertising, marketing focused at all but useful and helpful!)
Click to expand...
Click to collapse
As far as I know, apps in Android Auto mode cannot request "foreground" or take control over what is displaying in the headunit's screen. The user must launch the app manually from the AA's homescreen or the bottom bar.
You could try sending a notification to the user when it enters or exits the geofence, so he knows that he can use your app there (you may need to ask the user to allow bypassing do-not disturb mode)

Categories

Resources