Modified Bluetooth 'Off' Icon. - MDA II, XDA II, 2060 ROM Development

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.

Related

How to HIDE / DISABLE / REMOVE system icons from taskbar

Please anyone knows how to disable selected icons form taskbar?
I want to have only
Battery , Signal strenght and Unread messages Notification icons togehter with the TIME
on the task bar, no need for having rest of the icons. (In the attachment are icons for SOUND LEVEL, icon with number 1 and Edge ) Please help, after couple of weeks of searching I am getting crazy.
Using Raphael, EnergyROM (1.2 Fuzeberry), latest newest shipped radio
Thank you .
Wisbar Advance will allow for this.
You should read the whole threat:
http://forum.xda-developers.com/showpost.php?p=2791165&postcount=1
Greetz
Boris
Guys,
thank you very much for your reply.
However none of this actually solves my problem.
I tried Wisbar, but it does NOT hide any of the icons that I want to hide.
Also, the thread mentioned does not say anything about HIDING the three icons, only about changing their look.
Am I wrong in my judgement?
Cheers
i think you are wrong, because if you know how to change an icon, you can change it to an one transparent pixel icon... if im wrong, would someone please correct my assumption; i only changed the start icon of my taskbar, but i think you can take an icon in the colour of your taskbar background, so it would be "invisible" ... am i wrong??
Greetz
Boris
P.S. im also sure, that you can hide the icons with wisbar advanced eventally with the "wisbar advanced desktop" called variant that i used 2 years ago under WM2003, but its not easy to configure i remember
borisku said:
i think you are wrong, because if you know how to change an icon, you can change it to an one transparent pixel icon... if im wrong, would someone please correct my assumption; i only changed the start icon of my taskbar, but i think you can take an icon in the colour of your taskbar background, so it would be "invisible" ... am i wrong??
Greetz
Boris
P.S. im also sure, that you can hide the icons with wisbar advanced eventally with the "wisbar advanced desktop" called variant that i used 2 years ago under WM2003, but its not easy to configure i remember
Click to expand...
Click to collapse
you are right about making icons transparent, but this does not solve my problem. I need MORE space on the taskbar, (the icon that displays number 1 is really annoying and USELESS, it serves for NOTHING at all). If I make the icons transparent, I will not see them, but they still will be there ocupying the precious space that I would use for somethibg else.
I tried the wisebar and I like it, (it is similar to Qmenu I am using), but again, it does not allow me to get rid of the annoying icons.
Am I doing something wrong? well, I am doing a LOT of thimgs wrong, but I mean in this case ...
Ok, now i see your problem, but im afraid, cant help you, but im still sure, that its possible to solve ...
Greetz & good luck
Boris
wolfiecz said:
you are right about making icons transparent, but this does not solve my problem. I need MORE space on the taskbar, (the icon that displays number 1 is really annoying and USELESS, it serves for NOTHING at all). If I make the icons transparent, I will not see them, but they still will be there ocupying the precious space that I would use for somethibg else.
I tried the wisebar and I like it, (it is similar to Qmenu I am using), but again, it does not allow me to get rid of the annoying icons.
Am I doing something wrong? well, I am doing a LOT of thimgs wrong, but I mean in this case ...
Click to expand...
Click to collapse
I know for sure that wisbar advance does allow what you are talking about (but I'm not sure what the number one is though as I don't have that item on my taskbar). Make sure you aren't using the lite version. I dont have wisbar install right now so I cant remember exactly how to change it, but I know if can be done because I wanted the almost the exact some configuration as you and was only able to get it via that program. Play around with it some more and if you stilll cant find it let me know and I'll check it later when I have time.
Have you searched for reg edits? I know you can remove the battery. Notifications are a bit harder though. I'm pretty sure Wisbar advanced lets you customize what icons are present, but Wisbar basically just covers up the taskbar with an overlay.
What do you need all this "extra" room for? If you edit the phcanOverbmp.dll you can delete the icons, leaving only the ones you want. It won't "remove" the icons but would make them invisible so it appears to just be 1 long bar.
I dunno, but I can't figure out what you need all this extra "space" for. It appears that's gonna be your best and fastest solution without requiring a 3rd party app to always run in the background and having to deal with the overlay of Wisbar.
its easy,
All I want to have is on the taskbar ALLTHE TIME:
TIME, BAttery and notification, but the two marked icons (ASL and Edge) prevent me from viewing the rest ofd the icons.
I just finished testing with Wisbar that unfortunatelly does not allow this. These two stupid icons that are no use for me, cannot be removed with Wisbar (latest version).
I would search the registry but where... And... I do not want to get rid of battery and time....
Same problem
Hi, I just want to remove the number 1 on the task bar. I have just installed the onyx ultimate 4.2.1 and it appeared after I turned on the cellular on the comm manager. The number 1 referrs to the phone line 1. It really annoying to se it there.
please help someone!!!
Hello. Also same problem. Also using the HTC Touch Pro (right forum, right? Pretty sure.)
This is whats on my Elite ROMS system bar:
I would like to get rid of the big H icon. It goes ot the same thing the H(with signal bars) does! And I would be able to see the entire programs name if it were removed. That, or at least my notifications wouldn't be grouped into the "Talk bubble" icon. I hate when that happens. Three friggin clicks to dismiss an alert!!!!!!!!!!!!!
Any idea? [subscribed]
Thank you for bringing this up because I use OzIM and nothing drives me more insane than not realizing I have a missed call because of the multiple notification bubble. I would be happy just to see signal strength, and thats it. I use a battery bar at the top of the screen so that battery status can go away. I hope someone finds a solution I would life to know as well.
Why not just edit the DLL files where the icons are stored...that should do the trick.
Use reshacker to edit the dll files..
what ddl files are they stored in?
Wont that only make the invisible (vs GONE). I.e. the goal is to recover the space they are inhabiting and slide the others over towards the right.
Removing the image will only "blank" out the space, not slide the others to the right.
ryaske said:
what ddl files are they stored in?
Wont that only make the invisible (vs GONE). I.e. the goal is to recover the space they are inhabiting and slide the others over towards the right.
Removing the image will only "blank" out the space, not slide the others to the right.
Click to expand...
Click to collapse
use icon size 1 pixel width...make transparent.
They are stored in shellres.192.dll and phcanOverbmp.dll...maybe some other places too but the majority should be there.
ok ... I'm pretty sure this isnt gonna work based on the pervious comments in this thread.
But I wont know til I try. So off I go to try....
Found the shellres.192.dll file .. but if I try to copy it off the device via activesync, windws wnt let me. What gives???
How do I get it off my phone?!
Here are some linkks to registry "tweaks" for some of the icons displayed in the Taskbar:
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Other
http://wiki.modaco.com/index.php/Windows_Mobile_5_Registry_Tweaks
HTH,

