Android :: Home Screen Widget Support Auto Rotation
Mar 9, 2010
I am working on a home screen widget. I hope this widget can support auto rotation. For example, if the phone is in portrait mode, I want this home screen widget to be 2 cell * 2 cell on the home screen; if the phone is in landscape mode, I want this home screen widget changes be 3 cell * 1 cell on the home screen.
View 2 Replies
Nov 4, 2010
I have a TextView in my home screen widget. Can I use the following selector as the background of the TextView so the TextView can be highlighted when clicked? I know I can do it in Activity, but I am not sure about home screen widget.code...
View 1 Replies
View Related
Aug 16, 2010
Since the 2.2 update my screen auto rotation is horrible. When I want it upright, it goes sideways. WHen I hold the phone sideways, it flips the other way. Apps that I open seem to always start out sideways even when the phone is upright. I turn it around, nothing happens. If it does rotate back, it is so delayed you think it is not working. It never seems to be the direction I want it, getting very frustrating and annoying to keep flipping the damn phone around all the time to try to get it right. I sure hope the new FRG22 update, if it ever comes, can fix this problem. So far, 2.2, besides flash, has been a big disappointment for me.
View 27 Replies
View Related
Aug 24, 2010
I have an android application that I want to always be running in landscape mode.
I have the following code implemented to keep the app in landscape mode all the time:
inside my activity in the Application Manifest
android:screenOrientation="landscape"
This seems to launch and keep the application in landscape view for the whole duration of the application. Perfect!
However, if I have the app running on my HTC Aria (Android 2.1) and the phone locks, if I unlock the phone, I see the application for probably half a second and it's in portrait orientation and then quickly switches back to landscape mode. It is quite frustrating because all of my views are jumbled around and it looks unprofessional as you can imagine. This happens in both the emulator and on my real phone.
Does anyone know how to stop the application from temporarily rotating when the phone is unlocked?
I have tried overriding onConfigurationChanged() but with no success.
I have also tried putting setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); into the onResume() but the app still shows as the incorrect orientation for a split second when the phone is unlocked.
View 3 Replies
View Related
Nov 15, 2012
I've got a Samsung Galaxy III and have problems trying to view images in my gallery using the auto-rotate screen option and rather then having to manuallly press the rotate screen "icon" which does gets annoying. I just want to tilt my phone so the images can automatically change to portrait or landscape on its own depending what angle the phone tilts. I've ensure the auto-rotate screen is checked from Settings under Display and even tried unchecking it and checking it again as well as switching my phone on/off.
NOTE: That the auto-rotate screen option does work fine for me with everything else like watching videos, texting, internet browsing, music and even viewing the overall images in the gallery but when going in and viewing the pictures individually from either the Gallery or the Camera. All I've got is a rotate screen "icon" to press on manually each time I'd like the picture to be portrait and if I want landscape I have to press on the screen rotate icon again. I noticed the auto-rotate screen option doesn't work on my Home Screen and Lock Screen as well but that isn't the main issue.
I've been reading around and tried pulling out my battery on "Odin" mode, wait 30sec-1min then turn my phone on again and that didn't work. I've also did the same procedure and ensure I unchecked the auto-rotate screen option and checked it again after I turned on the phone. I tried the Gyroscope Caliberation option and calibrated it and that didn't work either. My sister has the same phone as me with the same version installed but she doesn't have this problem and I'm wondering if it's something to do with how my phone software's set up?
View 2 Replies
View Related
Aug 30, 2010
Does anyone know of a ROM that is Sense based and also includes a Home Screen Rotation ability?I know that LP can do this, but I value the Sense widgets more than resorting to LP.unless every single Sense widget could be replaced for under $15 total.
View 6 Replies
View Related
Aug 11, 2009
can I run my application and it will automatic add my application widget on home screen?how can I add widget from my activity?
View 2 Replies
View Related
Jun 12, 2010
How can we pass Android Home Screen Widget info ( putExtra maybe ) to an Activity.. What particular method callback will handle this one?
View 1 Replies
View Related
Mar 31, 2010
I am designing a home screen widget. I ran this widget on a HTC Hero device, which has a screen of 320 pixels * 480 pixels with mdpi. It ran perfect on HTC Hero. The widget takes 3 cells * 2 cells space, i.e. 240 pixels * 200 pixels.Then I ran this widget on a Nexus One device, which has a screen of 480 pixels * 800 pixels, mdpi. Since Nexus One also is mdpi, so I though 240dip is equivalent to 240 pixels on Nexus One and 200dip is equivalent to 200 pixels on Nexus One, so the widget will not take 3 cells * 2 cells space on Nexus One device. To my surprise, when running on Nexus One device, the widget take exact 3 cells * 2 cells, about 360 pixels * 300 pixels, on Nexus One device.I am confused. The layout xml above specifies 240dip in width and 200dip in height for the widget, but why did it take 360 pixels * 300 pixels on Nexus One Device? What am I missing?
View 2 Replies
View Related
Feb 21, 2010
This is more of an annoyance, but whenever I reply to a message off the home screen widget, it automatically defaults to the home number for that contact, instead of replying to the same (cell) number that it was sent from. If I go into the messaging app, it works as it should (replies to the same number).
View 2 Replies
View Related
Aug 20, 2009
I have a apk file, where i dont have the source for it.
When i run the apk, it automatically rotates the screen,
/WindowManager( 879): Setting rotation to 1, animFlags=0 I/WindowManager( 879): Config changed: { scale=1.0 imsi=0/0 locale=en_US touch=1 key=2/1/2 nav=3 orien=1 }
then after closing the application or coming out from the application,
I/WindowManager( 879): Setting rotation to 0, animFlags=0 I/WindowManager( 879): Config changed: { scale=1.0 imsi=0/0 locale=en_US touch=1 key=2/1/2 nav=3 orien=2 }
how to disable the rotation.
View 2 Replies
View Related
Mar 30, 2010
From Android widget screen guidelines,we know that, home screen has 4*4 cells, and in portrait orientation, each cell is 80 pixels wide by 100 pixels tall. I think these are for baseline HVGA screen. How about for large screens and hdpi screens, do they still have 4*4 cells for widget and each cell in portrait orientation is still 80 pixels * 100 pixels?
View 2 Replies
View Related
Jul 31, 2010
I want my phone to have the capability of rotating the home screen for landscape use in my car mount. But I do not want to go to another home screen replacement app, I want to keep Sense UI.Does anyone know of a ROM that will allow for this?
View 5 Replies
View Related
May 12, 2009
I'm the proud owner of the HTC Magic on Vodafone UK. I'm loving the Android.I have to say that after 5 days of owning this device I'm only left scratching my head on one point the auto-orientation of the home screen.I've seen videos of rooted G1's running the hacked 1.5 firmware and the recently posted video of the Samsung i7500 with the 1.5 firmware all CLEARLY show that when the device is on home screen, the desktop (read home screen) auto-rotates depending on the orientation of the device. The Samsung video shows it working in ALL FOUR orientations!This doesn't happen on my Magic . Flip the orientation in an application? Works fine. Flip it back in an application? Works fine. Do it on the home screen?Am I missing something? Is this a feature that is disabled in the offical 1.5 Cupcake release? If that's the case - fine with me. I'll stop scratching my head and move on.
View 9 Replies
View Related
May 28, 2010
I have somehow stopped my desire auto rotating to landscape on all screens and I have no idea how to resolve this. I have changed the view on the browser to always be in landscape just to sort out the problem however none of the other apps such as email and photos will rotate... If anyone can tell me where the setting is to restore this i would be very grateful. I have tried google and the user guide but just cant find it.
View 13 Replies
View Related
Oct 23, 2009
Is there any way we can rotate a video in Android (specially in Java layer) as it supports ino BREW or WM?
Also, how does the orientation change (portrait/landscape) is different than the video rotation?
View 3 Replies
View Related
Apr 30, 2010
It would be really cool if we can port over the 360 auto rotation from cyanogen on to behold II...
View 3 Replies
View Related
Feb 22, 2012
it is possible to code an app so that it does not rotate if/when the user rotates their device. I have built an app that is designed for portrait view only. When it is flips to landscape, it gets distorted. I have apps on my android that do not rotate when I try to rotate my device.
I am using Eclipse to make my app. I'm hoping it is something that I need to add to the manifest.
View 1 Replies
View Related
Sep 28, 2013
is there an auto hide home screen icons app like Auto hide desktop icons for PC? I found some but its not like i want. I want that the icons should stay hidden until i tap on the home screen.
View 2 Replies
View Related
Aug 30, 2010
Anyone run into an issue where auto-rotation stopped working?
I uninstalled 3 recently installed apps, but no dice.
Running ADW.Launcher, and it used to rotate fine until last night.
Uninstalled those 3 apps one at a time, with a reboot after each, and nothing.
Sure would hate to have to reinstall the phone from factory wipe...
I did go into ADW.Launcher and disable+enable auto-orientation. Also tried LauncherPro, same results: no rotation. Any apps out there to TEST the built-in sensors, like the orientation sensor?
View 9 Replies
View Related
Jan 17, 2010
Im just curious if anyone else has the same thing. when my droids all closed up and i rotate it to landscape with the keyboard closed and its on the homescreen .. it wont switch to landscape unless i open the keyboard OR i open an app. are they all like this?
View 7 Replies
View Related
Jul 31, 2010
Just got my hands on the SGS and I am really liking it... there is, however, one question... does anyone here experience issues with auto-rotation? For me - sometimes it works - sometimes it doesn't - and I find myself shaking the device to make it work (again - sometimes)... how does this sit with you? Does it ring a bell, or do I have a bad device?
View 6 Replies
View Related
Feb 28, 2010
Just curious about Android OS Auto-Rotation system, and how it matches up to competitors. Before anything I am NOT complaining, just a thought.
So everyone has seen how the Auto-Rotation is on iPhone, Palm Pre' and Android handsets, and I was curious... shouldnt Android phones be able to do this task just as smooth as iPhone and Palm Pre'? Bringing this to my thought was the app "Floating Image". The Auto-Rotation on the app is amazing, and that just shows me, and makes me wonder, why cant all the other apps have the AR as smooth as this? (Even the keyboard). The slow delaying fade away is kind of a drawback (to an extent) know that Im 100% Android is capable of doing over and beyond that.
View 11 Replies
View Related
Nov 21, 2010
This morning I installed update 2.17.61.2 and since then I've noticed a fault with the auto-rotation feature. For things such as internet, SMS inbox, email inbox etc. the screen view is stuck on landscape and will not auto-rotate back to portrait when I tilt the phone
Also I tried playing Teeter and the ball doesn't move no matter how much I tilt the phone. I've tried resetting the G-Sensor Calibration but it doesn't resolve the fault.
View 2 Replies
View Related
Nov 24, 2009
I've had my Hero (G2 T-Mobile UK) for about ten days and feel I made a great choice. However, I noticed today that the auto rotation functionality has stopped. I've checked it is selected in settings and have callibrated too but it no longer works. Also, from the standard music player I cannot get back to the album cover-flo display, only list views and current track etc. The original view of the installed album art you can flick through has gone - or at least I can't find my way back to it. I updated to latest firmware before using the phone and can only think that one of the apps I've loaded has messed up these features? The apps I got were all recommended ones from another thread somewhere so shouldn't be buggy but I did grab about six, one after the other which maybe the problem? The day after installing them I switched the phone on next day and got some kind of reboot screen?? Maybe the phone needs a soft/hard reset but will this wipe it and how do I do it - or should I delete my apps? Hope someone can help cos I love the phone and don't really want to do without these features.
View 11 Replies
View Related
Jan 28, 2012
Is there a way to only have an android device, specifically Acer Iconia A500 running 3.2.1, to only rotate horizontally and not vertically.
View 1 Replies
View Related
Jun 29, 2010
Im still looking for a widget to put my Incredible to sleep without pushing the power button. I am using No lock for the ability to use the touchpad to turn on but I hate using the power button to turn it off and leaving the screen on, even for 30 seconds, has to be draining the battery. (I am constantly on/off/on/off the phone throughout the day.)
I would like something I can put on the home screen that when touched, puts the phone to sleep. This will help save my power button in the long run as well. Ive searched and cant find anything.
View 15 Replies
View Related
Apr 26, 2010
What's everybody using for an RSS app? I'm using NetaShare. I really like it, but it's lacking a home screen widget - I sorta wrote about it as part of my top 5 favorites, but I'm wondering if there might be something better that allows you to download and store RSS content on your phone and has a home screen widget.
View 13 Replies
View Related
Aug 22, 2010
Are home screen "pages" exposed in the API? Can you instantiate and control them?
View 3 Replies
View Related
Sep 17, 2010
HI took a look at the home screen widget design recently and I tried to deploy a simple widget with 4x1 portrait background provided in Widget.I tried it in HVGA emulator (screen size 320x480 or something) and on Nexus One (screen size 480x800) and the widget seems to be the same size with respect to other UI elements (search widget etc) on both devices. How is that possible when one screen is 320px wide and the other one is 480px? Is the graphics in png format being automatically resized somehow based on screen width? If so, is it better to create the home screen widget graphics to make it perfectly fit to HVGA screen with 320px or is it better to create the graphics to fit the largest screen width possible so it would shrink itself on smaller screens (based on assumption shrinking an image is always better than magnifying it)?
View 2 Replies
View Related