Xml needed to be modified - help? - Android Q&A, Help & Troubleshooting

Hi!
Any developer out there who would make a little change at an existing apk(xml)?
Best regards!

still searching...

what type of change?
if you mean adding a new element to the xml i think that you cannot because then you need to rebuild (compile and especially pre-compile) the apk.
but if you are talking about changing some values of an already existing object that may work.

What apk ? And what do you want changed ? Need to post a little more detail if you expect an answer. It would also help if you upload the apk.

Benz-Driver said:
Hi!
Any developer out there who would make a little change at an existing apk(xml)?
Best regards!
Click to expand...
Click to collapse
What type of apk ? Is it for GB or ICS ? what is your target platform ? If it is for GB I can do it . But not in deep . If you tell me what exactly you want to do , I can help you. PM Me.

Thanks for your answers!!!
I'll try to explain it:
It's an hotspot widget, which allows to turn on Wifi Hotspot by just clicking the toggle.
When clicking the toggle, Hotspot is "starting", that means it's not ready but on the way. When Hotspot has fully starting has finished and is available to be used there is another toggle icon.
So, what is missing right now, is, that after pressing the toggle the indicator graphic shows "starting".
Hmm, my english isn't very good, but i'll give the best to make it understandable. Therefore a made two screenshots and add the graphic which should appear when having pressed the toggle and before the toggle has changed to the one displayed at the second screenshot:
So, what has to be changed, is - to my opinion - the parameters for appwidget_settings_ind_mid_c.9.png - so that the attached graphic is displayed.
I have to mention that i already modified the apk by changing stat_sys_tether_wifi_off and stat_sys_tether_wifi_on.

Benz-Driver said:
Thanks for your answers!!!
I'll try to explain it:
It's an hotspot widget, which allows to turn on Wifi Hotspot by just clicking the toggle.
When clicking the toggle, Hotspot is "starting", that means it's not ready but on the way. When Hotspot has fully starting has finished and is available to be used there is another toggle icon.
So, what is missing right now, is, that after pressing the toggle the indicator graphic shows "starting".
Hmm, my english isn't very good, but i'll give the best to make it understandable. Therefore a made two screenshots and add the graphic which should appear when having pressed the toggle and before the toggle has changed to the one displayed at the second screenshot:
So, what has to be changed, is - to my opinion - the parameters for appwidget_settings_ind_mid_c.9.png - so that the attached graphic is displayed.
I have to mention that i already modified the apk by changing stat_sys_tether_wifi_off and stat_sys_tether_wifi_on.
Click to expand...
Click to collapse
To decompile I need your framework apk.

I only have the apk i attached. The Widget was downloaded from the market (free).

Ok, i made new screenshots to explain:
1.) Hotspot "Off":
2.) Hotspot "starting":
3.) Hotspot "On":
When "Tethering oder Hotspot aktiv" is displayed (=starting modus, second screenshot) in the status line after pressing the toggle, there should appear this
instead of this

Benz-Driver said:
I only have the apk i attached. The Widget was downloaded from the market (free).
Click to expand...
Click to collapse
Check the attached file whether it working or not. You have some problem with images . Then do not appear properly.

Thanks, but nothing changed. It's still like in the 3 screenshots above.
EDIT:
Oh, i forgot to mention, that changes must affect drawable-mdpi as the device (Sonyericsson Xperia Active has only 320x480 pixel screen resolution!!

@musarraf172
Could this be the reason, that nothing changed? Am i right, that you changed the xml values fpr drawable-hdpi and not drawable-mdpi? It's my fault, i should have mentioned that it's for a low resolution screen, sorry!!

Benz-Driver said:
@musarraf172
Could this be the reason, that nothing changed? Am i right, that you changed the xml values fpr drawable-hdpi and not drawable-mdpi? It's my fault, i should have mentioned that it's for a low resolution screen, sorry!!
Click to expand...
Click to collapse
I changed for both as I was confused . I have tested in on my phone (HTC) . It was working but the images was overlapping.
EDIT:
I think I am misunderstood. What exactly you want to change ? only some icons ? If so please tell me in more simple words.

Ok, i'll try to explain but my english is not that good (sorry):
When i press the toggle
there should appear a dark green indicator line - like here:
And in the end when the Hotspot is fully activated this should appear:
That means, there should be 3 steps:
Off
-> Start
-> On

Why aren't the pics in my post displayed?

Ok, I'll try to explain again:
The indicator is too low (about 13 pixels too low) and too wide (about 12 pixels on each side, 24 pixels total) as you can see at the new screenshot.
So the xml-parameters should be changed for
1.)appwidget_settings_ind_off_c.9.png (drawable-mdpi as it's a low resolution device with 320x480 display)
2.)appwidget_settings_ind_mid_c.9.png (drawable-mdpi)
3.)appwidget_settings_ind_on_c.9.png (drawable-mdpi)
They have to be changed all the same way.
Please(!!!) can anybody help me?

So you want three total icons.
One for off:
One for starting:
One for on:
This should not be too hard to accomplish.

Yes, that would be what i'm looking for.
But maybe it would be enough, if the position of the indicator would be changed.

Can't do it here at work, and it seems someone is on the right track. I can look at it this afternoon maybe.
Are the images separate. Meaning an icon and an indicator bar. That seems like overkill unless the indicator bar is moving (showing progress). I would think that three static images would be just fine.
If it is just the xml that needs to be edited, can you paste it here?

