Set Top Box android remote control & Phonegap - Miscellaneous Android Development

I'm developing a simple app on PhoneGap for an Android set top box.
I have an image that is usable as a link. When I connect a mouse to the set top box and click the image, the link works. But when I use the remote control and select the image (I see the border around the image so I know it is selected) and I click OK button, the link does not work.
How can I use the remote buttons in the code?
Thanks

Related

[REF] *Surface Hints, Tips and Registry Tweaks* - Last updated January 24th.

I started a huge thread on hints and tips for the HTC Leo (see my signature) so I thought now that I have a Surface tablet I would do the same. It is early days yet but I will update the thread as I discover more so if you have tips please share. Some tips I have discovered myself and others I have found on the internet. I am in no way claiming credit for all. I just want to put all advice in one thread. These tips should also apply to other Windows 8 tablets and not just the Surface. In some cases they even apply to Windows 8 for PC. BTW, I typed this whole thread on Surface using Touch Cover
1. How to Select a File or Photo.
Simply use a downwards flick gesture on multiple photos or files to select them. Flicking upwards also works. You can share multiple selections.
2. How to Take Screenshots
Press the capacitive home button and the downwards volume button at the same time. The screen momentarily dims. Screenshots are saved to a Screenshot album in Photos app.
3. How to Allow Video, Music and Photo Apps to See Media Stored on your MicroSD Card
At the moment you can only store and browse media files using file explorer. Those media files do not show up in their appropriate apps. This is what you need to do. Go to search and type “Disk Management”. The entry in Settings will show “Create and format hard disk partitions”. This is Disk Management. Click it. You will see that your microSD card has already been assigned a drive letter. Right-click your “Removable” drive and select “Change Drive Letter and Paths for <drive letter>…” Once the card has already been inserted and assigned a drive letter, you cannot simply click “Change…” here (the option you need will be grayed out). So you have to click “Remove”. Now the only option you have is “Add…”. Click it and you will see “Mount in the following empty NTFS folder:” Create a folder in your Users directory or in C:. For instance, C:\Users\username\microSD. Select that folder. You are now able to treat your microSD like any other folder in Windows 8, including adding to Libraries like Pictures, Video and Music etc. You can now open File Explorer and right-click the Pictures, Video and Music Libraries in the left hand Navigation Pane, select Properties, then Add and select the folder you just mounted in your microSD in. Now when you go into the Photos, Videos or Music apps in Surface you will be able to see your media files you added to your microSD card.
4. Update your Office 2013 Preview to Office 2013 Final
Search for "Windows Update" and then choose “Install optional updates” instead of Windows Update from the search results (under Settings). This will display the Windows Update control panel. Now, either check for updates or tap the link that says updates are available. In the resulting list, you’ll see “Update for Microsoft Office Home & Student 2012 RT Preview.” Select it and install that and whatever other updates are available. After a reboot, you can access your updated Office Home & Student 2013 RT apps, which drop the Preview branding and have some new features, including the Ribbon Display Options feature.
5. How to Enable Rotation Lock
Open the Charms menu and tap on Settings. Tap on the screen icon near bottom right. Above the brightness bar is the rotation lock icon. Tap to toggle on and off.
6. Enable Virtual Reality Mode in Panorama Photos in Travel App
Tap on the compass/GR round icon when viewing a panorama photo to be able to see around the photo by moving and tilting your Surface.
7. Unlock Without Swiping
Instead of Swiping up the lockscreen image to unlock, just tap space bar on your keyboard. You can also wake up your Surface from sleeping by tapping any key on the keyboard.
8. Keep Photos Private and From Appearing in Photo App Library
In Desktop mode, open file explorer and move any photos you want to prevent showing in the Pictures Library in the Photo App to a new folder. Right click that new folder and click on Properties and then Advanced. Uncheck "Allow files in this folder to have contents indexed...". You can even mark the folder and contents hidden if you wish. To see changes you may need to rebuild your index from scratch if you had already opened the Photo app and saw those photos. To rebuild the index, go to Control Panel and click on Indexing Options, then Advanced and then Rebuild. Will take a while to rebuild.
9. Speed Up Web Browsing by Blocking Advertisements
Open Desktop Internet Explorer and go into Internet Options. Click on the Programs tab and then on Manage Add-Ons. Click on Tracking Protection and then Get a Tracking Protection List Online. Add a couple from the list, such as EasyList and Fanboy. Save and exit.
10. Make your Surface Desktop Wallpaper Match your Modern UI Experience
At the moment your Desktop wallpaper does not match your new Start Screen theme and style. Follow the instructions in the link at the end to make the overall experience 'consistent'. You should disable syncing of Desktop Personalisation in PC Settings if you create a similar wallpaper for your Desktop PC as it will have a different screen resolution to your Surface tablet and you don't want your PC wallpaper syncing to your Surface Desktop and vice versa. http://forum.xda-developers.com/showthread.php?t=1963066
11. List of Keyboard Shortcuts
http://tech2.in.com/features/software/tips-and-tricks-windows-8-shortcuts-cheatsheet/551452
12. Access your Last Photo and Camera Roll Photos Direct from Camera App
In Camera app, after taking a photo or video, swipe the screen to the right to see your most recent capture. You can continue scrolling to see more photos/videos. Also, pinch to zoom out from viewfinder screen to see a smaller view more easy to navigate.
13. Enable Hidden Start Screen Animation
When you first boot into the Start screen after a fresh install, you get a lovely animation of all the tiles and text flying into view. To enable this again to occur each time you enter your Start screen, execute the following registry tweak. Type Regedit in Search and launch it. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell\Grid and create a new DWORD: Launcher_SessionLoginAnimation_OnShow and set its value to 1. To disable the animation if you don't like it set the value to 0.
14. Boost Speaker Volume
Surface's volume is quite low. Go to Control Panel, then Sound, then click on Speakers, then Properties, then Enhancements and check Loudness Equalisation and Virtual Surround too if you wish. Apply changes.
15. Pinch to Zoom Out to See More Content
If you execute the pinch gesture in the following apps, you will see more content or shortcuts: People, Bing, Store, Photos, Camera, Weather, Travel, News, Sports, Finance and Reader.
16. Recover More Space After Refreshing Your Surface
When you refresh your Surface via PC settings, a folder called Windows.old is created in your C: Drive. This can be a huge folder in size as it contains previous files. You can delete this folder and reclaim some storage space as follows: Search for "Tools" and click on "Administrative Tools" in the Setting results. Next click on Disk Clean-up and after loading click on Clean Up System Files. Make sure Windows.old is checked and click ok.
17. Reposition the Virtual Keyboard in Desktop Mode
Tap on the small icon to the left of the X icon at the top right corner of the keyboard to manually reposition it. To dock the keyboard again tap on the X button. Only works in Desktop mode.
18. Enable Swiping Gestures to Advance Forwards or Backwards in Metro Internet Explorer
You can swipe the screen left or right to advance forwards or backwards by enabling Flip Ahead in Internet Options. Don't swipe from the bezel, but anywhere within the screen.
19. Check Settings for Every App/Page you are Viewing
This may sound obvious but via the Charms menu, click on settings to see if there are additional options for the app you are viewing. Do this also again in the same app if you are on a different page. You will be surprised at what additional new options you may encounter. Spend some time to do this for all your apps.
20. Enable Matrix White on Black Theme
Change the entire look of your UI to a funky Hi Tec white text on black background. Go to PC Settings via Charm and tap on Ease of Access. Turn on High Contrast mode to see the effect. Turn off to return to normal UI.
21. Access to 780 Emoticons Built Into the Keyboard
More of did you know than a tip. The keyboard has 780 emoticons (yes I counted them) split into seven categories. Just tap the smiley face key and then the ➡ key above the &123 key, to scroll through them. The bottom row of emoticons has the different categories to choose from.
22. Make Web Links Always Open Up in IE for Desktop Instead of the IE App
Search apps for inetcpl.cpl and hit enter. This is IE options. Click on the Programs tab and change the "Choose how you open links" option to Always in Internet Explorer on the Desktop.
23. How to Find All Apps in Store - Even Unlisted Ones
In the Store, enter the character * and search. You will see every single app for your country and if you sort by newest, you see a lot more new apps compared to the normal way of browsing in the store. As of writing this, there are 6525 apps listed for the UK. Also you can show even more apps by going to the Store's settings, choosing Preferences and turning off "Make it easier to find apps in my preferred language". With it on and searching for * there are 6525 apps. With it turned off there are 7799 apps. A big difference. A most excellent tip!
24. Enable Alternative Virtual Keyboard
Via the Charm menu, go to PC Settings and then Ease of Access. Change "Pressing Windows + Volume Up will turn on" On-Screen Keyboard. Now when you press the Windows key and Volume Up key, up will pop a very small keyboard. Worry not, you can resize it by dragging the bottom border down and the side borders across. You can resize it to the full width and height of the default virtual keyboard. As big as you want. The size is remembered after closing the keyboard by tapping X. Another feature is this keyboard has predictive text with word suggestions popping above the keyboard - something the default keyboard does not do. You can customise the keyboard via the options key near the lower right corner.
25. Enable Full Screen Browsing in Desktop Internet Explorer
On a normal keyboard you can enable full screen web browsing by pressing F11, however the on screen virtual keyboard and the touch keyboard do not have the F keys. Worry not. Launch the alternative keyboard (tip 24 above) and press the Fn key (Function Key) in the lower left corner and all F1-F12 keys appear on the top row. Press F11 for full screen web browsing. To turn off full screen browsing launch the alternative keyboard again and press F11 or use the trackpad on the Touch Cover to move the mouse to the top of the screen to get access to the navigation icons.
26. Tips on Saving Battery
By default, Bluetooth is turned on but if you don't really use it often, turn it off to save battery. Go to Change PC Settings and then Wireless and turn it off there. Also you can turn off live tiles which need to connect to the web such as news tiles. Finally, prevent some apps running in the background by removing them from the lock screen.
27. Change Volume on Screen by Touch
When you press the Volume Keys on the side of your Surface, a small volume graphic appears on screen at the top left corner. As well as continuing to press the Volume Keys to change the volume, you can also place your finger on the graphic and slide the bar up or down.
28. See the Time from Within Any App
Want to know what time it is at any moment? Use your right thumb to slide the Charm bar into view just enough to pop up the time in the lower left corner and immediately swipe your thumb to the right to close the Charm bar and time. You should do this gesture without releasing contact of the screen. A quick in and out thumb swipe is enough.
29. Get to Task Manager Quickly
By pressing the Windows key and Power button at the same time you get to a screen were you can Lock, Switch User, Sign Out or Use the Task Manager.
30. Kickstand Works in Portrait Mode
Should you need to display your Surface in portrait mode, then open the kickstand and stand it up. The kickstand keeps it upright also. Great if you are displaying a slideshow of portrait photos.
31. Disable Logging
Generally logging can cause some sluggishness at times because log files are constantly accessed and written to. You can turn these off if you wish. Search for gpedit.msc and launch it. Navigate to User Configuration, Administrative Templates, Windows Components, and then select Windows Error Reporting in the left column of the Group Policy editor. Double-click Disable Logging in the Settings section of the Group Policy editor. Select Enable and then click OK to save the changes. Do the same for Disable Windows Error Reporting.
32. How to Move a Tile to a New Group Very Quickly
When you install a new app, it automatically gets added to the end of your tiles on the right. If you have several groups full of lots of tiles it can be quite a chore to drag to a group near the beginning. A quicker way to do this is to drag the tile to the bottom of the screen. Automatically all the grouped tiles zoom out and now you can move it to any group you like whereupon the tiles get zoomed in again.
33. Security Wallpaper Idea
What happens if you were to lose your Surface? How would anyone know who to return it to if they can't get past your password/pin code screen to browse your Me tile in Contacts? In Photoshop, add a text line to a wallpaper you want to use on your Surface's lock screen. Position the text near the bottom right corner and have it say something like: "If you find this tablet, please contact (phone number) to return it to it's owner and claim a reward for doing so." Then upload it to your tablet and apply it to your lock screen.
34. Multi Select Emails
You can multi select emails by swiping sideways the email header in the list. Swipe either left or right. You can move, mark as read or mark as unread.
35. Enable Flash for Specific Websites
Microsoft only allows certain websites to play flash content. These sites are listed in a 'whitelist'. You can edit the whitelist to include other sites of your choice. Click on the link and follow the instructions: http://forum.xda-developers.com/showthread.php?t=1961793
36. Reclaim Storage Space
You can reclaim additional space by deleting unwanted files. Go to the Control panel, delete temporary files and history. Also go to General section in PC Settings and then to Available Storage. You can view app sizes to delete unwanted pre installed apps like finance or sports.
37. Touchpad Supports Gestures
Two finger scrolling is possible on the keyboard's touchpad. You can bring up the menu from the bottom and scroll horizontally through your tiles and photos. Also double tapping is enabled too!
38. Use Home and End Keys to Navigate Quicker
To quickly go to one end of long list of tiles to other, use PgUp and PgDn keys to scroll by pages of tiles as opposed to columns of tiles.
39. Switch Between Running Apps Using Keyboard Shortcuts
On your keyboard, press the Windows and Tab keys to switch between apps. You can also use the Alt and Tab keys too!
40. Sync Multiple Google Calendars
Having more than one Google Calendar is now possible on the Surface. Follow the instructions here: http://www.makeuseof.com/tag/sync-multiple-google-calendars-windows/
41. Map Network Skydrive Folder in Surface
Here is a way to get access to your Skydrive files without having to navigate back and forth through the Skydrive app. You can now access the folder via file explorer in Desktop mode. Follow the instructions in the link: http://rashedtalukder.com/how-to-map-skydrive-folder-on-windows-rt-desktop-mode/
42. Increase Internet Explorer Performance
Follow the tweaks here to speed up your web browsing: http://forum.xda-developers.com/showthread.php?t=1998414
43. Sharing a Volume Out from the Surface
Windows RT supports file sharing (server-side), but it's hidden and disabled by default. Search for 'Services' from your Start screen. Find 'Server' in the list. Right click or tap and hold and choose properties. Change the Startup type to Automatic and you can create and share a folder like normal. Note: this might impact battery life.
44. How to Backup Recovery Partition to USB Flash Drive
Follow the instructions in the link to backup your Recovery Partition which may be useful if you want to delete that partition from the Surface. Don't delete it though until you have researched properly: http://www.shinysurface.com/2012/11/13/how-to-backup-the-surfaces-recovery-partition-to-a-usb-flash-drive/
45. How to Boot from USB Flash Drive
If you need to boot from a USB flash drive simply shut down your Surface, plug in your USB flash drive and hold down the volume button as you press the power button.
46. View Change Log of App Updates
The only way to view the change log of an app update before installing it is to deselect all the apps that want to update and select any one app. A 'View Details' button appears at the bottom which you can tap to see the details. Repeat for the other apps to be updated.
47. Share Selected Text from a Website
When you are on a website and want to share the page, you don't have to share the whole page in a link. You can highlight to select words on a website and when you share it by swiping the charm bar into view, only the selected words will be shared.
48. See Estimated Data Usage of your Wi-Fi Connection
You can see how many megabytes/gigs of data has been transferred via Wi-Fi on your Surface. Tap on Settings in the Charm bar, and then tap on your active Wi-Fi SSID name. IN the Networks list, tap and HOLD on your active Wi-Fi name and from the pop up menu choose 'Show estimated data usage'. It will show for example: Estimated usage 5.71gb since 1 day ago. Just tap on your W-iFi name next time to see the latest data usage.
49. Make your Desktop Explorer User Interface More Touch Friendly
Search for 'Display' via the Charms bar. In Settings results, tap on the blue monitor icon result. Everything is at 100% default size for text. Tap on Medium at 125% and hit apply to make everything in Explorer mode that much easier to read and touch. Make sure to set zoom level in both Internet Explorers back to 100% though.
50. Make your Keyboard Touchpad Scroll in the correct Direction
At the moment, when you scroll via the touchpad, the screen moves in the opposite direction to where your fingers move. Now you can reverse the direction thanks to a registry tweak here: http://forum.xda-developers.com/showthread.php?t=2007987
51. Disable Animation on Opening Apps
If you find the flipping animation annoying when launching an app you can disable it as follows. In Charms menu search for "Performance" and tap on "Adjust the appearance and performance of Windows" in Settings results. In the Visual Effects tab, uncheck 'Animate windows when minimising and maximising'. This gives an instantaneous launch. To disable the animated live tiles, uncheck also the 'Animate controls and elements inside windows' box. To revert back to the animations, just check the boxes again.
52. Install Apps Direct to SD Card
By default only media files can be installed to the SD cards and apps are installed to internal memory. If you have a 32gig tablet, you will realise internal memory is precious and limited. Free up internal memory by changing the location of where apps are installed. Run Regedit and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx and change the location path of the PackageRoot key from C:\ProgramFiles\WindowsApps to say D:\WindowsApps (where D: is the drive letter of your SD card and WindowsApps is the name of a folder you created in your SD card). You may need to change permissions on the Appx registry folder so that you can edit the key. You can also change the app repository to another directory by changing the PackageRepository key in a similar manner.
53. Install Apps from Other Countries
Do you want Flixster installed but you're annoyed that it only shows on the US store? Wish you could download it? Now you can and any other FREE app (can't buy apps from other countries, only free apps). Search for 'Region' via Charm menu and tap on the results in Settings category. Tap on the Location tab and change your Home Location to any country you want. Now you can navigate the store app for that particular country and download any free apps you like the look of. Change back to your original country when you had enough. Incidentally, Flixster works perfectly well with UK location and cinemas so not sure why its not in the UK Store.
54. Speed Up Scrolling by Reducing Friction
Launch the Registry Editor and navigate to HKCU\Software\Microsoft\Wisp\Touch and change the Friction value from 32 to 0. Reboot to see change. If you feel the screen sensitivity is too fast now, change the value to say 16 or any number up to 64. 64 means high friction. 0 means low friction.
55. Stream Media Files From Your Surface to Non Windows Certified DLNA TVs
If you have a TV set which has DLNA media streaming feature, but it is not a Windows?Microsoft Certified TV (check in Devices in PC Settings), you will not be able to stream/share media files from within certain apps. However, you can stream them through Windows Explorer using the 'Play To' feature. Find your media files you want to stream in your Pictures, Music and Videos folders. Tap on the file to select it but not launch it. Tap on the Play tab in the Ribbon UI at the top of the screen. Finally tap on the Play To button and select your TV which should now be active. Make sure to turn on network discovery in the Network and Sharing Center in Control Panel, if this is not working for you.
*January 24th Update: Added entries 54 - 55.
*January 22nd Update: Added entry 53.
*January 3rd Update: Added entries 51-.52. Updated entry 26.
*December 6th Update: Added entries 47-.50
*November 22nd Update: Added entries 34-46.
*November 10th Update: Updated entry 23 and added entries 30-33.
*November 9th Update: Added entries 24-29.
Reserved.
Second Reserve.
Final Reserve.
Good summary. First one to figure out how to get a fourth row of live tiles gets a cookie.
Also, how do we replace pinned IE tiles with something a little nicer?
I've been spending all my free time trying to figure out the fourth row, and reversing scroll direction on the touchpad.
I feel ya.
As for the IE tiles, I suppose you could just create new .png files and replace the current for whichever you want:
c:\users\profile\appdata\local\microsoft\internet explorer\pin-xxxxxxxx\
I haven't tried it but, looking in there it seems like it might work.
tboy2000 said:
7. Unlock Without Swiping
Instead of Swiping up the lockscreen image to unlock, just tap space bar on your keyboard.
Click to expand...
Click to collapse
You can also press the space bar to wake the device. You don't have to press the capacitive windows button, or the lock/wake button.
MrGreencastle said:
You can also press the space bar to wake the device. You don't have to press the capacitive windows button, or the lock/wake button.
Click to expand...
Click to collapse
It's actually any key, or the touch pad.
tboy2000 said:
12. Optimise your Surface
Once in a while execute the following: Search for "Defrag" in Settings and click on Defragment and Optimise your Drives. Click on C: drive and then click Optimise.
Click to expand...
Click to collapse
WTF?! Have you heard about NAND?
Useless guy said:
WTF?! Have you heard about NAND?
Click to expand...
Click to collapse
I second this, you could actually do harm as well you do not need to optimize/defrag Anne or any type of solid state.
Useless guy said:
WTF?! Have you heard about NAND?
Click to expand...
Click to collapse
From what I read the Optimise feature was different to defragging. However, I will substitute that entry to be safe. Thanks!
Replaced Tip 12 with: Access your Last Photo and Camera Roll Photos Direct from Camera App.
I believe I read on Anandtech that the Optimize function actually does a manual TRIM, if it's detected as an SSD.
jhoff80 said:
I believe I read on Anandtech that the Optimize function actually does a manual TRIM, if it's detected as an SSD.
Click to expand...
Click to collapse
It does. I did it and it said it was trimming
guitar1969 said:
It does. I did it and it said it was trimming
Click to expand...
Click to collapse
So is trimming ok? Shall I add the entry back in?
it should be okay, but windows also manages it on its own, so there shouldn't be too much need for manual use
Three more added. 21-23.
adiliyo said:
it should be okay, but windows also manages it on its own, so there shouldn't be too much need for manual use
Click to expand...
Click to collapse
On my windows 7 desktop my pc trims my ssd when the pc is in a standby mode. Wonder if surface does something similar
tboy2000 said:
23. How to Find All Apps in Store - Even Unlisted Ones
In the Store, enter the character * and search. You will see every single app for your country and if you sort by newest, you see a lot more new apps compared to the normal way of browsing in the store. As of writing this, there are 4984 apps listed for the UK. A most excellent tip!
Click to expand...
Click to collapse
This is nice, but holy crapware....I found it quite pointless to browse through this list.
another tip if op wants to add is how to force sufrace into recovery.
plug in a usb keyboard, hold SHIFT, click power-. restart. Ta-da blue recovery screen.

