[APP][09/29/11] Book button menu. {NEW:LandscapeSwitch,Propagation} - Nook Touch Android Development

Heya all.
Changelog:
1.1 - Added orientation switch and propagation (open "Reading Now") to Nook reader
1.0 - Initial release with home and CoolReader option.
Working on:
Investigating the way to distinguish if opening reading now book and not other epubs in order not to show menu on any library book click.
History/Idea:
Just got nook last Sunday as gift and immediately noticed after root that back/menu buttons in status bar is great, but would be even better to use book button as home OR as menu, was messing with framework, etc. to no avail, but finally got a better and simpler solution, but with cons.
After installing CoolReader I noticed that "reading now" button will trigger android select app menu with Nook Reader and CoolReader, so it is broadcast event, opening with CoolReader shows it is getting started epub.
So, here it is. Simple app, registers as one of the epub readers, by having last read in native nook reader any epub - and by pressing "reading now" button it will trigger app select dialog with my app in list (you can check to always open epubs with it).
It will show styled popup menu (see screenshot) containing only Home (will open default one or list of available homes if none selected as default), orientation switch, CoolReader shortcut (hardcoded now) and Nook Reader (this one will open remembered "Reading Now" book)
Cons:
1. Will be triggered on any broadcast event to open epub. (I don't care as I read in fb2)
2. If nothing in "reading now" it will not be triggered as well if "reading now" is not epub
3. hardcoded shortcuts for now
If it generates enough interest I can improve app (in current state functionality is enough for me). I could think of adding next features:
1. Add/Configure any shortcuts, e.g.:
* Back/Menu buttons in addition to home (this will required root to run)
* Add/Configure any shortcut
2. Add ability to propagate event data, e.g. if "reading now" sending "warandpeace.epub" to this app - send it to launching app if configured. This will allow to register this app to open epub and then open configured reader with epub data - done, besides configuration
3. Investigate launch origin (launching activity) and if it is not opening from status bar, but for example from astro/library - open configured reader propagating data.
4. Organize shortcuts as tree
5. Add recent apps submenu

Really interesting
It could even replace Button Savior in a subtler way
BTW, in the same spirit, do you know if it could be possible to change the app launched when you click on the home button in the menu that appear when you press the n button ?

hi,
i tried it and it works great, thanks!!
isn't it possible to launch the default app automatically, when pressing the button?
(on a side note: wouldn't it be possible to reconfiger the home button of the standard nook menu (the one that opens when you press the n-hardware-button) to launch the default android home?app?
edit: ok, somebody was quicker, i swear i didn't copy..

XorZone said:
If it generates enough interest I can improve app (in current state functionality is enough for me). I could think of adding next features:
1. Add/Configure any shortcuts, e.g.:
* Back/Menu buttons in addition to home (this will required root to run)
* Add/Configure any shortcut
2. Add ability to propagate event data, e.g. if "reading now" sending "warandpeace.epub" to this app - send it to launching app if configured. This will allow to register this app to open epub and then open configured reader with epub data
3. Investigate launch origin (launching activity) and if it is not opening from status bar, but for example from astro/library - open configured reader propagating data.
Click to expand...
Click to collapse
Consider my interest highly generated. This is flat out great, especially if the option to go to Reader is built into Nook Book Button menu, and with the options of Back and Menu. I like Button Savior, but this has all of the same potential with a less obvious footprint and more seamless execution.
I'm running it now and this is really fun - if #2 can be done as well I see this as becoming an indispensible app for the nook touch root.
Sent from my NookColor using xda premium

Thanks. I'm trying to get a clue if it was launched from "Reading now" button or from other app. I can easily distinguish between "Reading now" and let's say Astro, but cannot distinguish from Nook Library.
And... great news - I'll post update soon with working landscape/portrait button.
Working on: opening only from "Reading now" or other nook app, but skips to configured reader otherwise. Also, instead of CoolReader I'll have configured reader in the menu.
For the back/menu buttons this will require root.
It is possible to change "n" button, I have it configured as Search button and assigned SoftKeys to search button long press. I'll post instructions soon as well as modified SoftKeys to handle Search long press without need of external app and also with a bit more friendly colors for eInk (background of recent apps white instead of blured)

unattached said:
isn't it possible to launch the default app automatically, when pressing the button?
Click to expand...
Click to collapse
Do you mean just to launch let's say CoolReader instead of NookReader by the press of "Reading now" button?

I think you've done a great job. and I guess adding a list of (programmable) shortcuts on that button would be neat (like when copying several chunks of text from a pdf to a doc text or something of the sort).

Ok, story number 1:
I dissembled (smali) framework jars and now have good idea how that book button works, basically it send custom broadcast, problem is that broadcast not ordered, I can change service.jar to broadcast mine event and this will allow to configure how to act, e.g. you can configure as default (reading now so I'll just send original broadcast), popup this menu or launch any app including home or softkeys directly.
Will play a bit more if androidriority indeed works even for unordered sendBroadcast and if I can abortBroadcast to not allow original reader spawn - we can avoid modification of the service.jar.
story 2:
WindowManagerPolicy/WindowManagerService seams like directly invoking native (JNI) code on home button, I was playing with remapping keys and finally found one that works with single press (Call not bringing dialer at all, camera only sends broadcast at long press, etc.), but by default it will not awake device, will have to play if I can awake from broadcastReceiver, if yes - it means we can configure "n" (home) button to do whatever we want.

Well, I don't use coolreader, but the extra home button and portrait/landscape button works very well.
Great job!
For me, the only thing missing is adding 2-3 apps on the list, and I'll be quite happy.
I don't use the N button much, but it could become a neat menu or back button.

Great App
Thanks for spending time making this app for us Nook Touch users.
I think this app is definitely a candidate for partial refresh. Having the full screen refreshed to draw the small dialog seems to be overkill. Not sure if that's under your control or not...
I definitely have an interest in remapping the N button to home. Perhaps long press launches the original menu?

cheers! gr8 post,

XorZone said:
Do you mean just to launch let's say CoolReader instead of NookReader by the press of "Reading now" button?
Click to expand...
Click to collapse
thats what i meant! launching just one app automatically, let's say cool reader.. (maybe launching the home app automatically would also be possible? then we would have all the standard buttons in the task bar!)
cheers
Sent from my HTC Desire using XDA App

Well, I've noticed that not all apps are turnable (haven't tried all yet, but I can spend like 30 minutes trying them all).
BUt great job nonesoever.

Having trouble
Would anyone know how I clear the default selection for the Reading Now icon in the status bar? The NookBB menu now will not come up anymore when I press the Reading Now icon.
It was working out great for me until this:
1) When I first installed NookBB (v1) and then pressed the Reading Now button, it would pull up a dialogue box asking which action I'd like to set as the default - either the Nook BB menu or the default Reading Now application (which would be the B&N reader app).
2) I selected as the default the Reading Now application (B&N reader). Then I decided I wanted to use the Nook BB as the default but couldn't figure out how to do it. The Manage applications for NookBB won't let me clear default there as it is greyed out.
3) I tried uninstalling, and installing v2. It loads the app icon to my app drawer, but the only way to invoke the Nook BB menu is to press this icon. Pressing the Reading Now button takes me to the B&N reader.

