Android :: Forced Locale Resetted On Orientation Changes
Feb 24, 2010
I try to force the locale in my app to one the user specified. As this may be used to demonstrations, I want to change the language/locale in the app and not anytime for the whole device.
I looked around SO and tried to use every hint I found here. The result: I can restart my test activity with the new language, but if I change the orientation, the locale will always be reseted to the device one.
I uploaded a minimalistic project so you can reproduce my issue. Please ignore the shrinking of the UI, its not important :)
View 2 Replies
Aug 3, 2010
I manually installed the Froyo update this morning. According to features' reports this should give me a 270 rotation. However, after choosing Automatic Rotation in settings, I found that anything with primarily text input defaults to and locks in landscape orientation. This includes google search, email, gtalk and text messaging. I prefer reading my email in portrait, so I can see more than 3 of the emails at a time. And since my text input is calibrated in portrait, landscape is just annoying me.
View 1 Replies
View Related
May 14, 2009
I have created an activity for my game which handles all orientation changes by itself and has a fixed "portrait" layout. Actually it uses the accelerometer and is rendered using 2D canvas methods. If the level has been completed I show up a highscore dialog in which the user can enter his name. The dialog is floating above the underlying level screen which gets blurred out nicely. This generally works.
Problem is that the dialog does not get rotated if the orientation of the phone changes. So even if the keyboard is exposed the dialog is shown in portrait mode instead of landscape. I have tried to use an activity with dialog theme instead but the behavior didn't change. After several tries it seems that I have found the reason for this: Once there's an activity with fixed orientation in the activity stack then all subsequent activities keep this orientation, too. They will not react on orientation changes anymore (e.g. if the keyboard gets exposed).
After upgrading to 1.5 SDK the described behavior changed a little bit. Now at subactivities indead react on orientation changes like expected. However, the need to have an opaque background! That means that neither dialogs nor activities with dialog theme will work. Those will stick with the orientation of the underlaying activity. So my workaround is to first start a sub-activity with an opaque black background. This activity then shows my highscore dialog on top. It looks quite okay but I wonder if there's a better solution? Is it possible to show a dialog above a fixed portrait or landscape activity which automatically adapts to orientation changes?
View 3 Replies
View Related
Aug 19, 2010
I understand how to force a specific orientation per activity in the android manifest. I would like to know if it is possible to allow the keyboard to change orientation even though the activity(the layout really) must remain unchanged.
View 1 Replies
View Related
Jul 17, 2009
I have a problem with working with the ORIENTATION values of the SensorManager. I would like to have some kind of 360°-value which directly shows me if the phone is in normal portrait (0°), landscape, portrait turned around (180°) or anything in between. So I could have, for example, an arrow that points to the floor (like gravity would do with a plummet) all the time, no matter how I tilt (sidewards) the phone. I thought this would be easy, but I'm pretty confused at the moment.
First of all, the X value of the orientation-array seems to correspondent with how I turn the phone, BUT: if it's completely uprightly standing, this value is about 60° ... why not 0° (or 90°, 180°, 270°), as I would expect?
Second: The value resets if I turn the phone and Android automatically changes screen orientation. So both in Portrait and in Landscape mode it will be sth. like 60° when the phone is in a 0° angel in real world. I set "android:screenOrientation" to "landscape" but this doesn't help anything :/
I want the app NOT to change orientation when I turn the phone, but I want it to get a continuous orientation value when I tilt the phone.
View 4 Replies
View Related
Mar 23, 2010
Work pays for my phone and we are switching from Sprint to At&T. I just bought a Samsung Moment at the end of last year. I'm not real hip on getting an iPhone. It looks like I'm down to 2 choices: Nexus One and Motorola Backflip.So can you help me out here on pros and cons or what would work better for me? I don't know very much, or anything at all, about cell phones.
View 2 Replies
View Related
Aug 14, 2010
I have a list, and I want 'Next' and 'Previous' buttons at the bottom of the list. I've tried to make the ListAdapter for the list something other than simple_list_item_1, but Android won't let me. I keep getting '... can't be resolved'.
Now, simple_list_item_1 is some kind of magical unicorn that is impossible to find, so I can't change it.
How can I put my buttons on the screen?
View 1 Replies
View Related
Nov 27, 2010
Some of you might have seen my posts over the past few days indicating that I just rooted my phone a couple days ago.
Well, I began fooling around and I ALREADY caused a BIG PROBLEM!!
GOOD news is that I backed up and was able to recover using my Clockworkmod recovery option so I'm up and running.
Here's my problem...I installed Move2SD Enabler to free up some space on my phone and move apps to my SD card. I must have gotten a little overzealous and moved stuff I shouldn't have. I'm tried to be selective with what I moved but SOMETHING(s) I moved the phone apparently did not like.
What happened was I some shortcuts on my home screens yielded a message that the app "could not be found" or "was not installed." When I went to the app drawer, the apps I moved to the SD card were NOT showing up in the app drawer list. Then I launched "Manage Applications" the apps I moved on the SD card were listed but only with the package name (e.g., com.something.whatever) and with a generic dark-grey icon with a little "SD" in the bottom right corner. I could not launch any of the moved apps and also could not connect to the Market to reinstall!
Anyway, I fixed my problem with a Recovery.
What I want and feel I NEED to do now is to find All the apps I moved to the SD card and delete them so they do not cause a conflict (and, to just get them off my card).
Can someone tell me (1) where to find the apps I moved to the SD card?? and (2) how to find their location either using my computer (Mac) or Astro file manager so I can delete what I moved.
I am STABLE now and functioning with my backup...just what to get rid of the remnants that caused me problems!=
View 7 Replies
View Related
Apr 2, 2010
Just curious, if you have forced the 2.1 update will an OTA still be pushed to your phone? If so, should you accept it?
View 1 Replies
View Related
Jun 24, 2010
Locale is one of my faverate App, it can create situations specifying conditions under which your phone's settings should change. For example, your "At School" situation notices when your location condition is "77 Massachusetts Ave.," and changes your ringer volume setting to vibrate.
With Locale's advanced touch-screen interface, you'll be set up in no time. Quickly define locations that are important to you using a simple Google Maps interface.
If you think this is exactly what you are looking for, you can download it in the market
View 4 Replies
View Related
Dec 10, 2009
Usually people with problems are the the ones who post the most. I did not experance any problems after I forced the update. I was wondering of all who did not wait and forced the update. How many have problems Vs Don't?
View 20 Replies
View Related
Nov 6, 2009
been playing with the browser and every time i try to view cnn.com in its full glory the browser will automatically bring up m.cnn.com no matter how i type in cnn.com. anyone to fix this force to mobile webpage thing?
View 10 Replies
View Related
Oct 4, 2010
One of the reasons that I rooted my HTC Desire with OTA Froyo, was that I thought I could solve the issue of Forced closes. But now, though I am rooted with Unrevoked and running the latest AuraxTsense, I am still getting Forced close messages. It doesnt have any specificity. Sometimes it might be when I swipe to a Sense window, sometimes when I end call, at others, it might just be on invoking the menu and navigating it.
The forced closes I am referring to is "Android.process.acore has stopped unexpectedly", not any specific application forced closes. I have fixed permissions with ROM Manager using Busybox, but they don't seem to help.
I've heard of logcat logs. Am I on the right track in thinking that these are debug logs and may be used to track these errors.
View 4 Replies
View Related
Oct 4, 2010
Before my current setup I was using CyanogenMod and their custom version of LauncherPro. It had been updated with new icons, which were similar in shape to the defaults, but had much more detail and color/shading to give them a slight 3D effect.
Well, recently I switched to Dew's smoked glass ROM and was getting stuck in never ending loops with a message stating my current version of LauncherPro had "expired" and I had to finally remove it and DL the current app store version. Ok so thats fine, except its so boring now... function-wise its as awesome as ever but its just so BLAH.
I am looking for icon packs that I might be able to use with the new version of LP, but it seems none of them on the app store have preview images. I am trying to get it to look like this. If you know of a similar icon pack.
View 1 Replies
View Related
Feb 10, 2010
I have two quick questions.
If I forced the 2.0.1 update, will I still get the OTA Update for 2.1?
And the other, if I upgrade to 2.1, will the rooting procedure still work should I want to?
View 9 Replies
View Related
Nov 7, 2009
some of apps are being forced closed...gdocs, aknotepad, etc. Any ideas why? Very frustrating!
View 4 Replies
View Related
May 31, 2014
Noticing more Random Reboots and Forced Closes since the upgrade to Kit Kat?
Running stock Kit Kat on both Moto X and Nexus 7 (2013). Both were stable as a rock on JB. Now random reboots about once a week. FC's or hanging apps about every 2 or 3 days with heavy to moderate use. Its like Gingerbread all over again. Love the updated features and look. Don't care to much about the SD card stuff. Just missing the rock solid stability of JB.
View 5 Replies
View Related
Jun 15, 2009
Does anyone know how to get current locale in program?
View 3 Replies
View Related
Feb 15, 2010
My users can change the Locale within the app (they may want to keep their phone settings in English but read the content of my app in French, Dutch or any other language ...)
Why is this working perfectly fine in 1.5/1.6 but NOT in 2.0 anymore?
CODE:..........
The problem is that the MENU "shrinks" more and more everytime the user is going through the lines of code above ...
This is the Menu that gets shrunk:
CODE:.........
What should I do in API Level 5 to make this work again ?
HERE IS THE FULL CODE IF YOU WANT TO TEST THIS :
CODE:..............
AND HERE IS THE MANIFEST :
CODE:..........
THIS IS WHAT I FOUND :
<uses-sdk android:minSdkVersion="5" />
=> IT WORKS JUST FINE ...
<uses-sdk android:minSdkVersion="3" />
=> Menu shrinks every time you change the locale!
As I want to keep my application accessible for users on 1.5.
View 3 Replies
View Related
Jun 16, 2009
So there is Locale for all other countries/languages where apps are available but I can't set Locale for Spain/Spanish?
See Locale list: http://developer.android.com/reference/java/util/Locale.html
How can I get Locale.SPANISH so that I can set my app to spanish? res/ values-es
How can I find or create a Locale.SPANISH?
View 2 Replies
View Related
Dec 7, 2009
Does that just make too much sense to hope for? I'd love for my home screens to automatically change for qork, travel, weekends, nights, etc.
View 1 Replies
View Related
Jan 28, 2009
Is there any way to get rid of the the stupid red balloon locale icon that shows up in the notification bar? I can't stand having icons up there, its a pain to clear them.
View 3 Replies
View Related
Apr 17, 2010
I'm about to get my first Android phone and I'm wondering what your favorite alternative to Locale is? I'm seeing reviews that are less and less favorable and for a $10 app, it out to be darn amazing in my book.
View 21 Replies
View Related
Aug 2, 2009
I've been looking for this app:
Locale for Android
The website states that it can be downloaded over at Android Market but I can't find it anywhere.
View 7 Replies
View Related
Aug 19, 2010
I plan to go to verizon later today to see what they say, but i anticipate little to no help from them... so i decided to post this here. i tried the forced update to the stock 2.2 a couple weeks ago to no avail... kept getting this error every time i tried:
Assert failed : apply_patch_check (�MTD : Boot : 2504704 : 01da41148aa026a32848f609fa4b05403e:2875392
E:Error in /sd card/update.zip (Status 7)
Installation Aborted, so i decided to wait for the OTA update... had it waiting for me when i got up this morning... pressed install and let it go to work... came back 20 minutes later and it was still on the triangle w/ exclamation logo... so i let it sit longer... came back yet another 10 minutes later it was on the Motorola logo and just stayed there for about 5+ minutes (i let it sit for awhile to make sure it was done) so i took out the battery and restarted... and no update still "2.1 Update 1" now what do i do?
View 1 Replies
View Related
Aug 24, 2010
Why does the Inc have to be rooted in order to install Froyo? My Motodroid1 was able to install a leaked Froyo without having to root. Is there something more difficult in the software that the Inc uses or is it the actual leaked versions were never designed for an Incredible or what? I really don't understand why we seem to be lagging the Motodroid community in being able to install this. I'm sure someone has a perfectly good explanation and I obviously don't have a clue. I am a newbie with the Inc and I did love my Droid1 until it got run over and no replacements were available. I have to say that so far I am not that impressed with my Incredible. It's slimmer, I rarely used the slide out keyboard on the Droid 1-so I don't miss that, a few things seem to respond a little quicker, but overall I liked my old Droid1 better. The 2.2 I forced on the Droid was a huge improvement over 2.1. The 3d gallery glitches were gone, the mass updates were great, camera worked super. Battery life was always excellent, pics were clear, no dropped calls, always had a signal. Output volume to headphones was a little weak on a motorcycle but I solved that with a nice little pocket amp. I don't mean to knock our phones but... I never had to worry about battery life, poor signal strength,etc. And I miss the 3D gallery after the fix but I did find a thread here to help me install it in the Inc. When 2.2 gets here it should be a nice improvement but I wish battery life wasn't an issue and signal strength was better. I don't feel like spending some pretty good change for a high output battery.
View 6 Replies
View Related
Aug 21, 2010
I got the OTA 2.2 a day or so ago. I have discovered the app "voice searce" I then downloaded the app in the market. I then viewed the short intro and then I tried it out It took a while and I had to ask for help on this forum but finally I got it to sort of working. I decided to send a test text to my wife so I tapped on the app and once it loaded I said "send text to xxxxxxxxx" (my wife's name) "This is a test" After it read my voice I got a screen that looked like this to: xxxxxxxxxxxx (my wife's name as listed on my contact list)
message:This is a test I then tapped on the send button and then Sorry The application Voice Search(process.com.google.android.voicesearch) has stopped unexpectedly. Please try again.
I had tried this over and over again and I always get the same message.
View 1 Replies
View Related
Aug 9, 2010
Last week I forced the OTA 2.2 for droid and now my phone is almost unusable. It was "kinda laggy" right after the update but now it is a 2 second delay just to get numbers to type in on the dial pad. It makes me wish I had waited.
I did notice that EVERYTHING is starting in the background when I look at my task killer. If I kill everything then it runs smooth for maybe 30 secs before everything starts back up again.
Is my slowness being caused by this or is there something else I can do to make is usable again. I am really hoping that FRG22 fixes this major problem for me as I loved my droid before but almost want to toss it out the window now.
Kills me waiting 5-10 secs for handcent to even startup.
View 19 Replies
View Related
Aug 30, 2010
If I forced FRG01B will i receive FRG22 OTA?
View 1 Replies
View Related
Jul 8, 2010
I recently saw a thread about the forced 3g code for the n1. Basically the code keeps you from switching back and forth to edge. Anyone know how to remove the settings that enabling this code has added
View 2 Replies
View Related