[HOWTO] Remap hardware button to ICS recent apps - Android Software Development

this is simple howto about this mod.. : [MOD] Search key to ICS recent apps
1) change source code related to APP_SWITCH keycode.
platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
from :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0) {
showOrHideRecentAppsDialog(RECENT_APPS_BEHAVIOR_SHOW_OR_DISMISS);
}
return -1;
}
to :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0 && !keyguardOn) {
try {
mStatusBarService.toggleRecentApps();
} catch (RemoteException e) {
Slog.e(TAG, "RemoteException when showing recent apps", e);
}
}
return -1;
}
2) edit your keylayout files..
/system/usr/keylayout/
for example, if you want to use search key to recent apps on nexus s...
cypress-touchkey.kl
Code:
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 158 BACK VIRTUAL
key 217 APP_SWITCH VIRTUAL
and mxt224_ts_input.kl (it would be better to edit both files..)
Code:
key 158 BACK WAKE
key 139 MENU WAKE
key 217 APP_SWITCH WAKE
key 102 HOME WAKE
3) done
---------------------------------------------------------------------------------------------------
- and if you cannot compile android.policy.jar for some reason, try with my files instead.
you can find my files in these thread :
[MOD] Search key to ICS recent apps
[MOD] Add ICS 'Recent Apps' button to Status bar
and be careful. you should use suitable version to your rom. so if your cm9 rom was built few weeks ago, do not try with latest version of my mod.

dumb question, but what does originally the "APP_SWITCH" action do without the java change?

It brings up a recent apps window that looks like the original switcher from 1.5.
For OP, does this still mess up the other key functions that you said in your other thread?

etoy said:
dumb question, but what does originally the "APP_SWITCH" action do without the java change?
Click to expand...
Click to collapse
that will bring old version app switcher.
thejaredhuang said:
For OP, does this still mess up the other key functions that you said in your other thread?
Click to expand...
Click to collapse
if you use proper version for your rom(currently stock, cm9 and aokp), key problems will not happen. but that will happen on other roms like peter alfonso's ics..

where the hell is this direction?
platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java , i would love to try this mod on my cappy, to see if it works

Its in the android source code...
Someone needs to make a modded rom based on that (ex a cm9 kang).

If you don't mind me asking, what is the significance of this?
Long pressing the "Home" capacitive key brings up the "Recent Apps" screen... Why change it?
Forgive my short sighted confusion, but I just don't understand why you want your search button to bring up the Recent Apps screen when the home button already does it...

cause its faster just like in the GN you only tap and theres your multitask

RaptorOne3 said:
If you don't mind me asking, what is the significance of this?
Long pressing the "Home" capacitive key brings up the "Recent Apps" screen... Why change it?
Forgive my short sighted confusion, but I just don't understand why you want your search button to bring up the Recent Apps screen when the home button already does it...
Click to expand...
Click to collapse
If you've ever used webOS you'll understand how frustrating it is to hold the Home button down for 2 seconds.
I would be bagging on Android for copying webOS but in the end its the same person who designed it.

this is great , i have my nexus s for 5 moths and almost never use SEARCH BUTTON..., problem is , i am using KANGY by HAKA, ok , this is not the issue
but i also applied http://forum.xda-developers.com/showthread.php?t=1439681 this MOD .... that brings me a problem ...
and i don't have access to source code of this MOD , how am i supposed to do it ?

Hmm... I suppose...
No pun intended... Just curious. Seemed a bit redundant but I suppose it's all in personal preference really. Just another option I suppose!
I may actually be interested in this the more I think about it... I never use my search button. It would be nice to bind it to a some what useful function... lol...
I'll be keeping my eye on this. Perhaps we could bundle a little update zip for this?

qtwrk said:
this is great , i have my nexus s for 5 moths and almost never use SEARCH BUTTON..., problem is , i am using KANGY by HAKA, ok , this is not the issue
but i also applied http://forum.xda-developers.com/showthread.php?t=1439681 this MOD .... that brings me a problem ...
and i don't have access to source code of this MOD , how am i supposed to do it ?
Click to expand...
Click to collapse
it looks like... there is no other way to ask that mod(theme?)'s dev..

Nevrmind this post
Evilisto is the man!

I am currently using a AOSP based ROM for the Nexus S and would greatly appreciate this mod! I found your thread on the Nexus S forum however my ROM isn't supported ...
How would I go about changing the source code on my ROM? (Not too experienced with Android Development.)

AeroEchelon said:
I am currently using a AOSP based ROM for the Nexus S and would greatly appreciate this mod! I found your thread on the Nexus S forum however my ROM isn't supported ...
How would I go about changing the source code on my ROM? (Not too experienced with Android Development.)
Click to expand...
Click to collapse
sorry but i can't make mod for your rom because he doesn't release his source code..
and he was interested this mod too(link). so i think this mod or similar thing will be added to his rom later.

Code:
else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if(showing != true){
if (down && repeatCount == 0) {
try {
mStatusBarService.toggleRecentApps();
} catch (RemoteException e) {
Slog.e(TAG, "RemoteException when showing recent apps", e);
}
}
return -1;
}
}
could you please add a check if the device is on lockscreen, so pressing the search button while the device is locked wouldn't flash the recent apps screen
Code:
KeyguardManager kgMgr = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE);
boolean showing = kgMgr.inKeyguardRestrictedInputMode();

endursa said:
could you please add a check if the device is on lockscreen, so pressing the search button while the device is locked wouldn't flash the recent apps screen
Click to expand...
Click to collapse
thank you i didn't even know about that bug... ..
i fixed that with this code and it seems like working well.
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0 && !keyguardOn) {
try {
mStatusBarService.toggleRecentApps();
} catch (RemoteException e) {
Slog.e(TAG, "RemoteException when showing recent apps", e);
}
}
return -1;
}

Quick question for the OP:
I was going to request the developer of my rom to implement this into their build. Before I did though, I was wanting to make sure that if they put this code into their build it wouldn't change anything until the keylayout.kl file was changed.

