Results 1 to 17 of 17
Like Tree1Likes
  • 1 Post By fxspec06
  1.    #1  
    Hi

    I once read about a patch/file(?) that could be put into an apps folder and then the app (or at least some apps) would scale up to the Touchpad screen.
    Where and how do I get that patch/file?
    Thanks

    Martin :-)
  2. #2  
    I think it's in individual appinfo.json files, add "uiRevision": 2 to the list, or something like that.

    Edit: This was what I was referring to: http://www.webosnation.com/developer...#comment-60426
  3. #3  
    Quote Originally Posted by martinjochimsen View Post
    Hi

    I once read about a patch/file(?) that could be put into an apps folder and then the app (or at least some apps) would scale up to the Touchpad screen.
    Where and how do I get that patch/file?
    Thanks

    Martin :-)

    add this line in the index.html file before the line head


    <meta name='viewport' content='height=device-height'>

    example

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

    <meta name='viewport' content='height=device-height'>

    <head>
    ..
    ..
    ...
    ..


    suerte saludos..
  4. #4  
    Quote Originally Posted by MAMISHO View Post
    add this line in the index.html file before the line head

    <meta name='viewport' content='height=device-height'>
    That's apparently for Pre 3 so it scales up. https://developer.palm.com/distribut...?f=110&t=19017
  5. #5  
    Correct, for mojo apps, you just need uiRevision on the Touchpad. On the Pre3 is where you need the viewport attributes. Note there are two settings: width and height. I don't recall offhand and don't have my source code handy, but one (I think height) causes the app to fit the Pre3 and scale all of the UI elements. If you set them both, it fills the screen but does not scale the elements. I played with them both to try to find the best way to add Pre3 support for my GPS Viewer app. In the end I let it scale all of the elements, because it simplified the code, and after finally seeing it on a physical device, it was the right way to go.
  6. #6  
    You might want to put the initial scalng for meta tag at 1.67, or even 2. and max / min scaling.

    i mean i am a genius, it's only natural i would think of that
    Neo Enyo 2.0 Twitter App: NOW AVAILABLE | WON REVIEW
    clearview - clear card app for HP TOUCHPAD
    Wild'n Video Poker - AVAILABLE FOR ALL WEBOS DEVICES! | follow for latest updates - @fxspec06

    Vistaus likes this.
  7. #7  
    Quote Originally Posted by GMMan View Post
    That's apparently for Pre 3 so it scales up. https://developer.palm.com/distribut...?f=110&t=19017

    I use it with Mundu IM and it worked on webos 3.x o.0
  8.    #8  
    Quote Originally Posted by Grabber5.0 View Post
    Correct, for mojo apps, you just need uiRevision on the Touchpad. On the Pre3 is where you need the viewport attributes. Note there are two settings: width and height. I don't recall offhand and don't have my source code handy, but one (I think height) causes the app to fit the Pre3 and scale all of the UI elements. If you set them both, it fills the screen but does not scale the elements. I played with them both to try to find the best way to add Pre3 support for my GPS Viewer app. In the end I let it scale all of the elements, because it simplified the code, and after finally seeing it on a physical device, it was the right way to go.
    Where do I find this uiRevision???
  9.    #9  
    Quote Originally Posted by MAMISHO View Post
    add this line in the index.html file before the line head


    <meta name='viewport' content='height=device-height'>

    example

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

    <meta name='viewport' content='height=device-height'>

    <head>
    ..
    ..
    ...
    ..


    suerte saludos..
    Is this index.html for every program or is it an overall file?
  10.    #10  
    Quote Originally Posted by Grabber5.0 View Post
    Correct, for mojo apps, you just need uiRevision on the Touchpad. On the Pre3 is where you need the viewport attributes. Note there are two settings: width and height. I don't recall offhand and don't have my source code handy, but one (I think height) causes the app to fit the Pre3 and scale all of the UI elements. If you set them both, it fills the screen but does not scale the elements. I played with them both to try to find the best way to add Pre3 support for my GPS Viewer app. In the end I let it scale all of the elements, because it simplified the code, and after finally seeing it on a physical device, it was the right way to go.
    https://developer.palm.com/distribut...p?f=55&t=16718

    I see here that I shall add uiRevision to appinfo.json.....but I can't find the where the app folders are???
  11. #11  
    From memory (so it might not be exactly right) : /media/cryptofs/apps/usr/palm/applications
  12. #12  
    Quote Originally Posted by martinjochimsen View Post
    Is this index.html for every program or is it an overall file?
    For each application, modify the index.html

    internalz is easy to do
  13.    #13  
    Quote Originally Posted by MAMISHO View Post
    add this line in the index.html file before the line head


    <meta name='viewport' content='height=device-height'>

    example

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

    <meta name='viewport' content='height=device-height'>

    <head>
    ..
    ..
    ...
    ..


    suerte saludos..
    hmmm....I tried to do this for my engadget app like this

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <meta name='viewport' content='height=device-height'>
    <head>
    <title>engadget</title>
    <script src="/usr/palm/frameworks/mojo/mojo.jsjsjs&$quot$; $type$=&$quot$;$text$/$javascript$&$quot$; $x$-$mojo$-$version$=&$quot$;$1$&$quot$; /&$gt$;
    <!-- application stylesheet should come in after the one loaded by the framework -->
    <link href="stylesheets/engadget.css" media="screen" rel="stylesheet" type="text/css" />
    </head>
    <body>

    </body>
    </html>

    But nothing happens.
    I guess that I should fill in some numbers for the "device-height"?
  14.    #14  
    Quote Originally Posted by Grabber5.0 View Post
    From memory (so it might not be exactly right) : /media/cryptofs/apps/usr/palm/applications
    Yes sir.
    Good memory!

    :-)
  15.    #15  
    Quote Originally Posted by Grabber5.0 View Post
    Correct, for mojo apps, you just need uiRevision on the Touchpad. On the Pre3 is where you need the viewport attributes. Note there are two settings: width and height. I don't recall offhand and don't have my source code handy, but one (I think height) causes the app to fit the Pre3 and scale all of the UI elements. If you set them both, it fills the screen but does not scale the elements. I played with them both to try to find the best way to add Pre3 support for my GPS Viewer app. In the end I let it scale all of the elements, because it simplified the code, and after finally seeing it on a physical device, it was the right way to go.
    After a lot of typing and rebooting I finaly got it right.
    I added

    "uiRevision": "2",

    to the appinfo.json. (remember the comma)

    I just put it in to the second last line, so my appinfo.json for the Engadget app looks like this

    {
    "id": "com.aol.engadget",
    "version": "1.0.5",
    "vendor": "AOL Inc",
    "type": "web",
    "main": "index.html",
    "removable": "true",
    "noWindow" : "true",
    "visible": "true",
    "title": "engadget",
    "uiRevision": "2",
    "icon": "icon.png"
    }

    I rebooted and now it fills out the whole screen on the Touchpad.
    Well, at least the full left site of the screen!
    It's still better than the phone-view.
    Thanks for the suggestion about uiRevision.

    Martin :-)
  16. #16  
    Quote Originally Posted by martinjochimsen View Post
    After a lot of typing and rebooting I finaly got it right.
    I added

    "uiRevision": "2",

    to the appinfo.json. (remember the comma)
    ...
    Martin :-)
    Thanks for details. I tried unsuccessfully for several days. I think I forgot the comma


    -- Sent from my Palm Pre3 using Forums
    Spanish translator of Outline Tracker, UberCalendar, sconix's advanced patches, and other MIA webOS apps. HP Pre 3 and HP TouchPad 64 GB (Espaņol_Espaņa, es_es)
  17. #17  
    Working perfect in "Safewallet" and "Clearcheckbook"

    -- Sent from my TouchPad using Communities
    Spanish translator of Outline Tracker, UberCalendar, sconix's advanced patches, and other MIA webOS apps. HP Pre 3 and HP TouchPad 64 GB (Espaņol_Espaņa, es_es)

Similar Threads

  1. list apps that scale?
    By TableTopFreak in forum HP TouchPad
    Replies: 0
    Last Post: 10/09/2011, 03:15 AM
  2. Anyone notice how many old apps actually scale for TouchPad?
    By sledge007 in forum webOS Apps & Games
    Replies: 23
    Last Post: 08/12/2011, 01:47 AM
  3. Replies: 2
    Last Post: 03/19/2010, 09:02 AM
  4. Replies: 9
    Last Post: 11/25/2009, 03:48 PM
  5. Visor screen size vs. Treo screen size
    By jaidnoire in forum Palm OS Devices & Apps
    Replies: 1
    Last Post: 05/10/2002, 08:13 PM

Posting Permissions