[App] NOT-VERY-INTERESTING Bar - Acer Iconia Tab A100

Standard Disclaimer: I am in no way responsible for your device ,marriage, or social life, so don't come crying to me when something happens to one or all of them. You assume all responsibility and risk.
THIS APP IS BETA:
This is a simple app I made for the A100 semi- based off the popular HideBar app by Pieter Pareit. What this app does is allow you to use the capacitive Home Button on the device (A100) to toggle the Notification Bar on/off.
HOW TO SET UP​
Download the two files in the folder
Take the "gpio-keys.kl" file and move it to "/system/usr/keylayout" (make sure to make a backup of the old one before pasting)
Make sure permissions are set to RWXRWXRWX or at LEAST RW-R--R--
Now Install the downloaded APK like normal.
FILES CAN BE FOUND HERE
HOW TO USE​The gpio-keys file basically changes the home button to act as a search button (which this beta app uses) so to use the toggle, just LONG PRESS the search button and select the toggle. The first time it will ask for root permissions. I do recommend setting it as the default app. There is no app icon.
TO DO: This app is in beta, so I need you guys to let me know any bugs you find! Besides that I plan to bypass the need to use a search button.
THANKS TOO: dima_tr for, Pieter Pareit for his HideBar App , sanixk for his tutorial on how to remap hardware keys , crossix for his continued development on this device ,aznmode for letting us all know about HideBar originally , and Acer for a great tablet

Just in case
Sent from my Acer A100 using XDA Premium

What I get no thanks for initially posting the hidebar app? lol. Jk I dont think I was the first one to. Anyway, thanks for this. Will try it out when I get home!

aznmode said:
What I get no thanks for initially posting the hidebar app? lol. Jk I dont think I was the first one to. Anyway, thanks for this. Will try it out when I get home!
Click to expand...
Click to collapse
You actually were the first to post about it xD (at least that I saw) so definitely added your name.
Let me know how it works for you
Sent from my EVO 4G

I can't seem to get this working on my A10. I put the gpio-keys.kl file where it belongs. I installed the apk. Permissions are correct. I may be wrong but seems that the gpio-keys.kl from the download is identical to the one in my "/system/usr/keylayout"
this is the one I downloaded
key 136 SEARCH WAKE_DROPPED
key 139 MENU WAKE
key 102 HOME
key 158 BACK WAKE_DROPPED
key 116 POWER WAKE
key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED
this one is my backup copy from "/system/usr/keylayout"
key 136 SEARCH WAKE_DROPPED
key 139 MENU WAKE
key 102 HOME
key 158 BACK WAKE_DROPPED
key 116 POWER WAKE
key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED
am i missing something?

You have to change
key 102 HOME
to
key 102 SEARCH

simoneser said:
You have to change
key 102 HOME
to
key 102 SEARCH
Click to expand...
Click to collapse
Yes that is correct I thought I changed it to make it easier I apologize ill fix that.
Thanks simoneser
EDIT:I reuploaded the gpio-keys.kl file. Should work fine now, I apologize.
Sent from my EVO 4G

got it working
I like it so far. I'm going to check it out for a while. Thanks!

Good job! it works great. There is a typo in gpio-keys.kl though, an `s` is the first char.

eww245 said:
Good job! it works great. There is a typo in gpio-keys.kl though, an `s` is the first char.
Click to expand...
Click to collapse
Thanks for letting me know, I reuploaded a fixed version. =)
Hopefully in the next couple weeks ill have a version that doesn't need an extra gpio-keys file and just uses the home button, but that looks like it takes looking into the binding and not just android.intents so with a busy life don't hold me on the time frame

Thanks allot for making the app. Any known issues we should watch out for or things we should avoid doing with it enabled etc?

I did find an issue with using this. I was watching a video in Netflix with my taskbar hidden and the home button worked as a search button only. The long press would not work. I had no way to exit the program without restarting my tab. Any way to fix this? I'm sure there are other apps that would have this issue as well.
Sent from my A500 using xda premium

