Welcome, Guest. Please login or register.
Did you miss your activation email?

News: Do you like Palm Pre?
Palm Pre Forum  
Best Screen Protector for Palm Pre          Download wallpapers, themes, java games
          Scratch-Proof your Palm Pre
Pages: [1]
BookMark Print
Share this topic on AskShare this topic on Del.icio.usShare this topic on DiggShare this topic on FacebookShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MySpaceShare this topic on NetvouzShare this topic on RedditShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
Author Topic: Fun With Orientation>Portrait Landscape switching  (Read 1301 times)
petepre
Retired
Newbie
*

Cookies: 0
Posts: 28



« on: September 02, 2009, 05:22:34 PM »

I added orientation to this "just for fun app".
All you have to do is add this line in the setup section of your scene.js



options are up, down, left, right and free.

Code:
if (this.controller.stageController.setWindowOrientation) { this.controller.stageController.setWindowOrientation("free");}

Enjoy looking at your scenes in landscape  Cheesy

* myfirstbutton[10].ipk (22.03 KB - downloaded 14 times.)
Logged
wankerc5
Sr. Member
*****

Cookies: 3
Posts: 280


NO MA'AM


« Reply #1 on: September 02, 2009, 07:33:42 PM »

i'm about 60 pages into the palm webOS book, so it's awesome to see this code snippet!  thanks!   Grin
Logged

My Apps:

QuickSpell --- QuickSolve --- QuickTrace
H2O
Administrator
Hero Member
*****

Cookies: 5
Posts: 526


Pies: ∞


« Reply #2 on: September 02, 2009, 07:37:09 PM »

i'm about 60 pages into the palm webOS book, so it's awesome to see this code snippet!  thanks!   Grin

That's all? I figured you would have finished it by now... twice
Logged

Do you use them for good, or for awesome?



Need to find something? Try searching for it!
wankerc5
Sr. Member
*****

Cookies: 3
Posts: 280


NO MA'AM


« Reply #3 on: September 09, 2009, 04:22:54 AM »

i'm about 60 pages into the palm webOS book, so it's awesome to see this code snippet!  thanks!   Grin

That's all? I figured you would have finished it by now... twice

haha!  i just noticed petepre's tip is on page 215 in the book.  it's hard to get through the books since i'm developing apps at the same time.  developing > reading.
Logged
Tibfib
Obsessed Member
*******

Cookies: 33
Posts: 2006


Kevin is here to help.


WWW
« Reply #4 on: September 18, 2009, 06:58:46 PM »

haha!  i just noticed petepre's tip is on page 215 in the book.  it's hard to get through the books since i'm developing apps at the same time.  developing > reading.

Exactly...  Grin

That's why I'm halfway through a few books...
Logged

Check out my developer website:
Pages: [1]
BookMark Print

Jump to:  

Got a new phone? Find the forum here


Subject Started by Replies Views Last post
wacky portrait and landscape bug
Palm Pre Discussions (Sprint)
mrwoogie 4 784 Last post September 01, 2009, 08:57:45 AM
by Mockers
2.1 e-mail landscape update
Help
swmrbkrrnr 2 366 Last post October 01, 2009, 05:44:38 PM
by swmrbkrrnr
OK, not a user yet but thinking about switching from an ...... iPhone.
Palm Pre Discussions (Sprint)
KCaudell 5 677 Last post November 20, 2009, 09:40:09 AM
by chapulincolorado




Galaxy S3 | Galaxy Note | Galaxy Nexus | Kindle Fire | Atrix 4G | Motorola Xoom | Windows Phone 7
Nokia Lumia | Top Hosts | Samsung Galaxy Tab | Samsung Galaxy S2 | Samsung Galaxy S | Samsung Wave
HTC Evo 3D | HTC Evo 4G | HTC Incredible | HTC Incredible 2 | HTC Incredible S | HTC Thunderbolt
Motorola Droid Razr
| HTC Desire | HTC Desire HD | HTC Desire Z | HTC Desire S | HTC Wildfire
Motorola Droid | Galaxy Indulge | Nokia N8 | Droid Charge | Droid X | Droid X2 | Droid 2| Droid 3 | Fascinate
HTC Sensation | HTC Flyer | LG Revolution | Asus Transformer | Xperia Play | iPhone 4 | Nexus S | Droid Bionic
HTC One | HTC Wildfire S | HTC Droid Eris


This is an Un-Official fan based Website. The views expressed on this website are solely those of the proprietor, or contributors to the site, and do not necessarily reflect the views or opinions of the parties it covers, and is not affiliated with, endorsed or sponsored by parties involved.
If you have a problem with any of the content posted on this website, please contact "sales@verticalscope.com"
Term of Use | Privacy Policy | BlackRain 2006 by, Crip














CopyRight 2008 www.PalmPreForum.org
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Sitemap