yashsingh1/xdaforums huggingface dataset:
[Android Software Development] evilisto:
sorry but as i wrote before, i don't know much about smali..

but adding other buttons is easy. because most of other buttons don't require source code change..:)

so you can easily add other button just by editing layout xml file only.

here is example : i added 'POWER' button next to 'recent apps' button to use it as replacement of screen lock widget.

<RelativeLayout android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
<ImageView android:id="@id/settings_button" android:paddingLeft="4.0dip" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
<com.android.systemui.statusbar.policy.KeyButtonView android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:id="@id/recent_apps" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_toRightOf="@id/settings_button" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
[COLOR="Blue"] <com.android.systemui.statusbar.policy.KeyButtonView android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:id="@id/back" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_back" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />[/COLOR]
<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
</RelativeLayout>

i used 'back' button's id and drawable name because i don't use on-screen softkeys. but i think using other less useful drawable (for example, nyandroid..) is better than this..

in above example, systemui:keyCode="26" is for POWER button. if you change this to 84, this will work as SEARCH button.
[Android Software Development] rugal28:
Dear evilisto

can you help to provide search button icon??

i try photoshop ic_sysbar_search_land form aokp

but fail (it's so ugly....~"~)
[Android Software Development] bhu1:
Available at Google's dev site, they released stencils some days ago.
[Android Software Development] raghavafitt:
Can It works on deodexed rom of Galaxy R ...
[Android Software Development] evilisto:
or you can find many good softkeys images in this thread (by atticus182) :

[SOFTKEYS] [09-03] Softkey Collection 2.0 [GSM/CDMA]

what i used in preview screenshot is "HTC One" style in above thread.

i think so.. you can make your own follow my guide or ask your rom dev to include this mod in the rom.
[Android Software Development] rugal28:
very thank

i ps ic_sysbar_search_land.png from phone.apk and it's look wonderful

but i have some problem

the highlight red color is my change place

when i press search button on statusbar

not appear google search, but rather voice search , soundhound other search option

maybe coz's Galaxy S without search button (i use aokp build 28)

but recent app button is work great...^^

sorry my english is very poor

i hope you understand me to express

this my code

<com.android.systemui.statusbar.policy.KeyButtonView android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:id="@id/back" android:layout_width="wrap_content" android:layout_height="[COLOR="Red"]wrap_content[/COLOR]" android:src="@drawable/[COLOR="red"]ic_sysbar_search_land[/COLOR]" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="[COLOR="red"]84[/COLOR]" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
[Android Software Development] bhu1:
I tried this, I took search button from stencils provided by Google.....I am getting compiling errors from APK manager, ill try again later though.
[Android Software Development] castaway1:
is any way to get this working? :rolleyes:
[Android Software Development] kobellza:
you deserve to be Recognized Developer already mate :)
[Android Software Development] guap:
I'm having trouble adding a test power button (like your example) in my bar

I'm on HuaweyMediapad (attached SystemUI and framework dependance), decompiled SystemUI with apkmanager, modified status_bar_expanded.xml and recompiled as system app

- new apk is 450~ kb compared to 700~ of the original one

- doesn't work at all (system boot but no softkey bar anymore)

please help... I need to add volume +/- and track next/prev in my bar to integrate it in my car dashboard :D

any hint? thanks
[Android Software Development] Scary Guy:
"- adding some kind of button like menu or back is meaningless.. (surely)"

Not true, because when I'm using HDMI out and mirroring I can't easily hit those buttons when my phone is in the lapdock and the screen is in front of it obstructing access to my hardware buttons. So this is very useful for anyone with that type of phone. Having the buttons hidden in the status bar is great too.
[Android Software Development] Youngunn2008:
i am trying to add this line of code for locking the screen to my decompiled statusbarexpanded xml, but its not wanting to show up once recompiled and pushed. i have the multitasking button working great, can you assist please? any other code i need or is it really just basically tricking the back button into working?