NoSudo said:
Thanks allot for making the app. Any known issues we should watch out for or things we should avoid doing with it enabled etc?
Click to expand...
Click to collapse
Well the only issue is that at the moment this does call for the search button so any app that doesn't have a need for it won't be able to launch the app.
As for the problem above (cant multiqoute on tapatalk) that's a weird issue , but it seems like it goes along with what I said above and their is no workaround until I make the app use the home button as a "home button"
Sent from my EVO 4G

will you continue to work on this to make it more functional?
thanks for the hard work put in it anyway

nunoruf said:
will you continue to work on this to make it more functional?
thanks for the hard work put in it anyway
Click to expand...
Click to collapse
Oh wow, I almost forgot about this (not in the A100 threads much)
But I suppose it's possible. I'm not very sure about ICS compatibility, but I'll take another look at this soon
Sent from my EVO 3D using Tapatalk 2

Yes, it would be amazing if you could find the time to update this to be ICS compatible!

Yes please make this ics compatible
Sent from my A100 using Tapatalk 2

Any progress on this purty please?

I don't have a comp right now so I can't work on this. Eventually though
Sent from my PG86100 using Tapatalk 2

yes ..
yes...
+1 for ICS compatibility !

Related

[Q] Can't remap optical joystick?

Besides editing the .kl files, is there something else I need to do to remap the click function of the optical pad? I don't seem to have any success so far...
In both the incrediblec-keypad.kl and qwerty.kl files, the following line exists:
Code:
key 232 DPAD_CENTER WAKE_DROPPED
I have tried simply changing "DPAD_CENTER" to "CAMERA" (in both files) and then rebooting, but the phone does not behave any differently. If I use this same procedure for a different key (like Volume-Up, for example) it works perfectly. Is there something else in the framework that is preventing remapping of the optical click though?
For what it's worth, I'm running Virtuous 3.0.1... though given the fact that I can remap other keys, I'd assume it isn't a ROM issue
I tried the exact same thing. My one problem with this phone is that I can't bind something to this key. I would LOVE to get it to load the camera. I made a thread a few weeks ago, but no one responded. I was thinking making dpad_center isn't actually the right identifier for this key? BUMP!
I wish I could find a way to wake the phone up consistently with the track pad.
1967ls2 said:
I wish I could find a way to wake the phone up consistently with the track pad.
Click to expand...
Click to collapse
I second this
Sent from my Incredible using XDA App
Gahh Its Lee said:
I second this
Sent from my Incredible using XDA App
Click to expand...
Click to collapse
There's a forum dedicated to this tweak
I'm using it now
Sent from my ADR6300 using XDA App
Search optical joystick wake
Sent from my ADR6300 using Tapatalk
So no one has any solutions for mapping the camera to the optical click?
intenselyinsane said:
Search optical joystick wake
Sent from my ADR6300 using Tapatalk
Click to expand...
Click to collapse
I ran a search for "optical joystick wake" and I don't seem to be able to find the thread you are referring to.
From forum.xda-developers.com/showthread.php?t=825511[/url] it appears that key 232 is incorrect. It should be key 272.
Runawaycoder said:
From forum.xda-developers.com/showthread.php?t=825511[/url] it appears that key 232 is incorrect. It should be key 272.
Click to expand...
Click to collapse
Thank you very much! That is quite helpful. Let me try some experiments on my end and see if I can get this working now...
First off, let me offer major thanks to TheLynxy for clearing up the whole 232/272 thing: I was wondering why rebinding the optical trackpad click never did anything (I was leaving it at 232)
What I've always wanted to do with mine was map it to be a camera button. It would seem that still does not work, even now using the correct key #
If I use the following, nothing at all happens (the phone doesn't even wake up)
Code:
key 272 CAMERA WAKE
Interestingly, however, using the FOCUS command instead will wake the device, but still does not start the camera (even if the camera is already running in the background)
Code:
key 272 FOCUS WAKE
TheLynxy said:
When the phone is on, the trackpad behaves like normal, eg the active application decides what the button does.
Click to expand...
Click to collapse
This is another interesting point about the whole thing. It seems like this is a button that is really on lockdown by the phone.
So while some progress was made, I still can't get the camera functionality I wanted. Oh well.

Back Button App for physical keyboard

There's a search button and menu button but no back button on the physical keyboard. Somebody should make a mini app that acts as a back button, so we could assign 1 of our 3 keys to the app and have that functionability.
I live in very cold weather and between my fingers getting so cold the buttons wont recognize my press or wearing gloves and having to remove them to hit one of the buttons, this could be a useful app for people (me).
Also a home button app could work as well for them.
What do ya think?
Sent from my T-Mobile G2 using XDA App
+1 for this idea. I wear gloves constantly outside...
I too would like to have a physical back button. +2 to this idea! I couldn't find any easy solution to this on my own, but it would be great to have a back button mapped to the second or third quick key.
Sent from my T-Mobile G2 using XDA App
erm..might sound stupid but does the backspace key not do this already (when not in a text field).
The backspace/delete key does not do this.
I was referred to this post by fellow XDA user nomadism. He writes:
nomadism said:
"user1" "user2" "user3" are the three QuickKeys, starting from the left
Click to expand...
Click to collapse
I set it to "user3", so there won't be any accidents pressing the key.
Sent from my T-Mobile G2 using Tapatalk Pro
Cyanogenmod 6.1.0 stable + ClockworkMod 2.5.1.3 + sonnysekhon's Gingerbread theme
Well with the stock rom and a temp root, it acts like it works but then never does..says I need to reboot to take effect but when I do it doesn't work, am I doing it wrong? I had to use the first version cause the second version of the app would crash on me
collins521 said:
Well with the stock rom and a temp root, it acts like it works but then never does..says I need to reboot to take effect but when I do it doesn't work, am I doing it wrong? I had to use the first version cause the second version of the app would crash on me
Click to expand...
Click to collapse
Pretty sure you need full root / S-Off for this as the /system/usr/ files it overwrites would get reset to stock every time you reboot with temproot.
Well, yeah, it needs root. As the thread says "for full rooted devices. (NAND unlocked. Full, permanent write access to the system dir is needed)".
I'm sure you can't do this without root.
Use your nose to press the soft key, it's usually warmer than your fingers. Also convenient if your hands are full.
Guess this could help:
http://forum.xda-developers.com/showthread.php?t=850464
They got some gloves I think from isotoner, called smart touch, made specifically for touch screen phones. You should check it out.
Sent from my T-Mobile G2 using XDA App
g4rb4g3 said:
Guess this could help:
http://forum.xda-developers.com/showthread.php?t=850464
Click to expand...
Click to collapse
Thats exactly what I use. I also used this program to set "@"to DPAD_LEFT and "www" to DPAD_RIGHT. It works as an up and down button. Like a mini replacement for the trackpad. I figured if ur fingers were too cold to reach the back button, you might could use some help witht that trackpad too ; )

