[Q] Replace XML files topic
Hi.
I'm new at developing Xposed module, so i've a lot to learn.
I would use Xposed to replace some xml files. I've write some code but that doesn't work (it doesn't even compile): for example
But that doesn't ever recognize R.xml.file. I've add some lines to R.java:
Just to make it recognize the name, but then i've a lot of error:
And so on.
It's very likely that this code has no sense, so i'm asking you: how can i replace some xml files?
Thanks!
I'm new at developing Xposed module, so i've a lot to learn.
I would use Xposed to replace some xml files. I've write some code but that doesn't work (it doesn't even compile): for example
Code:
resparam.res.setReplacement("com.name.application", "xml", "file", modRes.fwd(R.xml.file));
But that doesn't ever recognize R.xml.file. I've add some lines to R.java:
Code:
public static final class xml {
public static final int file=0x7f040000;
}
Just to make it recognize the name, but then i've a lot of error:
PHP Code:
file.xml:2: error: No resource identifier found for attribute 'attribute' in package 'com.example.xtest'
And so on.
It's very likely that this code has no sense, so i'm asking you: how can i replace some xml files?
Thanks!
xda-developers
- [Q] Replace XML files topic
- [FIXED] Unable to replace Kinguser with SuperSU, updating binaries & keeping Root topic
- [Q] Replace Touchwiz on Samsung Galaxy S5 SM-G900F topic
- Is root required to roll back to KitKat? topic
- [REQ] Multi DPI Stock Camera topic
- May be this is it for Xperia J topic
- [Q] No IMEI and baseband anymore. So back to stock rom for repair! topic
- [Q] New to phone - on 24A rooted - where to go from here? topic
- Htc desire 816 official lollipop update video review topic
- [Q] Galaxy S6 Edge T-Mobile Unlock by SIM code topic
- How to roll back to KK topic
- What is this in Greenify settings topic
- [Q] How to update? topic
0 commentaires:
Enregistrer un commentaire