yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Gear] patator33:
Hello,

I'am trying to launch a task on my gear from my phone but i have one error :

Broadcast error / Fail send task (it's a translate because it's in french)

I have put in extra : task:Gestion_Audio (the name of my task on my phone)

and for the action : com.orbonis.gear.tasker.PERFORM_TASK

I have no error when i put nothing in extra.

Im in NULL 21 and i have no pb to execute task on phone with gear intent.

Any idea ?
[Samsung Galaxy Gear] Samuel Sung:
Hey is there yet the possibility that i use Tasgear with zooper on my gear? I need the zooper widget to get his information from the phone...

thx in advance
[Samsung Galaxy Gear] John_wba:
You were born with eyes, correct? You're able to read, correct? Use these features that you were born with and you'll find your answer (many times over)
[Samsung Galaxy Gear] kashortiexda:
[MENTION=5796803]Orbonis[/MENTION], any idea how to send an image as an extra ( for album art )?

More relevantly, can TasGear accept an image as an intent extra ?

If yes, then I can populate the widget background bitmap with the album art thumbnail sent as an extra from my phone
[Samsung Galaxy Gear] Orbonis:
To send an image as an extra it needs to be converted to a byte array. TasGear will have no problem with this, but you will need to find a way to handle the conversion in Tasker. You can probably save an image as a Tasker variable and then pass that as the extra.

Edit: Try "Read Binary". See if that helps.
[Samsung Galaxy Gear] error6676:
[MENTION=5796803]Orbonis[/MENTION]

Launching this on my phone does not launch task "Y" on the gear but on the phone, what am I doing wrong? Thanks for a great app!
[Samsung Galaxy Gear] Orbonis:
That's the correct response. This app is designed to work on stock and therefore can't directly interface with Tasker on the Gear. Use the "Send Message" system to launch tasks on your gear.

If you have any further questions about the "Send Message" function see this thread.
[Samsung Galaxy Gear] error6676:
Thanks for a really fast reply! Already have messages working, just wanted to know if I discovered a bug or did anything wrong ;) Out of curiosity, why launch a tasker task with a intent on the same device, sure there are many good reasons but my imagination is lacking :)
[Samsung Galaxy Gear] Orbonis:
It's not something that was intended, but a by-product of how TasGear works :) I saw no reason not to make it available as it was no extra work. I'm sure someone will find a use for it. If nothing else it provides an interface for Tasker that previously didn't exist.
[Samsung Galaxy Gear] sdemills:
May I ask...?

I am trying to get an App on the Gear to run a Tasker Task on my phone via TasGear. Could you please tell me if I have interpreted the information above correctly?

Here is how I'm attempting to do it (just the bit that matters)...

private void runTheTask() {

Intent theIntent = new Intent();

theIntent.setAction("com.orbonis.gear.tasker.consumer.PERFORM_TASK");

theIntent.putExtra("TASK_NAME","Say It Worked");

this.sendBroadcast(theIntent);

Log.d(TAG, "intent launched");

}
[Samsung Galaxy Gear] Orbonis:
private void runTheTask() {

Intent theIntent = new Intent();

theIntent.setAction("com.orbonis.gear.tasker.consumer.PERFORM_TASK");

theIntent.putExtra("task","Say It Worked"); //Assuming "Say It Worked" is your task name.

this.sendBroadcast(theIntent);

Log.d(TAG, "intent launched");

}
[Samsung Galaxy Gear] sdemills:
Brilliant! Thank you so much for your help. It works now :)
[Samsung Galaxy Gear] oommyy11:
where is the leatest tasgear apk

I want the latest tasgear apk I can't find it
[Samsung Galaxy Gear] Radimus:
it is in the first post of this thread add an attachment
[Samsung Galaxy Gear] oommyy11:
I don't think so it isn't the latest one
[Samsung Galaxy Gear] sdemills:
Feature Request

Would it be possible and reasonable to extend TasGear so that it could receive a message from Tasker that would launch a fully loaded intent on the Gear? By "fully loaded" I mean it could have extra information attached that whichever app processes the Intent on the Gear could receive and act upon?

If that were available then that could make TasGear pivotal in being able to quickly build more Apps for the Gear.

I would like to build some Apps for the Gear but can't find information as to how the BT communications works through the Gear Manager. The nature of the Apps I would like to write would be such that I could easily use Tasker and TasGear to become my communications conduit to get the apps up and running.