[MOD][19-05-2012]Change KeyLayout So Buttons Can Act Differently![DISCONTINUED]

So many people requested the feature of being able to change the uses of the three buttons provided by HTC to us.
We all were disappointed when they decided to remove the menu button.
So i have a workaround which I will show you. If you feel it is a little complicated I have included it in the latest version of SuPrimo Rom. So feel free to use that.
Requirements:
1.) Root
2.) Any root file explorer
Steps:
Go to the root explorer and navigate to /system/usr/keylayout/atmel-touchscreen.kl
Open it as a Text File.
Replace the text in the file with
Code:
key 102 HOMEkey 249 MENUkey 158 BACKkey 217 SEARCHkey 139 APP_SWITCH
Reboot your device and that should be it!
I have made a flashable zip...I have not tested it!
Link: http://uploading.com/files/7ed4c977/shubhamchamariaKEYMOD-flashable.zip/
It is only half functional....Multitask button becomes menu button but you can't use multitask
Recovery shows only single press in key test so it is tough to make it long press home..If anyone knows how to do key test of long press...please tell me!
HIT THE THANKS BUTTON IF I HELPED!
very helpful, thank you
tuylongdon said:
very helpful, thank you
Click to expand...
Click to collapse
Report if it worked...
Sent from my HTC One V using XDA
Did not work ..
neither for me, cannot save changes. when i reopen file,original numbers are there. anyway i will flash suprimo v2.1 rom
Oh freak I was wrong!
We have to edit atleast 20 files !
I am adding new ver.(v2.1.1) hopefully fixed!
Updated with flashable zip!
I clicked thanks before i try it
Can we reverse it to default??
Sent from my HTC One V using xda premium
handryg555 said:
Can we reverse it to default??
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
I don't even know if this works....I will release a undo zip once I know this works atleast...
Sent from my HTC One V using XDA
I ain't sure but r u sayin the home key will become multitask key???
I feel there is no provision of multitasking on one v ( I m New to android ).
In symbian we had this home key that would help active switchin between running apps .
Is somethin like that available in android ?????? Pls tell............
saket_oo said:
I ain't sure but r u sayin the home key will become multitask key???
I feel there is no provision of multitasking on one v ( I m New to android ).
In symbian we had this home key that would help active switchin between running apps .
Is somethin like that available in android ?????? Pls tell............
Click to expand...
Click to collapse
The third key becomes the menu key. The third key is the multitask key.
Sent from my HTC One V using XDA
Any progress on getting this to work properly/reliably? Home long-press as task switch and "task switch" as menu makes a lot of sense if it can also remove the menu button in older apps.
nawoa said:
Any progress on getting this to work properly/reliably? Home long-press as task switch and "task switch" as menu makes a lot of sense if it can also remove the menu button in older apps.
Click to expand...
Click to collapse
Try modaco rom...the full mod is integrated...
Sent from my HTC One V using XDA
i dont see the point of this.?? long pressing the multitask key the menu pops up.why bother changing it.?
michael.the.don said:
i dont see the point of this.?? long pressing the multitask key the menu pops up.why bother changing it.?
Click to expand...
Click to collapse
Because its more convenient to users who had android phones on 2.x versions...
Sent from my HTC One V using XDA
Hi there. I've got a updated stock rom rooted. tried this and nothing happens at all. i reboot and its exactly the same.
I've even tried same setting in another file the same in the keylayout dir. atmel-touchscreen.kl
but that dont do nothing either
Anyone help with this. i'd rather have a quick menu button and log press for multi task.
i've also installed the zip, but still dont work
thanks
japodude said:
Hi there. I've got a updated stock rom rooted. tried this and nothing happens at all. i reboot and its exactly the same.
I've even tried same setting in another file the same in the keylayout dir. atmel-touchscreen.kl
but that dont do nothing either
Anyone help with this. i'd rather have a quick menu button and log press for multi task.
i've also installed the zip, but still dont work
thanks
Click to expand...
Click to collapse
Flash SuPrimo Rom v4.1 ...it has both mods included working perfectly!
How do I get this to work ? Been trying to change the app switch button into menu or settings button
its an very old mod dude.. as far as i remember it works nly little
Sent from my One V