VolcanicSkunk said:
Quick question for the OP:
I was going to request the developer of my rom to implement this into their build. Before I did though, I was wanting to make sure that if they put this code into their build it wouldn't change anything until the keylayout.kl file was changed.
Click to expand...
Click to collapse
yes because this change APP_SWITCH related code only. and this is not related to long-press home key too. so if you don't use APP_SWITCH keycode, this code change doesn't do anything.

anyone is able to update the patch for latest cm9 builds using the how to?
current version messes some text up
thanks in advance

Related

AOSPA 3+ [4.2.1]: FASCINATE - Discussion, Support, News, Goodies & More!

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As mentioned over and over we are all very grateful to have a very talented & Kick @SS Developer that is still giving us fassy uses the top of the line rom(s), builds, port's. How ever you say it, we get the newest and we get right away. Thanks again notta!
Also wanted to do a shout out to you all... jt1134, travp624, team baked, bbrad, hhp_221, ztotherad, netlagger, B_boy, Decalex, KaptinKrunk, and everyone else in this community, a lot of great people here! Seriously not enough room to list everyone but you all ROCK! :good:
Click to expand...
Click to collapse
INDEX
SECTION # 1 - ABOUT AOSPA 3+, INSTALLING, DOWNLOADING, HOW TO?, NEED TO KNOW INFO, LINKS, USEFUL RESOURCES, CREDITS, ETC.
SECTION # 2 - ... DON'T KNOW, ASK BBRAD! HE HIJACKED IT! LOL
SECTION # 3 - HOW TO GUIDES, MOST COMMON QUESTIONS & ANSWERS TO DO WITH AOSPA 3+
SECTION # 4 - HOW TO USE AND ENABLE PIE ON AOSPA 3+
SECTION # 5 - RANDOM ANDROID 4.2 - 4.2.2 STUFF TILL I NEED THE SECTION..
SECTION # 6 - AOSPA 3+ BLACKOUT (DOWNLOADS,INFO, ANYTHING REALLY THAT PERTAINS TO IT)
ENJOY !​
Click to expand...
Click to collapse
All Credits go out to Notta, D4rKn3sSyS, molesarecoming, aaronpoweruser, and who ever else is associated with Paranoid Android
Before you go any further, 4.2 still has a quite a few bugs that need to be resolved by Google.
Please make sure you have backups for anything you don't want to lose.
Google apps are not official, this is a community hack, pa team has tested all apps but you could still encounter issues.
Do not ask about CyanogenMod features. PA team will add more features in version 3.x, when they have a 100% stable base.
Change log from 4.1 to 4.2 located here: http://www.funkyandroid.com/aosp-JOP40C-JDQ39.html
Click to expand...
Click to collapse
Notta's AOSPA 3+ Developer Thread: [ROM] [AOSPA] PARANOIDANDROID 3.10 (Mar15) | 4.2.2 JDQ39 Linaro 4.7 O3
Current Build : pa_fascinatemtd-3.15-L13N-29APR2013-112742
Click to expand...
Click to collapse
Make sure you have or update your recovery to the latest version. Pre 4.2 recoveries can mess up your sd card/storage. TWRP is recommend.
Class 6 sd-card is highly recommended if your having issues on 4.2 or flashing 4.2 ( getting status 7, unable to mount sd-card, etc) this is prolly the cause of it.
Check out Droidstyle thread on everything you need to know about flashing custom roms,rooting, and going back to stock located here: [GUIDE] Installing a Rom/CWM recovery/Root or going back to Stockhttp://forum.xda-developers.com/showthread.php?t=1238070
INSTRUCTIONS:
Download PA gapps: HERE or HERE
Official Google gapps : HERE or HERE
Inverted gapp's : HERE
Download ROM : HERE & HERE
ROM Build's APR19 and up are HERE (ran out of space lol)
Perform a factory reset in recovery, unless you are already on AOSPA 3+
Flash ROM first, then gapps
Wipe Dalvik & Cache
Reboot and wait, first bootup can take up to 5 minutes, it will also restart once
Enter your Google account info, press home when you encounter the black screen
After the quirky bootup is over, the rom should work normally
Do not restore system apps, system data and Google apps. This can cause bootloops and other problems due to mismatches from CM to AOSP and Android version 4.1.2 to 4.2
QUOTE: " If you are a new PA user you will most definitely need to flash gapps, however if you are upgrading from previous AOSPA build and already have gapps, the backup script should restore them for you! If you want to make sure you are starting fresh with your gapps, you will need to format system in recovery before flashing the ROM so that gapps will not be backed up and restored! "
- notta
::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: :::::::::::::::::
::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: :::::::::::::::::
Previous Paranoid Android Jellybean (PA 2.0 - PA 2.54) Versions & PA Kernel: HERE & Latest 4.1 gapps HERE
<~DEVIL 4.2.X-Click here to make your Hybrid EVIL ! Or hhp_221's thread here: [Kernels] Flashable & [Tweaks] Jellybean 4.2.x
Original ROM Kernel's (aospa,aokp,bb7) can be located here: LINK and hhp_221's Thread HERE
Special thank's to hhp_221 for making these Devil zip's and making it possible for all of us to run Devil at the time being. We are are all grateful!
Colored & Transparant (multi dpi hacked,auto market updater disabled,no regional restrictions) Google Play 4.0.20 (blue,green,purple,pink,orange,red) located here: LINK or PaulDiddy Remix Google Play 3.10.10. Note: If you get from his thread you have to rename the app from Vending to Phonesky. FIRST link I already did that for you, just push to /system/app & change permissions! *** UPDATED! 5/4 ***
Click to expand...
Click to collapse
** NOTE: If your getting "E cant mount sd card" or "sd card damaged" errors then I suggest replacing your sd card with a class 6 or higher **
Click to expand...
Click to collapse
Here you can find the archived pre AOSPA Build's " PA 2.0 - 2.54 " .. and 2.99 PA build's .. Yet again all follow the links above for the stand alone kernel build for other roms that are available along with newest AOSPA 3.0 build's by notta of course!
Archived PA Build's:
[JB:CM10:HYBRID] Paranoid Android...builds 2.0 through 2.54]
* links in beginning of OP will also get you to them also.
- Get them here: LINK
pa_fascinatemtd-2.00-02SEP2012-140715
pa_fascinatemtd-2.13-17SEP2012-132623
pa_fascinatemtd-2.15-26SEP2012-155214
pa_fascinatemtd-2.17-04OCT2012-133059
pa_fascinatemtd-2.21-13OCT2012-133931
pa_fascinatemtd-2.50-22OCT2012-213259
pa_fascinatemtd-2.51-25OCT2012-233930
pa_fascinatemtd-2.52-31OCT2012-204049
pa_fascinatemtd-2.54-11NOV2012-131425
Archived PA 2.99 Build's:
- Get them here: LINK
pa_fascinatemtd-2.99-05FEB2013-221931
pa_fascinatemtd-2.99-07FEB2013-155640
pa_fascinatemtd-2.99-29JAN2013-234003
*** I will be keeping up with getting everything up and available for you guys. Anything you would like added or sugustions please feel free to hit me up. Thanks ***
As you know if you try anything posted, mentioned, suggested or whatever else........... I am not responsible for you not backing up, Bricking your device, killing your sdcard, and even if I pimp out your phone to the point your Droid gets so sexy someone steals it!!!! Still NOT my fault!!!!!... but worst case scenario you will have to ODIN back to stock EH03 and start fresh if you decided to start crack flashing without your morning coffee or what not.
We are here to HELP each other out, with that being said there will most likely be times your going try something new, be testing and have an Ooops.. in all these scenarios you gotta expect to be having to wipe data...or worse case Odin'in back to stock...or just end up with a sexy @SS hybrid fassy. Pm me or post on any issues to report, comments, or questions. or So be smart & I dont wanna hear any of it or negativity in this thread!! Thanks you guys ROCK!
Hybrid engine ported, Per App DPI and Per App Layout
Tablet UI back from the dead
Per app color
Quicksettings -> Quicktoggles (first draft, more to follow)
New recents implementation
Fixed the aosp lag in the recents view, well, most of it
New SystemUI Icons that can cope with transparent bars, thanks go to John Xionidis
See through Lockscreen is back
Transparent bars + Launcher2 modified to cope with it
4.2 Walls and Sounds
Google stock apps
Extended Desktop
Click to expand...
Click to collapse
This is not tablet mode! Hybrid engine allows you to target apps individually. You get to pick their actual layouts which can tranform content drastically. Keep in mind, this has nothing to do with build.prop hacks or DPI changes. We list all layouts an app brings, you choose one, its as easy as that. It does not matter if your device runs itself in Phone-, Phablet or Tablet-UI, your apps will always look as you like. On top of that you can scale apps, to fit your screen, that way you can even bring full fledged tablet apps and make them run perfectly. Nothing will break, nothing will shrink, your market will be fine. Additionally we have rewritten many parts of the android framework and fixed countless of AOSP bugs to make way for these modifications - our "tablet mode" runs better on a phone than on a real tablet, that is guaranteed.
Click to expand...
Click to collapse
ParanoidAndroid's newest invention. Define apps in your regular hybrid panel. See your phone fade into the color definition of your current app, press home or go elsewhere and it fades back. Create as many combinations you like, you can even dabble with opacity. This feature is made possible by our hybrid engine, which is unique to this rom.
Click to expand...
Click to collapse
[*] Notta's AOSPA 4.2.2 Port Thread: [ROM] [AOSPA 4.2.2] PARANOIDANDROID 3.0 (Feb21) | 4.2.2 JDQ39 Linaro 4.7 O3
[*] Notta's PA Jellybean Port Thread: HERE
[*] Paranoid Android webpage: http://www.paranoid-rom.com/
[*] Github: paranoidandroid
[*] Gerrit: review.paranoid-rom.com
[*] Complete Guide to ParanoidPreferences: http://forum.xda-developers.com/showthread.php?t=1927208
[*] Guide: How to Enable Pie ( very useful! ) - GUIDE: HOW TO ENABLE PIE
[*] Source Compilation Guide v3.+ - [GUIDE][AOSPA:v3.+] How to Compile AOSPA from Source : + Support and Maintenance[/COLOR]
[*] Themes & more Goodies can be found here: LINK
[*] Banner's by VeGas RoMeo (please add credits to where they belong..if used): Banner's by VeGas RoMeo
[*] Banner's by bbrad: Can be found :HERE
[*] AOSPA 3+ original banner's can be located here:LINK
[*] Wallpaper's: HERE
[*][PARANOIDANDROID JB/CS] Developers only: Porting, Support and Maintanance
Click to expand...
Click to collapse
to molesarecoming
to D4rKn3sSyS
to aaronpoweruser
Click to expand...
Click to collapse
AOSP/Google, Cyanogenmod, Goo, XDA, Notta, molesarecoming, D4rKn3sSyS, aaronpoeruser, jt, other developers, users, supporters and anyone else that has helped out!
Click to expand...
Click to collapse
::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: :::::::::::::::::
If I have helped you or relieved help in this thread at some point; please make sure to hit the THANKS button!:victory:
::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: ::::::::::::::::: :::::::::::::::::
​
- Discussion/Support ParanoidDroid, Downloads and Goodies for Fassy/Mesmerize/Showcase
- Post your fassy's home screen!
Click to expand...
Click to collapse
​
1st Awesome work hey romeo I definitely be using this as a reference if you need anything ask
Sent from my SCH-I500 using Tapatalk 2
How To
AOSPA 3 + BANNERS,
Even if you read this FAQ and (hopefully find the answer to your question) will be good also read the [GUIDE][PARANOIDANDROID] A Complete Compendium on ParanoidPreferences [PA-Settings] thread, contains important information for all the users of Paranoid Android.
This FAQ will be updated with general and specific version questions, if somebody see something wrong or want to add something just let me known via PM.
Thanks in advance! :highfive:
Click to expand...
Click to collapse
« FAQ Zone
⊗ Index ⊗​
- What is the PIE?
- How can I enable the PIE?
- It's possible turn off the PIE?
- How can I change the PIE color?
- I enabled the PIE and I can't find the kill all button on the recent apps area, where it is?
- I don't have the CM10.1 camera as the changelog says, what can I do?]
- The Paranoid Wallpapers are being re-sized and don't fit to the screen, what can I do?
- I can't see the keyboard, what can I do?[Archive]
Click to expand...
Click to collapse
⊗ Detailed Information ⊗​
« What is the PIE?
There aren't better explanation than this image.
« How can I enable the PIE?
Go to Settings - Toolbars and tick the box next to PIE Controls
Push and hold the power button then select Expanded Desktop
By default the PIE it's on the bottom (unless you change it after the point #1) the only that you need to do it's swipe from the bottom to the top and the PIE will appear.
« It's possible turn off the PIE?
No for the moment, unless you switch to Tablet mode and disable the Expanded Desktop, then will be off.
« How can I change the PIE color?
The PIE take the colors of the per app settings so, be sure that you have enabled the per app color on the Hybrid Settings, change some color apps and the PIE will have that one's.
« I enabled the PIE and I can't find the kill all button on the recent apps area, where it is?
Take a look in this post.
« The Paranoid Wallpapers are being resized and don't fit to the screen, what can I do?
Download the .apk from here or this post and install it as a normal .apk this one will replace the existent and solve the issue.
⊗ Archive ⊗​
« "Can I enable PIE and keep my status bar?"
Yes, follow these steps-
1. Enable PIE in Settings -> Toolbar and set the style to bare
2. Go to Settings -> Hybrid Properties -> Interface and set navigation bar to 0
« "Where are the changelogs to the new build(s)?"
The changelogs are usually posted to the official google+ page which you can find here: https://plus.google.com/u/0/107979589566958860409/posts
« "How can I theme the pie?"
Exactly like the nav bar! Go to Hybrid properties and apply individual colors for every app under "Apps" or for all in "Interface"
« Is there no developer options like in the past? or.. How do I access "Developer Options?"
Google has hidden the “Developer Options” section under Settings in Android 4.2. Simply go to settings, scroll down to About Phone, and find the Build Number. When you have located it, simply tap the Build Number location several times and you will notice it count you down to becoming a developer. Repeat the process until it reads, "You are now a developer!” Go back to the main Settings page and you will notice the arrival of "Developer Options" towards the bottom near About Phone/Tablet. More info click here
*** Special thanks to ATTACK for this simple guide on how to use & enable pie on AOSPA 3+ His thread is located here:[GUIDE][PA-3+] How to use pie] :good: ***
​
Click to expand...
Click to collapse
HOW TO ENABLE PIE
1. Press and hold the power button
2. Enable "Expanded Desktop"
3. Press and drag finger up
Click to expand...
Click to collapse
HOW TO ENABLE PIE WITH STATUS BAR
1. Go into Settings
2. Scroll to Customization
3. Select Hybrid Properties
4. Select Interface
5. In workspace slide Nav. bar to "0%"
6. Click Apply
7. Exit to home screen
8. Press and drag finger up
Click to expand...
Click to collapse
4.2
Mini Tutorial: Getting the Best out of DashClock
Every once in a while we'll make small tutorials, stuff that only PA can do for you. Today's tutorial is about DashClock, the widget everyone's talking about. As you know, you can use it on your regular homescreen as well, BUT, you have to cope with an elephant of a widget swallowing your homescreen for 1-2 puny rows.
Did you know that hybrid engine can scale widgets, too? No? Well try this ...
Unlock Hybrid engines expert mode for further options
- Settings / Hybrid / Tools / check expert mode
Configure DashClock
- Hybrid / Apps / DashClock / DPI = 200 (or any size you like), check force on the last page / hit APPLY
Restart your launcher
- Either by killing it in Settings / Apps / [yourlauncher] or, the better way, by restarting it offcially (Apex: double tap / settings / restart). That step is needed because your launcher will cache widgets.
What force does is literally forcing hybrid properties through foreign hosts. A launcher for instance will always take its own settings (DPI, UI, etc) to display content, but if force is enabled DPI scaling and UI switching is possible even on the home screen.
Just be careful with the option, use it for widgets and leave it unchecked for everything else unless you know what you are doing, reason why you had to unlock expert mode.
Enjoy your stylish new DeskClock! :victory:
Click to expand...
Click to collapse
Mini tutorial: set up your games with auto expanded desktop
Nice little video from +Chris Nacca showing you guys how to conveniently drop apps into fullscreen+pie without the hassle of having to deal with powermenus or toggles - your app will do it by itself. Once you go out your bars will pan in again.
Its an experimental feature, hence the expert mode, so use it with care. Should something not work out the way you want simply uncheck the option.
It'll probably make sense for most of your gaming needs and perhaps browsing
Click to expand...
Click to collapse
Mini tutorial: get the best out of Google Keep
In our last tutorial we learned how to scale DashClock on the homescreen via per app dpi. In this one i'm gonna show you what per app layout does and i'll use the 2 minutes to dispel some myths around that.
As you know, Android apps have the capability to scale and adapt to various screensizes. The genius in that is that an app is pretty much free to react in whatever way it pleases. Now i'm sure some of you have heard of "tablet mode," better forget that quickly, there is none, nor was there ever.
What apps really do is defining various Layout containers with minor or major transformations in them, as many as they want. These usually contain UI layouts, dimensions, images, etc. In theory an app can transform completely when it detects a certain screen-size it has defintions for. That is what you see when you run PA the first time, apps like Gmail or Settings look different.
On PA the layout-container in which an app displays is optional. We read them straight out of your apk's and you get to pick the one that you like best. Since that may blow out of proportion on smaller screens we give you per app DPI as well, which scales the app up and down.
Hybrid is a very special feature, often misunderstood, it allows you to tap into a world of customization that you simply don't get anywhere else. These can be cosmetic changes or drastic, practical things. It also allows you to run tablet-only apps on any device.
Here's how you can transform Googles beautiful Keep app, which, in its highest layout, looks twice as good, even on smaller devices. (if you happen to own a Nexus 7 you absolutely must try this out, it looks so much better)
1. Start keep
2. Open recents, longpress the Keep thumbnail, choose Hybrid. This can not work for newly installed apps since hybrid does not know them yet. A reboot builds hybrids internal cache, when you do that they are ready for quick access. You can also visit the app via Settings/Hybrid/Apps/Keep - that will always work
3. Choose a size, anything you like. Leftmost is small, rightmost is stock.
4. Choose a layout, think of them as actual screensizes.
5. Hit APPLY and LAUNCH, to start the app
You may switch back and forth to adjust your settings until you think its perfect. If you want to have it display as always just hit the RESET button, that applies to all other apps as well of course, think settings, gmail, etc.
Click to expand...
Click to collapse
Android 4.2.2 Camera & Features:
​
*** AOSPA 3+ : BLACKOUT ***
INSTRUCTIONS
1. UPDATE RECOVERY
2. FACTORY RESET
3. INSTALL ROM
4. INSTALL PA GAPPS: HERE or HERE
5 .INSTALL Official Google gapps : HERE or HERE or
6. INSTALL LATEST INVERTED GAPPS
7. WIPE CACHE & DALVIK CACHE
s. REBOOT
9. PROFIT! WELCOME TO THE THE DARKNESS :highfive:
* * * ONLY INSTALL ONE GAPPS PACKAGE AND ONLY IF WIPING OR COMING TO PA 4.2.2 FOR THE FIRST TIME. AFTER YOU DO NOT NEED TO FLASH THEM ANYMORE! PA 3+ UPDATES DO NOT NEED A FACTORY RESET,
BUT YOU NEED TO INSTALL GAPPS ASWELL * * *​
Click to expand...
Click to collapse
another option for gapps along with black apps stated below.......
B-Boy's Inverted apps all zipped up!​
Welcome to the Dark Side of AOSPA! In regards to the black app portion of the rom, 95% of the black app's I include are B_boy's. With this being the case to make things a little easier so I can focus more on customizing the rom you may now download the black app's in one flash-able zip and soon to come AOSPA BlackOUT Aroma with thanks going to cajunflavoredbob and of course B_boy for bringing us these amazing apps to enjoy! Until the aroma installer is done, you have these option. Please read the descriptions carefully please..
Which zip should you choose?
Gapps+Inverts zip is a full and complete gapps package for your JB 4.2+ ROM. Just flash your ROM.zip and then this one. No need to flash any other gapps packages at all.
Quickflash zip is a simple zip that installs all the inverted apps by b-boy into their proper places. This should be flashed after your normal gapps package for JB 4.2+.
Update zips are meant for going from the previous version to the newest version without needing to wipe everything. These are only available for minor updates.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
DOWNLOADS
GET YOUR ZIP NOW!
- LOCATED HERE: http://www.cajunflavoredbob.com/inverts.html
MAKE SURE TO THANK:
- B_BOY
- CFB a.k.a. "cajunflavoredbob"
MY BUILDS AFTER TONIGHT * * 3/4/2013 * * WILL NOT HAVE B_BOYS APPS INCLUDED SINCE DECIDING TO GO WITH THE ZIPS AND YOU WONT GET DOUBLES!
NOTE: Without permission please don't : Re-Post, Minor or any form of distribution that would fall in that category out of respect of the people credited. Also please be known that I do have B_boys permission to include his app's in these build's.​:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
INSTRUCTIONS:
CFB made these zips with all of b-boy's blacked out apps included for easy installation. He tried his best to make certain that all old apps are removed automatically by the zip, but it isn't possible to get all of them. So, please do yourself a favor and install this on a clean flash so it works properly.
The installation instructions are simple: pick the zip you want, flash it in recovery, then reboot. Do not restore data from your old non-inverted apps. Odexed ROMs are not supported. If you run into any problems, wipe everything and try it from a clean install to make sure it isn't one of your apps playing tricks on you.
NOTE: All included app's are listed below. They will also be listed along with the changelog for each zip at the download site. So make sure you check those out.
Click to expand...
Click to collapse
INCLUDED APP'S:
/system apps-
Gmail 4.2.1
Google Play Music 4.5.9
Google Play Store 3.10.14
Google Talk 4.2
Google Voice 4.2.72
Youtube 4.3.9
/data apps-
Dropbox 2.3.2
Facebook w/ white text 2.2.1
FB Messenger 2.2.5
Google Currents 2.0.1
Google Drive 1.1.592
Google Now 2.3.11
Google Plus 3.5.3
Google Translate 2.5.3
Instagram 3.4.2
Pinterest 1.3.3
Skype 3.5.0
Twitter 3.7.0
Click to expand...
Click to collapse
NOTE: The installation process is the same for any build or rom. On a personal note below is what I did and recently when I came from bare bone stock with no issues. I flashed the cwm4 fixed in odin..closed out and plugged back in...flashed GBBootloaders.....three fingered into recovery.....wiped data and caches...installed aospa & gapps. With these new linaro builds having the cm updater script & google updater.apk and what not in them, BUT if your flashing PA for the fist time you do have to flash gapps but not again after that. Happy flashing!
This section is for the BlacOUT builds, for notta's original build releases please go back and look at post #1 in the OP. I do not take credit for anything, all goes to notta. Which by the way is totally a bad @ss and killin it like always, the PA Team and everyone associated with Paranoid Android! These are notta's builds. These are modified to my liking as I am doing them fun and personal flashing. An interest arose so thought I would share. With what ever i do, it doesnt change the fact they are initially the same core built rom notta's provided to us. As you know... if you try anything posted, mentioned, suggested or whatever else here...... I am not responsible for you NOT backing up OR your phone gets so sexy someone steals it!!!! Not my fault!!!!!... but worst case scenario you will have to ODIN back to stock EH03 and start fresh...
We are here to HELP each other out, with that being said there will most likely be times your going try something new, be testing and have an Ooops.. in all these scenarios you gotta expect to be having to wipe data...or worse case Odin'in back to stock...or just end up with a sexy @ss hybrid fassy. Pm me or post on any issues to report, comments, or questions. or So be smart & I dont wanna hear any of it or negativity in this thread!! Thanks you guys ROCK!
Click to expand...
Click to collapse
AOSPA 3+ BLACKOUT BOOTANIMATION
AOSPA BlackOUT bootanimation V1 -HERE
AOSPA BlackOUT bootanimation V2 -HERE
AOSPA BlackOUT bootanimation V3 -HERE
Click to expand...
Click to collapse
::NOTE: BlackOUT builds up to March 1st are up! If you test a build remember to BACKUP and pm or post your feed back! These are off of notta's original build's but with me removing and adding what I do. Currently working on the modded nav keys, battery & statusbar icons..etc.
AGAIN.... as you know if you try this I am not responsible for you NOT backing up or your phone gets so sexy someone steals it!!!! Not my fault!!!!!:fingers-crossed:
Click to expand...
Click to collapse
Oh I'm sorry did I take one of your reserve spaces Lol soon as I seen you posted it I thought you were done
Awesome work dude on the thread if you need anything ask
Sent from my SCH-I500 using Tapatalk 2
:: 1:: is there any place to edit the launcher , so as to remove the google now/persistent search bar... I strongly dislike and remove it from other roms i run...
:: 2:: does it have place to edit the statusbar, mostly looking to change the battery icon style
:: 3:: any place to add screenshot to the power menu or even access screenshot?
::4:: does thus have the swipe to change screen brightness?
:: 5 :: could the swipe down to quick access the tile toolbar be added?
got two figuered out...!!!!
::3:: screenshot form the power/menu botton
""press Power button + Home button for 2 sec""
now it is on the menu when I press the power button
:: 5 :: could the swipe down to quick access the tile toolbar be added?
"" use 2 fingers to swipe down on the notification bar ""
Or
" pie swipe " ( expanded desktop ON ) from pie side to opposite side
(ie:: right side of screen all way to left side )
.
AOSPA 4.2.2 test uploaded. Link at beginning of op will takes ya to the all builds posted.
This thread is awesome and it rocks dude!!! Great job on helping out Notta and posting all this stuff. I will be changing over to PA 3.0 this weekend and see how it goes for me. Hopefully I will have no trouble coming over from PUB 4.2.
Just flashed awesome work Vegas just wish it was still based on cm because I really miss the status bar options
Sent from my SCH-I500 using Tapatalk 2
bbrad said:
Just flashed awesome work Vegas just wish it was still based on cm because I really miss the status bar options
Sent from my SCH-I500 using Tapatalk 2
Click to expand...
Click to collapse
the blackened one i posted? i am able to switch out the nav keys and status bar icons (batter, signal, etc) in the systemUI.apk but as far as what your talking about im sure in the near future we will have status bar customization. See nottas 4.2.2 test build up? lol
LasVegasRomeo said:
the blackened one i posted? i am able to switch out the nav keys and status bar icons (batter, signal, etc) in the systemUI.apk but as far as what your talking about im sure in the near future we will have status bar customization. See nottas 4.2.2 test build up? lol
Click to expand...
Click to collapse
I means edit status bar trancperqncy and stuff lol
Sent from my SCH-I500 using Tapatalk 2
Nice Thread! I will be following this. :good:
noticing on AOSPA 3.0 - BlackOUT ,,, I dont seem to have a statusbar, Ive tried resizing several different ways but I cant seem to get it.
got it just a bad flash...
.
cool that worked
HTML:
[strike] [/strike]
hhp_211 said:
noticing on AOSPA 3.0 - BlackOUT ,,, I dont seem to have a statusbar, Ive tried resizing several different ways but I cant seem to get it.
Click to expand...
Click to collapse
in what mode? see if it lets you change the size in phone mode. hmmm i didnt do anything to effect the status bar .. i will see if i can see what the issue is.
Is anyone else on it experiencing the issue?
Anyone getting a status 7?
Nope,, what rom you coming from?
Did you do a factory reset/wipe?
Sent from my SCH-I500 using xda premium
Bowsa2511 said:
Anyone getting a status 7?
Click to expand...
Click to collapse
On what one? First I herd about it, I didnt do anything different between 2.99 & 3.0 and no issues with those ones. I will look at it. I will put a new one together. all i dont add or remove anything that would cause that enless something happened on uploading it. My computer had a big windows 8 update today, kinda curious now...I know people that are running it with no issues except the status bar ordeal mentioned above. I will repack it and and look everything over. had 3.0 in the test folder since i uploaded it this morning. But thanks for letting me know. sorry for the inconvenience
hhp_211 said:
Nope,, what rom you coming from?
Did you do a factory reset/wipe?
Sent from my SCH-I500 using xda premium
Click to expand...
Click to collapse
maybe the pa preference pro is causing issues with it. try uninstalling it at seeing if not i may have another thing to try. But havent had anyone have a status 7....

