I hope this is the right forum. Wanted to post in dev-forum, but not sure if I may or not...
Anyway: I want to introduce my latest MIUI project.
Current working name is "ls debugger". Suggestions are welcome
For downloads, changelog and bugs have a look at post #2
I found the hole LS testing progress (edit, zip, usb mount, copy, apply, ...) annoying, so I started this program.
It is still in beta state. There are still some errors or force closes because I haven't implemented all error check functions.
The reason why I started this thread now, is that I want some feedback and maybe new ideas and suggestions.
- Java Runtime Version 7
- (MIUI Lockscreen for 2.3 based builds) Don't know if v4 LS will work. Test and tell me
The usage is really simple.
After unzipping the file you'll have 5 files/folders:
- advanced (folder)
- wallpaper (folder)
- MIUI-LS-Tester.jar (executable)
- bgtWeather.db (9sweather db-file)
- systemCPs.db (calls, texts, contacts for ContentProviders [not finished])
You can replace the wallpaper and advanced folder with your own, but no guarantee that it will work.
Some features aren't implemented (unlocker and variables of elements. e.g.: #unlocker.move_x)
Have a look at the given manifest file and you'll see what will work and what won't.
You can start the program with doubleclick the 'MIUI-LS-Tester.jar' or open a terminal, move to the location where you've extracted the zip file and type:
java -jar MIUI-LS-Tester.jar
At first a window with 2 textfields appears. In this you have to set the width and height of your lockscreen.
If you have a config.xml file you can set the variables on the right side in the "config.xml" tab (after a click on 'Preview').
To get a preview you have to open your manifest.xml and click on 'Preview'.
Also you can choose another font.
After a click on 'Preview' you'll get 3 more buttons.
I think it's clear what this buttons will do
It saves a screenshot of the left panel in <MIUI-LS-Tester.jar-Location>/preview/lockscreen_preview_x.jpg
this will create a mtz file.
After a click you can choose some things. Add your font, wallpaper, previews...
Afterwards you can create/modify the description.xml file
this will toggle the Trigger-Buttons.
Because they are not visible in your lockscreen you can do this with this button.
On the top of the right panel you can set some variables.
I think it's clear, so no description.
If you modified your manifest.xml (and the ls debugger is still open) just click on preview and the changes will be loaded.
my brother: for helping me with the "calculator"
picard666: for some help and suggestions
jdom team: for the best java xml parser.
jfont-chooser team and david from stackoverflow: for the fontchooser.
zentus: for the sqlite lib.
pomenx: from the miui team for manifest reference thread @ xda.
GNU: for their java port of getopt
songd for the java pre processor