Remapping Physical Power Button

Hello all! I have recently become fascinated with the app here ( http://forum.xda-developers.com/showthread.php?t=1721895 ) and now have no use for my power button. i want to remap it to do absolutely nothing just like it was broken so that my pesky brother cannot get into my phone. I went to system/usr/keylayout/tuna-gpio-keypad.kl and changed key 116 which is the power button to none but nothing happened. does anyone know what to put there to do such a thing?
I just tried deleting the key 116 and it disabled the power button but then caused PGM to stop working. Still trying to figure this out.
EDIT:Someone has to know how to do this. XDA is the smartest community Ive followed
Perhaps turn it into a camera button.
butter and jelly please...
@rbiter said:
Perhaps turn it into a camera button.
butter and jelly please...
Click to expand...
Click to collapse
When you turn it into another function lets say HOME. The swipes from the PGM application look at that key and do what said key says. so we need to find a way to add a fake key, say key 1000 with the function POWER for it to work. but Im not smart enough to do that. i downloaded the free app and decompiled it hoping to find A line of code that says look at key 116 for slide to wake but i have yet to see something like that. my theory is that if we change what it looks for in the app and then manually add that into ( system/usr/blah blah ) it should work. Sounds good to me at least. what do you think?
Bumpity bump bump! Someone must know!
^
Sent from my Galaxy Nexus using Tapatalk 2
This may turn into a rom option in the future.
[Very interested]
Sent from my Galaxy Nexus using xda premium

Remapping the home button

Ive been trying to make my home button function the same as the power button. First I made a nandroid and rebooted andthen went here--> System/usr/keylayout/generic.kl and changedkey# whatever-said-home to say POWER. rebooted and it didn't work, it worked just like normal. Then I went back and changed every key that said home to power anywhere in the keylayout directories and still, it works like normal! Any advice or knowledge to help me solve this puzzle?
Thanks!
Sent from my Kangadore 64
I'm on an aokp build BTW and I tried the button remapping app as well. Stubborn button =
Sent from my Kangadore 64
Well for starters, did you reboot?
There should be a thread in one of the US variants forums that tells you about the key layouts.
Theres also an app that will give you info on what button you just pushed.
Been a while so cant remember the name and dont know if itll be compatible, but maybe someone else does and will chime in.
Sent from my SGH-T999 using xda app-developers app
I've rebooted with every change. I tried theapp that tells you what button you pushed but it doesn't show what the power or home buttons key in as, its in the FAQ of the app I don't know what the issue is, I can change other buttons around but this one refuses to cooperate.
Sent from my Kangadore 64
mrtoast said:
I've rebooted with every change. I tried theapp that tells you what button you pushed but it doesn't show what the power or home buttons key in as, its in the FAQ of the app I don't know what the issue is, I can change other buttons around but this one refuses to cooperate.
Sent from my Kangadore 64
Click to expand...
Click to collapse
You have to edit the sec-keys.kl file to whatever you want then reboot. Generic.kl only takes effect if sec-keys.kl isn't there. So edit sec-keys.kl then reboot and you should be golden
Sent from my Galaxy Nexus using Tapatalk 2
@OP....
Got a better idea. Download apex launcher, and download screen off and lock.....
Open apex settings, behavior settings, home button...
Have it launch screen off and lock when pressed. Your phone will now turn off when you press the home button from your home screen.
Viola
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
mrtoast said:
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
Click to expand...
Click to collapse
Could you be specific as to what you changed exactly. I am also interested in this...... Thanks!
mrtoast said:
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
Click to expand...
Click to collapse
Glad it worked!
dls5375 said:
Could you be specific as to what you changed exactly. I am also interested in this...... Thanks!
Click to expand...
Click to collapse
all they did was change what function the home button does. Look at a few posts up to see the file they changed and it's quite self explanatory, you will see a list of four buttons and their default assignments. Then you can either disable one by putting a # in front of the entire line or change them to say make the home function as a camera button.
Sent from my SGH-T999 using Tapatalk 2
elesbb said:
Glad it worked!
all they did was change what function the home button does. Look at a few posts up to see the file they changed and it's quite self explanatory, you will see a list of four buttons and their default assignments. Then you can either disable one by putting a # in front of the entire line or change them to say make the home function as a camera button.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
OK, I got it....just change HOME to POWER and reboot....thanks
dls5375 said:
OK, I got it....just change HOME to POWER and reboot....thanks
Click to expand...
Click to collapse
No problem. Let us know if you run into any issues!

Categories

Resources