Using WM6.5

I have WM 6.5 with M2D.
Where can I change the backlight, change ring/vibrate (without using side keys) and how to know we have a lost call? (I dont have call history on first screen, I only have a button on taskbar...)
WM6.5 is very finger friendly, but there are some things like this that are annoying me
How to control the lock system ?
Maxxd01 said:
I have WM 6.5 with M2D.
Where can I change the backlight, change ring/vibrate (without using side keys) and how to know we have a lost call? (I dont have call history on first screen, I only have a button on taskbar...)
WM6.5 is very finger friendly, but there are some things like this that are annoying me
Click to expand...
Click to collapse
It depends on wich rom you are using but let's give it a try,
- Backlight: start/settings/system/power/backlight
- Change ring/vibrate: start/settings/personal/phone
- Change volume: with the side-keys on your phone, or on the topbar by touching the speaker (not in all versions) and for vibrate by pressing the # button on your keypad (not in all roms)
- lost call: You see a notification on your screen if you missed a call otherwise go to the dialer-menu.
There are more ways to get the same result, so go playing with your phone and you'll see it for yourself.
Hope I helped you a little bit in the right direction.
Greetz,
Rataplan said:
It depends on wich rom you are using but let's give it a try,
- Backlight: start/settings/system/power/backlight
- Change ring/vibrate: start/settings/personal/phone
- Change volume: with the side-keys on your phone, or on the topbar by touching the speaker (not in all versions) and for vibrate by pressing the # button on your keypad (not in all roms)
- lost call: You see a notification on your screen if you missed a call otherwise go to the dialer-menu.
There are more ways to get the same result, so go playing with your phone and you'll see it for yourself.
Hope I helped you a little bit in the right direction.
Greetz,
Click to expand...
Click to collapse
Thank you very much for you reply.
Ok two problems solved By the way, there's not a way to place a shortcut on "Programs" of anything of "Setting" ? Just for programs ?
One still to solve. The problem is: in my screen I dont have a line 'missed calls'. It's selected on M2DC but I just cant bring it. I tried aply themes from here:
http://forum.xda-developers.com/showthread.php?t=425974
Themes .cab dont work (png's over png's and so on), extracting .zip on \Windows same thing, and importing .m2CT crash M2DC Customizer. Have any idea how cant I change M2D Theme? (2.0.1920.1520 TouchFLO)
Maxxd01 said:
Thank you very much for you reply.
Ok two problems solved By the way, there's not a way to place a shortcut on "Programs" of anything of "Setting" ? Just for programs ?
One still to solve. The problem is: in my screen I dont have a line 'missed calls'. It's selected on M2DC but I just cant bring it. I tried aply themes from here:
http://forum.xda-developers.com/showthread.php?t=425974
Themes .cab dont work (png's over png's and so on), extracting .zip on \Windows same thing, and importing .m2CT crash M2DC Customizer. Have any idea how cant I change M2D Theme? (2.0.1920.1520 TouchFLO)
Click to expand...
Click to collapse
Hi again, for your programs make a shortcut of folderview.exe, you can find it in your windowsfolder and copy it to windows/start menu/programs.
The version of Touchflo you are using I'm not sure which one that is but if you want to learn more of m2dc just go to http://forum.xda-developers.com/showthread.php?t=427392&highlight=manilla
Hopefully you can find your answer there.
Regards,
Rataplan said:
Hi again, for your programs make a shortcut of folderview.exe, you can find it in your windowsfolder and copy it to windows/start menu/programs.
The version of Touchflo you are using I'm not sure which one that is but if you want to learn more of m2dc just go to http://forum.xda-developers.com/showthread.php?t=427392&highlight=manilla
Hopefully you can find your answer there.
Regards,
Click to expand...
Click to collapse
I think it's human mistake, maybe I'm forgotting doing something. I'll open a new thread once the one I have problems its closed.
Many thanks.
By the way, how to install that bottom bar we see in many WM6.5 ROMS? (With start icon, back button and X button but on the bottom).
Also how to get taskbar without start button ?
I saw many roms with and without, confused if its WM6.5 function or not.
Maxxd01 said:
By the way, how to install that bottom bar we see in many WM6.5 ROMS? (With start icon, back button and X button but on the bottom).
Also how to get taskbar without start button ?
I saw many roms with and without, confused if its WM6.5 function or not.
Click to expand...
Click to collapse
It seems that you have a thread only made for us, ok first of all, I don't mind to help you, but you have to read and search a bit more and if you don't know anything, you can always send me a pm, I don't mind at all.
Ok to get back to your question, it just depends on what rom you are using proberly you are now using the naked version from DJ, and that is a com 2 branch, it means that it don't have a bottombar, in my signature you see a rom I made and that is one with bottombar also DJ made beautiful rom's with bottombar just search for his threads.
Cheers,
Look's like there's any ROM where we can control the lock.
There's any way to make those rom's auto lock after backlight turn off ?
Maxxd01 said:
Look's like there's any ROM where we can control the lock.
There's any way to make those rom's auto lock after backlight turn off ?
Click to expand...
Click to collapse
There is an app for that - I have a link on my insomnia thread for the cab - here is the link to the thread - http://forum.xda-developers.com/showthread.php?t=542482
It allows you to lock the device when it goes to sleep or you switch off the backlight.
DT
d_train said:
There is an app for that - I have a link on my insomnia thread for the cab - here is the link to the thread - http://forum.xda-developers.com/showthread.php?t=542482
It allows you to lock the device when it goes to sleep or you switch off the backlight.
DT
Click to expand...
Click to collapse
Thank you.
I found another app but it was not working so I will try this one.
One more question regarding using WM6.5, on WM6.1, I had a Java (I think its JRE) to (for example) install gmail/app.
I saw on your ROM java blend. It's the same thing ?
Maxxd01 said:
One more question regarding using WM6.5, on WM6.1, I had a Java (I think its JRE) to (for example) install gmail/app.
I saw on your ROM java blend. It's the same thing ?
Click to expand...
Click to collapse
This is what comes with HTC devices and is a Java application - not sure whether all Java apps are compatible with it though.
DT

[Q] Remove Lockscreen Arrows

Hi guys,
I am trying to make a lockscreen and I was wondering how to remove the arrows on the windows lockscreen on CHT2. It would be great if someone could help me.
Thanks in advance,
G
EDIT: Thanks to santod040 I was able to make a cab... it's attached on this post.
have a read of the lockscreen link in my sig
samsamuel said:
have a read of the lockscreen link in my sig
Click to expand...
Click to collapse
Thanks but how do I get it to work for CHT2 lockscreen and not the original windows one...
sorry, not looked at the difference. if its still a .cpr file then its the same.
Im assuming you mean the "windows" cht lockscreen, not the manila or hd mini.....
I think this option must still utilise elements of the traditional wm lockscreen (those mentioned in sams link) and just skin the slider because Ive never come across those arrows in any of the files installed by CHT.........
You'd probably get an answer to this one over in themes and apps or even in the CHT thread.
So I've been checking out all the png files (and soon the manila files) to see which ones are arrows and I am changing them to transparent images - I hope that will work.
Anyways I tried skinning already - that didn't work. Lets hope I can find the image lol
They're not in with the cht files...
I've been through em all. Unless they are tucked away in an m9 or luau file but I haven't noticed any referring to the lockscreen.
Sam's link is the key to this one I think.
Chipped From The Bunker Via A Sandwedge
So I haven't been through the cht files but I'll trust you. In the png files in the windows folder there are identical arrows but after changing them they still show up. I tried playing around with the cpr file and I think that you guys are right - But I think Co0kie made his own cpr file which I also cant find...
Wait no it cant be the cpr files - In order to change a cht lockscreen slider you must add a manilla file - but ever cpr file says the slider exists as \windows\slider or something like that with a png at the end!
Ill ask around for an answer to this one because its bugging the hell out of me now
Chipped From The Bunker Via A Sandwedge
conantroutman said:
Ill ask around for an answer to this one because its bugging the hell out of me now
Click to expand...
Click to collapse
Thanks man that would be awesome if you could find the answer!!!
So, Conan asked me if I would look at this thread for you.
What I will tell you, is that the .cpr file is mostly a map of the lockscreen layout.
It determines sizes and positions of each element and can be easily edited with Chome Editor.
Although the images you seek are simple .png's within the Windows folder.
Should be named:
htc_arr_loop_r4.png
htc_arr_loop_l4.png
Both are 58x26
Hope that helps.
Thanks so much for that man
Was driving myself nuts looking for those pesky little arrows
santod040 said:
So, Conan asked me if I would look at this thread for you.
What I will tell you, is that the .cpr file is mostly a map of the lockscreen layout.
It determines sizes and positions of each element and can be easily edited with Chome Editor.
Although the images you seek are simple .png's within the Windows folder.
Should be named:
htc_arr_loop_r4.png
htc_arr_loop_l4.png
Both are 58x26
Hope that helps.
Click to expand...
Click to collapse
That doesnt affect CHT's lockscreen - I already changed those to blank pngs and nothing changed... any other ideas?
salonluden said:
That doesnt affect CHT's lockscreen - I already changed those to blank pngs and nothing changed... any other ideas?
Click to expand...
Click to collapse
Hmm, ok, then I must dig a little.
I will get back to you on this again then.
Sorry about that, I thought for sure they were shared by both.
I will check it on mine before posting further.
So, I was not clearly thinking.
Inside CHT are these images.
60EB9E41_manila and 48AC377B_manila
The others were for WinMo's own lockscreen images, and there are more of them for the notifications, etc,.
santod040 said:
So, I was not clearly thinking.
Inside CHT are these images.
60EB9E41_manila and 48AC377B_manila
The others were for WinMo's own lockscreen images, and there are more of them for the notifications, etc,.
Click to expand...
Click to collapse
I'll check that out later today - but if that works... you are AMAZING!
ooops
So they are in the CHT cab after all ??
Seems my cab extraction has lost a few files somewhere along the line.........
Sorry about that.....
*Hangs head in shame* lol
Ok santod thanks sooo much! You were right those are the files. For everyone here who wants the cab here it is...

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.

Xml needed to be modified - help?

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

Categories

Resources