don't i need to put something in the phonewindowmanager.java like with the other mod, since softkeys aren't turned on by default?
[Android Software Development] vua777:
usefull mod , save me some button!
[Android Software Development] lzyllp:
I want home button and change code to this but sstatus bar button not work.

What wrong?

<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_apps" android:layout_toRightOf="@id/settings_button" android:contentDescription="@string/accessibility_home" systemui:keyCode="102" systemui:glowBackground="@drawable/ic_sysbar_highlight" />

EDIT:wrong keycode chenge it to 3 and work
[Android Software Development] Youngunn2008:
Never mind got it working... :cool:
[Android Software Development] SteULM:
could you list which buttons and which codes...?

thanks for all :)
[Android Software Development] x-dira:
sr! how to mod in cm7 !?

thanks
[Android Software Development] rashid.fairus:
decompile systemui.apk,search in res/layout a file name statusbar_expanded.xml,if you found it maybe you can,but the truth is there are no such file in gb,so no way..
[Android Software Development] nanomet:
this would be great with a smali guide
[Android Software Development] hypnos17:
what other softkeys can i add? now I'm with ubuntu 12.10 x86 and can't work on source code :(
[Android Software Development] Youngunn2008:
I had also added a power button for if yours is broken etc. Worked great
[Android Software Development] x-dira:
how to add back home menu? (where is keycode?)

thanks
[General Questions and Answers] essyg:
Sorry for posting if this is already asked, but I am at work and my upgrade is up soon. Could get in huge troble for being on here but was dying to ask...... I am between buying the Galaxy nexus or the note and flashing it to Verizon if possible. I have the unlimited data with Verizon using my fascinate and do not want to lose it by switching carriers. I want the note bad, sooooooo bad. I'm willing to pay if I can flash it. I'm not really looking forward to the nexus as I don't think it has swipe. Swipe is a must for me. Any suggestions? I don't really have a sweet tooth so I'm not so concerned with ICS I will hack it when the time comes if no update is released. If not flashable to Verizon, could you recommend another with similar specs?

Thanks, Essyg
[General Questions and Answers] PakAttack1994:
no, you can't flash the note to verizon...you can unlock it to run on T-mobile though. If you're looking to flash a phone, only phones you can use would be on Sprint or you could just get a verizon phone.
[General Questions and Answers] essyg:
Thank you...

Can you recommend one? I am not sure which one to get.... Should I just wait to see if anything new is coming out?
[General Questions and Answers] PakAttack1994:
only phones I'd consider from sprint is the htc evo design or the samsung s2 epic 4G touch. They don't compare to the note though...
[LG Optimus 2x] xStagGx:
So, I had cm7 2.7. Some time ago I've installed nova hd, then nova hd plus. Because some features that I needed wasn't working on ICS, I decided to downgrade back to 2.7. I've installed clear nightles build of cm7, then after week MIUI. Both on custom OC kernel (i tryed 2 different kernels). After downgrading, on both roms i had battery issue - it showing 100%, after whole night charging, then - 30min later, after using 3g it shows 50! So, I'm plugging it back, and after 5min there is 90%...

I've tried few times;

- calibrate battery (tryed 2 apps)

- clear battery stats in recovery

currently I'm running on latest MIUI and SwiftExtreme-PowerSaving-hoc-20112011 kernel.

battery : gold battery for p990 2430mAh

Send from my Optimus 2X using Tapatalk
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] fingery:
Is it possible to calibrate the touch screen for use with the s pen?

When using the pen my note seems to 'write' about 1-2mm above and slightly to the side of what i'm actually doing.

Makes things like drawing even reasonably accurate shapes/lines etc near impossible....
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] vijai2011:
My note also does the same and mine every note does the same and unfortunately touch cannot be calibrated in any android device(I may be wrong though)
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] missxtee:
have you tried changing the "dominant hand" setting under spen options in your phone's settings menu? if that still doesn't work try Touch Screen Tune from Market.....the developer also has a thread on XDA for this app as welll.

