DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 5 of 5

Thread: editing XML - 2 questions

  1. Super Moderator
    jntdroid's Avatar
    Member #
    6110
    Join Date
    Nov 2009
    Location
    TX
    Posts
    6,438
    Liked
    808 times
    Phone
    Verizon S4
    Premium Member
    #1

    editing XML - 2 questions

    I run a "pure" stock root (i.e. adb). The past few days I've been learning a lot about editing and applying themes, mainly through the framework-res.apk images, etc. (thanks to 928droid, who's latest MM theme is very slick)

    I want to learn more about how the xml files tie into the theming b/c I'd like to be able to basically do with my phone exactly what I want (I don't expect any of my stuff to be interesting enough to share ), like something as small as adding a different image to the status drop down background. But for the life of me I can't open any of the existing xml files in any of the xml editors I've tried - I get error messages every time. So, my two questions:


    1. What am I missing on opening the xml files? Do they need to be edited another way? I'm sure it's something stupid, but like I said, still learning...
    2. Do I even need to mess with the xml files, or do all of you who create themes just edit the image files and not mess with the xml?

    Thanks!
    Last edited by jntdroid; 05-04-2010 at 09:43 AM.
  2. Theme Developer
    icculusX's Avatar
    Member #
    36395
    Join Date
    Feb 2010
    Location
    The Moon
    Posts
    2,541
    Liked
    2 times
    Phone
    RAZR!
    DroidForums.net Theme Developer
    Premium Member
    #2
    I created my own themes and such by pulling my whole system/app and the framework-res to my PC and changing all the PNG files, then pushing the files back. Vending.apk is an issue since there was an update that is on the data/app - which I am having trouble editing. I also pulled all my apps from data/app and changed the ones I wanted, re-signed the APK, and reinstalled them. Some have issues, others work flawlessly. Great for custom icons.

    Ad for XML, you need a Hex Editor, and I tried to get into that but it was like learning Spanish in high school, I failed... read up on it, its confusing!
  3. Super Moderator
    jntdroid's Avatar
    Member #
    6110
    Join Date
    Nov 2009
    Location
    TX
    Posts
    6,438
    Liked
    808 times
    Phone
    Verizon S4
    Premium Member
    #3
    Ok, so the hex editor will read the binary data, or the "raw" data of the files... but I thought XML and HTML were kind of like cousins, and that XML could be edited like HTML? What is it about these files? And Spanish probably isn't a good comparison, I'd say more along the lines of some ancient unknown dialect...
  4. Beta Team
    thebowers's Avatar
    Member #
    8519
    Join Date
    Nov 2009
    Location
    Iowa
    Posts
    2,548
    Twitter
    dabowerman
    Phone
    Rooted Droid, OC @ 1.1 Ghz
    DroidForums.net Theme Developer
    Premium Member
    #4
    For XML's you need a hex editor like HxD. These xml' are not in raw format but in binary. If you want to see the raw of the xml there is a tool called AXMLPrinter2.jar and is also available in GUI now. There is lots more to do and look at. So, search away and read, read, reread, read, read, try, read and keep at it.
    If you like what I do, thanks



    Your can follow me as follows

    @dabowerman - Twitter
    Derek Bower - G+ - this is where I will be @ the most and where stuff gets released first.

    Theming Guides that might come in handy
    Theming Guide for Progress Bar
    Notification Text Color Change (How to)
    Theming Guide for System Text
  5. Super Moderator
    jntdroid's Avatar
    Member #
    6110
    Join Date
    Nov 2009
    Location
    TX
    Posts
    6,438
    Liked
    808 times
    Phone
    Verizon S4
    Premium Member
    #5
    ok cool - i appreciate the info

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. help editing apk png files?
    By starscream in forum Android Themes
    Replies: 19
    Last Post: 12-17-2010, 12:19 AM
  2. Need some photo editing help
    By calicocal in forum Android Themes
    Replies: 1
    Last Post: 03-18-2010, 09:54 PM
  3. Application questions.....nav charts....video editing app
    By redart in forum Android Tech Support
    Replies: 1
    Last Post: 02-22-2010, 11:09 AM
  4. ringtone editing app
    By mikeinctown in forum Android Applications
    Replies: 13
    Last Post: 12-21-2009, 01:48 PM
  5. Editing screens?
    By VACaver in forum HTC Droid Eris
    Replies: 2
    Last Post: 11-19-2009, 06:42 PM

Search tags for this page

.xml droid 2

,

binary xml editor

,

hex editor for xml 2

,

xml editor for driod

,

xml2 hex edit

Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+