Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
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 29
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 21 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 4405
Posts: 3,594
Join Date: Feb 2007
Location: Athens

 
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 1472
Posts: 9,442
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 340
Posts: 1,396
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 Themer
Thanks Meter 1719
Posts: 1,122
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
Senior Member
Thanks Meter 365
Posts: 460
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...










 
Post Reply+
Tags
smali color
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more