I have just found a very interesting app while searching something on github
(I posted it here mainly because I didn't want to start a new thread)
Relaunch (coded by yiselieren) is a filemanager / launcher / task manager for Nook Simple Touch. and it has very interesting features.
One of them is that when you click on the Home, library, shop or search button in the menu of the n button, you can choose to start ReLaunch instead of the default app.
I think it would be great if you could add something (more or less) similar to that in your app.

For clearing uninstall and reinstall should work. You can try installing any epub reader (such as coolreader) and it should bring selection popup back to choose default one.
Anyway I've done patching services.jar so it will load Nookbb by pressing that button with option to go directly to reading now not relying on epub files and *only* by pressing that button.
Also for the nook menu (n button) I done remapping (easy one) and almost done custom small app so n button will act as stock Android home one, e.g. it will go home with short press and bring recent apps (using softkeys now) on long press. Still have to tinker device wake if it's locked instead of going to home behind screensaver.
I plan to post it both tonight or tomorrow.
Then I can spend time adding customizations and partial refresh.
Sent from my SAMSUNG-SGH-I897 using xda premium

XorZone said:
For clearing uninstall and reinstall should work. You can try installing any epub reader (such as coolreader) and it should bring selection popup back to choose default one.
Click to expand...
Click to collapse
Thank you, uninstall didn't fix it but installing cool reader did.
Can't wait for the new fixes, very impressive already.
Sent from my NookColor using xda premium

I'm loving this app and very excited to see a Touch specific app. If you further tweak the Book Button Menu I'd like the ability to subsituite the E-reader software of my choice instead of Coolreader. I'm currently using Mantano Reader and enjoying the software.

ryanpl said:
I'm loving this app and very excited to see a Touch specific app. If you further tweak the Book Button Menu I'd like the ability to subsituite the E-reader software of my choice instead of Coolreader. I'm currently using Mantano Reader and enjoying the software.
Click to expand...
Click to collapse
I'm currently finishing n button mod to act as stock android home (short click - goto home, long click recent apps list with all buttons (back, home, menu, search, orientation). Almost done - testing and trying to apply partial refresh.
Next step - I'll publish patched services.jar so BookButton will be launched only by this book button not relying on epub files.
Next will be settings for the BookButton to configure all aspects of the menu, e.g. appearance of Home, Orientation as well as custom shortcuts.

thanks, I realy like your application. Very usefull but I don't use "Cool reader". I use "read it later" and "ezPdf" for reading.

Related

Command Line Interface

I've had a look at a few programs and they all require command line changes to set up specific option. I have no idea how to get this to work with WM5.0 and no ammount of Googling and forum searches has helped. I know what to do in a desktop environment but there is no option for mobile based applications. Can anyone tell me how to add command line options to a program or shortcut on WM5.0?
total commander
Thanks
EDIT: NVM me a fool...
if you just want to launch an app with command line hold down the action key (the one in the middle of the d-pad) then long-tap the clock / battery icon area on the top bar. Release the action button and a popup menu will appear giving you the "RUN" option just like on a desktop PC.
levenum said:
if you just want to launch an app with command line hold down the action key (the one in the middle of the d-pad) then long-tap the clock / battery icon area on the top bar. Release the action button and a popup menu will appear giving you the "RUN" option just like on a desktop PC.
Click to expand...
Click to collapse
Oh, wow! That is a very handy bit of information!
Sorry to bring up such an old thread, but I haven't been able to get this d-pad trick to work (in WM6.1). The app just opens as soon as I press down the center button. I've also been trying to do it through Total Commander but I haven't been able to figure out where to specify the options. I've been at this for two days. Can someone please point me in the right direction so I stop feeling like an idiot? Thanks.

(Happy) Easter Eggs in WM6

WM6 Easter Eggs - WM6 Features (search terms)
This is a list of new and little known features in WM6.
Please add any I miss to this thread and I will try to put them in this post (with credit of course)
1. Typing on the keyboard on the today screen will automatically bring up the phone with matching contacts. Certain phone skins do not support this and you will just get a text box with scroll bars covering half the screen but nothing in it. If this happens switch your phone app with the Tweak app (varies depending on who’s WM6 you are running)
2. From Messaging (Outlook, SMS, MMS, [POP/IMAP? not tested] ) if you start typing it will search through your messages for whatever you type. Hold “H” for a list of shortcuts. I think the shortcut keys mean hold that letter.
3. Under calendar; If you create a new appointment and decide you don’t want it, you can now pres menu and cancel (cancel was not in wm5)
4. When typing in WiFi keys (WPA, WEP, whatever) you can actually see what you are typing instead of just ******.
5. The new feature I found that I love is if you go into the options for the calendar you can now set it to start in Month view (or whatever view you prefer). I couldn't stand the fact that WM5 kept reverting back to agenda!
(Thanks chymmylt!)
6. The camera finally keeps adjustments like contrast and sharpness saved.
Previously if you soft reset or power off and on the phone, these settings would always revert back to the defaults.
(Thanks abubasim!)
7. In Contacts, when you edit a contact you now have 'File As' useful if you want Forename Surname instead of the default Surname, Forename
(Thanks nbedford! [I installed the "File As" plugin and never noticed that it the ability to change it was built in =)] )
8. In Outlook, if you [Reply All] by default it copies your own email address into the recipient list, so you receive your own mails, even if you auto-save them already in Sent Folder. I found that extremely annoying because with every [Reply All] I had to manually remove my email address before sending.
You can avoid this easily:
1. Programs -> ActiveSync
2. Menu -> Options
3. Select the E-mail information type and tap Settings
4. Tap Advanced
5. Enter the e-mail address you want to remove when replying to all senders in My e-mail addresses
(Thanks aublumberg, This applys to WM5 also but not to many people know this one.)
Let me know if this is a waste of space, and if not, lets keep this thread on topic and point out all the fun reasons to use WM6.
Later, Lew
thanks. couple those i didnt know about.
not quite "easter eggs" though are they
thanks for sharing this information
i found the firts two points very usefull, and (correct me if i'am wrong) due to the lack of a propper wm6 manual i think this thread comes quite handy
The new feature I found that I love is if you go into the options for the calendar you can now set it to start in Month view (or whatever view you prefer). I couldn't stand the fact that WM5 kept reverting back to agenda!
The camera finally keeps adjustments like contrast and sharpness saved.
Previously if you soft reset or power off and on the phone, these settings would always revert back to the defaults.
In Contacts, when you edit a contact you now have 'File As' useful if you want Forename Surname instead of the default Surname, Forename
Bump for added Features.
Not new, but little known and well hidden:
- press and hold the action button
- tap and hold the clock in the title bar until the dots stop moving
- when you release both the stylus and the action button, you get a small menu with an "execute" (or "run") entry. Tap that to get sort of a command line prompt.
Cheers
Daniel
Very nice thread. thnx for the little hints
Are there any real easter eggs in win mobile?
Pisquee said:
Are there any real easter eggs in win mobile?
Click to expand...
Click to collapse
I hope that is a joke. i wouldnt be surprised if it's not
tadzio said:
Not new, but little known and well hidden:
- press and hold the action button
- tap and hold the clock in the title bar until the dots stop moving
- when you release both the stylus and the action button, you get a small menu with an "execute" (or "run") entry. Tap that to get sort of a command line prompt.
Click to expand...
Click to collapse
This is a real easter egg!
WIKI Pls
In the interest of WIKI and promoting the use of knowledge being written once and used many times, there is already a knowledgebase for this with lots of stuff, if you can add yours and close this, everybody will know where to go for their easter eggs...
http://wiki.xda-developers.com/index.php?pagename=Hermes_Buttons
Tap and hold the clock on the title bar lets you switch between digital and analog disply - no idea that happened until now!
I guess, you already know this...
Pressing the "power button" for 3 seconds turns off (not just standby) the device (with WM2003 it wasn't possible...)
This is probably an old one but I didn't know it myself until Googling for it:
In Solitaire, open the on-screen keyboard, tap Ctl and Shift and then Deal. It gives you the perfect hand.
Source: The Easter Egg Archive. The site has a few more . . . of which this one is the only one that seems to be working.
VivaErBetis said:
This is a real easter egg!
Click to expand...
Click to collapse
. . . but an old one. I could do this one on my old JAMin (WM5 AKU2.0).
pello said:
I guess, you already know this...
Pressing the "power button" for 3 seconds turns off (not just standby) the device (with WM2003 it wasn't possible...)
Click to expand...
Click to collapse
it's in the manual
panzer said:
it's in the manual
Click to expand...
Click to collapse
Yes i know but...i have never touched a manual for mobile devices
BTW: i don't need this function
Good and handy tips!!! Thank you.

X-panel button - switch between programs

Is it possible to assign to xpanel button switching between programs? i don't use this button and this option would be great for it i think.
p.s
don't redirect me to thread where is written how to assign exe to xpanel button
Hah found how to do it I will write tutorial maybe someone need it.
1. We need software called AltTab.exe
Download and put in Windows directory
2. Take any registry editor and go to ( thanks to jackleung )
HKLM\Software\SonyEricsson\PanelManager\ApplicationName
and Change it to \..\Windows\AltTab.exe
3. Nothing more now xpanel button switches between running programs
amazing.
Will test this now.
hi,
i've been lookong for this so long. thanks!
unfortunately reg hack does not work here for the X button assignment (energy rom with new panel manager installed). any tip? or i have to reset my systm...
rosz said:
hi,
i've been lookong for this so long. thanks!
unfortunately reg hack does not work here for the X button assignment (energy rom with new panel manager installed). any tip? or i have to reset my systm...
Click to expand...
Click to collapse
yes, you have to reset your system, but NOT the "hard" way...
go to \windows\startup and delete the panelmanager.lnk in there. do a softreset. now change the reg-key like mentioned above. do NOT press the x-panel-key!!! (you can use any program-file, i use it for starting comm-manager)
one more softreset and you're done.
the reason for this is:
if you press the panel-key the first time after flashing a rom, a .lnk get's put into the startup-folder, starting panelmanager with every boot and overwriting any changes to the reg-key you may have made. (kinda like autostart on your pc)
Inspired!
Not only got rid of the panel manager, but can also cycle through open apps.
However... it seems to cycle through just 2 apps. If 3 or more applications are open, it will just cycle through the last 2.
I followed the instructions as above - maybe there is another tweak?
Try installing TaskFacade and assigning the X-button to it. Really nice program, all cred goes to GPS-lover.
http://forum.xda-developers.com/showthread.php?t=420220
Use the fist state on the camera button instead. That isn't used for anything anyway. Assign alttab.exe with AE Button Plus. I use it with double tap on the button so I don't press it by mistake. When entering the xperia camera it works as usual. So you don't need to worry about that.
paul c said:
Inspired!
Not only got rid of the panel manager, but can also cycle through open apps.
However... it seems to cycle through just 2 apps. If 3 or more applications are open, it will just cycle through the last 2.
I followed the instructions as above - maybe there is another tweak?
Click to expand...
Click to collapse
If you press Xpanel button fast it will switch between other apps.
I loved TaskFacade
If you want to assign TaskFacade to Xpanel - you just write \TaskFacade\TaskFacade.exe
fantastic, thanks a lot to vladimired and caliban2! Now I can finally switch between programs (and also turn to the today screen) with the X-Panel button and close programs quickly with the OK button.
For this I do not use TaskFascade. I prefer the app switcher from Spb Pocket Plus. If you use this program, just copy the AltTab.exe in the folder ...\programs\PocketPlus into the windows folder like mentioned above. The rest is similar.
Im kinda lost, can you post clearer instructions on how to do this with the tab.exe and taskfacacde, thanx
Here is video how everything works with TaskFacade
http://www.youtube.com/watch?v=bw1dIW-YBLA
i will write more detailed manual lately today, if my work will not swallow me
TaskFacade its the best aplication i have in my x1a thanx
TaskFacade is a very nice app, but it does take some time for the images of the open applications to appear.
I'm after speed... compared to TaskFacade, it's faster to go to the Manila home page and click on the "OK" button area, and then switch as necessary.
That was the benefit of AltTab... but it'll only cycle through 2 open applications
I've installed Ae Buttons but i don't figure what button from the menu is the X Panel button? Any ideea?
I want the x panel button to open the panel manager when pressed short, and another program when pressed long.
Cheers!
Edit: I found this: Press File->Add button and press the button. The X-Panel button code: #00EA. Now i try to make it work on long press
Later Edit: Done. If you select from the drop down menu and chose "4.Long press" you can choose an action. I thought that if i select "4.Long press" , the "1.Single press" will become inactive, but i was wrong. Now my Xperia is Perfect
Hi all,
i'd like to inform You about small application that could be useful with changing mapped x-panel button:
RWA - Run With Argument - 1.0
small application that allows to run any other *.exe file with arguments...for some reasons it can be useful especially when working on HTC devices...
so we bind XPanel to RWA, and in RWA for ex. tmail.exe with SMS argument... to we get SMS Inbox under XPanel Button
and that's all... maybe somebody could find it as an useful application ...
XDA Thread Link
thank you!!
thanks to vladimired for this trick, very usefull
i set XPanel Button with TaskFacade (that looks like a Panel Manager ) and it works fine

Problems selecting text - in SOME apps

I have just upgraded from a TyTN2/Kaiser to a new TP2/Rhodium running WM 6.1 .. and am enjoying the experience except for one fly in the ointment.
Text selection in certain apps is incredibly painful: using the stylus to select a portion of text is almost always interpreted as an attempt to drag-scroll the display. "Almost always" because if you time it properly, waiting a second or so and start dragging before the context menu pops up, then it sorta kinda works. But the selection seems to kick in quite some time AFTER beginning to drag, and therefore doesn't start at the beginning of the target. And Double-clicks (to select a whole word) no longer stretch word-for-word as I drag.
Most apps still work fine, but the following key apps suffer this annoying misbehaviour:
Contacts - But only the "Notes" tab. All text in the "Details" tab behaves as expected!
SMS texting - This occurs when selecting "Send Text Message" from a contact's Summary display (which is actually my preferred method as it is the quickest!). And it also occurs if you start an SMS from the messaging app via menu options Menu\New\SMS. But if you compose an SMS in the threaded view of a conversation in the same app, then the text selection is ok!
I can't find any posts by others who might be experiencing something similar, so is there a solution for this? A registry hack maybe? Am I the only one who has noticed this problem, or am I the only one who is annoyed so much by it?
Notes tab of Contacts app: I experience the same here. But it doesn't really bother me too much since I rarely have to select text here.
Messaging App: I didn't know you can select text like that (ie. tap and hold for a bit and drag) until you mentioned it! Anyway, if you want to select text here, you can always tap "Menu" and then "Select Text".
ohyeahar said:
Notes tab of Contacts app: I experience the same here. But it doesn't really bother me too much since I rarely have to select text here.
Click to expand...
Click to collapse
I use the contact notes extensively, so it is extremely frustrating to have it compromised and complicated now (compared with TyTN2).
ohyeahar said:
Messaging App: I didn't know you can select text like that (ie. tap and hold for a bit and drag) until you mentioned it! Anyway, if you want to select text here, you can always tap "Menu" and then "Select Text".
Click to expand...
Click to collapse
Ahh - thanks for that! Now if only i could find a way to keep that as the default
** UPDATE **
** UPDATE **
I just noticed that everything works properly .. if and only if you use "My Mobiler" to remotely control the phone. So you can use your mouse and your desktop monitor to drag select text in the above compromised apps (including Active Tasks by the way) .. and everything will be fine.
But when it come to using the stylus on the phone's touch-screen directly, the selection still misbehaves!!
This is not a workaround, just mentioning it in the hope that it might help someone enlightened enough to be able to piece the puzzle together
http://forum.ppcgeeks.com/showthread.php?t=85583
Here's a solution to your problems.
digitaliceblast said:
http://forum.ppcgeeks.com/showthread.php?t=85583
Here's a solution to your problems.
Click to expand...
Click to collapse
Thanks, but i'm not sure how exactly does it solve the problem? If you mean the post by orlandojumpoff (post #16) about pressing and holding and then dragging when the animation starts, then that's actually the problem itself.
The animation goes by so fast, that each time you do this, it takes a few false starts before you manage to time it right. The overall effect is to give priority to TF3D scrolling at the expense of functionality in terms of text selection. It makes me want to rip out TF3D by it's heart, which of course is a bit overkill.
I'd settle for being able to tell TF3D to stop interfering in specific apps, or simply to stop interferring while editing. Actually, come to think of it .. another viable option might be to find a way to get that animation to take a little longer ... hmmm
One thing you can do to mitigate it somewhat is to double tap on a word to select a word, triple tap to select an entire line. I use Pocket Informant and it too won't allow me to drag to select unless I try to time it like you do. Another trick is to use the hardware keyboard, and your arrow and shift keys combined to select text.
Sure wish the good things we like about WM would stick from version to version, and the bad things would be fixed and stay fixed. Hey, it could happen
trids said:
Text selection in certain apps is incredibly painful: using the stylus to select a portion of text is almost always interpreted as an attempt to drag-scroll the display...
Click to expand...
Click to collapse
There is a similar problem on Topaz (Diamond 2). It seems finger scrolling sensitivity was made too high and it can no more tell finger from stylus. I found a (partial) solution. Maybe it works on Rhodium too.
- Find the registry key "HKLM\Software\OEM\TFLOSettings".
- It should contains a subkey named "TFLOIgnoreAPPs". If it does not exist create it.
- For every application where you want to be able to select text add a string value called "IgnoreAppXY" where XY are two characters different for every entry.
- As value enter the name of the application EXE file as seen in file explorer (warning: case does matter).
From then on for that applications finger scrolling is suppressed and text selection works as expected.
This is a sample from my registry
[HKEY_LOCAL_MACHINE\Software\OEM\TFLOSettings\TFLOIgnoreAPPs]
"IgnoreAppST"="WiFiNetwork.exe"
"IgnoreAppYT"="YouTube.exe"
"IgnoreAppPH"="PIMHelper.exe"
"IgnoreAppNP"="NOTEPAD.exe"
"IgnoreAppCE"="ContactEditor.exe"
"IgnoreAppTM"="tmail.exe"
"WiFiNetwork.exe" and YouTube.exe" were already there. I added "PIMHelper.exe" (editing inside SPB Diary Today plugin),
"ContactEditor.exe" (editing for Contacts), "tmail.exe" (editing for SMS and email) and "NOTEPAD.exe" (Orneta text editor).
Hope it helps.
That method worked for me for Pocket Informant, using "ignoreappPI"="PocketInformant.exe".
Thanks!
SOLVED!
oruam57 said:
[HKEY_LOCAL_MACHINE\Software\OEM\TFLOSettings\TFLOIgnoreAPPs]
"IgnoreAppST"="WiFiNetwork.exe"
"IgnoreAppYT"="YouTube.exe"
"IgnoreAppPH"="PIMHelper.exe"
"IgnoreAppNP"="NOTEPAD.exe"
"IgnoreAppCE"="ContactEditor.exe"
"IgnoreAppTM"="tmail.exe"
:
:
Hope it helps.
Click to expand...
Click to collapse
Brilliant - Thank you! This is EXACTLY what i was hoping for! Awesome!
Update:
I posted this brilliant solution to the standard thread for Rhodium Cabs,Tips,Tweaks etc
.. Thanks again oruam57!
Just a word of caution. My device already had [HKEY_LOCAL_MACHINE\Software\OEM\TFLOSettings\TFLOIgnoreAPPs], with YouTube as the only exclusion, but i notice that the board seems to introduce a space into the "TFLOIgnoreAPPs" portion, which might cause problems for some folks who want to try this out.
And for the record, this solution does not solve the problem for the standard editor for Contacts and Tasks, which doesn't have a Process whose name you can use. So I'll start looking at custom editors for Contacts now, but it's good to have this handy tweak within reach!
trids said:
And for the record, this solution does not solve the problem for the standard editor for Contacts and Tasks, which doesn't have a Process whose name you can use.
Click to expand...
Click to collapse
Maybe I do not understand exactly your problem but on my Topaz:
- in the first tab of standard Contacts and Task editor text selection does work (do not know why, I suppose Touch Flow has some internal logic);
- in the second tab (Notes) of Contacts text selection can be forced working by inserting the process "ContactEditor.exe";
- in the second tab (Notes) of Tasks text selection can be forced working by inserting the process "poutlook.exe".
At any rate using Dotfred's Task Manager (http://www.dotfred.net/TaskMgr.htm) you can inspect processes and windows on your phone and with a little patience you can find the owner process of any interesting window.
Hooray!
oruam57 said:
Hope it helps.
Click to expand...
Click to collapse
Thank you soooo much oruam57! I searched for hours yesterday for a fix for this issue. It was driving me crazy. I made two of my own for ListPro and eWallet and they work great now too. THANKS!
oruam57 said:
Maybe I do not understand exactly your problem but on my Topaz:
- in the first tab of standard Contacts and Task editor text selection does work (do not know why, I suppose Touch Flow has some internal logic);
- in the second tab (Notes) of Contacts text selection can be forced working by inserting the process "ContactEditor.exe";
- in the second tab (Notes) of Tasks text selection can be forced working by inserting the process "poutlook.exe".
At any rate using Dotfred's Task Manager (http://www.dotfred.net/TaskMgr.htm) you can inspect processes and windows on your phone and with a little patience you can find the owner process of any interesting window.
Click to expand...
Click to collapse
@ Oruam57, you're right, thanks again! I was in fact using DotFred's Task Manager to discover the processes .. but i came to the incorrect conclusion (that there was no identifiable processes, for Tasks and for Contacts) because i saw no change in the processes listed between editing and not editing their notes, as poutlook.exe was still running after i edited the notes and while the list of tasks/contacts was still displayed.
And this is how I overlooked the possibility that poutlook.exe itself was the editor
BTW, i notice that the exclusion for poutlook.exe works for the notes of both Tasks AND Contacts, they seem to use the same editor. I have no ContactEditor.exe listed at all, must be for your custom editor.
I tried with on WLMMessenger.exe, but it didint work.
I still cant select ( highlight ) text from a conversation. When i do it begins to scroll..
Has anyone the solution?

Starting launcher app (firestarter) on keyboard event

I'm using a replacement launcher (Firestarter) and a 3rd party wireless keyboard /mouse (Mele F10 Deluxe) -- things are working well, but one issue is that the "home" button on the Mele acts like the "HOME" key on a QWERTY keyboard. Instead of returning to the home screen, it sends keyboard event "KEYCODE_HOME" (Constant Value: 3 - 0x00000003).
On a (rooted) AFTV2, is there a way to assign a keyboard event (in this case, "KEYCODE_HOME") to launch a particular app (in my case, firestarter) regardless of what else is open?
Alternatively, is it possible to have the keyboard event "KEYCODE_HOME" perform the system "home" event?"
Thanks in advance for your thoughts!
http://www.mobileread.com/forums/showthread.php?t=159538
Thats five minutes on google.
The way I have solved this was to remap the keyboard layout of my Macbook Air to adb commands - whenever I run a script that can only be exited by clicking a button on a prompt. I actually remapped the entire MBA's keyboard to send the corresponding keys to the Fire TV as adb keyevents.
Code:
adb shell monkey -p your.app.package.name -c android.intent.category.LAUNCHER 1
does what you want in that case (de.belu.firestarter is the package name btw).
I dont think every button press will show up in the Fire TVs logs the same way HOME does ("nice little keylogger you sell there, A."), so instead you might have to do the remapping at another point. Your keyboard itself is too dumb to even know what being scripted means - that leaves you either messing with the OS itself - or forfeiting the keyboard in favor of an Ultrabook. Which by the way - allows you to actually work, or browse the net - and still control the Fire TV in the background.
But people seem to be happy with their Bluetooth keyboards - because, single purpose = neato.
On my k900 plus keyboard it has a home button, why not Just map Firestarter to start up when you press home twice, then you just press the home button twice on your keyboard?
Hope this helped press thanks button
harlekinrains said:
http://www.mobileread.com/forums/showthread.php?t=159538
Click to expand...
Click to collapse
Thanks for the links. For anyone else using a media airmouse such as the Mele F10 (with a "home" button that does not send the same code as the amazon remote), it's very straightforward to create a custom keyboard map that makes it function like the Amazon remote:
1) For each button that you would like to remap, use Ketest App to discover its ScanCode (for example "102" is the "Home" button on the Mele F10 Deluxe).
2) Determine the Product ID and Vendor ID for your input device with "cat /proc/bus/input/devices" and create a copy of /system/usr/keylayout/Generic.kl with the name Vendor_XXXX_Product_XXXX.kl. This custom key layout file contains your new mapping (for example, I changed the entry next to "Key 102" to "HOME" instead of "MOVE_HOME").
3) Set ownership (chown system.system) and permissions (chmod 644) for your custom key layout file.
deanr1977 said:
On my k900 plus keyboard it has a home button, why not Just map Firestarter to start up when you press home twice, then you just press the home button twice on your keyboard?
Hope this helped press thanks button
Click to expand...
Click to collapse
Thanks for sharing your experience. The issue is that on the Mele F10 Deluxe (and other combo devices that aren't designed specifically for the Fire TV box), the home button does not send the same key code as the Amazon remote -- requiring that the user create a custom key map file.
harlekinrains said:
http://www.mobileread.com/forums/showthread.php?t=159538
But people seem to be happy with their Bluetooth keyboards - because, single purpose = neato.
Click to expand...
Click to collapse
Thanks! Given the cost difference (plus, portability, and the fact that it lasts longer on a charge), I can understand why people might choose a media remote instead of a script-friendly keyboard with a screen (like an Ultrabook). Fortunately, if your 3rd party remote doesn't work like the Amazon remote out-of-the-box, it is easy to create a custom keymap. Unfortunately, this still means that, by default, FireStarter has to use ADB to listen for the home key. I was hoping that if I use a different button instead of the home key on the amazon remote, I can have the OS "listen" in a simpler way (that doesn't tie up ADB), and simply have the OS launch firestarter when this button is pressed.
Bluetooth keyboards are less clunky - thats right. So portability and also price are valid arguments for them.
But - there is also a lot that you "lose" by not using an ultrabook (beside the remote which at some point becomes just an easy to use muscle memory extension).
The argument here goes as this way -
1. Screen Mirroring is a very, very, stupid idea. Let the battery powered device do all the processing, then let it encode a video feed on top of that, and then let it transfer...
2. Link sharing on the other hand is "where its at". So for the Fire TV this means, you use the Chrome Plugin "Play to Kodi", which covers youtube and a few other sources - and you also use Video Download Helper (Chrome Plugin available as well) to get any direct video link that isnt a rtmp stream and heavily segmented and a little script that launches http://www.multilinkr.com/ in your browser, then you paste the url in your clipbord into that, use the site to generate a clickable link and then use rightclick and Play to Kodi to cast the direct video link to the Kodi Box.
Which brings me to -
3. Discoverability is pretty lousy on remote based interfaces (Kodi has the best interface for it there is out there.). Its also pretty bad on phones (which is part of why more and more content becomes facebook native and why you are so dependent on content surfacing within an app "you like") or tablets. Its actually pretty excellent on laptops. So in some sense - I see the ultrabooks as the last bastion of non curated content and real discoverability out there.
Kodi with keyboard at that stage simply doesnt cut it. Also if you are more than a novice user you need a device you use to do maintenance on Kodi - so again - why not an Ultrabook...
-
Regarding your previous question - I know that the adb way of Firestarter noticing "that the Home button was pressed" depends heavily on certain lines within a log that only indicate that _that_ button is being pressed. I dont know how its dev handled the non adb implementation - you have to ask him. It is very unlikely - that you'd find the same or an equivalent "event indication" when you press a random key on a connected keyboard.
Remember that the watcher routine has to look for something occurring, and that in the case of Firestarter this preferably has to show up on non rooted devices also. In fact - that Firestarter (and its predecessor) exist is a little miracle in its own right - because Amazon could make a very small change and it would never be able to work again. In that sense its a hack - that relies on a very specific pattern showing up in something the OS is reporting and that is accessible by any app (userspace).
Its not based on a featureset, its based on a hack.

Categories

Resources