Android Forums

Go Back   Android Forums > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
Reply
 
LinkBack Thread Tools Display Modes
Old 11-05-2008, 03:31 PM   #1
Junior Member
 
Join Date: Oct 2008
Posts: 8
Friends: 0
View lazygenius's Profile   View lazygenius's Photo Album   View lazygenius's Blog   View Social Groups
I am looking to develop an application for the G1 which will trigger an Activity when the phone is opened or closed. How can I get notification when the phone is opened to reveal the keyboard?

As an aside I also want to be able to set the screen orientation. I can do this for my Activity using setRequestedOrientation, but I want to control this system wide... ie. as if somebody has slid open the keyboard but I want to control it in my application. Possible at all?

I've been digging around the source code and can't find any leads. Would appreciate any help.


cheers
lazygenius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Reply With Quote
Reply

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Receiving XMLPullParserException errors, help appreciated baran_khan Android Development, Answers, Tutorials, and Code Snippets 1 10-08-2008 09:48 PM


Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 11:19 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2008 TalkAndroid.com. All rights reserved.