Need help with autorotate in app - G1 Apps and Games

Been looking around but its hard to find a answer, i've been trying to make an app just to learn with accelerometer support.. is there a way to disable android default auto rotate feature within your app? A big part of the app is shaking the phone and it keeps auto rotating which gets really annoying and messes things up.
Thanks
EDIT: Found solution for anyone interested you add
Code:
android:screenOrientation="portrait"
to your activity in the android manifest

Related

Manual rotate app?

I don't know if there is one already or if there is a way to do this but I have been wanting an app that allows me to rotate the screen when I want it not automatically. I find pretty annoying with auto rotate or if I want landscape I have to open the keyboard.
The ideal thing for me is to have the option stick in the notification bar and be able to toggle landscape mode. simalar to the app "bar control" I would gladly pay for this app if there isnt one out already.
no app out there likes this yet
droid sans tweak or ahome lite which is free and has auto rotate sorry goodluck

looking for an Auto Rotate App

Hi. I am looking for an app that enables Auto-Rotate for each application. for example if i select Messaging app the Auto-Rotate will be enable and when i exit the auto-enable is disable. I am sure that there was an app for that...but i lost it...does any remember the name of it??
So you want just the home screen not to rotate? I thought it was in settings/spare parts to not have the home screen rotate. Then you just have to enable rotation and move the phone 90*.
no..its like i can customize and decide which app should auto rotate....there was this app on market...but i forgot the name...
He means like going into each apps settings and deciding which Apps he wants to rotate and which e wants to stay in portrait no matter what the position of the phone is.
G1BRICKED said:
He means like going into each apps settings and deciding which Apps he wants to rotate and which e wants to stay in portrait no matter what the position of the phone is.
Click to expand...
Click to collapse
yea exactly...if anyone knows the name of that app..please post the name...thankx
geokuttan said:
yea exactly...if anyone knows the name of that app..please post the name...thankx
Click to expand...
Click to collapse
I am interested in this as well...
I know when I had the HD2, there was an app called 'BSB Tweaks' which lets you do exactly what you have said plus more.... I know that may not be of much help here though -sorry...
Now, I'm looking for the app also. I just had it and can not remember what it is.

Screen orientation in froyo

i hate the screen orientation is froyo. i hate that it turns to both sides left and right. i like it better in the 2.1 roms with only rotates to the left. is there anyway i can fix this and stay in froyo??
HELP!
Can't please everyone....
You have to wait for the source to be out for this to happen.
what possible reason do you not like this extra orientation option? you can still simply rotate to the same direction that you like.
My guess is that it makes it more difficult to use the phone when lying down on the couch or in bed.
This actually is one of the things I'm looking forward to the most on FroYo. For whatever reason, I hate using the phone in landscape mode when it's turned to the left.
'ADW. Launcher' in the market lets the orientation go to landscape. I just installed it and I'm having a blast with it. Check it out.
glwinkler said:
'ADW. Launcher' in the market lets the orientation go to landscape. I just installed it and I'm having a blast with it. Check it out.
Click to expand...
Click to collapse
I don't think this has anything to do with OP's issue.
And I'm going to agree with the OP - I don't really care for the full 270* rotation. Anytime that I want to use landscape, I'm going to want my right (dominant) hand to have easy access to the trackball. Also, as pfmiller mentioned, the 270* rotation makes it more awkward to use while in a reclined position. It definitely should be a setting configurable by the user, like in the CM 2.1 ROMs.
I love it with the 270degree Option.
I think you can disable it with spare parts, isn't it?
There are widgets on the market that can disable screen rotation easily.... but only works for some apps in 2.2. I just found out earlier today, FeedR keeps rotating even though I disabled rotate.
I agree with the OP. I would like the option to choose which autorotation method I want. I like to read in bed on my side and it is very uncomfortable with the new 270 degree system.
Sent from my Nexus One using XDA App
nxt said:
There are widgets on the market that can disable screen rotation easily.... but only works for some apps in 2.2. I just found out earlier today, FeedR keeps rotating even though I disabled rotate.
Click to expand...
Click to collapse
OP is not requiering to disable rotation, only 270deg rotation.
So that the left-rotation (landscape) will still work.
360 might also be good
try to mod something about that... but guess it's too dificult for me

