Sony Updates AOSP Sources to Android 5.0.1

Just a few days ago, Sony did an utterly fantastic job by pushing out numerous device trees for … more

Stop Your Screen From Turning Off with KeepItOn

We all know the feeling of reading a news article orrather longdocument, when our screen … more

The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Major Update for the Sony Smartwatch 2 Brings DND and More

With the wearables landscape now dominated by Android Wear and Pebble, its … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP] XroM_Switch

OP XroM

26th February 2010, 01:18 PM   |  #1  
XroM's Avatar
OP Junior Member
Flag Saint-Petersburg
Thanks Meter: 2
 
15 posts
Join Date:Joined: May 2008
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, 507 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 04:00 PM. Reason: Translate app
26th February 2010, 05:11 PM   |  #2  
Member
Thanks Meter: 12
 
73 posts
Join Date:Joined: Jan 2008
Can you create QVGA version of this application. I tried on my HTCMagician but can't full names of buttons.
4th March 2010, 07:53 AM   |  #3  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Dec 2008
Can you post sources for switcher?
5th March 2010, 12:32 PM   |  #4  
Noonski's Avatar
Moderator Emeritus / Recognized Developer
Flag Amsterdam
Thanks Meter: 122
 
5,286 posts
Join Date:Joined: Apr 2005
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 01:17 PM.
5th March 2010, 08:54 PM   |  #5  
af974's Avatar
Retired Recognized Developer / Retired Forum Moderator
Thanks Meter: 1,887
 
4,940 posts
Join Date:Joined: Jan 2008
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, 08:58 PM   |  #6  
ardeleanumihai's Avatar
Junior Member
Flag Bucharest
Thanks Meter: 0
 
13 posts
Join Date:Joined: Jan 2010
More
i can only say спасибо xrom for this; i <3 you for this
5th March 2010, 09:03 PM   |  #7  
Noonski's Avatar
Moderator Emeritus / Recognized Developer
Flag Amsterdam
Thanks Meter: 122
 
5,286 posts
Join Date:Joined: Apr 2005
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, 10:03 PM   |  #8  
Piranha1's Avatar
Senior Member
Flag Freiburg
Thanks Meter: 0
 
139 posts
Join Date:Joined: Dec 2007
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, 05:12 AM   |  #9  
mwalt2's Avatar
Recognized Contributor
Thanks Meter: 1,498
 
2,138 posts
Join Date:Joined: Feb 2009
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, 11:11 AM   |  #10  
Noonski's Avatar
Moderator Emeritus / Recognized Developer
Flag Amsterdam
Thanks Meter: 122
 
5,286 posts
Join Date:Joined: Apr 2005
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, 116 views)
Last edited by Noonski; 7th March 2010 at 12:05 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes