[Q] need devloper help??? - Windows Phone 8 Q&A, Help & Troubleshooting

I need to help to get data from xml file using c# ...
How to get data and write value in xml ...give some sample code

Related

How to open .xml files in .apks

does anyone know how to?
download HxD and you edit the binary code. or there is a tool somewhere in the themes section that will allow you to convert the .xml to human readable output. what exactly are you wanting to do with the .xml? maybe i can assist you in that as well.
david1171 said:
download HxD and you edit the binary code. or there is a tool somewhere in the themes section that will allow you to convert the .xml to human readable output. what exactly are you wanting to do with the .xml? maybe i can assist you in that as well.
Click to expand...
Click to collapse
thank you

[Q] Custom XML documents in APK files

Please read this whole thing before you reply!
I am trying to edit the battery icon XML files in framework-res.apk. Awhile ago I found a tool that would convert from binary XML to human-readable XML and back again, but for the life of me I cannot find it again.
Anyway, I opened stat_sys_battery_charge.xml with it and all was good, except it mentioned weird names for filenames. Eg instead of 'res/drawable-hdpi/stat_sys_battery_0.png' it was '89845b4jrqyuq34gy34q89tyq34' (or some gibberish like that).
I understand everything up to this point. I understand why those names are encoded like that. What I don't understand is how people figure out these codes. I have been using someone elses framework-res.apk as my base, and they use "v4" folders. Eg 'drawable-hdpi-v4' instead of 'drawable-hdpi'. These filename codes in the XML value were generated for this V4 folder, correct? How did they do that?
I do not want to use a V4 folder in my theme if I can avoid it. If I have to, I still have a problem as to how to correctly point to my battery icons. And no I cannot just replace the PNGs because my changing icons have more frames than the stock XML allows.
Any help would be extremely appreciated. Thank you.
TheLynxy said:
Please read this whole thing before you reply!
I am trying to edit the battery icon XML files in framework-res.apk. Awhile ago I found a tool that would convert from binary XML to human-readable XML and back again, but for the life of me I cannot find it again.
Anyway, I opened stat_sys_battery_charge.xml with it and all was good, except it mentioned weird names for filenames. Eg instead of 'res/drawable-hdpi/stat_sys_battery_0.png' it was '89845b4jrqyuq34gy34q89tyq34' (or some gibberish like that).
I understand everything up to this point. I understand why those names are encoded like that. What I don't understand is how people figure out these codes. I have been using someone elses framework-res.apk as my base, and they use "v4" folders. Eg 'drawable-hdpi-v4' instead of 'drawable-hdpi'. These filename codes in the XML value were generated for this V4 folder, correct? How did they do that?
I do not want to use a V4 folder in my theme if I can avoid it. If I have to, I still have a problem as to how to correctly point to my battery icons. And no I cannot just replace the PNGs because my changing icons have more frames than the stock XML allows.
Any help would be extremely appreciated. Thank you.
Click to expand...
Click to collapse
Well I'm using apktool for decompiling and I'm also trying to add some icons so maybe the help Daneshm90 has given me can help you Apkmanager
EDIT: Lol you didn't even write you were trying to add icons It is seriously stuck to my brain xD
Does apktool let you change the paths for the filenames in XML files, and correctly re-encodes it when you compile it back? I have been trying desperately to get apktool to work for me, but it just refuses. I'll have to try it on another computer or perhaps a VM then.
If apktool does not correctly handle paths, is there any tool that can? From what I've read, its impossible, but there must be a way!
TheLynxy said:
Does apktool let you change the paths for the filenames in XML files, and correctly re-encodes it when you compile it back? I have been trying desperately to get apktool to work for me, but it just refuses. I'll have to try it on another computer or perhaps a VM then.
If apktool does not correctly handle paths, is there any tool that can? From what I've read, its impossible, but there must be a way!
Click to expand...
Click to collapse
What do you mean by "paths in XML files"? Apktool decompiles XMLs fully, so you could do everything that you could do with your own app/sources.

[Q] How to modify the xml files in Fruit Ninja by Halfbrick

I use APKManager to decompile the game Fruit Ninja by Halfbrick,but the xml files in assets/xml folder can't view in visible characters. use hex editor I see a binary file.
I found it is an encrypted xml file, can anybody help me to decrypt it and give me an detail way? very thx to you.
NO one can help me?

[Q] Need help

i want to create an application that reads the contents of a file on /SDCARD/IMEI.TXT
and with Xposed
when any app checks for
TelephonyManager GetDeviceID
My App respond with the contents of th imei.txt file
what ever i tried , i get illegal Access error
please help

Send data from XML to Java Method

Hi guys! (for start, sorry for my english ;p )
I have a really simple question!
Can i use xml command to send information? i Try to explain better!
I know I can use "android: OnClick="method" " to call a method, but can i send an information to that? for example the id or the name inserted inside the textview?
I have a listview that is filled with database data, so each record is putted inside a layout and this layout in putted in listviewlayout, like that until the record are finished! and i want to click on the record and open the chosen one inside another layout!
(Just to understand, i've done what this video explain w w w .youtube.com/watch?v=ahE8bQRD4f0)
Thank you guys!
Xml to java code is simple
See if you can work with this.

Categories

Resources