Motorola Motoactv Calculator app,resizing screen & scroll question

I have had my Motoactv watch rooted for quite some time now and its been working flawlessly, however, the two problems I cant seem to troubleshoot are
1.Where for the love of god do I find a perfect calculator app that fits the screen perfectly. Every app ive downloaded the screen shrinks to the point where several buttons get mashed together.
2. On a similar subject, I have been trying to use the mouse & keyboard remote app to control my pc but when attempting to add a new server on the watch I get as far as adding the name & ip numbers but I cant save it due to the screen being too small for the save button to be shown.
Is there any way to resize the screen on certain apps or perhaps have a scroll option of some sort that will allow me to view these apps in full size somehow?
dorkgeniuz21 said:
I have had my Motoactv watch rooted for quite some time now and its been working flawlessly, however, the two problems I cant seem to troubleshoot are
1.Where for the love of god do I find a perfect calculator app that fits the screen perfectly. Every app ive downloaded the screen shrinks to the point where several buttons get mashed together.
2. On a similar subject, I have been trying to use the mouse & keyboard remote app to control my pc but when attempting to add a new server on the watch I get as far as adding the name & ip numbers but I cant save it due to the screen being too small for the save button to be shown.
Is there any way to resize the screen on certain apps or perhaps have a scroll option of some sort that will allow me to view these apps in full size somehow?
Click to expand...
Click to collapse
1. There is a good calculator app included with DPRom. I can pull the apk and post later today/tonight if you need it
2. Download the Xposed framework installer and App settings module found here: http://forum.xda-developers.com/showthread.php?t=2490548
This will allow per-app DPI settings. It's better than changing the DPI globally as that can adversely affect other apps. In order to install the Xposed framework and modules, you need to make sure the apks are moved/installed to phone storage first before running them or the changed will not go into effect.