Today I have tested a simple App going from the Gear to a Task, and if I could getting it going in the other direction passing data then I'd be on my way to being able to build the Apps I have in mind.
[Samsung Galaxy Gear] oommyy11:
If this is the latest one how can I send massege from the tasgear and receive information
[Samsung Galaxy Gear] juiceppc:
Can't you just do this by installing Tasker on your Gear then flipping the intents?
[Samsung Galaxy Gear] Brendo:
I've thought it through. It's easy enough on custom launcher: create widget -> launch task

Not sure how to add shortcut through touchwiz. The only way I can think of is to use AppFactory and create an app that runs the send intent task
[Samsung Galaxy Gear] sdemills:
Unfortunately I don't seem able to do that...

c:\Development_Tools\android-sdk-windows\platform-tools>adb install "C:\Users\St
eve\Downloads\Tasker.4.3u4.apk"
3307 KB/s (2295079 bytes in 0.677s)
pkg: /data/local/tmp/Tasker.4.3u4.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

So far I've seen no clues as to which library it's looking for.
[Samsung Galaxy Gear] goodrain:
Help me when I want to start a task with an intent from the phone

I want to start a watch task from the phone, but I got the alert of "broadcast error: failed to execute broadcast". Seems that orbonis has solve the problem in version 1.08. I am quite curious about that.

com.orbonis.gear.tasker.PERFORM_TASK is unworkable, whereas the com.orbonis.gear.tasker.cosumer.PERFORM_TASK is workable on the watch to launch the phone tasks.

Great thanks!:good:
[Samsung Galaxy Gear] Santaclauswitz:
If you want to create a tasker shortcut in touchwiz (or in any app you want) use gmd gesture control. You can create your own gesture and link this as a tasker shortcut
[Samsung Galaxy Gear] Orbonis:
The information you are looking for is in the original post (See the "Send messages through TasGear" section).

You cannot start a watch task from the phone using TasGear. This has been discussed before. I'll update the FAQ to reflect this.

There is already a system in place to send intents between the phone and the Gear using TasGear (see the "Send messages through TasGear" section of the OP). If this isn't suitable for what you want then drop me a PM with some more detailed info and we can talk about it further.
[Samsung Galaxy Gear] goodrain:
Great thanks to orbonis to update the FAQ.:good::good::good:
[Samsung Galaxy Gear] technologicrepair:
Is there anyway to get this app working on the galaxy gear without galaxy gear manager?

I'm on an HTC One (Cyanogenmod) with NULL_23 and therefore can't run the galaxy gear manager on the my device.
[Samsung Galaxy Gear] Orbonis:
It may work without the Gear Manager. Give it a try.

If it doesn't then there is nothing I can do I'm afraid.
[Samsung Galaxy Gear] technologicrepair:
Here's what happens:

I installed tasker on my android phone.

I installed the TasGear on my android phone.

I get the screen that says Done.

I look on my watch and I don't see any app.

I believe this may be because it relies on the Samsung Gear Manager to tunnel the watch app through.

Is it possible to give those of us without the gear manager the watch-app to install direct?

I'm not sure how your app is developed - but is the watch app the equivalence of an APK packaged inside of the TasGear APK?

Any help is much appreciated as I'd love to use tasker on my watch but I don't have the Galaxy Gear Manager :crying:
[Samsung Galaxy Gear] Orbonis:
Hmm... okay. Well it's worth a try. I'll PM you with a link to the Gear-side app and we can give it a try.
[Samsung Galaxy Gear] technologicrepair:
I side-loaded it and the icon for the app showed up in the applications list.

I made sure I had at least 1 tasker task created and also made sure I enabled external access.

Once these were in place, I verified that there was indeed a bluetooth connection between the phone and the watch.

When I launch TasGear-Gear, I see a black screen with a circle loading graphic - but it appears to do this infinitely with no intention of ever showing the tasker list of tasks. Any suggestions?
[Samsung Galaxy Gear] Orbonis:
Try resetting both devices. Then check the notification on the phone to see if it says "Connected". If it doesn't then there isn't anything I can do to fix it. If it does then try starting the Gear app again.
[Samsung Galaxy Gear] chuman72486:
It may not work that way. I've noticed when starting my phone, TasGear will never show connected until after the Gear Manager icon appears and says it's connected. Without Gear Manager to make the connection, the Galaxy Gear only seems to get the Bluetooth Tether and Bluetooth Phone Audio profiles, so unless TasGear can make a connection to the Gear using the Tether service as an internet connection, I don't think it'll work on phones without Gear Manager. Even if it could use this kind of connection, I'd suspect it would create a battery drain with constantly needing to create internet requests just to make it work. Unless someone can come up with a Gear Manager substitute, which can duplicate the type of connection TasGear needs to perform its functions, I don't see it working.

On another note, is there any chance of giving TasGear a launcher icon for the phone side? In case the service is forced to stop for some reason, it would be nice to have a way to trigger TasGear to restart without having to reboot the phone or reinstall the app. It could also give an opportunity to add a configuration page for "global" settings in TasGear, like formatting and colors of notifications. It could also be used as a Help section with tips on how to use the Tasker plugin and TasGear intents.
[Samsung Galaxy Gear] kashortiexda:
^^ +1 for the second suggestion. TasGear gets killed frequently and the only way is a reboot host / reinstall , which is not ideal
[Samsung Galaxy Gear] Orbonis:
You are correct in a sense. TasGear does NOT use the Gear Manager to establish the connection, Gear Manager is only used to sideload the Gear-side app. That said the Gear Manager appears to modify the way that the phone "sees" the Gear as a bluetooth. However this doesn't change the fact that you are probably right and without the Gear Manager a connection is just impossible. Hence the test.

There is nothing I can do to change this behaviour without some kind of inside knowledge on how the Gear Manager works.

The developer version of TasGear (not available yet) has a host side app icon that can reset the connection. Still testing it, but it should be available soon.
[Samsung Galaxy Gear] chuman72486:
In order for TasGear to work with the Galaxy Gear without using Gear Manager, it will need to provide the Bluetooth service that Gear Manager uses to access the "hidden" parts of the Gear.

When Android first pairs with a device, it attempts to identify the device by the public services it supports, like Phone Audio, Media Audio, File Transfer/Object Push, etc. It then assigns a profile to the device, such as a phone, headset, PC, music speaker, or some hybrid device. Apps can add their own profiles that can add additional services to a device that Android may not natively support, such as how some apps can pair with Wii Remotes and PS3 controllers. Android itself didn't have a service or driver for those devices and could only pair them as a HID device (wireless keyboard/mouse). It took special apps to add and modify the services to understand the data coming from the controller and translate it into something the system could use. (The Wii Remote is a good example of added services. In addition to sending codes similar to a keyboard or mouse, it could also receive commands to do things like choose which Player lights to turn on and to send sound bits to the speaker of the remote. Those functions don't exist in Android itself, but an app could add the functionality.)

If TasGear is to work without Gear Manager, it would need to be able to create its own Bluetooth profile to add to the Gear in the same way as Gear Manager does, and also needs to be able to choose not to add the profile if Gear Manager is already installed, so it doesn't make a duplicate profile.

Considering the complexity of adding such a profile, I think it would be better suited to a standalone app that is built as a Gear Manager substitute, for devices that can't get the Gear Manager app. (Keep in mind too that Gear Manager depends on features of the Android 4.3+ TouchWiz system, so in order to work on something other than a Galaxy device with TouchWiz, you may need to use root and some extra code to add the elements included in TouchWiz so that Gear Manager, or it's substitute, can run on other Android versions without TouchWiz.
[Samsung Galaxy Gear] Orbonis:
Updated :)
[Samsung Galaxy Gear] chuman72486:
I don't see the apk attached to the first post. Is it still uploading?
[Samsung Galaxy Gear] Orbonis:
Should be there. Here is a direct link.
[Samsung Galaxy Gear] chuman72486:
The attachment is working now and the restart option works too. Good update.

(On a side note, I replied to your PM about the icons)
[Samsung Galaxy Gear] Orbonis:
Oh crap, sorry I completely forgot! I'll get back to you asap :) Thanks for the reminder!
[Samsung Galaxy Gear] Orbonis:
For those of you interested in Gear development I have created another application that will help move that along:

http://xdaforums.com/showthread.php?p=52725601

Gear Connect will allow you to broadcast intents on your phone from the Gear and vice versa.

This is not for your average Gear user and is intended to help developers progress.
[Samsung Galaxy Gear] singhm29:
Hey there im running a stock note 3 and stock galaxy gear I have installed tasker on my phone and turned on external sources but it just hangs on the loading screen when I try to open it on my gear. I also noticed that TasGear will say flip between connected and disconnected if that provides any more information.

Thanks!
[Samsung Galaxy Gear] Orbonis:
Restart both devices. If that doesn't resolve the issue:

