Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-22-2009, 02:18 AM   #1 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 8
Default Force Landscape mode for SMS Application?

First post here and hopefully someone can help me.


Alright, so my phone is in almost perfect working order EXCEPT for the very bottom touch strip seems to not work. I am able to use my dock buttons and such but whenever I'm in the SMS application and I have to hit the very bottom to bring the keyboard up that doesn't work because that's a dead strip. (Also when trying to hit .com or any of the bottom buttons in safari) The only way I can respond to a text is to turn it to the side, wait, and use landscape mode. Super annoying.

I was wondering if anyone could create a tweak that would make my sms application start up in landscape mode and stay in it so I don't have to deal with this. It's a 2G running 3.0.1.

Thank you very much. This has been extremely frustrating for me.
SephirothOS is offline   Reply With Quote
Old 08-22-2009, 12:23 PM   #2 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 211
Default

Quote:
Originally Posted by SephirothOS View Post
First post here and hopefully someone can help me.


Alright, so my phone is in almost perfect working order EXCEPT for the very bottom touch strip seems to not work. I am able to use my dock buttons and such but whenever I'm in the SMS application and I have to hit the very bottom to bring the keyboard up that doesn't work because that's a dead strip. (Also when trying to hit .com or any of the bottom buttons in safari) The only way I can respond to a text is to turn it to the side, wait, and use landscape mode. Super annoying.

I was wondering if anyone could create a tweak that would make my sms application start up in landscape mode and stay in it so I don't have to deal with this. It's a 2G running 3.0.1.

Thank you very much. This has been extremely frustrating for me.
Sounds like you should get a new iPhone. Other than that, though, the only way to do that would be if your iPhone is jailbroken. Otherwise, all apps sold in the app store are not allowed to run in the background, so they couldn't change anything related to the orientation another app launches in. Does it work if you launch SMS while holding your phone in landscape mode?
__________________
www.thomashuntington.com

Political GPS - Track your Congress and Find Yourself.
Apple New and Noteworthy

Nightstand Central - Music Alarm Clock with Weather, Photos, and Sleep Timer
Apple Staff Favorite - Top 10 iPhone Paid Productivity, Top 5 Free iPad Overall
csnplt is offline   Reply With Quote
Old 08-22-2009, 12:36 PM   #3 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 8
Default

It currently is jailbroken, sadly I just bought it and didn't notice this right away.

So I was just wondering if I could ssh into it and maybe find the plist of the sms application and change it?
SephirothOS is offline   Reply With Quote
Old 08-22-2009, 01:40 PM   #4 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 211
Default

Quote:
Originally Posted by SephirothOS View Post
It currently is jailbroken, sadly I just bought it and didn't notice this right away.

So I was just wondering if I could ssh into it and maybe find the plist of the sms application and change it?
Wow, sorry to hear that. Maybe you should try to get your money back and get a new phone. Otherwise, though, your idea is very smart. Just SSH into the /Applications/ folder, go into the folder for Messages.app, or whatever the name is (I don't have an iPhone, so I don't know), and search there for info.plist, or Messages-info.plist. Download it to a folder on your computer. Write down it's permissions, also. Now, do you have a mac or a PC? Macs can read an info.plist file really easily, but I don't know about how to do it on a PC.

So, if you don't have a mac, try to find a friend with one or go to the library. Once you are on a Mac, try to open the file. If you don't see a bunch of <key></key> and <string>, then it is in binary format and needs to be converted into xml. You can use this website for that:

Binary &mdash; XML .plist converter - iAppCat

Once you have the XML info.plist file, open it up in TextEdit. Look for a Key that says "UIInterfaceOrientation". If it is there, change the value to "UIInterfaceOrientationLandscapeRight". If not, at the bottom, paste this in:

<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationLandscapeRight</string>

Now, convert it back to binary using the same website. You don't need to do this, I think, but you might as well. Then, SSH back into your iPhone and put it in the same place that you found it, with the same permissions as the old one. The messages app should now start up in landscape mode. If this doesn't work, tell me, but I hope it will.
__________________
www.thomashuntington.com

Political GPS - Track your Congress and Find Yourself.
Apple New and Noteworthy

Nightstand Central - Music Alarm Clock with Weather, Photos, and Sleep Timer
Apple Staff Favorite - Top 10 iPhone Paid Productivity, Top 5 Free iPad Overall
csnplt is offline   Reply With Quote
Old 08-22-2009, 03:43 PM   #5 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 8
Default

Awesome, I'll try that out. I have a Mac so it shouldn't be too difficult. I'll get back to you with responses. Too bad there wasn't just a cydia app I could download and install.

Thanks again and hopefully this won't take too long!
SephirothOS is offline   Reply With Quote
Old 08-22-2009, 04:33 PM   #6 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 8
Default

I found an info.plist in applications/mobileSMS.app

I added the code you told me to add and now the application doesn't even show up. The permissions and everything are the same too.
SephirothOS is offline   Reply With Quote
Old 08-22-2009, 04:46 PM   #7 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 8
Default

Here is the original file if you want to look at it.

MEGAUPLOAD - The leading online storage and file delivery service
SephirothOS is offline   Reply With Quote
Old 08-22-2009, 04:51 PM   #8 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 8
Default

Ahhhh, It works. Damn. Thank you very much. It will tilt back if turn it so that would be nice to edit and turn off but as of now this seems to be my best bet.

Thanks again!
SephirothOS is offline   Reply With Quote
Reply

Bookmarks

Tags
landscape, sms

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 259
17 members and 242 guests
ADY, Alsahir, dacapo, Dani77, Desert Diva, djohnson, F_Bryant, Grinarn, HemiMG, jansan, linkmx, M@realobjects, macquitzon216, prchn4christ, smethorst, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,882
Threads: 89,228
Posts: 380,762
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jansan
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:50 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0