[Q&A/T][ROM][The GNOME Project]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This thread has been created strictly for
Questions & Troubleshooting
Specific to
The GNOME Project
This thread has been created for people to share issues, question and help
while using this version of The GNOME Project
DEVELOPMENT THREAD
Video Review of this ROM
Please do not clutter the Development thread with non development-related chatter​
Frequently asked Questions
Frequently asked Questions
Q: What is Xposed?
A: http://forum.xda-developers.com/showthread.php?t=1574401
Q: Is this ROM rooted
A: Yes
Q: What Modules can I put here?
A: http://forum.xda-developers.com/showthread.php?t=2327541"
Q: Do you have any plans to add some customizations here in the future?
A: Speed Enhancements YES, Customizations, I leave them up to you, use Xposed.
Q: Can I flash kernel X, Y Z?
A: Yes as long your flashing the correct one. (JSS for JLS, JWR for JWR)
For Bug reporting please post it in the DEV THREAD all non related development topics you can post it here. Need to follow XDA Rules now. Thanks and God Speed!
CUSTOMIZE that stock ROM!!
-=The Gn0m3 Project tips and tricks=-
How to make this ROM look and act like any other ROM you want.
PA:
***Download App Settings from settings - xposed framework - download
***Install it and activate the module
***Reboot
***Open the app and search for Settings
***Click on it and flick the switch
***Change its settings accordingly to make it look like a tablet version of the settings app (you can change the res to do so) Some text may be ended with the three dots "..." so lower it's dpi too.
***Make some modifications to any app you want, and you juat got a PA ROM.
Click to expand...
Click to collapse
HALO:
***Download two apps: floating notifications app from the playstore, and xhalofloatingwindow module.
***Activate the module and reboot
***Go to Floating Notifications, then to App Notifications and enable all of them
***From there you have activated "HALO" and you can customize it from the Floating Notifications app. As foe the actual window, go to XHaloFloatingWindow and you can customize that one too.
Click to expand...
Click to collapse
CM:
***Download GravityBox from settings - xposed framework - download
***Install it and activate the module
***Reboot
***Open it, go to statusbar tweaks - pie controls and enable it
***Go back to statusbar tweaks then click QuickSettings management
***Make changes accordingly
***Go back to the first screen of the app, then click Display tweaks
***Expanded desktop mode should be set to hide navbar (at least)
***Reboot, and enjoy pie with custom QuickSettings panel... a CM ROM.
Click to expand...
Click to collapse
AOKP:
uhh... i've never tried AOKP, what are its specialties? lol
Click to expand...
Click to collapse
How to make use of all your 2GB of RAM:
Use V6 Supercharger with the ultimate jar tool to patch your minfrees, bulletproof your launcher, and make your phone a multitasking BEAST.
Link to the V6 thread: http://forum.xda-developers.com/showthread.php?t=991276
Click to expand...
Click to collapse
Volume Wake:
***Download MoDaCo Toolkit
***Scroll down to htc one, click enable volume wake.
***Do any kind of reboot (normal or soft)
Click to expand...
Click to collapse
what i got from gnome:
-custom launcher (nova)
-HALO (gravitybox)
-PIE (gravitybox)
-custom quick settings (gravitybox)
-custom theme (XThemeEngine)
-some changed dpi (AppSettings)
-custom navbar theme and a persistent menu button (Xblast Tools)
-custom lockscreen (XlockY)
can't seem to find in gravitybox nav bar height and volume wake or another module to do this modifications...if you can help pls
vraciu4you said:
can't seem to find in gravitybox nav bar height and volume wake or another module to do this modifications...if you can help pls
Click to expand...
Click to collapse
gravitybox - navigation bar tweaks, you can customize navnar height there.
as for volume wake, i don't have a module currently installed that has that.
Sent from my Mako
So the first release is the only release so far? Because in the original development forum in the op under expected features says more butter and speed. Eagerly awaiting this butter/speed update
Sent from my Nexus 4 using Tapatalk 4
TheNerd:] said:
So the first release is the only release so far? Because in the original development forum in the op under expected features says more butter and speed. Eagerly awaiting this butter/speed update
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Yeah once I see a new changes or tweaks in Skia and Bionic I'll definitely update it, but the ROM is currently fast and stable so try it out.
So I really like this ROM thanks for it..
Only issue I been having is that google wallet doesn't work. I have no option to tap and pay, I finally was able to restore an old version of google wallet and its giving me this error: Google wallet is not yet available for your device or mobile network..
I am thinking maybe its a build.prop issue?
ogrillion said:
So I really like this ROM thanks for it..
Only issue I been having is that google wallet doesn't work. I have no option to tap and pay, I finally was able to restore an old version of google wallet and its giving me this error: Google wallet is not yet available for your device or mobile network..
I am thinking maybe its a build.prop issue?
Click to expand...
Click to collapse
I'll look that up. Thanks for the heads up!
Gn0m3 said:
I'll look that up. Thanks for the heads up!
Click to expand...
Click to collapse
Ok so I think I fixed it.. I just had to change a few values in the build.prop.. heres what I changed.
ro.product.model = Nexus 4 (changed from Mako)
ro.product.brand = google (changed from Android)
ro.product.name = occam (changed from full_mako)
Seemed to have fixed it
I can't seem to find out which module made the report button say "reboot" instead of "report"... very weird thing, but it's not that big of a deal.
Sent from my Mako
Another question, its not a huge deal and it might just be a module I have enabled..
But sometimes I get stuck in a weird loop.. like I am in a app hit the recent app menu, go into another app and then if I hit back key it goes back to the recent menu, then if I hit back again goes back to the app, hit back again it goes back to recent apps. etc etc
I don't think stock ever did that.. Its not a huge deal just odd?
*edit* I can't duplicate it but it happens..
ogrillion said:
Another question, its not a huge deal and it might just be a module I have enabled..
But sometimes I get stuck in a weird loop.. like I am in a app hit the recent app menu, go into another app and then if I hit back key it goes back to the recent menu, then if I hit back again goes back to the app, hit back again it goes back to recent apps. etc etc
I don't think stock ever did that.. Its not a huge deal just odd?
*edit* I can't duplicate it but it happens..
Click to expand...
Click to collapse
It might be the modules, This is pure Stock unless you enabled some modules into it.
ogrillion said:
Ok so I think I fixed it.. I just had to change a few values in the build.prop.. heres what I changed.
ro.product.model = Nexus 4 (changed from Mako)
ro.product.brand = google (changed from Android)
ro.product.name = occam (changed from full_mako)
Seemed to have fixed it
Click to expand...
Click to collapse
Yeah, forgot that since it's AOSP. Lol! I'll fix it on the next release.
Gn0m3 said:
Yeah, forgot that since it's AOSP. Lol! I'll fix it on the next release.
Click to expand...
Click to collapse
Np! Thank you again for a great rom.. Really loving it..
Question, if its too much trouble don't worry about replying.. But I been wanting to someday build my own ROMs from source, now I googled and found some easy enough guides about making a build enviroment and building from source etc.. But what I was curious about is building with different toolsets (like saber) and also what is involved in cherry picking from other roms.
Any good noob guides that you have used / know of that could help me learn?
Again thank you so much for a great rom
I'll guide you when you're available. Just PM me.
Riro Zizo said:
gravitybox - navigation bar tweaks, you can customize navnar height there.
as for volume wake, i don't have a module currently installed that has that.
Sent from my Mako
Click to expand...
Click to collapse
Found volume wake option in modaco toolkit under htc one options(after enable it you must do a soft reboot to make it work), for those that like this option on their rom :d
Sent from my Mako using Tapatalk 4
Guys, I'm sorry my laptop decided to go haywire again, but don't worry I was able to fix this before and I know I'll be able to fix this again. I'll keep ya'll updated.
vraciu4you said:
Found volume wake option in modaco toolkit under htc one options(after enable it you must do a soft reboot to make it work), for those that like this option on their rom :d
Sent from my Mako using Tapatalk 4
Click to expand...
Click to collapse
added to the third post, thank you very much.
Sent from my Mako
Ah bummer about the laptop.
Looks like what I got to do with my wife's laptop, her DC jack needs to be replaced and I keep putting it off.
Sent from my Mako using xda app-developers app