App that Stops Home Screen Auto Rotation

Does anyone know of an application in which you can disable Auto-Rotation on just the Home Screen instead of disabling it altogether?
It disables the Auto-Rotation in all of your programs if you disable it in settings. This gets annoying if you go into your gallery.
Maybe there is a program that can change the auto rotation properties of specific apps.
Thanks for your help guys.
crecsky said:
Does anyone know of an application in which you can disable Auto-Rotation on just the Home Screen instead of disabling it altogether?
It disables the Auto-Rotation in all of your programs if you disable it in settings. This gets annoying if you go into your gallery.
Maybe there is a program that can change the auto rotation properties of specific apps.
Thanks for your help guys.
Click to expand...
Click to collapse
depends on what launcher you are using....what launcher are you using?
Beautiful widgets has a toggle widget for disabling/enabling auto rotation. But I'm pretty sure there's no app to apply rotation restrictions to specific apps. But search google and see if you can find anything. It also does depend on the launcher in some cases. Are you rooted, running 2.1/2.2/2.2.1 roms or anything?
This would be a great idea for someone to make into an app if it doesn't exist. I too would like to disable home screen rotation, but still be able to use the landscape keyboard and such in other apps without having to change the settings.
if you use a different launcher like launcher pro or adw, those settings are available to you. if you use froyo or gingerbread launcher, it doesnt rotate.
I guess I didn't make myself clear enough. I run the stock 2.2 launcher and I prefer it over LP and ADW. I know I am able to completely turn Auto-Rotate on or off, but I would just need it off for the home screen (maybe the browser and messaging too). It gets annoying turning it off and going into the gallery and not being able to view in landscape mode. I also don't want to have to continuously be toggling a widget or going into my settings. I'm rooted, and I assume such a program would require full permissions.
I guess it hasn't been made yet.
crecsky said:
I guess I didn't make myself clear enough. I run the stock 2.2 launcher and I prefer it over LP and ADW. I know I am able to completely turn Auto-Rotate on or off, but I would just need it off for the home screen (maybe the browser and messaging too). It gets annoying turning it off and going into the gallery and not being able to view in landscape mode. I also don't want to have to continuously be toggling a widget or going into my settings. I'm rooted, and I assume such a program would require full permissions.
I guess it hasn't been made yet.
Click to expand...
Click to collapse
stock 2.2 launcher? like the froyo launcher? or touchwiz?
We are in the Captivate thread, so... Touchwiz. It's the "stock" launcher of the Captivate.
Not that your question needed to be answered because it doesn't have any relation about what this thread is about.
If you're running 2.2, the pulldown menu at the top should have the auto rotation toggle in it. It's really not that much of a hassle. Swipe down. Disable. Swipe the menu closed. Carry on about your business. If there's an app or one gets created, it's always going to be running in the background no matter if you have the "disable app" to work with one app or forty apps, and it's just gonna be lurking there in the bushes, getting ready to take your battery from behind with no lube. No lube at all.
crecsky said:
We are in the Captivate thread, so... Touchwiz. It's the "stock" launcher of the Captivate.
Not that your question needed to be answered because it doesn't have any relation about what this thread is about.
Click to expand...
Click to collapse
wow. i apologize for trying to understand what you are running....you know, since 'STOCK' means different things around here....and it absolutely pertains to what this thread is about
carry on. sorry to be of some major burden to you....
Honestly, "stock" does have about 6 or 7 different meanings and implementations around here.
I dont know what you are necesarily refering to here, but what I would like is a widget or icon that I can put on my homescreen that would allow me to just move from auto sensor to portrait only for my homescreen, not the whole system. I know that it can be enabled through most launcher settings, like LP and ADW and GO Launcher, but if there were to be a shortcut to toggling this it would be awesome
Word to the wise. When asking other people a question you really want the answer to, don't act like an arrogant sob. Be it one sentence or an entire explanation. There taking time out to help you. Take me for instance. I was going to dig pretty hard for a solution to this partly for you and partly for a friend that likes stock over lp. But after reading all your posts you just come off as an obnoxious brat. Of the two of you Im only going to give the solution i find (if any) to one of you. Take a wild guess at who won't get it.
All I was getting at is he's asking these questions when I was just wondering if there was an app that would stop the home screen from auto rotating but leave everything else defaulting.
It's a simple question. It has nothing to do with running a different launcher, I already know LP and ADW do such a thing, but I don't want to use them. That's why I was asking.
I wasn't asking for a launcher, I was asking for a background app like "Keep the Lights on" or "Set CPU."
I'm sorry for coming off as "arrogant" or a "snob" but he's digging too deep, asking questions he doesn't need the answer to. As well, his questions came off kind of rude to me. That's probably why I responded the way I did.
Anyways: Simple app that stops home screen rotation.
Smart Rotator (SmartDog Studio HK) and Smart Auto-Rotate (Asteri Software) are possible solutions.
Enough of the Off Topic posts and rudeness, I will not tolerate it.
Also to solve the problem, not sure if this is available on the Captivate, there is an extra button you can enable in the Power Control widget that allows you to lock the screen vertically.

