I hate to be a kill joy... BUT if u cant count height of that byuself, theres no freaking way u can code an app.
Hello,
I'm making an app to use PocketPc software in CF (TomTom just is the best navigator ever)
So my app will only run in fullscreen mode because the PPC emulator cannot be resized, once it has it size it can't be changed.
Now for that i need to know what size my app should be.
img as reference:
My app will fill the gray area complety. But for that i need to know the height that's marked on the image.
Since skins ans resolution can change that height value changes also. So i need to calculate the height somehow.
Ive found the height of CF in config.xml, and skin settings in skin.xml, but skin.xml is just to complicated to find anything in there. So this is where i need some help...
I hate to be a kill joy... BUT if u cant count height of that byuself, theres no freaking way u can code an app.
What about u take a look in the skin.xml file and tell me if you can figure out what i'm looking...Originally Posted by P3rv3rt B3ar
- Completly undocumented
- Tagnames are useless
- You cant refer to existing values since there aren't any.
- Do you really think i will read 5024 lines of xml? I don't know how the xml is build up and some ppl here do, so i ask them just to tell me what i need. It would save me hours of work and cost that person 2 minutes of thinking. Fair enough?
For clearing this up, i don't need a math formula how to calculate with numbers (i aint 5 years old), i need to know the field in the xml what i can use as base number to do the calculation.
edit:
Yes, maybe i'm overreacting.
But i don't need someone who's telling me what i CAN or NOT. And since you don't know who or what i am, ill judge about that...
well open skin file in photoshop... count pixels of the bar, divide that number by native vertical resolution of default skin... then when running your app fetch current vertical resolution and multiply earlier reference number by that... and there u go...
But i still think coder should figure out these things by himself... and if going through 5000 lines with comp is what u consider hard task... man u r in wrong field.
The section in the XML file you are looking for is:
SKIN/EXTERNALAPPS
The rest are child nodes under that section.
Opening the file with a text editor, I can understand the file looking large. You need a good XML editor that has a grid view, then you will see how it is organized and how easy it easy to view and modify.
I personally use XMLSpy and it's enhanced grid view...
david
__________________
CENTRAFUSE http://www.centrafuse.com
01 Jeep Cherokee Sport 4x4 Installed
M10000/512Mb/20GB, Lilliput 7", Holux GM-210
ah thnx, found itOriginally Posted by veetid
i just need to read the FULLAPPHEIGHTvalue
Originally Posted by P3rv3rt B3ar
![]()
2005 Ford Mustang GT <- - - UPDATED PICTURES
2003 KAWASAKI Z1000 - CUSTOM MODZ
MBK (AIM = IllMBKllI)
@CoolCow
The easiest way to acomplish this is to use the Mobile Developer Powertoys (http://www.microsoft.com/downloads/d...displaylang=en)
They come with a tool called Active Sync Remote display, which allows you to capture the screen of any Windows Mobile device and send the mouse clicks down to the device.
ASRemote has its own window which can be embedded with CF easily.
If you rotate the screen on your PPC into landscape orientation it fits almost perfect into the CF ext. app. area.
All you need is ActiveSync on your CarPC and the PowerToys.
Skinning to go... VisualDesigner2!
Hm, I think he ment emulator for PC FAQ here: FAQ: TomTom How To (PocketPC Emulator)
I'm not using tomtom on a real ppc since i dont have one. Like stric said, i'm using the emulator to run tomtom.Originally Posted by zorro
But i'm still gonne see what that powerpack is. I still need to find a way to setup a communication between my app and tomtom. Thats needed i.e. if i want to lower the CF player volume when tomtom speaks.
Firing events to CF is the easy part, setting up a communication with the ppc and tomtom in perticular is gonne be a challenge.
For now i'm having troubles connecting the emulator to activesync. Activesync isn't detecting the emulator anymore which is wierd as it was working yesterday.
Development progress:
The ppc is already running in CF. The size of the ppc is based on the selected skin and should always be fullscreen no mather what resolution or skin you use. So for now everything is running verry smooth.
Also added a fix for some USB -> Serial gps recievers that are not detected by TomTom on the emulator (emulator has a bug opening the COM ports).
Bookmarks