Create Toast from shell

Hallo,
is it possible to create a custom user-defined Toast from a shell script/command? Maybe by 'am' command, sending a broadcast to a systemapp or something?
Any ideas?
DualJoe said:
Hallo,
is it possible to create a custom user-defined Toast from a shell script/command? Maybe by 'am' command, sending a broadcast to a systemapp or something?
Any ideas?
Click to expand...
Click to collapse
I don't know what are you talking about. Toasts can be made only with Java, afaik.
Code:
String MyCustomMessage="SOME MESSAGE HERE";
Toast.makeText(getApplicationContext(), // OR getActivity(), depending on your case.
MyCustomMessage, Toast.LENGTH_LONG).show();
Have a look at this: https://groups.google.com/forum/#!topic/android-scripting/Ok0J5mcIm08
And maybe also this: http://forum.xda-developers.com/showthread.php?t=773232
nikwen said:
Have a look at this: https://groups.google.com/forum/#!topic/android-scripting/Ok0J5mcIm08
And maybe also this: http://forum.xda-developers.com/showthread.php?t=773232
Click to expand...
Click to collapse
I've tested the small Java app. It works but unfortunately its kinda buggy. The screen flashes/goes dark before the toast comes up and logcat shows weird errors (missing crypto libs(?), resource leaks..). Maybe a good time to try coding it myself...
If i fail badly i will take another look at the perl solution even though i don't like the dependency of larger 3rd party tools.
Thanks so far..
DualJoe said:
I've tested the small Java app. It works but unfortunately its kinda buggy. The screen flashes/goes dark before the toast comes up and logcat shows weird errors (missing crypto libs(?), resource leaks..). Maybe a good time to try coding it myself...
If i fail badly i will take another look at the perl solution even though i don't like the dependency of larger 3rd party tools.
Thanks so far..
Click to expand...
Click to collapse
I guess that a new Activity is launched with that apk. Using a BroadcastReceiver instead of an Activity should fix the problem.
nikwen said:
I guess that a new Activity is launched with that apk. Using a BroadcastReceiver instead of an Activity should fix the problem.
Click to expand...
Click to collapse
I think a main activity is mandatory but it probably should be invoked differently indeed. I've seen other apps starting invisible.
I maybe take it to the GScript thread. In the end, that's the tool where it makes sense.
DualJoe said:
I think a main activity is mandatory but it probably should be invoked differently indeed. I've seen other apps starting invisible.
I maybe take it to the GScript thread. In the end, that's the tool where it makes sense.
Click to expand...
Click to collapse
It isn't.
Create the toast in the onReceive() method of the BroadcastReceiver and send the broadcast as described here.
No need for an Activity.
But i thought a java class extending activity is needed to display a toast...
I am also trying to do that and i think if u put the toast-code inside onCreate() after super.onCreate() and just delete 'setContentView(R.layout.xyz)' it should display invisibly
---------------------------------
Phone : Samsung Galaxy Mini S5570
OS:
•AOSP ICS Touchwiz V5 by A_U
•Android 4.0.4
•Baseband XWKS2
•Kernel: 2.6.37.6 Badass v1.9 by alin.p
•Recovery CWM v4.0.0.5
Mods:
PureAudio, Mounts2SD, ODEX through Universal ODEX script, AdBlock by AdAway
---------------------------------
Gesendet von Tapatalk
Masrepus said:
But i thought a java class extending activity is needed to display a toast...
I am also trying to do that and i think if u put the toast-code inside onCreate() after super.onCreate() and just delete 'setContentView(R.layout.xyz)' it should display invisibly
---------------------------------
Phone : Samsung Galaxy Mini S5570
OS:
•AOSP ICS Touchwiz V5 by A_U
•Android 4.0.4
•Baseband XWKS2
•Kernel: 2.6.37.6 Badass v1.9 by alin.p
•Recovery CWM v4.0.0.5
Mods:
PureAudio, Mounts2SD, ODEX through Universal ODEX script, AdBlock by AdAway
---------------------------------
Gesendet von Tapatalk
Click to expand...
Click to collapse
The screen will turn dark for about a second as it will try to launch the new app and prepares everything. Why not do it from the BroadcastReceiver?

[Q] Using transparent sys bars without breaking compatibility with older versions

Hi,
I'm developing an app and to make it look better I would like to use transparent system bars on kitkat devices but when I set it up it forces me to move the minimum api level to kitkat (19) but that means my app is only gonna show up on kitkat devices, right? So I was searching around the web to see if it's possible to use it on kitkat while keeping the compatibility for ics or jb. I couldn't find anything so I'm posting here.
EDIT 1:
it is possible, pushbullet features that functionality while compatible with ics
if(Build.VERSION.SDK_INT >= 19)
{
// your kitkat specific code
}
also add SupressLint("NewApi")
annotation to your method
voilla no more compiler issues
Sent from my GT-S5302 using Tapatalk 2

[Q] Button remap menu to recent apps on N9005XXUGBNL8 5.0 Lollipop ROM

How to remap menu button to recent apps (like note 4)?
Xposed isn't available on android L, is hardware button layout saved in file somewhere?
hotter said:
How to remap menu button to recent apps (like note 4)?
Xposed isn't available on android L, is hardware button layout saved in file somewhere?
Click to expand...
Click to collapse
No way atm. This firmware still being a beta. It will have million of bugs still.
Joku1981 said:
No way atm. This firmware still being a beta. It will have million of bugs still.
Click to expand...
Click to collapse
I am not talking about Xposed...
I am talking about hardware buttons, It should be saved in the file somewhere no? By editing file I should remap it. I tried editing "system/usr/keylayout/gpio-keys.kl" but it doesnt help. Which file I need to edit?
P.S. I think I found how to do it!!!
http://forum.xda-developers.com/showthread.php?t=2792460
will try and see if it works.
hotter said:
How to remap menu button to recent apps (like note 4)?
Xposed isn't available on android L, is hardware button layout saved in file somewhere?
Click to expand...
Click to collapse
Here :highfive:

Categories

Resources