Uninstall TasGear.

Restart both devices.

Enable external sources in Tasker.

Enable Unknown Sources in the Gear Manager.

Reinstall TasGear.

Restart both devices.
[Samsung Galaxy Gear] technologicrepair:
Sorry for the long delay in getting back to you - the prior posts are correct - Gear Manager is a must - it's using something in that app to help the communication along that my non-Samsung phone just doesn't have. Hopefully someone can make a tasker app that works without the gear manager - *Wishful Thinking*
[Samsung Galaxy Gear] Orbonis:
Hey technologicrepair - thanks for getting back to us.

The physical bluetooth connection will work with or without Gear Manager, it's just bluetooth and profiles (as stated above). What I didn't realise was that outside of the connection the Gear Manager performs some sort of authentication on the Gear (using, what I can only assume, is a package that only Samsung devices have. I don't know where to begin looking for this.). This does not occur while debugging, but does occur on release builds of the app (hence the confusion earlier). I believe this is because it allows you to test the app in the emulator (the SDK is not designed for the Gear, but for any Samsung accessory and hence a connection is possible without the Gear Manager installed).

Because of this you won't find a direct communication app like this that will work without Gear Manager. However if someone with more time than me fancies looking into the Gear Manager app and finding out exactly how it works then a Gear Manager "substitute" is theoretically possible... though I can't imagine Samsung would be very happy with it. Not to mention it would probably violate the Samsung Mobile SDKs/Galaxy Gears terms of use.

However this line of investigation has lead me to solve a few of my own issues. I have figured out how the Samsung connection works through the Gear Manager. This is good because future updates will have a much more stable connection, it also allowed me to create the Gear Connect app without worrying about random disconnects. However this is bad for none Samsung users as it now requires the Gear Manager for every aspect of the connection (as opposed to just the authentification step), but I suppose it doesn't really make a difference as it wasn't usable anyway haha.

Of course most of this is just speculation based on the limited tests I can run with the Gear.

For clarification this means that future versions of TasGear will use Gear Connect to operate. But I don't have a reason to update at the moment as it appears to be stable :)

Thanks again for the update!
[Samsung Galaxy Gear] singhm29:
Perfect i had been doing a mix of all those but never in that order.. Order matters works now!
[Samsung Galaxy Gear] Brendo:
Have you tried atleast getting gear manager installed (requires gearmanagerstub)?

@Orbonis I wonder if you could just get away with installing just one or two of the preinstall apks that the gear manager installs instead of the whole package
[Samsung Galaxy Gear] technologicrepair:
I have not ... think if I try this tutorial, it'll work on my HTC One?

http://techglen.com/2014/01/21/how-to-use-samsung-galaxy-gear-with-nexus-5-and-other-android-smartphones/
[Samsung Galaxy Gear] Brendo:
Sure. it's simple though - same process for all non-touchwiz roms/phones. You can get all downloads from my sig. Check my gearmanager thread also

Simply install gearmanagerstub into system/app, install gearmanager, install preinstall apps
[Samsung Galaxy Gear] technologicrepair:
Great News! - Installing Samsung Gear Manager on my phone using the directions linked above worked 100%!!

Tasgear is now installed and connected! Awesomeness!!

Quick Question:

Whenever I tap TasGear app within touchwiz launcher, it asks me this question first:

Any idea why and/or what the correct answer is?
[Samsung Galaxy Gear] Orbonis:
Haha there is no correct answer. TasGear is capable of speaking the notifications, you are just choosing which synth engine to use.

Other than that it's great news! :)
[Samsung Galaxy Gear] Orbonis:
Update

Updated the FAQ to include non-Samsung device observations (thanks to [MENTION=3238313]technologicrepair[/MENTION] and [MENTION=352841]Brendo[/MENTION]).
[Samsung Galaxy Gear] technologicrepair:
Skip steps 10 through 12 - The notification app they suggest is no longer being developed - Use SWApp Link instead.
[Samsung Galaxy Gear] Orbonis:
Updated. Thanks :)
[Samsung Galaxy Gear] mtaylor78:
Parsing variables

First Orbonis, thanks this is excellent. I recently bought a gear and was a little disappointed with the functionality. That is until I came across this thread. You've sent me on a journey to learn tasker of which I have started. I've used tasgear to create a Gmail and Facebook notifications on my gear (using UI) but am trying to use it to now to give me details of texts. I can get it to fire, but the text in the notification is not allowing for a variable. I would like it to say something like "you've received a message from: %SMSRN ." However it's just retaining the variable name. Am I missing something?