Sent From Galaxy Note Baby!
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] k!DDa:
this is how to calibrate (read that several times in this forum and also works for me and other people:

enable auto rotate > open e.g. smemo in landscape view > draw sth with the pen and touch all the corners and edges with it > rotate back to portrait > now the pen should work accurately
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] xamaba:
I need to try this next time. When I had this problem I started the Note in recovery mode and wiped the cache. The pen then tracked fine again.
[Milestone 2 General] malekk:
Hello there i'm following xda since a while now, and this time i need some help...

first, sorry if my english sound bad, it's just because i'm french... :'(

i'm trying argen2stone on my m2 just now, and i want to come back to [ROM] [02/20] MIUI 2.2.17 GB 2.3.7 + ICS Multilanguage for Milestone 2 but i don't know how to do it.

I'm lost with kernel, sbf, and all this downgrade upgrade method.

Anyone can just point me on a tutorial things or explain me how to do it ?

i've tried to just update.zip on CWM but all i obtain is a black screen (no boot at all)

i've tried lots of sbf and now i'm stuck on this one. It's working but i really want to go back to miui.

my spec :

version : 64.1.22.A953.retail.en.GB

android version : 2.3.4

baseband version : EPU93_U_00.60.00

version noyau : 2.6.32.9-g7d2667akxcr46@zin22inxdroid30#1

build : mils2_U6_4.1-22

SBF used : MILS2_U6_4.1-22_SIGNED_UCAMILESTONE2B1B80E1014.0R_UCXMILE2GBQWR TGB_P016_A006_HWp2a_Service1FF.sbf.gz

thx by adance for helping me to understand how i can do this !

Malekk
[Milestone 2 General] siakgayyem:
Before you install the zip file, try to wipe cache and dalvik first. Efter installing the zip try to boot. If still it does not work, try to wipe data he reboot again.
[Samsung Epic 4G Touch] wase4711:
Did anyone ever find out what happened to him?
[Samsung Epic 4G Touch] _MetalHead_:
I heard his girlfriend dumped him and he spiraled into depression, resorting to alcoholism and prescription medication abuse to help numb his pain.

Oh wait, that's me. No I haven't heard what happened to mazook.
[Samsung Epic 4G Touch] wase4711:
I did a little research a few days ago, and saw some "suicide watch" websites, where people had been posting about him, but, haven't checked those again..He hasn't posted anything since then anywhere, so I hope that something bad didn't actually happen...
[Samsung Epic 4G Touch] _MetalHead_:
Did he just vanish from the scene or did he give an indication that something was up?
[Samsung Epic 4G Touch] Mattheyu:
Was that before or after the iPhone?

mazook98? I must have missed that thread. O.o
[Samsung Epic 4G Touch] wase4711:
here is the last thing anyone has about him...kinda depressing..

http://www.reddit.com/r/SuicideWatch/comments/pzrme/i_have_about_10_minutes_left_fuck_a_throwaway/
[Samsung Epic 4G Touch] _MetalHead_:
After. I never should have gotten this infernal POS.

edit:

Damn, I had no idea. That's nothing to joke around about, I hope he's ok.
[Samsung Epic 4G Touch] Mattheyu:
If it was an attempted suicide and they handle it the same as in my city (in Texas), mazook was probably taken to a short-term center for observation, which could be six weeks or so. Depending on behavior there, they may be transferred to a long-term facility for three months.

Without insurance, going to a state center means you will stay there every day that the state is paying for it, so the full three months.