I made screenshot of what the original apk (not modified in any way!) looks like. Unfortunately I'm not sure which xml contains the information for the position of the graphics. But you can see what graphics are available originally and maybe this gives a hint on how the xml is designed? I tried to attach the xml files to thhis posting but the file format isn't allowed. So i attach the original, unmodified apk.
3 static images would be good, also, if possible, but i think that would be more complicated, what do you mean?
Originally there are 2 icons (off and on) and 3 indicator graphics (off - mid(=start) - on). But i think it would be also good to use 3 static images instead of the combination of the 2 static images and the 3 additional indicator graphics.
I also made 3 screenshots what the original unmodified apk looks like when Hotspot is off, has started and is on.
EDIT:
I'm wrong! I just saw, that the original akp works by having a background for all 3 situations (off - mid(=start) -on) and just varies the WLAN symbol in the middle of it. And additional the indicator graphics.
So there seem to be following graphic combinations originally:
1.) Toggle Off: appwidget_bg.9.png + stat_sys_tether_wifi_off.png + appwidget_settings_ind_off_c.9.png
2.) Toggle pressed (Hotspot Starting): appwidget_bg.9.png + stat_sys_tether_wifi_off.png + appwidget_settings_ind_mid_c.9.png
3.) Hotspot On: appwidget_bg.9.png + stat_sys_tether_wifi_on.png + appwidget_settings_ind_mid_c.9.png

Related

Modified Bluetooth 'Off' Icon.

I didn't like how the icon looked when BT is off - the one with the stroke across it, so I changed the DLL's icon resource to that of red.
The modified BTIcon_Dll.dll is attached for those who are interested.
Now can anyone tell me which DLL or EXE stores the icon for the BT headset on the Today screen?
profile.dll
Pope said:
profile.dll
Click to expand...
Click to collapse
Thanks! I'll check out on that...now how could I have missed it...
I've also modified Profile.dll's icon set. The icon is the same irregardless whether bluetooth is on, off, or if the headset is 'waiting'.
So here how it looks like:
Can you get the headset profile icon placed next to the bluetooth icon as it eats up the space on today screen?
Stupid question... How do you overwrite these dlls? They are in \Windows and loaded into ROM. I could not simply copy over these new versions but clearly there must be a way as you have done it! Thanks
Pope said:
profile.dll
Click to expand...
Click to collapse
Thanks a lot! Great job
Mr.P said:
Can you get the headset profile icon placed next to the bluetooth icon as it eats up the space on today screen?
Click to expand...
Click to collapse
No...I'm no programmer, just a novice with Resource Hacker that's all...
k_kirk said:
Stupid question... How do you overwrite these dlls? They are in \Windows and loaded into ROM. I could not simply copy over these new versions but clearly there must be a way as you have done it! Thanks
Click to expand...
Click to collapse
I used Resource Hacker. Modify the DLLs and put them into \Windows - mostly like you won't be able to overwrite them so give them a different name first. Then rename the original DLL to something else (yes, you can do it!) and then rename the modified DLL's name to that of the original.
Soft-reset and you should see the changes. Then delete the initial original DLL which you name 'cos it's useless.
Is there a profile icons for BT,and if yes there is a way to changhe all them? I explain closely:
-Blue with Red bar on Off mode (OR red icon)
-Blue with Green bar on On Mode
-Blue icon on Discoverable Mode
Thanx
killinghall - very clever! thanks for the tip!
Thanks for these killinghall, very neat.
Any chance of making the headset profile also turn red when disabled?
Ed
ednap said:
Thanks for these killinghall, very neat.
Any chance of making the headset profile also turn red when disabled?
Ed
Click to expand...
Click to collapse
Yes, it is possible, but I stopped short of that. just wanted to change the headset to look like a headset instead of a headphone...
With the enabled and disabled profile icons being blue its not that obvious if the profile is enabled that's all.
If you can find time to make the change I'd appreciate it
Thanks again for sharing your mods.
Ed
killinghall
killinghall,
would you mind to teach me how to do it. I really want to have a red bt icon
Thanx you killinghall for your tip, can you please explain how did you modify the DLL? Its realy interesting
Would your skills allow you to make it so that when you turn on Bluetooth, headset mode is automatically enabled too?
How about just clicking on the Bluetooth icon to enable Bluetooth?
I tried to make the Bluetooth Headset icon be red when it was disabled, but that doesn't seem to work. It has a discolored box around it. I also tried to make the "Waiting" icon grey, and that seem to work. Just something wrong with the disabled icon. Any ideas?? See attached.
I am still donno how to replace the profile.dll!!
Could anyone tell me how can I replace the profile.dll, pls? The computer always report system file protection.
Cheers.

[App] Pocket Quotes 1.0