Any thoughts would be greatly appreciated, thanks!
[Samsung Galaxy Gear] Orbonis:
As long as the variable %SMSRN is set before you send the notification then it should automatically replace the variable with its value. The replacing process is done by Tasker, not TasGear I'm afraid.

Make sure the variable name is correct and it exists before the notification is sent. Try sending a built in variable as a test the auto replace (%BATTERY is a built in variable that contains the phone battery).
[Samsung Galaxy Gear] mtaylor78:
Thanks. In reading, I thought it was a global variable, so tried %BATTERY and same issue. Perhaps I'm not explaining it well enough, so took a screenshot of both tasker and the output.
[Samsung Galaxy Gear] Orbonis:
Huh.... just tried it myself and I'm getting the same issue. I'll get back to you as soon as I can.
[Samsung Galaxy Gear] Orbonis:
Right... firstly I'm an idiot haha. The variable is %BATT not %BATTERY. This works fine for me.

I was not aware %SMSRN was a built in variable, though that doesn't mean it isn't. I'm no expert in Tasker. I'd suggest assigning it to a custom variable first and then using your custom variable in TasGear. Give that a go.
[Samsung Galaxy Gear] mtaylor78:
Perfect also worked for me. I'll play wirth it until I get it to fire well, then pay to the code examples. Thanks for the help!
[Samsung Galaxy Gear] vingar:
Orbonis... march, april, May, June.... your app is forever!

wonderful app friend!

Inviato dal mio SM-N9005 utilizzando Tapatalk
[Samsung Galaxy Gear] warrencoakley:
Is there anyway of creating a YouTube video to show you how to use it and how to create tasks please?
[Samsung Galaxy Gear] Orbonis:
I'm sure they already exist somewhere. Creating tasks is not related to TasGear though. Once you've created a task you just open TasGear on the watch and tap the task to run it.
[Samsung Galaxy Gear] warrencoakley:
Can't find one so do you need both Tasgear and tasker install on both devices? Tried doing the basic notification intent highlighted on the first page and nothing. The phone and watch are not even connecting. Can you tell me step by step how to do that even basic intent notification? Thanks
[Samsung Galaxy Gear] Orbonis:
There is a youtube video linked in the original thread (as well as text instructions) detailing the installation process. There is also a link to another thread that has examples and tutorials on how to do more complex things with TasGear.

Edit: Some examples do require Tasker on the Gear, but this is a more advanced setup and not required for TasGear to function.
[Samsung Galaxy Gear] warrencoakley:
Thanks. I Will Do Some reserach. I have notices it never connection tons though and just keeps saying please wait? Anything I'm doing wrong?
[Samsung Galaxy Gear] Orbonis:
Uninstall TasGear. Restart both devices and reinstall TasGear, following the instructions carefully.

Make sure you have Tasker installed on your phone before you install TasGear.
[Samsung Galaxy Gear] warrencoakley:
I have tasker on my phone already as I use it for my pebble. Tried uni stalling both and reinstalling and still saying please wait.

---------- Post added at 01:41 PM ---------- Previous post was at 01:20 PM ----------

OK we are in business at long last I have finally got it connected. Is there some tutorials or demo tasks that I can do to test it out please?
[Samsung Galaxy Gear] Orbonis:
Open up TasGear on the watch and you'll see your tasks.

For examples on how to use TasGear for other purposes you can see the thread I mentioned previously (link is in the OP).
[Samsung Galaxy Gear] fidocampeao:
will be a tizen version of tasgear? It's one of the few things that are holding me on android...
[Samsung Galaxy Gear] Orbonis:
I'm undecided myself. I would have to build TasGear from scratch and I just don't have the time at the moment. It would also mean that I'd have to update my Gear to develop it and that would leave this version of TasGear unsupported.
[Samsung Galaxy Gear] Santaclauswitz:
Wouldn't there also need to be a tizen version of tasker?
[Samsung Galaxy Gear] Orbonis:
... Not unless you intend to install Tizen on your phone as well.
[Samsung Galaxy Gear] Santaclauswitz:
Most of my use of taskgear usage involves tasks both sides. Stuff like switching on Bluetooth tether on the watch sends a message to my phone to switch Bluetooth tether on in the phone dude, I use a gesture as a trigger. There's also gear location bridge, the gear sms app and remote camera.