[Q] Quick camera (tasker, ICS, lockscreen)

A nice quick camera app is "quickest camera". Unfortunately with no camera button on the i9000 and a lock screen it takes about 10 seconds to respond and then usually the moment has gone.
The best I can do do far is to:
use Tasker to
sense when the phone is on it's left side (a gesture is another way)
disable the lock screen
...and then run quickest camera.
(the screen is automatically relocked)
However:
- this happens everytime you put the phone on it's side so no landscape mode
- setting a button combination like vol down + power only while in the lockscreen would be quicker and probably save battery but I only see buttons as a task not a context...
- quickest camera isn't that quick. An app thatdoes use any UI might be quicker
Related threads:
http://forum.xda-developers.com/showthread.php?t=1110775
http://forum.xda-developers.com/showthread.php?t=745787
Notes:
Don't seem to need the secure settings plugin anymore for this particular thing:
http://forum.xda-developers.com/showthread.php?t=1217767&page=2
A little intro to tasker: http://forum.xda-developers.com/showpost.php?p=14923270&postcount=55
A big thread on tasker:
http://forum.xda-developers.com/showthread.php?t=1110775&page=81
Ok... no responses.
Thinking laterally, any of the Gingerbread alternative unlock screens can do it but none afaik can maintain a pattern or code unlock as well as the quick camera.
Edit to avoid bump:
Its possible to set shake to camera but it costs a bit of battery. Personally I'd like it to only do this when lock screen is on but I can't get tasker to detect the lock screen... please throw me a bone
jago25_98 said:
Ok... no responses.
Thinking laterally, any of the Gingerbread alternative unlock screens can do it but none afaik can maintain a pattern or code unlock as well as the quick camera.
Edit to avoid bump:
Its possible to set shake to camera but it costs a bit of battery. Personally I'd like it to only do this when lock screen is on but I can't get tasker to detect the lock screen... please throw me a bone
Click to expand...
Click to collapse
I know this is really old... but having just started getting really into tasker I was kind of excited to respond. LOL.
So here's what I'd do, you CAN in the curent version of tasker detect if the screen is OFF and therefore it's presumed the lock would be activated... The way I currently run my tasker set up is off of variables. Basically the logic works like this "if the screen turns off... set the "@LockScreen" variable to "1". So your profile logic would be be... if "LockScreen" variable is 1 AND the phone is shaken, run this particular task (turn on the camera).
If you haven't figured this out yet, I hope this is helpful. Now I'm off to create a variant of this!
btate0121 said:
I know this is really old... but having just started getting really into tasker I was kind of excited to respond. LOL.
So here's what I'd do, you CAN in the curent version of tasker detect if the screen is OFF and therefore it's presumed the lock would be activated... The way I currently run my tasker set up is off of variables. Basically the logic works like this "if the screen turns off... set the "@LockScreen" variable to "1". So your profile logic would be be... if "LockScreen" variable is 1 AND the phone is shaken, run this particular task (turn on the camera).
If you haven't figured this out yet, I hope this is helpful. Now I'm off to create a variant of this!
Click to expand...
Click to collapse
Cheers!
I never did get it working so the feedback is much appreciated. I'll give it a go later

Categories

Resources