Edit: And if they used pills/alcohol, there is a high chance that the paramedics made it in time.
[Samsung Epic 4G Touch] wase4711:
i guess the issue is, no one knows if they got to him on time, let alone if this actually happened..he was very active here and on Rootz, and hasn't posted anywhere since that incident..
[Samsung Epic 4G Touch] Ja5oN:
LOL... That is awesome:D
[Samsung Epic 4G Touch] JohnCorleone:
Damn, did you guys read that?! Hopefully he is OK. They tried to call him and called an ambulance. I haven't seen anything like that before. That's very disturbing. I talked to him a few times via PM and he seemed fine. Edit.. .I have to go read through my old PM's
[Samsung Epic 4G Touch] kingsway8605:
He probably has more important things to handle right now then worrying about what ROM his phone is on, respect the man's privacy.
[Samsung Epic 4G Touch] wase4711:
I am just trying to find out if he is still with us or not..I absolutely have no intentions of delving into his personal life. I just hope he is ok..
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
Guys does anyone know of a good camera app with good contrast???pleasee guys dont suggest lg camera or others with have good effects ...i just want a camera app havung the same functiinality as stock samsung camera app..i m tired of the poor aosp cm7 camera..pleasee guys help me...and can anyone port the stock camera to cm7????

Sent from my SGA rocking CM7.2 by vo-1 + all-in-one script
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] mo22i:
Cm7 camera.apk have greater functionality than the stock samsung camera thats why i think we aint gonna see a port unfurtunately. I also want the same. Sadly.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] evil_penguin:
Really??? Nice jolk

Are you dreaming? Lol

Some people don't use cm7 since camera is bad it has various issues

Cm7 camera is very bad

Stock camera is very good
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
I agree ...cm camera sucks when compared to stock..i wish somebody would port it..we r getting an htc sense port too..compared to this a stock camera port is nothing!!!!

Sent from my SGA rocking CM7.2 by vo-1 + all-in-one script
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Spex:
vignete camera is preety good
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] LaneyUK:
Camera360, enjoy :).
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] TheSG:
Camera zoom fx is good.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
Guys guys youll have not read my post properly ..those camera apps dont allow to adjust contrast,exposure,iso level etc..i just want a BASIC FUNCTIONAL camera app just like stock..now please dont tell me to switch to stock lol ..i live cm7 too much to do that..if only the camera was better ....:-(

Sent from my SGA rocking CM7.2 by vo-1 + all-in-one script
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
Im not letting this thread die down untill i get my answer...:-):-)

Sent from my SGA rocking CM7.2 by vo-1 + all-in-one script
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] sordia:
LgCamera its the best :D
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
I hate it !!!!! Its so yuckyyy

Sent from my SGA rocking CM7.2 by vo-1 + all-in-one script
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] diditdr:
SGA CM 7 camera apps in the pocket, with Nikon D800 18-105mm f2.8 vr on location apps , editing with adobe photoshop cs5 apps :confused: hhhh
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Modulüs:
Personally i like MIUI camera the most.... it is veey quick, has great focus, and has a steady ****. Super awesome camera app. .. photo mostly never shakes even if my hand moves a little.!!MIUI CAMERA

from XDA app

Press THANKS if I helped
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
Thanxx dude...i ll try it ....

sent from Samsung Galaxy Ace with Beats Audio :-)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] iSxy:
Can u link me to the miui camera...searched on google play cant find

Swyp'ed From my Awesome Ace
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Modulüs:
dl.xda-developers.com/attachdl/bbe6...f62c8a8/6/4/4/3/5/5/MIUIcamera_v17_Fixed2.apk

from XDA app

Press THANKS if I helped
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
Nice dude...thanxx

P.S.: i just dont say thanxxx i hit the thanks button too :-)

sent from Samsung Galaxy Ace with Beats Audio :-)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Modulüs:
My pleasure!!:D

from XDA app

Press THANKS if I helped
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
Thanxx for the help but miui camera is not upto the mark!!!damn it !!!!!!! Any more suggestions???? Wait i remember a thread ehere some1 had portrd stock camera to sgs cm7 rom i think ill go check ut out again .....s#!tty cm7 camera :-(

sent from Samsung Galaxy Ace with Beats Audio :-)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] scoffyburito:
Hard to please!

AOKP 4 LYF (possibly CM7 aswell)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
Still no luck with it....:-( :-( :-(

sent from $amsung Galaxy @©€ with Beats Audio ™
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Papalamama:
Second that. :)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] SuperDev:
Ics camera or camera 360
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
Nope tried both !!! Not satisfied :-( :-(

sent from $amsung Galaxy @©€ with Beats Audio ™
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] incognitonk:
Can anyone point me to a camera app that has continuous auto-focus while video recording? I've found none. Or is it a hardware thing?

The CM 7.2 stock camera app does have auto-focus but it focuses only on the beginning of the video.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
Its a hardware issue...

sent from $amsung Galaxy @©€ with Beats Audio ™
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Modulüs:
Yeah....its a hardware thing....

from XDA app

Press THANKS if I helped
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] thepaco12:
ICS Camera is really good taking pictures.. And if u want a panorama cam use Panorama ;)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] PsyGik:
Camera 360, the new update has made it faster. But too bad some functionality are gone.Camera FX is also a good one, but I prefer the former.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] koolguy366:
u were right draganoid.. i said bye to cm7 juz bcoz of d poor camera quality:(
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] -RDR-:
Well I have learnt to compromise :) who uses the camera anyways :D

Btw do u noe that adobe flash 10.2 works flawlessly on cm 7 B)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] shreyasvb:
Procapture is wat yu want..!!

Try it n u ll neva b dissapointd!

No special effects, jus "stocky" :D
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] shailpancholi:
Try camera fx
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] eugenebuno:
try Ucam this is my what I use in cm7.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] bhumit22:
Gone...can anybody give link for this app??
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] I r o n M a n:
Camera Zoom FX
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] jamesling:
Ya Camera Zoom fx is the best to try:good:
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] TheBlackWolf:
For Picture :Camera360

For Video Recording :lg camera

;)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] ItNeverEnds:
try LG Camera :) I'm using it and it is awesome!
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] aflefel:
Cymera is what are you looking for :)

https://play.google.com/store/apps/...=W251bGwsMSwxLDEsImNvbS5jeXdvcmxkLmNhbWVyYSJd
[Atrix 4G General] aaron.a:
any else tried it? the touch pad/keyboard works flawlessly and its faster than any vnc client I've tried however I can't find an option to disconnect or go fullscreen. I setup my vm to use atrix's native 960x540 res so essentially with fixed fullscreen support this would be the perfect setup

edit: back will disconnect. it wasn't working initially (it would cause a right click) but either they fixed it or my phone fixed itself. this vnc client has support for external mouse/keyboard on android, so with the lapdock, the touchpad/keyboard works. yes, even right click works. once they at very least offer basic fullscreen/no status bar support this easily replaces webtop for me as long as you have a decent internet connection.

tl;dr spend 99c on jump desktop vnc now before the price goes up =D
[Atrix 4G General] teeth_03:
Except using a vnc app on the phone wont work well translated on the touchpad. I used teamviewer and i had to drag the touchpad to move the mouse, it was kind of annoying.
[Atrix 4G General] aaron.a:
that's the beauty of jump desktop. it has support for external mouse/keyboard.. so the touch pad acts like a real touch pad. the mouse on the remote machine follows below your blue android mouse ;)

theres a free app called pocket cloud which has the same functionality, but the keyboard is iffy, and overall it's just not as fast as jump. there is a little lag as the virtual machine follows your mouse especially on 3G but it's the most amazing client i've found so far. just need to push them for fullscreen support
[Atrix 4G General] jumpdesktop:
Hi,

I'm one of the developers on the Jump Desktop app. Glad you're finding Jump useful.

1. Re: back button not working: We actually fixed this in our 4.0.4 update - let us know if you have any issues with this.

2. Fullscreen / status bar: Jump should already be going fullscreen for you. Which OS are you running on your Atrix?

3. Also, did you know that pressing the 'menu' button shows / hides Jump's functional keyboard at the bottom?

4. And yes - the price is going to up - our iOS version costs much more :-)

Please do let us know what you guys want to see with with Jump - we really want it to become the best remote desktop app on the Android market.