Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Need a perticular height from the skin

  1. #1
    Newbie
    Join Date
    May 2006
    Location
    Belgium
    Posts
    41

    Need a perticular height from the skin

    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...

  2. #2
    Maximum Bitrate P3rv3rt B3ar's Avatar
    Join Date
    Jul 2005
    Location
    Funland
    Posts
    577
    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.

  3. #3
    Newbie
    Join Date
    May 2006
    Location
    Belgium
    Posts
    41
    Quote Originally Posted by P3rv3rt B3ar
    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...
    - 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...

  4. #4
    Maximum Bitrate P3rv3rt B3ar's Avatar
    Join Date
    Jul 2005
    Location
    Funland
    Posts
    577
    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.

  5. #5
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    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

  6. #6
    Newbie
    Join Date
    May 2006
    Location
    Belgium
    Posts
    41
    Quote Originally Posted by veetid
    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
    ah thnx, found it
    i just need to read the FULLAPPHEIGHTvalue

  7. #7
    FLAC mbkowns's Avatar
    Join Date
    Mar 2004
    Location
    SOCAL
    Posts
    1,141
    Quote Originally Posted by P3rv3rt B3ar
    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.
    2005 Ford Mustang GT <- - - UPDATED PICTURES

    2003 KAWASAKI Z1000 - CUSTOM MODZ

    MBK (AIM = IllMBKllI)

  8. #8
    Phone Control Moderator zorro's Avatar
    Join Date
    Mar 2004
    Location
    Munich, Germany
    Posts
    1,902
    @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!

  9. #9
    Variable Bitrate
    Join Date
    Sep 2004
    Location
    Slovenia (EU)
    Posts
    312
    Hm, I think he ment emulator for PC FAQ here: FAQ: TomTom How To (PocketPC Emulator)

  10. #10
    Newbie
    Join Date
    May 2006
    Location
    Belgium
    Posts
    41
    Quote Originally Posted by zorro
    @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.
    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.

    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).

Page 1 of 2 12 LastLast

Similar Threads

  1. New skin
    By Floatingpi in forum CF Skins
    Replies: 20
    Last Post: 12-22-2007, 01:31 PM
  2. Red highlights for BMV2 Skin done
    By Mad Ad in forum RR Skins
    Replies: 28
    Last Post: 10-17-2006, 01:41 PM
  3. RR Web Cam Skin Help
    By babyface in forum Road Runner
    Replies: 6
    Last Post: 04-03-2006, 09:03 AM
  4. Skullster Skin.. Please help me finish this skin
    By CdRsKuLL in forum RR Skins
    Replies: 14
    Last Post: 08-05-2005, 09:37 PM
  5. finnaly skin uploaded
    By liquid_smoke in forum ME Archive
    Replies: 5
    Last Post: 12-31-2003, 10:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •