FORUMS

Android M Code Name: Macadamia Nut Cookie

While the official name for the latest iteration of Android has yet to be revealed, the code … more

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more
Post Reply Subscribe to Thread Email Thread

[APP] XroM_Switch

26th February 2010, 12:18 PM |#1  
XroM's Avatar
OP Junior Member
Flag Saint-Petersburg
Thanks Meter: 2
 
More
A small app to switch a wireless devices with additional functions.
In resource you can customize the layout of buttons, background color and the name and font size.
The program supports the launch with the parameters (without displaying the main window)
Sorry for my English, Thank's google translator...
Attached Thumbnails
Click image for larger version

Name:	Screen16.jpg
Views:	1657
Size:	63.8 KB
ID:	286425   Click image for larger version

Name:	Screen18.jpg
Views:	2563
Size:	95.3 KB
ID:	286477  
Attached Files
File Type: zip XroM_Switch.zip - [Click for QR Code] (13.1 KB, 509 views)
File Type: zip XroM_Switch_English.zip - [Click for QR Code] (13.2 KB, 1643 views)
Last edited by XroM; 26th February 2010 at 03:00 PM. Reason: Translate app
 
 
26th February 2010, 04:11 PM |#2  
Member
Thanks Meter: 13
 
More
Can you create QVGA version of this application. I tried on my HTCMagician but can't full names of buttons.
4th March 2010, 06:53 AM |#3  
Junior Member
Thanks Meter: 0
 
More
Can you post sources for switcher?
5th March 2010, 11:32 AM |#4  
Noonski's Avatar
Moderator Emeritus / Recognized Developer
Flag Amsterdam
Thanks Meter: 125
 
Donate to Me
More
For the ones interested in replacing the resources, as that's the fun part of this little app right here.

Super-Quick-Guide
To change the lay out of the Buttons use Resource Hacker.
Resource Hacker won't export the gif's correctly.
Use CFF Explorer and export to raw then add .png
(you can see it in the resource clearly).
Edit the png, flatten all layers save and remove extension, re-import back into CFF explorer.
Rebuild Header and Save, should do the trick.
Resign file.

Attached s Quick example of Modification
Attached Thumbnails
Click image for larger version

Name:	sshot000.jpg
Views:	733
Size:	21.4 KB
ID:	289423  
Last edited by Noonski; 5th March 2010 at 12:17 PM.
5th March 2010, 07:54 PM |#5  
af974's Avatar
Retired Recognized Developer / Retired Forum Moderator
Thanks Meter: 1,889
 
More
Hey Noonski , i could be wrong but your example seems to be a QVGA....why dont you just share it ?

Quote:
Originally Posted by Noonski

For the ones interested in replacing the resources, as that's the fun part of this little app right here.

Super-Quick-Guide
To change the lay out of the Buttons use Resource Hacker.
Resource Hacker won't export the gif's correctly.
Use CFF Explorer and export to raw then add .png
(you can see it in the resource clearly).
Edit the png, flatten all layers save and remove extension, re-import back into CFF explorer.
Rebuild Header and Save, should do the trick.
Resign file.

Attached s Quick example of Modification

5th March 2010, 07:58 PM |#6  
ardeleanumihai's Avatar
Junior Member
Flag Bucharest
Thanks Meter: 0
 
More
i can only say спасибо xrom for this; i <3 you for this
5th March 2010, 08:03 PM |#7  
Noonski's Avatar
Moderator Emeritus / Recognized Developer
Flag Amsterdam
Thanks Meter: 125
 
Donate to Me
More
Quote:
Originally Posted by af974

Hey Noonski , i could be wrong but your example seems to be a QVGA....why don't you just share it ?

Sorry it's VGA.

But theoretically you can change the Button Values and the Graphics to fit QVGA.
5th March 2010, 09:03 PM |#8  
Piranha1's Avatar
Senior Member
Flag Freiburg
Thanks Meter: 0
 
More
here the first german version.
Attached Files
File Type: zip XroM_Switch_german.zip - [Click for QR Code] (13.2 KB, 61 views)
6th March 2010, 04:12 AM |#9  
mwalt2's Avatar
Recognized Contributor
Thanks Meter: 1,515
 
More
Quote:
Originally Posted by Noonski

Sorry it's VGA.

But theoretically you can change the Button Values and the Graphics to fit QVGA.

Would you mind posting the VGA version? Does it scroll or are the bottom buttons cut-off? Looks great XroM.
7th March 2010, 10:11 AM |#10  
Noonski's Avatar
Moderator Emeritus / Recognized Developer
Flag Amsterdam
Thanks Meter: 125
 
Donate to Me
More
Quote:
Originally Posted by mwalt2

Would you mind posting the VGA version? Does it scroll or are the bottom buttons cut-off? Looks great XroM.

Buttons where cut of i didn't re position of the Buttons.

Give me a minute.

Unsigned VGA version by popular request.

Just open the exe in http://www.angusj.com/resourcehacker/
on the left side you will find the item where you can change button size.
(Dialog 104)

Code:
104 DIALOG 0, 0, 140, 198
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "XroM_Switch GUI"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "System"
{
   CONTROL "Toggle WiMax", 1001, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 7, 16, 62, 18 
   CONTROL "Switch off\n GPRS", 1007, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 70, 16, 62, 18 
   CONTROL "Toggle WiFi", 1002, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 7, 36, 62, 18 
   CONTROL "Flight mode", 1008, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 70, 36, 62, 18 
   CONTROL "Toggle\nBluetooth", 1003, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 7, 55, 62, 18 
   CONTROL "Reset PPC\nsilent", 1009, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 70, 55, 62, 18 
   CONTROL "Bluetooth in\nvisible", 1004, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 7, 74, 62, 18 
   CONTROL "Reset PPC", 1010, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 70, 74, 62, 18 
   CONTROL "Toggle phone", 1005, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 7, 94, 62, 18 
   CONTROL "Power Off", 1011, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 70, 94, 62, 18 
   CONTROL "Disconnect\nGPRS", 1006, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 7, 114, 62, 18 
   CONTROL "Suspend", 1012, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 70, 114, 62, 18 
   CONTROL "Restart Manila", 1015, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 7, 132, 62, 18 
   CONTROL "Lock PPC", 1016, BUTTON, BS_OWNERDRAW | BS_MULTILINE | WS_CHILD | WS_VISIBLE, 70, 132, 62, 18 
}
Change the Font in
In (String Data 2502)
Code:
STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
40016,     "Tahoma"
40017,     "22"
}
Attached Files
File Type: zip XroM_Switch_VGA.zip - [Click for QR Code] (13.2 KB, 118 views)
Last edited by Noonski; 7th March 2010 at 11:05 AM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes