On Oct 31, 6:00 pm, Dianne Hackborn hack...@android.com wrote:
I'll make this a little stronger -- the Display object is LOW LEVEL access
to the display.
snip /
(The Display object clearly needs a lot more documentation... but this is a
pretty low priority because, again, it really
Well the user who tested my old version and new version of the
orientation code was running a standard build of Android. I also know
at least one other user was also running standard 1.5 and not any
unofficial ROM.
Can anyone else shed any light on what may be causing this?
I cant believe this
Well Niko that may be true but it doesn't change the fact that it
works fine on an HTC Hero and some G1 Magic phones.
It should either work or not, having your application work fine on
some devices and break on other devices is rediculous and its getting
annoying now.
iPhone here I come :(
On
Okay can I just summarise my problem as I believe it is an issue which
NEEDS to be addressed...
I have confirmation from five users who either have a HTC G1 or HTC
Magic who say my application works fine. However, I have had numerous
recent comments on the Market that the orientation of my
Okay can I just summarise my problem as I believe it is an issue which
NEEDS to be addressed...
I have confirmation from five users who either have a HTC G1 or HTC
Magic who say my application works fine. However, I have had numerous
recent comments on the Market that the orientation of my
Phy wrote:
I have confirmation from five users who either have a HTC G1 or HTC
Magic who say my application works fine. However, I have had numerous
recent comments on the Market that the orientation of my applications
interface is rotated 90 degrees on G1/Magic devices.
Do you have any
Hey Mark,
I have had one user contact me by email and he had the same issues
using the older version and the new version (using the orientation
code you supplied), so I can rule out that being the cause *I think*.
I *presume* it isn't a ROM issue as I have had 8-10 users leave
comments saying it
I wouldn't be surprised if these people are running Cyanogen mods.
People also had problems with my app when they did that. In my opinion
custom ROMS are trouble for developers.
-niko
On Nov 1, 6:31 pm, mscwd01 mscw...@gmail.com wrote:
Hey Mark,
I have had one user contact me by email and he
Hi Mark,
I added this to the activity tag in the manifest:
android:screenOrientation=sensor
Would that make any difference?
If I get it still doesn't work emails, i'll try your code.
Thanks
On Oct 31, 11:54 am, Mark Murphy mmur...@commonsware.com wrote:
mscwd01 wrote:
Hi,
I have had
mscwd01 wrote:
I added this to the activity tag in the manifest:
android:screenOrientation=sensor
Would that make any difference?
That changes the trigger. For devices with a keyboard (e.g., G1), by
default, an orientation change is triggered by sliding the keyboard, not
the accelerometer.
Okay this is getting really rather annoying now.
I have used both of the following methods of getting the screen
orientation and both do not work properly on different devices.
Method 1:
Display display = ((WindowManager) getSystemService
(WINDOW_SERVICE)).getDefaultDisplay();
int
Dianne, I have used the configuration to try and determine orientation
(see Method 2); however, this still fails on G1 and G2 devices. It
works on the HTC magic though.
If you could offer some other solution i'd be very appreciative
indeed ;)
On Oct 31, 6:00 pm, Dianne Hackborn
Sorry I meant works on the HTC Hero NOT magic ;)
On Oct 31, 6:11 pm, mscwd01 mscw...@gmail.com wrote:
Dianne, I have used the configuration to try and determine orientation
(see Method 2); however, this still fails on G1 and G2 devices. It
works on the HTC magic though.
If you could offer
mscwd01 wrote:
Okay this is getting really rather annoying now.
I have used both of the following methods of getting the screen
orientation and both do not work properly on different devices.
Method 1:
Display display = ((WindowManager) getSystemService
mscwd01 wrote:
Okay this is getting really rather annoying now.
I have used both of the following methods of getting the screen
orientation and both do not work properly on different devices.
Method 1:
Display display = ((WindowManager) getSystemService
Well then this is extremely confusing!
Firstly, thanks Mark for taking the time to test it.
The only other thing which could be wrong is how the coordinate system
is represented in each device. I draw to the screen once I have
remapped the coordinate system i.e.:
if(screenOrientation == 1) {
Wait-
YOu are remapping the coords after rotation? Well then that's where
the problem has to be, since clearly Mark has shown that the
getOrientation() works correctly
-niko
On Oct 31, 1:25 pm, mscwd01 mscw...@gmail.com wrote:
Well then this is extremely confusing!
Firstly, thanks Mark
17 matches
Mail list logo