[Android TV] Control Mapper & Keyboard (CMAK)

This experimental input method for Android TV devices includes both a control mapper and a variety of options for text entry.
Jump to the latest release.
Control Mapper:
Remap buttons
Use buttons as hotkeys to quickly launch favorite apps
Switch your Sony Touchpad Remote to/from mouse pointer mode (Sony Bravia only)
Create several control mapper profiles and assign each app to the appropriate profile
Keyboard:
On-screen keyboard
T9 style entry with a TV remote with number and color keys
Dictate the contents of any text field using your remote with onboard microphone
Note: This means voice search will not be summoned when a text field has focus.
Notes:
Motion controls (e.g. analog sticks) cannot yet be remapped. An extremely limited form of this functionality is expected to eventually be released for all users. Full support will require the app to be signed with the platform key.
It might be possible to remap your controls in such a way that you have difficulty using your TV. Don't do that.
v2016.09.17
* Can now intercept the GUIDE key on Sony Bravia TV's
* Vendor-neutral improvements in the dispatch of special keys. Because CMAK cannot intercept most of these keys, you will generally have to choose them from the list instead of recording them.
* When choosing a key to dispatch from the list, CMAK will now detect special keys that are relevant to your TV and list them above everything else. This should dramatically reduce the need to scroll the list and reduce the amount of guessing necessary when special keys have terrible names.
For the benefit of anyone else who has a Sony Bravia, these are the special keys on my TV:
3D_MODE
Does not correspond to any key on my remote, but displays the "3D Mode" configuration dialog.
BUTTON_1
The DISCOVER button on my remote.
BUTTON_2
The ACTION MENU button on my remote.
BUTTON_3
The SYNC MENU button on my remote.
BUTTON_4
The NETFLIX button on my remote. It is suggested that if you want to map a key to Netflix, that you use an app shortcut instead.
BUTTON_5
Has no apparent function on my TV.
BUTTON_6
Does not correspond to any key on my remote, but opens the "Playstation Now" app. It is suggested that you if you want to map a key to Playstation Now, that you use an app shortcut instead.
BUTTON_7
Has no apparent function on my TV.
BUTTON_8
Does not correspond to any key on my remote, but opens the "Google Play Movies" app. It is suggested that you if you want to map a key to Google Play Movies, that you use an app shortcut instead.
BUTTON_15
BUTTON_16
These have no apparent function on my TV.
GUIDE
The GUIDE button on my remote. CMAK can also intercept this button and remap it.
HELP
The HELP button on my remote.
TV
The TV button on my remote.
TV_CONTENTS_MENU
Does not correspond to any key on my remote, but opens a dialog that says the feature is not available.
TV_INPUT
The TV INPUT button on my remote.
TV_INPUT_COMPOSITE_1
Does not correspond to any key on my remote, but switches the input to VIDEO 1.
TV_INPUT_COMPOSITE_2
TV_INPUT_COMPONENT_1
TV_INPUT_COMPONENT_2
Does not correspond to any key on my remote, but switches the input to COMPONENT.
TV_INPUT_HDMI_1
TV_INPUT_HDMI_2
TV_INPUT_HDMI_3
TV_INPUT_HDMI_4
Does not correspond to any key on my remote, but switches the input to the corresponding HDMI input.
TV_INPUT_VGA_1
Has no apparent function on my TV.
TV_ZOOM_MODE
The WIDE button on my remote.
v2016.09.18:
This release resolves a major problem discovered in the build process and should improve stability.
CMAK is now available on Google Play: https://play.google.com/store/apps/details?id=by4a.keyboard.leanback
v2016.09.29
Optional non-staggered key layout
Added new "Peripheral Manager" but it's not good for much yet
Various internal fixes and improvements
If you're using CMAK, please post your feedback!
4a_j said:
v2016.09.29
Optional non-staggered key layout
Added new "Peripheral Manager" but it's not good for much yet
Various internal fixes and improvements
If you're using CMAK, please post your feedback!
Click to expand...
Click to collapse
Is it opensource by any chance???
Awesome Idea
I am too using Sony Bravia... with Dishtv (india) this is really a great app.... :good::good:
i really needed such an app... what i am trying to do is map some dummy buttons on my remote to special key for STB_POWER
unfortunatley this is not working.....
as of now everytime i need to goto Action Menu >> Right >> Right >> STB_POWER >> Confirm
i was very happy to find this key in the key to dispatch but to my bad luck this isn't working yet....
also cmake is not available in India Playstore i had downloaded manually any country restrcitions ???
if this starts working for me i need not break my head to send ircc commands via tasker http wifi etc..... trying hard to fix that aswell.... that too seems very complicated and unreliable as of now as it has too much dependency :fingers-crossed:
Hi
There is no t9 keyboard entry for my remote and even i can't find t9 keyboard option in cmak settings
4a_j said:
CMAK is now available on Google Play:
Click to expand...
Click to collapse
The app does not appear to be available in Canada. I'm getting a "Sorry! This content is not available in your country yet" message when clicking on the link. Any way you could make it available in Canada?
Thanks!
I would like to remapper this button (GLOBOPLAY - Orange Button) in TCL remote control, is it possible?
TCL 49C2US Android TV 6.0.
Don't work for me, any tutorial ?
I can't seem to get the Control Mapper to worn on my Shield. I set a button to launch the Control Mapper, but it never actually launches when I press it. I'm on Shield Experience 7.1.0 (Android TV 8.0). Any ideas?
EDIT: Turns out you have to hold the button for a few seconds. All good here now. Thanks!
Hi all.
Not sure how to use this. I have an Android TV Box with a remote that has numbers. I was hoping to be able to use the numbers as a T9 to enter text into the Box.
I installed CMAK but haven't found the way to use it yet. Can someone help me, please? Thanks in advance!
it`s no good without instruccions

Unified Remote - Missing MPC-BE and related actions

Im trying to create a widget for Unified Remote that allows me to jump back or forward 5sec in MPC (In Media Player Classic, the shortcut keys are Arrow keys left and right). Unified Remote info shows there should be a remote titled MPC-BE when going into "Change Action > Remote Action" that has such shortcuts. But it's not I figured Id just try to use a shortcut key itself as an action, but there are no keyboard remotes listed either when going into "Change Action > Remote Action"
Does anyone know how can I allocate the computer keyboard keystroke "Right/Left Arrow" to a Unified Remote widget?
Also, does anyone know where the icons for Unified Remote (as in icons used for the widget buttons) are stored/installed? Can I add my own?
and lastly, does anyone know how to backup/save any information relating Unified Remote to copy over to another device?

[App] [ROOT] AutoScrollr - Automatically scroll content in any app!

Hi all,
I know some Reddit apps have auto-scrolling in-built, but there isn't an universal way to have auto-scrolling in any app on Android, so I decided to make AutoScrollr.
AutoScrollr is a completely free and open-source app (no ads) that allows you to turn on auto-scrolling inside any app. This means if you're reading an article, a website or just comments on YouTube, you don't have to keep manually scrolling up or down, AutoScrollr will automatically scroll for you!
You can turn on/off auto-scrolling, adjust the speed or change direction.
It's super easy to set up and use AutoScrollr! Don't believe me? Here's how:
Open the app
Flick the switch on and grant root permissions
That's it!
When you want to use auto-scrolling, open the notification area and tap on the AutoScrollr notification. A floating icon will appear. When you press the icon, it will expand to show some buttons - Play/Pause to play/pause auto-scrolling, Fast Forward/Rewind to increase/decrease auto-scrolling speed and Reverse to change scroll direction (scroll down or up).
Here's a video of the app: https://streamable.com/v3ums
Wait, "...grant root permissions", did I read that right? Yes, the app requires ROOT. If you're not rooted, please don't download the app. I am working on a non-root mode (using Accessibility API), I am not sure how convenient it will be to do auto-scrolling via that, but I am working on it. At the moment, the app requires ROOT.
Download link (Play Store): https://play.google.com/store/apps/details?id=com.suyashsrijan.autoscrollr
Source code (GitHub): https://github.com/theblixguy/AutoScrollr
Let me know your feedback or suggestions and any bugs that you encounter

Categories

Resources