Fit a Mojo app to the entire Pre3 screen | webOS Nation
 
 

Fit a Mojo app to the entire Pre3 screen 18

by Adam Marks Mon, 20 Feb 2012 7:09 pm EST

HTML to add to remove black barDue to the resolution differences between the Pre3 and all other Pre phones, you may often see a black or flickering bar on the bottom of the Pre3's screen that appears where the notification dashboard would be, even if there are no dashboard icons shown. If you are a Pre3 owner and user of an app such as the twitter app Carbon for webOS or the homebrew Internalz Pro, you have probably noticed this before. While we are hoping for updates to some apps to fix this issue, some developers may no longer be supporting their apps and we may never see a fix. However, you can try to make the update yourself using the text editor within the homebrew file manager app Internalz Pro to see if the directoins below will fix the app (your milage may vary, as this is not guaranteed to work with all apps). Also note that the fix below only affects Mojo and hybrid apps, so this fix will not work on PDK apps (like Angry Birds).

  • Determine the App ID of the application you need to update. The easiest way to do this is to load up Prehware, search for the app, and find the App ID on the app's description page
  • Open up Internalz Pro and navigate to /media/cryptofs/apps/usr/palm/applications/[APP ID]
  • Find the index.html file, tap on it, and select "Open" to open up the text editor.
  • Towards the top of the file, find the first "html" tag
  • Directly after that, insert a new line and put this text in there:
  • Swipe down from the top-left to reveal the Application dropdown menu and select "Save File".
  • Close the file

The next time you open that app, the black or flickering bar on the bottom should be gone. Note that if the app does receive an update in the future, but this fix was not included, you may need to add this back in.

5
Your rating: None Average: 5 (5 votes)
Category:

18 Comments

Users should know that it wont work with every app. Some will actually become a bit erratic in that bottom area.

I was looking at some of your posts on this website and I conceive this web site is really instructive! Keep putting up..
Soltec Energy Website

I've done a couple apps so far to great success. What about apps with no index.html file like Angry Birds, Risk, and other games?

add this to appinfo.json

, "uiRevision": 2,

Does this fix work with Pandora app on the Pre 3? Thank you.

Works great with drPodder so far!

there is a error to open cryptofs " unable to scan" what todo...

So you're advocating the modification of closed-source applications?
 
You do realize users doing this could be subject to legal action if the application reports back application-level changes to its data source (as a means of detecting piracy), right?

Guess what? At first, I though "this guy is exaggerating". But then I realized you were quite right: webOS apps are, to a large extent, defenceless against bad practices. This is great, great for learning and patching, giving extended life to old things (which is contrary to modern economy). But, if I were a developer for this platform, I would demand more security for my hard job before commiting to it.

But, if I were a developer for this platform, I would demand more security for my hard job before commiting to it.

Many of us developers had conversations with Palm about securing our code. In the beginning, they said they were working on ways to protect the code. By the time things settled, they simply said (paraphrasing) "It's JavaScript; the source will not be protected" and left developers to fend for themselves.

-

Maybe you should be the one to email the developers to remind them to fix their applications. While you wait for them to reply with your app taking not filling the screen 100%, I as well as many others will be fixing my screen thanks to this helpful article.

Fortunately, webOS was designed from the ground-up to scale up to any screen resolution so the user interface should already look just fine.

This is one of the reasons why I stay with WebOS. It is amazing that we are able to fix our own apps from inside our very own phones (as long as we know what we are doing). This makes me feel quite a "programmer".
Still, the ammount of apps I have (all!) that need the fix is huge, both from oficial catalogue and from Preware.
This is a minor issue. How much would cost to a developer to fix this? Or even to HP to let someone do this job for the developers, as a service or kind of reward for being stick to the plattform?

This is one of the reasons why I stay with WebOS...we are able to fix our own apps...

On reason so many have left webOS is because you shouldn't have to fix (such a high percentage of) your own apps.

Is there a forum thread or something central where we can keep track of which apps this does/doesn't work for?

Thats great, but I can't install Internalz Pro, an url-error coming every time?!
Please helf me ;)

Thanks!

Finally fixed that annoying flicker bar in drPodder HB. Yay!