Current version: 1.0
Description: Pocket Quotes allows you to track as many stocks as you want, and to display daily/weekly/yearly charts of a stock.
Source code and CAB installer at: http://pocketquotes.codeplex.com
Last update: 6/4/09
Features:
1. Unlimited number of stocks that can be tracked
2. Can configure interval of updates
3. Can keep comma delimited file of update history
4. Pocket PC and PC versions
5. Open Source, written in Basic4ppc
Version .12
Version .12 has been uploaded to the main post.
Changes:
1. CAB installation
2. Added ability to add/delete stocks
3. Modified screen to show % change
Pocket Quotes great on my Samsung Epix
I've been looking for a stock quote app for my Epix (320x320 screen) for quite a while. Couldn't find a free/inexpensive one that worked on my display.
Thought about trying to program one for myself, but it's been a long time since I've done any "real" programming. Found this app via the forums at basic4ppc and then found the CAB installation here.
I love it! It works great! Thank you for coding and sharing this!
Had a couple of suggestions for possible future enhancements beyond those you had listed above:
Display a progress bar or message when updating stocks.
Allow the user to change the font size for the list of stocks.
Allow the user to optionally turn on/off the display of the detail box and have a longer list of stocks shown.
Allow the user to optionally input a user-friendly name to display in place of the ticker symbol on the main list. e.g. "Ford" instead of just "F".
Allow user to specify the order of the stocks, or keep them in alphabetical order.
Optionally let the user choose to display the list either with alternating colors OR with color coded backgrounds in the list box which indicate postive changes (green), negative changes (red), or no change (gray).
Implement a settings dialog to allow the user to configure any options you implement.
Publicize this app more and provide a way for people to make donations to show their appreciation
As I said, I am very grateful that you built and shared this app. You did a great job making it smart enough to adjust the display to the device on which it is running.
My suggestions are just ways in which you might enhance it to allow your users to customize it more to their liking.
4/25 Update: Found one additional issue. Can't seem to download stock market indices. For example, the Dow Jones Industrial average (symbol "^DJI"). Looks like the "^DJI" is being turned into "%5EDJI" and then not returning any prices.
gibbers said:
I've been looking for a stock quote app for my Epix (320x320 screen) for quite a while. Couldn't find a free/inexpensive one that worked on my display.
Thought about trying to program one for myself, but it's been a long time since I've done any "real" programming. Found this app via the forums at basic4ppc and then found the CAB installation here.
I love it! It works great! Thank you for coding and sharing this!
Had a couple of suggestions for possible future enhancements beyond those you had listed above:
Display a progress bar or message when updating stocks.
Allow the user to change the font size for the list of stocks.
Allow the user to optionally turn on/off the display of the detail box and have a longer list of stocks shown.
Allow the user to optionally input a user-friendly name to display in place of the ticker symbol on the main list. e.g. "Ford" instead of just "F".
Allow user to specify the order of the stocks, or keep them in alphabetical order.
Optionally let the user choose to display the list either with alternating colors OR with color coded backgrounds in the list box which indicate postive changes (green), negative changes (red), or no change (gray).
Implement a settings dialog to allow the user to configure any options you implement.
Publicize this app more and provide a way for people to make donations to show their appreciation
As I said, I am very grateful that you built and shared this app. You did a great job making it smart enough to adjust the display to the device on which it is running.
My suggestions are just ways in which you might enhance it to allow your users to customize it more to their liking.
4/25 Update: Found one additional issue. Can't seem to download stock market indices. For example, the Dow Jones Industrial average (symbol "^DJI"). Looks like the "^DJI" is being turned into "%5EDJI" and then not returning any prices.
Click to expand...
Click to collapse
Thanks for the feedback and suggestions - I had stopped working on this because it didn't look like there was any interest. I'll take some of your ideas and add them to the next release (which will be after I finish taking the PMP certification - preparing for that is taking up a lot of my spare time)
I'll check on the DJ symbols - they should work since it works within Yahoo and I'm using the Yahoo feed for updates.
also eur/usd parameter should b configurable as well...
good appz
gibbers said:
I've been looking for a stock quote app for my Epix (320x320 screen) for quite a while. Couldn't find a free/inexpensive one that worked on my display.
Thought about trying to program one for myself, but it's been a long time since I've done any "real" programming. Found this app via the forums at basic4ppc and then found the CAB installation here.
I love it! It works great! Thank you for coding and sharing this!
Had a couple of suggestions for possible future enhancements beyond those you had listed above:
Display a progress bar or message when updating stocks.
Allow the user to change the font size for the list of stocks.
Allow the user to optionally turn on/off the display of the detail box and have a longer list of stocks shown.
Allow the user to optionally input a user-friendly name to display in place of the ticker symbol on the main list. e.g. "Ford" instead of just "F".
Allow user to specify the order of the stocks, or keep them in alphabetical order.
Optionally let the user choose to display the list either with alternating colors OR with color coded backgrounds in the list box which indicate postive changes (green), negative changes (red), or no change (gray).
Implement a settings dialog to allow the user to configure any options you implement.
Publicize this app more and provide a way for people to make donations to show their appreciation
As I said, I am very grateful that you built and shared this app. You did a great job making it smart enough to adjust the display to the device on which it is running.
My suggestions are just ways in which you might enhance it to allow your users to customize it more to their liking.
4/25 Update: Found one additional issue. Can't seem to download stock market indices. For example, the Dow Jones Industrial average (symbol "^DJI"). Looks like the "^DJI" is being turned into "%5EDJI" and then not returning any prices.
Click to expand...
Click to collapse
I fixed the VGA display (Portrait only) and tested the Dow Jones - it doesn't work because "^DJI" is passed as part of the string and http doesn't like that. I need to urlencode it and see if that works.
I'll work on some of the other suggestions and get a developer's release out soon.
Version D-14
I have placed version D-14 (developer's release) on the main post. Unzip and copy to your PDA.
I have not implemented any of the excellent suggestions yet - I'm working on stabilizing the core functionality before I start adding to it.
Changes included in this release:
1. Added a splash screen on start-up (it's downloading stock updates in the background)
2. Fixed sort when adding stock symbol
3. Fixed VGA display (still only Portrait though)
4. URL encoded "^" for DJI - but it still doesn't work. I need to work with the Yahoo RSS feed to see why not
5. Fixed delete symbol bug (it didn't update all of the arrays, causing the wrong details to be displayed on a symbol)
For anyone with B4PPC, I added the source code to the zip file. Requires the ListView and fgControls library (included)
Feedback and suggestions are welcome.
UPDATE: Version D-14 uploaded to first post. I had left off a zero in the timer control, causing the program to refresh 6 seconds x setting - needed to be every 60 seconds per each minute in the setting.
Release D-15
Release D-13 has been uploaded to the main post
Changes:
1. Add downloading of stock chart when selecting stock symbol
2. Organized program images into gfx directory
3. Minor bug fixes & tweaks
Downloaded and tried D-15. Couple of new issues introduced.
Delete does not seem to be working for me. I can select it from the context menu, but after a brief delay it just repaints the screen without deleting anything. I can add stocks, but can't delete them without editing the pocketquotes.ini file.
Also the detail display is no longer displaying properly on my Epix (320x320 resolution). The bottom of the first row of characters with stock name is cut off, and I can only see the "Close" and "Highest" labels. The close price displays OK, but the Highest price gets truncated on the right (even though there is space on the screen to display it.) Also the bottom line which displays the last trade date is ovelaying other data and the bottom of the last trade text is also cut off.
Finally, in the Add dialog, it looks like there may be a display problem. But I think it was there before too. Below the label which says "Enter Stock", it looks like there is something there, but I can only see a few of the top pixels above the Cancel button.
Just reverted back to D-13 version, and it appears delete does not work for me with this version either. In this version, If I delete a stock, it is removed from the list. But it reappears when I close and reopen the app.
Do you have access to an emulator to see how it runs on a square screen device? If not I could probably figure out how to get a screen cap if it would help.
gibbers said:
Downloaded and tried D-15. Couple of new issues introduced.
Delete does not seem to be working for me. I can select it from the context menu, but after a brief delay it just repaints the screen without deleting anything. I can add stocks, but can't delete them without editing the pocketquotes.ini file.
Also the detail display is no longer displaying properly on my Epix (320x320 resolution). The bottom of the first row of characters with stock name is cut off, and I can only see the "Close" and "Highest" labels. The close price displays OK, but the Highest price gets truncated on the right (even though there is space on the screen to display it.) Also the bottom line which displays the last trade date is ovelaying other data and the bottom of the last trade text is also cut off.
Finally, in the Add dialog, it looks like there may be a display problem. But I think it was there before too. Below the label which says "Enter Stock", it looks like there is something there, but I can only see a few of the top pixels above the Cancel button.
Just reverted back to D-13 version, and it appears delete does not work for me with this version either. In this version, If I delete a stock, it is removed from the list. But it reappears when I close and reopen the app.
Do you have access to an emulator to see how it runs on a square screen device? If not I could probably figure out how to get a screen cap if it would help.
Click to expand...
Click to collapse
First, thanks for the feedback.
When you delete a stock, it should go to the download routine (it will display the download image) and then repaint the screen. On my PDA it does not put the symbol that was deleted back there.
Can you send me the stock symbols that you are using? I'll try a test with that.
As for the display on 320x320 - that is a resolution that I've always had mixed results with. I think I am going to remove the stock detail area at the bottom and display it when you click on the symbol (the one that shows the chart) This will make it easier to program as I can use the entire available screen for listing the stocks.
I'll check the add code. I may need to add a refresh or something to force a screen update. There should be a panel with an input box. I did notice it does a refresh download (which it shouldn't do at this point)
Last, I'll install the emulators so I can run some additional testing.
Version D-16
gibbers said:
Downloaded and tried D-15. Couple of new issues introduced.
Delete does not seem to be working for me. I can select it from the context menu, but after a brief delay it just repaints the screen without deleting anything. I can add stocks, but can't delete them without editing the pocketquotes.ini file.
Also the detail display is no longer displaying properly on my Epix (320x320 resolution). The bottom of the first row of characters with stock name is cut off, and I can only see the "Close" and "Highest" labels. The close price displays OK, but the Highest price gets truncated on the right (even though there is space on the screen to display it.) Also the bottom line which displays the last trade date is ovelaying other data and the bottom of the last trade text is also cut off.
Finally, in the Add dialog, it looks like there may be a display problem. But I think it was there before too. Below the label which says "Enter Stock", it looks like there is something there, but I can only see a few of the top pixels above the Cancel button.
Just reverted back to D-13 version, and it appears delete does not work for me with this version either. In this version, If I delete a stock, it is removed from the list. But it reappears when I close and reopen the app.
Do you have access to an emulator to see how it runs on a square screen device? If not I could probably figure out how to get a screen cap if it would help.
Click to expand...
Click to collapse
I have uploaded D-16 to the main post.
Changes:
1. Stock detail info moved to chart page; main page only shows list of stock symbols
2. Moved "Add Stock Symbol" from pop-up panel to new page; should display
I am in the process of setting up the emulators, but since function has been moved off onto a separate page, they should display properly on all screen sizes (portrait mode only)
Display Issues on Samsung Epix
Looks like Version D-16 still has some issues on my phone.
It appears that the details display area shrunk between version D-13 and D-15.
D-13
D-15
And the chart display area grew between version D-15 and D-16.
D-15
D-16
In terms of the Add Panel, it looks pretty much the same in all three versions, and is functional. Is there some text cut off which is peeking up from behind the cancel button on my display?
D-13
D-15
D-16
In the attached images, note that the ^DJI chart does display. It's just the quotes for ^DJI and other indices that don't work. Maybe a clue to fixing it? Or maybe not.
I still can't delete any symbols from the UI. I'm going to try deleting the ini file, since it was originally created with an old version, and manually edited on my PC. I figure a fresh start couldn't hurt and so far I don't have many symbols to re-add anyway. Will let you know how that works out.
I like the idea of the combined chart and details screen. If you can figure out how to get the display area for details to be sized right (as it was in D-13), then maybe you could use whatever is left on the screen to display the chart.
Also meant to add, that the display of the actual stocks on D16 works well. Just missing the data for the market indices.
I appreciate the work you are putting into this. I think you are on your way to a great little utility here.
Tried with a brand new .ini file. Similiar issues. It appears that you created a default .ini with the auto companies. I deleted all except HMC without issue. Then I added all the symbols I had before. And tried to delete several. None could be deleted. Except the HMC one. Then I couldn't delete others. The only thing I could see was that HMC was first entry on the list in the .ini file. And the remainder of the entries were NOT in alphabetical order. Are they supposed to be in alpha order in the .ini file? Could it be that the indices are somehow messing things up?
gibbers said:
Tried with a brand new .ini file. Similiar issues. It appears that you created a default .ini with the auto companies. I deleted all except HMC without issue. Then I added all the symbols I had before. And tried to delete several. None could be deleted. Except the HMC one. Then I couldn't delete others. The only thing I could see was that HMC was first entry on the list in the .ini file. And the remainder of the entries were NOT in alphabetical order. Are they supposed to be in alpha order in the .ini file? Could it be that the indices are somehow messing things up?
Click to expand...
Click to collapse
That sounds like it could be the problem why it's not deleting; the "^" symbol is messing things up.
The screen display is cutting off some information on the 320x320 display (works ok on VGA and QVGA) - I have some code that I need to apply to setting the form for 320x320. It's really a simple calculation where if the display is 320 I use an offset factor of 1.25, and if its VGA I use an offset factor of 2. I just need to apply this for your display.
Thanks for the images - it helps me to see what is happening. I'm having trouble getting the networking to work within the emulator so it's not downloading stock data (I may have to build an off-line mode to work around this)
I'll get an update back to you later today.
Version .19
Developer's Release .19
1. Added "splash" screen when updating stocks
2. Added configuration to change list row colors
3. Moved stock info to graph screen - main shows only list of stocks
4. Fixed sort when adding new stock
5. Fixed SIP when adding stock
Still working on some of the other suggestions.
I will cab this on the next release. I'm going to add in a update from web feature (I just implemented the same on pocket quotes) so that users can be sure that they always have the latest version.
Release 1.0
I've updated "Pocket Quotes" and released the first public release 1.0 with source code on my wiki: http://campusbbs.freehostia.com/doku.php?id=pocket_quotes
See main post for screen shots.
Some of the features added:
1. Additional charts added (now includes daily, weekly, yearly)
2. Update from the web
digitaldon37 said:
I've updated "Pocket Quotes" and released the first public release 1.0 with source code on my wiki: http://campusbbs.freehostia.com/doku.php?id=pocket_quotes
See main post for screen shots.
Some of the features added:
1. Additional charts added (now includes daily, weekly, yearly)
2. Update from the web
Click to expand...
Click to collapse
Thank you for making a stock quote program. I have been looking for a long time and there are relatively few programs that work well. I like many of the things you have done but there are some things I like from other community members. Please take a quick look at the post below.
http://forum.xda-developers.com/showthread.php?t=476613
I like the way each stock line shows red or green depending on stock up/down or profit/loss. Also, its nice to have the added screen space that the scroll bar takes up. Perhaps the scroll bar is not needed?

[11.12.2009, v 1.4.7] Wallperizer - wallpaper changer

Here is a free, open source, wallpaper changer. The screenshots explain what the program can do.
Note: If a phone call is in progress, the wallpaper is not changed (because it takes a number of seconds to change it).
Download. Simply copy it on your Windows Mobile 6 device and run it. (Works on my Polaris.)
Details
Source code
Works great, thank you very much.
I'll try it on my Samsung Omnia If I get it right, this app will finally let me set pictures that are smaller/bigger than my sreen with resizing them to the screen size?
THANKs
.
Awesome!! does it work for wm5? .. dont say 6 only
It should work on Windows Mobile 5 (I haven't tried the latest version), but you first have to install .Net Compact Framework 2 from Microsoft: here.
Windows 6.5 Wallpaper
A good place to get wallpapers is FFFFound.com
Here is the wallpaper that I'm using
http://ffffound.com/image/1833eeacd07acf07502260ed70c5be62af6f9185
Cool...good job!
Cool works great.
It would be awesome if it had a "silent" mode without gui and the wallpaper given by parameters for scripting use.
i.e.
wallperizermob.exe -silent -changeto "/Wallpapers/mywalpaper.jpg"
I know it´s open source but I´m not able to code/compile this feature
Version 1.4.4 works on Windows Mobile 6.5. (Or any other OS where the system's wallpaper files were marked as read-only.)
See the first post.
6ITdtvFQqY said:
Version 1.4.4 works on Windows Mobile 6.5. (Or any other OS where the system's wallpaper files were marked as read-only.)
See the first post.
Click to expand...
Click to collapse
That is nice, and I'm loving your app! It was quite slow at changing wallpaper at first, but I unchecked all fades/normalizes/sosoes and now it does change pretty fast. Any chance you could add:
a "random picture" setting (not to have it change in alphatbetical order, that is);
shorter change intervals (like 15 mins and 5 mins);
"Load at phone startup" option (I know I can place a shortcut in the windows/startup folder, but I think this is way cooler and can easily be undone!);
And maybe even cab the exe up and get a custom icon?
So far it's the best automatic wallpaper changer for 6.5 Titanium interface!
EDIT: as you can see from my screenshots, looks like we have a couple of glitches... in today screen, bottombar gets funky (looks like it replicates upper taskbar, don't think it should...) and in start menu background remains the one it was there at boot (it changes only after a soft-reset). Think you can sort that out?
teorouge said:
"random picture" setting (not to have it change in alphatbetical order, that is);
Click to expand...
Click to collapse
I'll implement that.
teorouge said:
shorter change intervals (like 15 mins and 5 mins);
Click to expand...
Click to collapse
I didn't add those settings because the user would have to start the phone too often to see the wallpaper changing. I guess some people might do that just to see a new picture. Also note that this would consume more battery. I'll add these too.
teorouge said:
"Load at phone startup" option (I know I can place a shortcut in the windows/startup folder, but I think this is way cooler and can easily be undone!);
Click to expand...
Click to collapse
The programming framework doesn't have a way to do that. It could be done but I don't know how much work that would involve... and the development of the program is frozen.
teorouge said:
And maybe even cab
Click to expand...
Click to collapse
I didn't make a cab because I like my programs on the SD card, being able to run without being installed, so that no matter how many times I hard-reset the device, I will still have the programs ready to run (I don't have to install any program ever again).
teorouge said:
a custom icon
Click to expand...
Click to collapse
I'll add one.
teorouge said:
in today screen, bottombar gets funky (looks like it replicates upper taskbar, don't think it should...)
Click to expand...
Click to collapse
The wallpaper pictures are shorter on purpose (and so the OS tiles them vertically). Normally, the today bars are opaque and stretching pictures on the entire screen area would cover a significant part of the pictures; this doesn't matter on a desktop computer, but a PDA's screen is too small (relative to the bars). For now this will remain unchanged.
teorouge said:
and in start menu background remains the one it was there at boot (it changes only after a soft-reset).
Click to expand...
Click to collapse
I did that on purpose (but it should not display any kind of picture, or the skin's default picture, as it happens in WM 6.1). On WM 6.1, the today menu doesn't cover the entire screen and when it's opened, if it were to display the same picture as the screen, it would look as if the menu doesn't end anywhere. That's a weird feeling. We'll see how WM 7 will display it's today menu.
Version 1.4.5 is up.
In the "Various" tab there is a check-box to use a random picture.
The background picture of the start menu is changed on my WM 6.1, but only if TouchFlo is not running (I don't know why TouchFlo is not using it).
I have a problem.. not with our program, but with one that we e been trying to fix with roryB on a different thread:
the idea is that the wallpaper would change baed onthe regitry of htc home or manila weather panel and use e riginal weather graphics. there are 40 files in all and they are png's located in windows. we have been able to get mortscrip to change the reg but not the wallpaper.
It has do do the folowing:
1. watch the regitry for changes to the weather update
(the registry updates when you go to the weather panel and it auto updates)
2. based on the updated registry change the wallpaper to HH_WEATHER_##.png
3. refresh the wallpaper on the today screen.
it would be fine if the program copied the image and saved it n a different format such as jpg or gif; howver due to the large filecount t can not have the all 40 weather graphics in a separate folder or have duplicates. that would cost too much space.
RoryB is uing manila 1.5 (update 23) I am uing the mega manila which requres the media package to be able to set the today walpaper... however can be set via the file explorer or any other program for that matter. it does not allow to use the walpaper from the tsk.
my question is: what exactly does your program do tochange the wallpaper?
does it copy the file and rename it?
what actually sets the walpaper and refreshes it?
how can we replicate thi process and make it work?
If you could please let me know via pm or email? please.
Thank you so much, very appreciated!
S.V.I said:
what exactly does your program do tochange the wallpaper?
does it copy the file and rename it?
what actually sets the walpaper and refreshes it?
how can we replicate thi process and make it work?
Click to expand...
Click to collapse
You can look at the source code, in file "HaraWork \ SourceCode_VS \ Wallperizer \ Wallperizer \ MainForm.cs", the "void SetNativeWallpaper" method.
There are lots of steps and they have to be followed exactly, or else either Windows Today or Manila do not show the wallpaper. Just as an example, Manila refuses to show the wallpaper if the "HKCU \ Software \ Microsoft \ Today \ Wall" registry key is not set with whatever text.
By the way, I don't think PNGs are supported by the OS. You must copy the wallpaper in the "Windows" directory as BMP or JPEG (GIF works too). Note that the file name is specific, you can't use anything you want; "tdywater_[screen width]_[screen height]" is the name. The file name is created in the "string GetWallpaperFileName" method.
(Be sure to remove the read-only attribute of the "tdywater" / "stwater" files before you try to overwrite them.)
wallpaper doesn't change automatically
the wallpaper doesn't change automatically when the program is minimized or is in the background. can someone help me with this. thanks.
Arashi1118 said:
the wallpaper doesn't change automatically when the program is minimized or is in the background. can someone help me with this. thanks.
Click to expand...
Click to collapse
Make sure you download the latest version (1.4.5).
Click on the "Wallpaper information" button and see "Loaded pictures". If it says "0" then the program failed to either load the pictures or failed to set any of them as wallpaper (if this happens, they are cleared from the internal queue).
(You could manually set a wallpaper in order to be sure it works on your PDA.)
Version 1.4.7
* Added command line parameters.
* Check the "Portrait and landscape" check-box (from the "Various" tab) in order for the wallpaper to be set for both screen formats (= portrait and landscape). Note that this requires twice the processing time every time the wallpaper is changed.

Please, Devs, can you adapt this Hotspot Widget for Xperia Active (only Design)?

Hi Devs!
There is a great free(!) Hotspot Widget out there, which works perfect with Xperia Active by low power consumption.
Unfortunately the design of the widget isn't the same as the original Xperia Active Widget, that come with the stock ROM.
So, ich have the APK of the widget an the new graphics, but as i'm no developer, i can't put them together.
So, i ask you, is it possible for you, to modify the widget with the new buttom graphics?
The new graphics are from the stock Xperia Active Wifi Widget, but it would also fit perfectly as Wifi Tethering Widget in design.
I attached both, the widget-APK (actual version) and the graphics below.
It would be great, if someone could do that!
hmm.. will help u mate but need a screen shot of widget on screen activated and off
... you want New widget icon to be same small or as big as the Wifi widget in Stock?
Hi jjdoctor!
This is great, many thanks!!
I just made 2 screenshots, one when wifi toggle is off, the other when wifi toggle is on.
Just to explain it:
It would be great, if the attached APK woul have the same toggle as the original Xperia Active Wifi Toggle (like Screenshot), same size, same look. Then the Tethering Widget would fit the other stock Xperia Active Widget!
If you could manage this, it would be perfect!!
I asked for Screenshots of Wifi Tether application widget...
Btw.. I make it same as Wifi Toggle widget of Stock SE then how would u differentiate between Wifi toggle and Hotspot Tehter Toggle?
Ok, sorry, i misunderstood this.
Now, here are Screenshot from the Hotspot Widget (off, start, on)!
I don't need to differenciate between Wifi and Hotspot widget as i don't have Wifi where i live (therefore i need the Hotspot Widget), so i simply don't use the wifi widget.
Ok then..I cant test it.. But lets hope it works then... Share some screen shots ..
Hmm, i copied it to sdcard and tried to install but it said to me "not installed" after it.
Should i have to "sign" it first?
I have activated "USB debugging" and "install from unknown sources"!
Benz-Driver said:
Hmm, i copied it to sdcard and tried to install but it said to me "not installed" after it.
Should i have to "sign" it first?
I have activated "USB debugging" and "install from unknown sources"!
Click to expand...
Click to collapse
first uninstall previous one then install.. are you rooted? if yes then copy and replace usig XPLORE from Market..No need of signing
No, not rooted. Unfortunately there is no root für my sw-version. ("build" too new).
I deinstalled previous version, restarted the phone, but still cannot be installed.
Benz-Driver said:
No, not rooted. Unfortunately there is no root für my sw-version. ("build" too new).
I deinstalled previous version, restarted the phone, but still cannot be installed.
Click to expand...
Click to collapse
unfortunately i cant help u with that then..
If it was a system application that came in your mobile then you cant overwrite it using the apk without having root access...
btw..where did u grab the apk from?
I now signed the apk using ANdroid Commander and finally managed to install it!
But there has nothing changed with the graphics. Still all the same.
Maybe it should be changed at drawable-mdpi, too? As the screen resolution is only 320x480? Could this be the reason?
Oh sorry, I made it for HDPI... forgot that you have small screened active.. Here it is now..
Ah, ok, thanks! Now it works, the graphics are changed, but the size isn't correct. They are somelike "zoomed".
I made 3 screenshots (off, start, on):
Hmm Not a big deal.. would be perfect if I had your com.sonyericsson.widget.togglewidgets.apk file
anyway.. try this .. hopefully its better
Ok, then let's go - here is the original stock Sonyericsson on/off widget APK:
The size is better, but still not the same. Now it's a little bit smaller than the original toggle graphic. And there is some "ghosting frame" around it. And when "starting" there is a green line below the graphic. A made some screenshots again (off, start, on):
hehe.. live with it...
Hmm, sorry, don't want to make you angry!
I'm really glad, that you try to help me, which is really kind of you!!
I now tried the newest version, but this looks like at the attached screenshots.
Please, can we give it a last try?
I changed the size of graphics new with Photoshop, now they have 80x101 pixels, which is the size of the screenshot graphic. So it should fit, when it is displayed 1:1 and not zoomed by the xml-Code.
OK, i now managed to change the graphics myself, which are correct in size but the ghosting frame seems to be an xml code issue. Despite that the position of the toggle isn't correct (too much at the top, 1 or 2 pixels too much at the right side), which must be an xml issue, too.
Somebody else an idea how to get rid off the "ghosting frames" an how to correct the position?
EDIT:
Ok, i now managed to get rid of the "ghosting frames" by making "appwidget_settings_divider.9.png" completely transparent.
Now, the only thing to do is the correct position. I keep you updated.

[Q][ST15i/ICS]Status Bar: Battery/Transparency

Hi Guys,
Before I begin, I'd like to shoutout to all the great devs here in XDA who regularly updates us with their mods while living their own busy lives.
I'm using a ST15i on stock ICS and managed to customize it by reading around. I've rooted my phone from GB to ICS and flashed custom zips to add or modify certain functions and changed how it looks to give it a different feel and to better suit my taste. I've reached a point where I can't modify it anymore due to lack of knowledge and training. And now I'm here.
Can anyone point me on how to change the transparency of the status bar, change the battery icon of my choice on my ST15i running on stock ICS? Also, can you help me in reverting to the stock icon fron "No available network"? All the info I found didn't help me. Tried the kitched but that didn't work for me either. I'd rather learn how rather than be spoonfed.
This is my first time posting here, so go easy on me.
Thanks!
I don't think a transparent statusbar is possible in ICS. In earlier versions, it was just a case of making the statusbar background itself transparent.
But Google have made it harder to do with later versions.
To change the battery icon, you just need to change the png files in one of the drawable folders in either framework-res.apk or SystemUI.apk. With the Mini on ICS, it's most likely drawable-mdpi in SystemUI.apk.
If you want to change how the icon works, going from changing every 10% to every 1% for example, then you need to decompile the app and edit some xml.
It's a little long-winded, but it's simple enough and I'm always happy to help. The battery icon mod was the first one I found out how to do and I spent months trying to figure it out. Literally.
It's worth checking out Tickle My Android from the link in my signature. It can do the battery mod for you, if you want it to, and can handle all the decompiling and recompiling as well actually taking apps off your phone to begin with.
Not sure what you meant about reverting icons..is it possible you can provide a screenshot of what you want to change?
Ticklefish said:
I don't think a transparent statusbar is possible in ICS. In earlier versions, it was just a case of making the statusbar background itself transparent.
But Google have made it harder to do with later versions.
To change the battery icon, you just need to change the png files in one of the drawable folders in either framework-res.apk or SystemUI.apk. With the Mini on ICS, it's most likely drawable-mdpi in SystemUI.apk.
If you want to change how the icon works, going from changing every 10% to every 1% for example, then you need to decompile the app and edit some xml.
It's a little long-winded, but it's simple enough and I'm always happy to help. The battery icon mod was the first one I found out how to do and I spent months trying to figure it out. Literally.
It's worth checking out Tickle My Android from the link in my signature. It can do the battery mod for you, if you want it to, and can handle all the decompiling and recompiling as well actually taking apps off your phone to begin with.
Not sure what you meant about reverting icons..is it possible you can provide a screenshot of what you want to change?
Click to expand...
Click to collapse
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (Can't find an uninstaller. I figured all I needed was stock to remove it). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal an icon appears on the notification bar? Well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
messagemode said:
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (can't find an uninstaller. I figured all I needed was stock to remove). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal a icon appears on the notification bar, well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
Click to expand...
Click to collapse
Screenshot should already implimented just not in the power menu. All you have to do is hold power and vol down button.
evilbarcode said:
Screenshot should already implimented just not in the power menu. All you have to do is hold power and vol down button.
Click to expand...
Click to collapse
Wow! Didn't know that. Just tried it just now and it worked. Thanks! Will be posting/updating once I've recreated the situation.
messagemode said:
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (Can't find an uninstaller. I figured all I needed was stock to remove it). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal an icon appears on the notification bar? Well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
Click to expand...
Click to collapse
Well, it might be possible. There's a lot that can be done if you just know how. I'll have a look at a transparent status bar soon. It was incredibly simple to do on early GB so hopefully it can be done on ICS as well.
There are a lot of battery icons out there. If you find the ones you want, TMA can put them into your app for you, or I can tell you how to do it manually.
As for the icons that come with TMA, you can see what they look like on the thread. Some look better on HDPI, and our phones are MDPI, but the tool can backup your original app so you can just try whichever one you want without being in danger of losing anything.
Changing that icon should be pretty simple. All you need to do is find out which image file it is and change it. Either by downloading one of the GB roms here and taking the new image file out of that, or by using a graphics program and just recolouring it yourself. If you're doing that, and if you're in a creative mood, you could even redesign the icon completely..
Thanks for the kind words, btw. If there's anything I can do to help, just let me know!
Ticklefish said:
Well, it might be possible. There's a lot that can be done if you just know how. I'll have a look at a transparent status bar soon. It was incredibly simple to do on early GB so hopefully it can be done on ICS as well.
There are a lot of battery icons out there. If you find the ones you want, TMA can put them into your app for you, or I can tell you how to do it manually.
As for the icons that come with TMA, you can see what they look like on the thread. Some look better on HDPI, and our phones are MDPI, but the tool can backup your original app so you can just try whichever one you want without being in danger of losing anything.
Changing that icon should be pretty simple. All you need to do is find out which image file it is and change it. Either by downloading one of the GB roms here and taking the new image file out of that, or by using a graphics program and just recolouring it yourself. If you're doing that, and if you're in a creative mood, you could even redesign the icon completely..
Thanks for the kind words, btw. If there's anything I can do to help, just let me know!
Click to expand...
Click to collapse
OK, I won't hold back in asking for assistance anymore.
I've attached a screenie of the icon problem I'm facing right now. If you would look at the upper lefthand corner, it's all red. I wonder if it's the same for the other ST15i Stock ICS users. It' used to be grey with a yellow exclamation point or something like that (can't recall how it exactly looked like but, yeah, something like that). Now for the battery icon, I'm fancying the Purple Android Battery Icon in TMA, only in green and shouldn't mess with the original height of the status bar. I've cooked a battery icon using the kitchen and it messed the height of the status bar. Could you also point how to manually change the battery icon? I'm trying to do it myself so I won't be asking around here anymore. I think others will benefit from it, too.
The stock SystemUI.apk that I've attached came from a stock version of my ST15i's ICS. I wondering if the network icon is found in the framework-res.apk, not in the SystemUI.apk. Since I've flashed the stock one and managed to remove the Notification Toggles but Red icon is still there.
Hopefully, you can find something with the transparency of the status bar. Thanks for all the help!
messagemode said:
OK, I won't hold back in asking for assistance anymore.
I've attached a screenie of the icon problem I'm facing right now. If you would look at the upper lefthand corner, it's all red. I wonder if it's the same for the other ST15i Stock ICS users. It' used to be grey with a yellow exclamation point or something like that (can't recall how it exactly looked like but, yeah, something like that). Now for the battery icon, I'm fancying the Purple Android Battery Icon in TMA, only in green and shouldn't mess with the original height of the status bar. I've cooked a battery icon using the kitchen and it messed the height of the status bar. Could you also point how to manually change the battery icon? I'm trying to do it myself so I won't be asking around here anymore. I think others will benefit from it, too.
The stock SystemUI.apk that I've attached came from a stock version of my ST15i's ICS. I wondering if the network icon is found in the framework-res.apk, not in the SystemUI.apk. Since I've flashed the stock one and managed to remove the Notification Toggles but Red icon is still there.
Hopefully, you can find something with the transparency of the status bar. Thanks for all the help!
Click to expand...
Click to collapse
That icon might be in framework-res.apk but I suspect it's SystemUI.apk. That's where most of those things are. This is a stock icon so flashing a stock system app won't do anything to change it. If you want, you can change the icon yourself by loading the png into a graphics program and messing around with it. If you want it to be grey and yellow, then you can make it grey and yellow.
Battery icons won't change the height of the statusbar. Android automatically scales images to the right size. As long as they're in the right folder. The Mini and Mini Pro both keep their images in drawable-mdpi for ICS. If images are put into drawable-ldpi, drawable-hdpi or even drawable-xhdpi (which would be insane on such a small screen), Android will scale them for a low, high, or extra high resolution screen. Which will mess the statusbar height. Your battery icons can be any height you like, they just have to go in the right place.
By the way...Tickle My Android will automatically put them in the right place. Just saying...
To change battery icons manually, you need to use apktool or a utility that uses apktool to decompile framework-res.apk and SystemUI.apk
Hey....Tickle My Android uses apktool...(subtle, ain't I?)
Then find the battery icons in whichever drawable folder they're in. They might be in more than one but that's not an issue. Replace them with ones you want.
If you're changing how often they change, you'll need to edit the xml files in the layout folder. If you got your icons from a kitchen, they should have come with the right xml files. In fact, if you've got a version of the Purple Android icons, you could use TMA to put those on first and then change them to the icons you want. That'll ensure you get the right xml files.
Then you use apktool to recompile the apps you changed. Make a copy of the original app, use 7zip to copy the res folder from the recompiled app into the copied one (this will ensure it's signed correctly), extract resources.arsc from the recompiled app, add that to the copied one at store levels of compression and..well, that's it.
The copied app is now ready to be put back onto your phone.
Eyes glazing over? Brain leaking out of the ears? I know it sounds complicated but it's quite simple once you've done it a few times. It can get a bit tedious if you're doing it a lot....which is why I wrote Tickle My Android in the first place.

Categories

Resources