11/23/2011, 10:10 AM
|
#1 (permalink) |
|
Member
![]()
Posts: 1,517
|
As most of you will notice, most apps won't fit the whole screen on the Pre3.
Fixing this is super easy. Resizing App 1) Go to the app in Internalz (make sure master mode and linux formatting is on) Code:
/media/cryptofs/apps/usr/palm/applications/(whatever app) 3) Add this line RIGHT below the <head> tag: Code:
<meta name='viewport' content='height=device-height'> DONE. App will now fit the whole screen. Fixing Background size (thanks Rsanchez1) Some apps have backgrounds which are just one image sized for Pre (and maybe Pixi) screen sizes. If you're a little experienced in CSS, you can check the app CSS for any body style declarations with a background in them, and add the following: Code:
-webkit-background-size: 100% auto;
background-size: 100% auto;
Fixing PDK apps 1) Download the attached Zip File and unzip on your computer. 2) Transfer to the USB drive of your Pre3. 3) Place in each PDK app folder that isnt working right. Code:
/media/cryptofs/apps/usr/palm/applications/(whatever app) Last edited by rmausser; 11/24/2011 at 09:43 AM. |
11/23/2011, 11:10 AM
|
#4 (permalink) |
|
Member
![]() ![]()
Posts: 1,997
|
It is really sad that so many developers have abandoned their apps and have not updated them for the Pre3. What is worse than sad is that some developers who are still actively developing and selling new apps for webOS, have not bothered to update their apps for the Pre3. I can understand to some extent devs not wanting to invest their time, although this does not even require more than a few minutes of their time, for a free app. But not updating their 'paid' apps is quite deplorable, specially considering the very little effort required to fix the apps for the Pre3.
__________________
Pre3 (AT&T meta-doctored to ROW) webOS 2.2.4 build 3175 TouchPad WiFi (32GB) - webOS 3.0.5 build 86 App Catalog (US) - Vodafone (India) Treo 180 > 270 > 600 > 650 > 680 > Pre+ > Pre2 > Pre+ > Pre3 & tPad |
11/23/2011, 11:15 AM
|
#5 (permalink) | |
|
Member
![]() |
Quote:
But for Dr.Battery this missing small area was really not important and hadn't affected the functionality. I think it will take me 1-3 hours (maybe even more) to actualize the dev environment, adding the changelog and trying to remember those git commands :P Maybe I'm just to old.
__________________
Dr. Battery |
|
11/23/2011, 11:27 AM
|
#6 (permalink) | |
|
Member
![]() ![]()
Posts: 1,997
|
Quote:
By the way, the black bars look ugly, even if the actual functionality of the app is not effected by them. PS: I have Dr. Battery on all my devices and have fixed the black bar on Dr. Battery' on my Pre3. But, it would be nice to not have to fix it every time I doctor my Pre3.
__________________
Pre3 (AT&T meta-doctored to ROW) webOS 2.2.4 build 3175 TouchPad WiFi (32GB) - webOS 3.0.5 build 86 App Catalog (US) - Vodafone (India) Treo 180 > 270 > 600 > 650 > 680 > Pre+ > Pre2 > Pre+ > Pre3 & tPad |
|
11/23/2011, 11:34 AM
|
#8 (permalink) | |
|
Member
![]() ![]()
Posts: 1,997
|
Quote:
the Pre3.
__________________
Pre3 (AT&T meta-doctored to ROW) webOS 2.2.4 build 3175 TouchPad WiFi (32GB) - webOS 3.0.5 build 86 App Catalog (US) - Vodafone (India) Treo 180 > 270 > 600 > 650 > 680 > Pre+ > Pre2 > Pre+ > Pre3 & tPad Last edited by Sanjay; 11/23/2011 at 11:46 AM. |
|
11/23/2011, 11:49 AM
|
#10 (permalink) |
|
Member
![]() |
OK OK. And I totally agree with you for paid apps. WIll do it on the weekend (hopefully) and make it fullscreen for the TP even though it may look a little ugly there. But it will work in Landscape then. I hate to turn the TP each time i'm using none fullscreen apps.
__________________
Dr. Battery |
11/23/2011, 12:01 PM
|
#11 (permalink) | |
|
Moderator
![]() ![]() |
Quote:
I don't doctor that often, so not really that big of an annoyance. Can't think of any other apps I need to do right now. |
|
11/23/2011, 12:15 PM
|
#12 (permalink) |
|
Member
![]()
Posts: 1,517
|
I am possibly going to create an app that will search for all instances of "index.html" in the applications folder and auto append this tag after <head> to all index.htmls.
It doesnt hurt to have it twice, and I havent come across an example of when it breaks an app, so theres no harm in applying it to every app. |
11/23/2011, 12:20 PM
|
#13 (permalink) |
|
Member
![]() |
I haven't had it break anything yet, but it does sometimes result in a discolored bar that doesn't match the background of the rest of the app. Examples are Newsroom & 8tracks. Am I doing something wrong, or is it just the nature of the fix?
__________________
In or within a day's drive of Indy? Join one of our meetups! http://www.meetup.com/HPwebOS/Indianapolis/ Twitter: @INDYwebOSMeetup @steffej3 |
11/23/2011, 12:28 PM
|
#14 (permalink) | |
|
Member
![]()
Posts: 40
|
Quote:
While we have an emulator, we can't really test code without a Pre3 device, which was never officially released. The frustration on the official developer forums has been pretty high ever since the announcements late last summer.
__________________
Kookaroo, the Roku remote for webOS Amtrak Commuter, Check your Train schedule GPortal Google shortcuts for Google Plus, Google Voice, Google Tasks and other Google Services SiteStatus and SiteStatusPro website monitoring tools for webOS |
|
11/23/2011, 12:42 PM
|
#16 (permalink) | |
|
Member
![]() ![]()
Posts: 1,997
|
Quote:
__________________
Pre3 (AT&T meta-doctored to ROW) webOS 2.2.4 build 3175 TouchPad WiFi (32GB) - webOS 3.0.5 build 86 App Catalog (US) - Vodafone (India) Treo 180 > 270 > 600 > 650 > 680 > Pre+ > Pre2 > Pre+ > Pre3 & tPad |
|
11/23/2011, 03:50 PM
|
#18 (permalink) | |
|
Moderator
![]() ![]() |
Quote:
Having same problem on newsroom, probably will remove the code on this app. |
|
11/23/2011, 04:36 PM
|
#19 (permalink) |
|
Member
Posts: 377
|
Yes, it does! I'm not a techie, and I was hesitant to get into editing app files, but this is quick and works like a charm. Though no-one outside of us Pre3 users may care about - or even notice - that black bar at the bottom, I think this little tweak really gives the apps, and the Pre3 itself, a more professional "feel" (not to mention the more efficient use of screen real estate!).
A couple of caveats for us non-techies... When you say Internalz must be in master mode and linux formatting must be on, you mean that in the Preferences menu, the Master mode switch at the bottom must be on and the Newline format must be set to Linux. Also, as one or two have noted, if an app uses a background image with a pattern or picture (as, for example, the ESPN ScoreCenter app uses a bordered image)... that image does not stretch to fill the screen, it will begin to repeat at the bottom (which may look a bit awkward). Lastly, it did not seem to work on Pandora. Has anyone else experienced this? In any case, kudos to rmausser for posting this quick and easy way to improve the look and feel of webOS apps on our Pre3s!
__________________
-carldc ![]() m500>T3>T|X>Treo 755p>Pre>Pixi>Pre 3 ..........................................TouchPad PalmOS-------------------webOS------- |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



