Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,870 Members 49,415 Now Online
XDA Developers Android and Mobile Development Forum

[Q] smali color coding???????

Tip us?
 
gufemur
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Oct 2010
Default [Q] smali color coding???????

I've searched and searched and can't find my answer, so if this has already been discussed, I appoligize. I'm trying to edit colors in various smali files and am trying to understand the breakdown of the color coding. ie const/high16 v6, -0x100. I've seen that some of you are simply taking out the high16 and then entering a standard hex color code. Could someone just explain what the different portions of that code stand for? If I sound like a NOOB, it's because I am. Please have mercy on my soul
 
gufemur
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Oct 2010
anyone?????????? I don't need tons of details, just a little understanding.

Thanks
 
-= sk0t =-
Old
(Last edited by -= sk0t =-; 14th November 2011 at 07:41 PM.)
#3  
Junior Member
Thanks Meter 43
Posts: 9
Join Date: May 2010
If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r
The Following 35 Users Say Thank You to -= sk0t =- For This Useful Post: [ Click to Expand ]
 
iridaki
Old
#4  
iridaki's Avatar
Retired Forum Moderator / Recognized Themer
Thanks Meter 4648
Posts: 3,688
Join Date: Feb 2007
Location: Edinburgh, Scotland

 
DONATE TO ME
Quote:
Originally Posted by -= sk0t =- View Post
If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r
Hands down the most useful thing I have seen in a while!!!!
 
lufc
Old
#5  
lufc's Avatar
Senior Moderator / Resident Priest
Thanks Meter 1485
Posts: 9,512
Join Date: Oct 2007
Location: Blackpool UK

 
DONATE TO ME
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Pay attention and participate,Encourage,
not discourage, Listen to advice and accept instruction,
and in the end you will be wise.......... Prov. 19:20
 
gunnermike
Old
#6  
gunnermike's Avatar
Senior Member
Thanks Meter 498
Posts: 1,826
Join Date: Dec 2010
Location: Crestview
Quote:
Originally Posted by -= sk0t =- View Post
If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r
if i were a woman, id totally have your baby!
Jesus Christ is my Lord and Savior!






If you like what I do, buy me a Diet Dr Pepper
 
robm1911
Old
#7  
robm1911's Avatar
Recognized Contributor / Themer
Thanks Meter 2132
Posts: 1,251
Join Date: Nov 2010
Location: Weatherford Tx.

 
DONATE TO ME
Quote:
Originally Posted by -= sk0t =- View Post
If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r
very handy tool thank you for this
 
gufemur
Old
#8  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Oct 2010
How do you know whether to use const/high16 or const?
 
Pneuma1985
Old
#9  
Pneuma1985's Avatar
Recognized Themer
Thanks Meter 979
Posts: 768
Join Date: Jan 2011
Location: Around

 
DONATE TO ME
Most useful smali color coding tool out there that I have found... Anyone find better please let us know... Id like to have one that helps with the variables as well that would be nice...
HTC One M8: Rooted S-off Sense 6.0 : HTC One M7: Rooted S-off Sense 6.0 port : Htc Evo 4g Lte: Rooted S-off sense 5.5 port



 
Josehg
Old
#10  
Member
Thanks Meter 62
Posts: 99
Join Date: Jul 2012
Quote:
Originally Posted by -= sk0t =- View Post
If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r
Really, really useful app, thanks m8

Tags
smali color
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...