Related
Is there any way to create shortcut that would point to a menu item inside a program? For example, if I created a link to Messaging/Send and Receive, I could then create a voice command that would cause that to happen. Similarly, I would like to link to Messaging/Tools/Empty Deleted Items so that I can clear items off the server with a voice command or two. I am hoping this functionality exists in WM5, but haven't encountered it.
Sorry if this has been covered; I searched and I've been reading the postings daily for a couple of weeks.
This board has dramatically helped me configure my MDA.
There is no direct way to do this. What you'd have to look for is a program that can 'record' screen taps and 'play' them back to the system. MortScript is a free utility that does this, and more, and seems quite popular:
http://www.pocketpcfreewares.com/en/index.php?soft=1448
You can come a long way with this way of making shortcuts, the rest could then be done by Mortscript...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/ppc_tcuts2.asp
That seems promising
jpiek, that looks like just the thing, but the explanation is for settings. It looks to me that something like
23# "/Windows/tmail.exe,X"
where X is the number of the send/receive menu entry would work to automate the send/receive function. Similarly for the empty deleted items. So my questions are (i) is this right, and (ii) where I can find out the numbers of the menu items for Messaging?
prestonmcafee: that's not quite correct. The Microsoft link is specific to shortcuts to control panel settings.
For any other app you're looking for command line options, that may or may not be available for the apps you're interested in. Depends on the app...
V
Browse the File associations with a tool like "Pocket Tweak", it might help in looking up some commandline parameters...
Pocket Tweak's description doesn't sound promising.
There should be a way to do this. In Messaging, I just want Send/Receive, which is invoked by <menu>S, and Empty Deleted Items, which is reached by <Menu>T<Menu>E. I would also like to directly link to "Synchronize via Bluetooth."
which is exactly what things like mortscript allow you to do - send key presses / screen taps / etc. to the device as if you actually pressed them.
If you're looking for some magic command line switch that does it... e.g.
"poutlook.exe -sendandreceive"
then who knows - maybe it exists, but most likely it doesn't. For most applications, the menu items aren't something that have command line switches
What i meant was : With POcket Tewak you can have a LOOK at the file associations, and maybe get a hint of the parameter you have to use...
prestonmcafee said:
Is there any way to create shortcut that would point to a menu item inside a program? For example, if I created a link to Messaging/Send and Receive, I could then create a voice command that would cause that to happen.
Click to expand...
Click to collapse
Funny - looks like there's a thread that is on this very topic, and the latest post now details exactly what the shortcut for -that- should look like
http://forum.xda-developers.com/viewtopic.php?t=41505
Heimiko said:
\Windows\tmail.exe -Service "MailAccount" -Sync
Click to expand...
Click to collapse
Thanks!
I did search...
hello, i'm searching for a today plugin which is similar to the default messaging plugin in wm6. but i want it to show me also the messages itself on screen (for example the last 3 sms or email), is there someting? thanks!
Only use "infinite Today" but the lan of software is chinese.
unfortunately no eng. version of infinitetoday yet.
but you could manage this by pocket breeze.eliminate the other tabs than sms and all icons of settings etc. it gives what you want .
mobile101 said:
Only use "infinite Today" but the lan of software is chinese.
Click to expand...
Click to collapse
hmm could you give ma link to this thing? maybe hexedit or reshack is possible...
is this that app?
http://forum.xda-developers.com/showthread.php?t=444414
Hi there! Have you checked out wisbar advance desktop 2? The app itself does not contain this function, but in combination with mortscript its an easy setup. Wisbar desktop gives you full controll over your todayscreen as in your desktop pc.
If this is the solution you decide to go for, I can help you getting started ;-) If so, PM me
The app itself does not contain this function, but in combination with mortscript its an easy setup.
Click to expand...
Click to collapse
tell me more, i am interested, what ms script can display sms content.
it would be easy to use this in hs++, freeware app then.
i was WAD user in 2005-2006.
here's few shots to prove it:
http://pdaclub.pl/forum/index.php?topic=50666.0
nothin said:
tell me more, i am interested, what ms script can display sms content.
it would be easy to use this in hs++, freeware app then.
i was WAD user in 2005-2006.
here's few shots to prove it:
http://pdaclub.pl/forum/index.php?topic=50666.0
Click to expand...
Click to collapse
Sure m8! But for the ease of it I will just copy a post from lakeridgesoftware.com. The reason why I copy it over here is that this forum should contain it all. This is the work of a guy called allanlsmith and here it goes:
alanlsmith lakeridge forums said:
Script Updated 30 Jan 2009
With improved method of splitting lines, hopefully to stop the odd message disappearing off the right hand side of the screen.
The only script that has changed is 'ReadSMS.mscr' & it now puts all the lines of the message into one registry value, so you need to change your registry text in WAD to point to 'HKLM...\Messaging\SMS\Message' rather than Line1, Line2, etc.
As before you can adjust the length & number of lines by altering the appropriate values at the begining of the script.
__________________________________________________ _______________
An earlier question from Neodd70 prompted me to look into being able to preview message on a virtual page, I've come up with what seems to be a viable solution for SMS, I have used a component(s) from ThrottleLauncher www.throttlelauncher.com which the author APBilbo has kindly allowed the use of as a standalone application.
As you can see from the screenshot I've ended up with it looking like a sort of copy of the message page from Manila 2D, I've included the images if you want to use them.
It allows a preview of the first 7 lines of a message & adds "..." at the end if the message is longer. the included shortcuts are 'SMS Next' which moves to the next newest message, 'SMS Previous' which moves to the next older message, 'SMS Details' which shows the whole message in a HTML window, 'SMS Refresh' which should be used as the page entry script, as this will display the most recent message on the page & 'SMS Reply' which, well, allows you to reply to the message sender.
The Registry entries that are created / updated when the shortcuts are run, are as follows, All under 'HKEY_CURRENT_USER\Software\My_Utilities\SMS' :
'Line1' to 'Line7' this splits the text into individual lines, 'Read' indicates if the current message is read or unread, 'Selected' is the number of the current message, 'Total' is the number of messages in the inbox & 'Sender' is the sender.
As neither the application or WAD do textwrapping the Mortscript 'ReadSMS.mscr' parses the message into lines, currently set to 25 chars long to suit my QVGA screen & the images I use, but if you change the value of 'linelength' at the begining of the 'ReadSMS.mscr. script then you can make them whatever length you want.
To actually use this, all that is needed is to copy the folder 'Message2Reg' (which contains the applications, DLLs & scripts) to '\Program Files\' & the 'Messages' folder (which contains the shortcuts) to '\Windows\Start Menu\Programs. Then on your selected page assign 'SMS Refresh' as the page entry script & the Next, Previous, Details & Reply shortcuts to appropriate buttons to suit your chosen layout.
Oh, & if you don't want to use the HTML preview you can delete 'template.html & 'OpenNETCF.DLL' which will save about 220Kb.
Note: opening the message in the HTML preview will mark the message as read, whereas viewing in the 'envelope' will not.
It should all work reliably, but no guarantees.
Edit: Throttle Launcher does not need to be installed, but you do need to create the registry key 'HKLM/Software/ThrottleLauncher/Messaging' then the first time the program is run it will create the necessary subkeys below this.
Click to expand...
Click to collapse
For all non english devices: You have to make a folder in your units root called "Storing Card" to make this work.
nothin said:
i was WAD user in 2005-2006
Click to expand...
Click to collapse
Then you shold check out WAD2! I cannot imagine myself owning a WinMo without it! There is NOTHING developed here at XDA that can touch this. (No guys .. all your work are great! But this is the king of the hill..)
thedaniel said:
Then you shold check out WAD2!
Click to expand...
Click to collapse
Well there are two crucial problems here(and few lesser ones):
- sipicon that pop ups on wm6.1 in bottom-center of screen, reported, but not solved.
- no tray at all, 1.x.x. had it.
Believe me, i do know, what WAD is...
here it goes:
Click to expand...
Click to collapse
thanks, thedaniel, gonna check this later.
You can make your own tray in WAD2
anyways: hope this gets you somwhere
I use SPB Diary. It's not free, but it's a very powerful program. You can view all of your emails and sms right on the today screen, as well as ALOT of other cool stuff. Check it out.
Point UI's Home 2 is just the ticket!
http://www.pointui.com/
You can choose your sms as your today screen, its amazing!
Ok, by now you probably know HTC's nice text selection tool. To use it, write some words in a HTC application (like the text message composer), then tap-and-hold somewhere in the text. You get one handle to move around, or two if you want to select a precise part.
But there's more. Change "HKLM/Software/HTC/TextSelection/EnableMagnifier" from 0 to 1. Now activate the text selection tool again as described above and try moving the single handle around...
Nice catch. Can be helpful in tight selections. I've been looking through the reg. So much stuff disabled... Why does HTC do this? They could've placed it as an option on SMS menu...
Thanks. Added to tips thread.
Maybe they disable it so we at XDA have something to do until HSPL is released
Some other simple but cool things I discovered:
* You can use the album app to crop pictures. Just pinch-to-zoom until the part you want fills the screen, then tap the screen, tap the icon on the bottom right and choose the second option from the menu. In Dutch it's called 'Schermafbeelding opslaan'. It will save a cropped copy of your pic.
* Here's a registry entry I found: "HKLM/Software/HTC/Manila/InternetPush/EnablePushInternet". It's set to 0 by default. I'm not really interested in push internet, so I haven't experimented with this, but it seems you can enable it if you want.
* Sometimes touch scrolling gets in the way of selecting text. If you want to select text, the solution depends on the context, but to start you just tap-and-hold anywhere:
-- In Opera, you can switch text selection on/off in the context menu;
-- In some apps (like while reading an e-mail message) you get a pop-up menu where the first option is 'make selection' ('selectie maken' on my Dutch device);
-- In Word, just before the pop-up menu appears, you see this: '[T]'. As soon as it appears, move your finger and you'll be able to select text!
* If you like the Footprints app but prefer full size pictures to those square 'polaroids', there's an option to save a full sized copy whenever you create a 'Footprint' (Footprints tab -> Menu -> Settings).
* The 'me' entry in the People app stores your 'owner' info. I know this is widely known by now, partly because I've been posting it everywhere, but I still see so many people complaining they can't register their applications (Resco stuff, SKtools)... because the can't find the old owner info icon. I have registered both Resco Explorer and SKtools perfectly fine without ever bringing the owner info icon back.
I haven't ever been able to get the Text Selection sliders to work on a custom rom even after setting the registry value to 1.
This is an awesome feature and I can't understand why it doesn't work.
leepriestenator said:
I haven't ever been able to get the Text Selection sliders to work on a custom rom even after setting the registry value to 1.
This is an awesome feature and I can't understand why it doesn't work.
Click to expand...
Click to collapse
you know it only works in text messaging, right? (well, some other htc apps too, apparently, but i couldn't name another one i've seen it in)
Yes of course... I'm aware that it only works in the realm of Sense specifically mail and text. I can do the standard selection thing but I just can't seem to get the sliders.
Any ideas?
hmm, well a common mistake I've come across a few times is people not pressing select the first time.
firstly go type some text into a new text message. (not sure where the idea it works in email came from, certainly doesn't on mine.)
ok, press and hold should bring up a cursor and the words "select|select all.
use the single sljder to set the start(or end, whichever) press 'select' nd now a second slider should join the first, enabling you to select.
Thanks for the responses guys, but as it turned out, I didn't realise that Energy ROMs are stripped of the HTC Messaging Module and that seems to be the only place where this 'feature' works.
It's a shame that's it's not available system-wide considering how easy it makes life.
I installed the HTC Messaging Client and voila, it was it there! but that excitement was short lived considering how bad HTC's messaging client is.
hah couldn't agree more. with the magnifier too its great ,, just never gets used.
Hello guys,
I got my N4 today, very pleased.
I dont think there is a way to PASTE your smart clips. I see a way to share them and to add them to a scrapbook, but not paste.
I was sure I saw something like that in some demo?
The manual does not mention if/how that can be done,
Any success with that out there?
tx
Mark.
Select the text
Hit the T button on the selction.
Tap the Share button
Pick "Copy to Clipboard" from the Share via popup.
ATnTdude said:
Select the text
Hit the T button on the selction.
Tap the Share button
Pick "Copy to Clipboard" from the Share via popup.
Click to expand...
Click to collapse
Hi
Thanks for the response, but there is no such option to Copy to Clipboard.
If there is no option search playstore ...there was an app that forced copy to clipboard to be an option...especially useful for YouTube.
xManMythLegend said:
If there is no option search playstore ...there was an app that forced copy to clipboard to be an option...especially useful for YouTube.
Click to expand...
Click to collapse
Hi
yeah, I did that before I posted here.
The clipboard paste apps I found there are about COPYING multiple items to that clipboard, but which does not tie in with Smart Select - so you can't copy smart selected elements to those apps, only things which have the COPY contextual menu as an option, like when you select text and have a copy option.
Nothing I have found allows you to copy a "smart selection" set of items to the clipboard. In fact I don't know if this would make sense on an android system level... the "smart selection" may not use the android clipboard at all... so there may not be any solution unless Samsung makes it possible.
Mark
fredphoesh said:
Hello guys,
I got my N4 today, very pleased.
I dont think there is a way to PASTE your smart clips. I see a way to share them and to add them to a scrapbook, but not paste.
I was sure I saw something like that in some demo?
The manual does not mention if/how that can be done,
Any success with that out there?
tx
Mark.
Click to expand...
Click to collapse
If you open a note and use the edit in s-note icon in the lower right-hand corner, you can just drag one or more items from the collection to the note.
Maris_ said:
If you open a note and use the edit in s-note icon in the lower right-hand corner, you can just drag one or more items from the collection to the note.
Click to expand...
Click to collapse
Hi
Open a note?
What note?
I have some smart select items I want to paste into an email I am replying to.... and there is no "note" I am working on, and there is no icon anywhere to drag to that email I am replying to...
Seems this is how I would use it, and it does not work like that... you can create a new email but not add to a reply or add clips to an existing document.
fredphoesh said:
Hi
Open a note?
What note?
I have some smart select items I want to paste into an email I am replying to.... and there is no "note" I am working on, and there is no icon anywhere to drag to that email I am replying to...
Seems this is how I would use it, and it does not work like that... you can create a new email but not add to a reply or add clips to an existing document.
Click to expand...
Click to collapse
If you don't want to save it to a note, but email instead, it still works the same. Save your selected item (s) to a collection using that little collections icon then open your new email message. If you have more than one item in the collection, tap on the down triangle at the bottom of the collection box, select the item you want to place in the email, and just drag it over. It will place the text in the spot you drag it to.
When you are done placing the text or image. You can drag the collection box towards the top of the screen and a trashcan appears. Drag it to the trashcan and it deletes the collection.
Maris_ said:
Save your selected item (s) to a collection using that little collections icon then open your new email message. If you have more than one item in the collection, tap on the down triangle at the bottom of the collection box, select the item you want to place in the email, and just drag it over. It will place the text in the spot you drag it to.
Click to expand...
Click to collapse
nope
that does not work.
try it.
try smart copy a couple of icons off your desktop and try paste that in gmail. I copied the phone icon, the message icon and app drawer icons as one image file, and when I drag and drop that to gmail, I get "[email protected]" instead of the image of the three icons!
This only works with TEXT but not with photos. Photos result in some gobbledygook nonsense word.
It works via drag n drop with the stock email app. With Gmail you need to use the share button and pick gmail. They will in both cases be sent as attachments to the email you send.
Sent from my SM-N910T using XDA Free mobile app
It doesn't work on Gmail, only if you create a new message. If it's an existing message you're responding to, there is no way to use smart select.
It works as an attachment so you have to save the images first if you want to attach them in Gmail to a reply. I just tested it. I used Share>ES Save To to save the selection as a png to the download directory. (I have ES File Explorer so that shows up in the share list) Then open your Gmail item and attach it from there.
Sent from my SM-N910T using XDA Free mobile app
Well adding attachments to Gmail is something any phone can do... As I am trying to point out, Smart Select cannot paste the contents to an existing gmail, you have to save it first, then attach manually from gmail... Not particularly fast, unique or convenient.
You have to add the attachments to gmail one at a time
The text "Smart Selections" are attached purely as images (no OCR)
So Smart Select is great for Evernote, Google Keep or Samsungs note taking apps, but not for existing Gmails! Saving to Drive also saves text smart selections as images instead of OCR text & images.
Mark.
Well I think Smart Select is a bit of a misnomer. It works by automating the process of saving the selections to png files so you can share them. That's just how it works.
Sent from my SM-N910T using XDA Free mobile app
Dumbo53 said:
Well I think Smart Select is a bit of a misnomer. It works by automating the process of saving the selections to png files so you can share them. That's just how it works.
Click to expand...
Click to collapse
the main part is multiple clipboard copying of BOTH images AND text simultaneously.
It also does OCR of text in images
SADLY with "copy to clipboard" missing as a sharing option, the inability to paste to any app that can paste images and text simultaneously, like gmail, is missing.
I've been trying to figure this out too. I have found a different way of selecting items into the clipboard. I use image clip instead of smart select. Then I hit the share button in the top right. And it automatically copies the item to the clipboard.
---------- Post added at 01:16 AM ---------- Previous post was at 01:09 AM ----------
And from there, if you need it to be square there's an option to do so in the top left corner
sangvann said:
I've been trying to figure this out too. I have found a different way of selecting items into the clipboard. I use image clip instead of smart select. Then I hit the share button in the top right. And it automatically copies the item to the clipboardr
Click to expand...
Click to collapse
Hmm
when I go to Share , and then choose none of the options and then go to Gmail and press to get contextual menu, there is no paste that comes up... so nothing gets copied into the clipboard. What steps did you take?
Even if it did, that would be one image at a time... which is ok, but not quite the nifty thing SmartSelect could be if it could copy all pix and text to clipboard!
Mark
Bought this from Amazon for $35 (it's available from many other sites too) and have been trying to get it to work with Tasker. Finally made some headway so I'd like to share and discuss ideas -
http://www.androidauthority.com/deal-martian-notifier-smartwatch-667537/
having now used it for a couple of weeks, here is my review:
it works pretty well, does what it says on the box very reliably. and i've gotten it setup with Tasker in a way that gives me much greater control over notifications than out of the box. it also gives me 7 days of battery with almost no impact to my phone's battery life
here's what i've done:
- disabled notification access for the Martian App, so it doesn't drain my phone battery
- use Autonotification to intercept notifications for apps i want to get displayed on the watch (mailwise, whatsapp, LINE, sms, hangouts, which i do for my home screen message counter already so it is not incremental to battery drain)
- pull content from the Autonotification intercept, so i get richer (e.g. email body, mail account, sender, reply/delete actions) and more customizable content (rules based on profile, time, sender, message content, etc.) which i can then push to the watch
- simulate a notification for these apps using Tasker to send a shell command targeted only at the watch, which allows control over what icons/vibration patterns are used, even if i don't have these apps installed. also minimizes battery drain on both the watch and phone
- reconfigured the left top button to delete the last read message (high use case incidence) rather than trigger Google Now (which is a low-incidence use case for me). can be easily reconfigured to map to say music controls
- it was somewhat painful to get to this point, since it involved reverse-engineering of the Martian App using apktool, trial and error to find the right intent to trigger the watch's notifications ... so if anyone is interested, just respond and i can share more details
- i'll also want to explore more tweaks using Tasker and the watch, such as remapping the watch's screen tap action, unleashing the accelerometer to send readings to Tasker, using Tasker to send GMaps walking directions, etc ... if anyone has ideas on what is possible or useful let me know
I just got the same watch. Being a novice to Tasker, I would love to know how you have done some of what you explain. I'm particularly interested in seeing more email text being pushed to the watch.
Chiming in to say I am very interested. I have this watch and love it. My major complaint thus far is that, as an avid user of hangouts, I find my watch constantly inundated with notifications from hangouts.
Typically I have extended conversations via Hangouts with friends using my desktop computer. When this happens Hangouts understands I have focus on the chat on my PC and will not send notifications to my phone, unless the chat loses focus. Frustratingly my watch does not have this feature so I find my watch buzzes frantically whenever I start up a serious Hangouts chat with someone. The fixes are either to disable notifications for the person in question or put the watch in DND mode. Neither is desirable for obvious reasons - I would still like notifications on my watch when I am not near Google hangouts!
Any ideas on a solution for this? My hackish idea is to buy an NFC tag and write a gasket task to suppress phone notifications (and therefore watch buzzing) when my phone is placed on the NFC tag on my desk (signifying I am near my PC enough to see notifications there).
I'm not sure if there is a more elegant solution.
john1833 said:
I just got the same watch. Being a novice to Tasker, I would love to know how you have done some of what you explain. I'm particularly interested in seeing more email text being pushed to the watch.
Click to expand...
Click to collapse
to get more email text, use a notification intercept app like AutoNotification to put the text you want into a variable
then to send this text to the watch, use a Tasker shell command:
am startservice -n com.martianwatches.martianwatchnotifier/com.martianwatches.martianwatchalerts.NotificationSenderService --es "sender" "demo_email" --es "message" "%antitle: %antext"
where %antitle and %antext are fields populated by a Autonotification Notification Intercept Event. if you are familiar with Tasker and sqlite, you can even send text to your watch that is not contained in the notification. (for instance, I use sqlite to pull the full whatsapp message rather than the shortened version that appears in the notification)
the "demo_email" example just gives you the default email icon that is built into the watch's firmware. there are other icons for specifici apps, e.g. fb, whatsapp, instagram .... if you prefer another icon, decompile the Martian apk and look in the NotificationSenderService.java file under /com/martianwatches/martianwatchalerts
note: to get this to work:
- you will need to have the Martian App installed
- you do not need to have the Martian App be able to listen for notifications (since you are essentially simulating a notification being sent to the App using the shell command above). this helps to reduce my battery drain from the Martian App
while this example is just for email, the approach opens up a lot more possibilities for the watch ... which are not restricted by the Martian App's hard-coded features. let me know if this works for you
betarepeating said:
Chiming in to say I am very interested. I have this watch and love it. My major complaint thus far is that, as an avid user of hangouts, I find my watch constantly inundated with notifications from hangouts.
Typically I have extended conversations via Hangouts with friends using my desktop computer. When this happens Hangouts understands I have focus on the chat on my PC and will not send notifications to my phone, unless the chat loses focus. Frustratingly my watch does not have this feature so I find my watch buzzes frantically whenever I start up a serious Hangouts chat with someone. The fixes are either to disable notifications for the person in question or put the watch in DND mode. Neither is desirable for obvious reasons - I would still like notifications on my watch when I am not near Google hangouts!
Any ideas on a solution for this? My hackish idea is to buy an NFC tag and write a gasket task to suppress phone notifications (and therefore watch buzzing) when my phone is placed on the NFC tag on my desk (signifying I am near my PC enough to see notifications there).
I'm not sure if there is a more elegant solution.
Click to expand...
Click to collapse
I do have a solution for exactly this problem, but it's a little complicated and highly tailored to how I use my phone, watch, and pc
here's what you'll need to implement my solution:
- Tasker (of course!)
- Eventghost installed on your PC
- Some basic knowledge of Python
- Bluetooth capable PC
- Bluetooth plugin installed on Eventghost
- AutoRemote plugin installed on Eventghost
- AutoRemote installed on phone
- AutoNotification installed on phone
and here's how I am implementing it:
- Eventghost checks for the presence of my phone every 5 mins, returns 1 (detected) or 0 (not detected). If there is a change in status, Evengthost sends a message to phone via AutoRemote with newly updated status
- if I'm near my pc (i.e. my phone is near my pc), AutoRemote sets a Tasker variable WatchStatus=0. If I'm not at my pc, AutoRemote sets WatchStatus=1
- instead of relying on the Martian App to listen for notifications, I use Tasker and AutoNotification to listen for notifications and decide which ones to send to the watch
- therefore if WatchStatus=0, I'm at my pc doing something, and if a Hangouts Notification comes into my phone, I have a Tasker task which checks for WatchStatus=1 before it sends the notification to my watch (using the method described in post #4 above)
- the rules don't need to be the same for each app or notification received, so it is highly customizable. for instance, Tasker can send notifications to the watch even if WatchStatus=0 for priority senders. or, you can set different rules for WatchStatus that do not only depend on bluetooth proxmity of phone vs. PC, such as quiet hours, geolocation, wifi near, etc.
hope this helps!
Any idea how I can do similar with the SMA-Q Watch? I can get tasker to produce a notification and I have the watch app watching Tasker, but I'd like to send a command like you have here.
I have decompiled the app and I can't seem to get a message sender service to work.
Is there anything specific to look for when trying this for a different watch?
Thanks!
StuDB said:
Any idea how I can do similar with the SMA-Q Watch? I can get tasker to produce a notification and I have the watch app watching Tasker, but I'd like to send a command like you have here.
I have decompiled the app and I can't seem to get a message sender service to work.
Is there anything specific to look for when trying this for a different watch?
Thanks!
Click to expand...
Click to collapse
it should be possible to do the same thing - in your watch's android app, look in the android manifest for a service that listens for notifications. then, go into the javascipt (.java file in the decomplied app resources) to understand the syntax that the notification service uses to send messages through to the watch. finally replicate that syntax with a shell command from Tasker
Hello, Could you tell me what you did to reconfigure the top button (a short step tutorials ?) ? I was very annoyed it's stuck to using google voice, a thing I never use... Thanks
gervil said:
Hello, Could you tell me what you did to reconfigure the top button (a short step tutorials ?) ? I was very annoyed it's stuck to using google voice, a thing I never use... Thanks
Click to expand...
Click to collapse
i wrote a tiny app (noob at coding) that listened for the Google Voice Search intent that would then trigger a Tasker task (via an intent). the tasker task I can then configure for different contexts (e.g. driving ,watch connecting/disconnected, music app in foreground, etc.) to trigger different actions depending on context
wyt18, I have the Martian Notifier Watch and the Martian Notifier app installed. The app is connected to the watch and works fine. I am trying to test my ability to send a notification to the watch with Tasker. I am using your shell command, only with the two variables manually set to some random text, so the shell command is:
am startservice -n com.martianwatches.martianwatchnotifier/com.martianwatches.martianwatchalerts.Notification SenderService --es "sender" "demo_email" --es "message" "%Antitle: %Antext"
Tasker runs this fine with root, but the watch does not respond.
Any suggestions?
Thanks.
it works for me, you might want to check if you have notification access enabled for the Martian Notifier app, and if regular notifications from the phone to the watch (using the Martian app) work properly
smalis said:
wyt18, I have the Martian Notifier Watch and the Martian Notifier app installed. The app is connected to the watch and works fine. I am trying to test my ability to send a notification to the watch with Tasker. I am using your shell command, only with the two variables manually set to some random text, so the shell command is:
am startservice -n com.martianwatches.martianwatchnotifier/com.martianwatches.martianwatchalerts.Notification SenderService --es "sender" "demo_email" --es "message" "%Antitle: %Antext"
Tasker runs this fine with root, but the watch does not respond.
Any suggestions?
Thanks.
Click to expand...
Click to collapse
smalis said:
wyt18, I have the Martian Notifier Watch and the Martian Notifier app installed. The app is connected to the watch and works fine. I am trying to test my ability to send a notification to the watch with Tasker. I am using your shell command, only with the two variables manually set to some random text, so the shell command is:
am startservice -n com.martianwatches.martianwatchnotifier/com.martianwatches.martianwatchalerts.Notification SenderService --es "sender" "demo_email" --es "message" "%Antitle: %Antext"
Tasker runs this fine with root, but the watch does not respond.
Any suggestions?
Thanks.
Click to expand...
Click to collapse
I don't know if this will be of any help, but I use Tasker to create and quickly cancel a notification to send it to the watch.
So in the Notifier app, tick Tasker. Then create your Task to generate whatever text you want, stored to a variable. Then do a Notify with title %variable, and then a Notify Cancel, title %variable (to quickly remove it from your status bar).
If you want you can then export the task as an app (AppFactory), and then in the Notifier app find that rather than use Tasker as the notifying app.
Thanks, guys. wyt, notification access is indeed enabled for the app, and the app does send normal notifications to the watch with no issue. Not sure why the shell command is not working for me.
As djthorne suggests, I can resort to creating notifications with Tasker and sending them to the watch via the Martian Notifier app. Is there any advantage to using the shell command over doing that, since I can include variables in created notifications?
djthorne, have you tried testing the shell command with your watch?
djthorne said:
I don't know if this will be of any help, but I use Tasker to create and quickly cancel a notification to send it to the watch.
So in the Notifier app, tick Tasker. Then create your Task to generate whatever text you want, stored to a variable. Then do a Notify with title %variable, and then a Notify Cancel, title %variable (to quickly remove it from your status bar).
If you want you can then export the task as an app (AppFactory), and then in the Notifier app find that rather than use Tasker as the notifying app.
Click to expand...
Click to collapse
wyt18 said:
it works for me, you might want to check if you have notification access enabled for the Martian Notifier app, and if regular notifications from the phone to the watch (using the Martian app) work properly
Click to expand...
Click to collapse
smalis said:
djthorne, have you tried testing the shell command with your watch?
Click to expand...
Click to collapse
I've not tried that, but if I get some time over the weekend I'll have a play and let you know.
i do it because i think it's more efficient than creating a separate Tasker notification. and you can customize the icon so not all notifications on the watch appear the same
smalis said:
As djthorne suggests, I can resort to creating notifications with Tasker and sending them to the watch via the Martian Notifier app. Is there any advantage to using the shell command over doing that, since I can include variables in created notifications?
Click to expand...
Click to collapse
smalis said:
djthorne, have you tried testing the shell command with your watch?
Click to expand...
Click to collapse
Just tried a quick test and it worked. Copied and pasted:
am startservice -n com.martianwatches.martianwatchnotifier/com.martianwatches.martianwatchalerts.NotificationSenderService --es "sender" "demo_email" --es "message" "antitle: antext"
Into a shell, ticked root and it sent to the watch.
Tried it again, and it now works! Not sure what or if I did anything differently before.
Now to work on understanding Autonotification!
djthorne said:
Just tried a quick test and it worked. Copied and pasted:
am startservice -n com.martianwatches.martianwatchnotifier/com.martianwatches.martianwatchalerts.NotificationSenderService --es "sender" "demo_email" --es "message" "antitle: antext"
Into a shell, ticked root and it sent to the watch.
Click to expand...
Click to collapse
Sending %antextbig to the watch with Tasker, the notification gets cut off at about 108 characters, even though the big notification on the phone shows much more message text and if I flash %antextbig on the phone, I see the entire notification. I do not have character limit set in the Martian Notifier app.
Any idea why the watch does not show the entire text?
wyt18 said:
...
the "demo_email" example just gives you the default email icon that is built into the watch's firmware. there are other icons for specifici apps, e.g. fb, whatsapp, instagram .... if you prefer another icon, decompile the Martian apk and look in the NotificationSenderService.java file under /com/martianwatches/martianwatcha
...
Click to expand...
Click to collapse
Not sure if it's of use to anyone, but I decompiled the apk and looked in the NotificationSenderService.java file and got what I believe are all the available icons.
In the text file you'll have two lines per icon (except the last one). Where the line starts if (str.equals... use the bit in quotes to replace "demo_email".
The line underneath hints at the icon it will use. So if you replace "demo_email" with "com.twitter.android" you will get "SP_DISPLAY_TYPE_TWITTER", which you can assume is the Twitter icon.
Few tests I did seemed to work for each one.
wyt18 said:
i wrote a tiny app (noob at coding) that listened for the Google Voice Search intent that would then trigger a Tasker task (via an intent). the tasker task I can then configure for different contexts (e.g. driving ,watch connecting/disconnected, music app in foreground, etc.) to trigger different actions depending on context
Click to expand...
Click to collapse
I know this is an old topic but any way you could post the apk you used for this? Music controls (or anything else) would be much more useful than the Google voice button.