Re: [android-developers] Display.getRotation() incompatible with accelerometer data

2011-06-14 Thread Marcin Mikosik
I exchanged emails with producer of this tablet and service person
acknowledged that's a bug in its firmware. They are not planning any
fixes/updates.
Based on that I claimed my money back in store where I originally bought
this device.


On Thu, Jun 9, 2011 at 10:45 AM, Marcin Mikosik marcin.miko...@gmail.comwrote:

 Yes, it has android market preinstalled. It also has google maps, youtube,
 gmail apps preinstalled.
 The package box it was sold in has android logo on every side.



Concerning GPS I misread Android 2.2 Compatibility Definition. It says
... each compatible device *should* provide GPS receiver Which means
that it is recommended not required to have GPS.


 I accidentally skimmed through Android 2.2 Compatibility Definition today
 and found out that each compatible device should provide GPS receiver - this
 device does not have one. I installed
 https://market.android.com/details?id=com.chartcross.gpstestfeature=search_result
  that
 works correctly on my Nexus-One but fails on go-clever s73 tab with
 force-close, message from logcat says:
 Caused by: java.lang.IllegalArgumentException: provider=gps
 E/AndroidRuntime( 2657): at
 android.os.Parcel.readException(Parcel.java:1251)
 ..


 I guess we are reaching conclusion that this device is not android
 compatible device which brings a few important questions:
 - How an ordinary user can make sure that a device she/he is going to buy
 is actually 'android compatible device'? Is it some kind of android logo on
 package box or some specific textual declaration from manufacturer? So far I
 thought that presence of android market is enough as one of its
 prerequisites is to pass CCD compatibility tests.
 - As this device contains android market but fails to implement android API
 it will inevitably cause many of its users to rate low many applications
 that won't work correctly on such devices. How is google protecting
 developers/users from such situations?

 thanks
 marcin


 On Wed, Jun 8, 2011 at 9:36 AM, Dianne Hackborn hack...@android.comwrote:

 Are you sure this is an actual Android compatible device?  Does it have
 Market on it (and thus compatible per the CDD)?  If not, there is no telling
 what kinds of incompatibilities there are.


 On Tue, Jun 7, 2011 at 10:44 PM, Marcin Mikosik marcin.miko...@gmail.com
  wrote:

 *
 GoClever tab s73 *
 http://www.goclever.com/en/tablet/360-GOCLEVER-TAB-S73-.html
 Model number: MID_Serails
 Android version 2.2
 Kernel version: 2.6.32.9 MID Serials #1518 Wed Apr 6 16:09:52 CST 2011
 Build Number: MID Serilas 2.2 FRF91 20110402.171535


 On Wed, Jun 8, 2011 at 5:10 AM, Dianne Hackborn hack...@android.comwrote:

 Which device is this?

 On Tue, Jun 7, 2011 at 1:32 AM, Marcin Mikosik 
 marcin.miko...@gmail.com wrote:

 Hi,

 I'm experimenting with newly bought android tablet and found out that
 android API it provides does not comply with android API
 documentation/specification.
 Specifically Display.getRotation() and Accelerometer readings returns
 values that contradicts each other.

 For example:
 running application that has android:screenOrientation=landscape and
 quering Display.getRotation() returns Surface.ROTATION_0 which means this
 tablet is landscape-default device as described in
 http://android-developers.blogspot.com/2010/09/one-screen-turn-deserves-another.html

 Still, when running the same application and holding device in
 landscape orientation in front of me, I get accelerometer reading that 
 says
 something around: X=10, Y=0 which is clearly wrong because accelerometer
 coordinate system should be aligned with device default orientation
 (landscape in this case). According to blogpost mentioned above - when I
 keep device in its default-orientation (which is landscape in this case) I
 should get accelerometer reading X=0, Y=10.

 Can anybody suggest what's wrong here?
 Either my device is broken or its software has a bug or I misunderstood
 the API semantics (?)

 thanks
 Marcin

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 

Re: [android-developers] Display.getRotation() incompatible with accelerometer data

2011-06-09 Thread Marcin Mikosik
Yes, it has android market preinstalled. It also has google maps, youtube,
gmail apps preinstalled.
The package box it was sold in has android logo on every side.

I accidentally skimmed through Android 2.2 Compatibility Definition today
and found out that each compatible device should provide GPS receiver - this
device does not have one. I installed
https://market.android.com/details?id=com.chartcross.gpstestfeature=search_result
that
works correctly on my Nexus-One but fails on go-clever s73 tab with
force-close, message from logcat says:
Caused by: java.lang.IllegalArgumentException: provider=gps
E/AndroidRuntime( 2657): at
android.os.Parcel.readException(Parcel.java:1251)
..


I guess we are reaching conclusion that this device is not android
compatible device which brings a few important questions:
- How an ordinary user can make sure that a device she/he is going to buy is
actually 'android compatible device'? Is it some kind of android logo on
package box or some specific textual declaration from manufacturer? So far I
thought that presence of android market is enough as one of its
prerequisites is to pass CCD compatibility tests.
- As this device contains android market but fails to implement android API
it will inevitably cause many of its users to rate low many applications
that won't work correctly on such devices. How is google protecting
developers/users from such situations?

thanks
marcin


On Wed, Jun 8, 2011 at 9:36 AM, Dianne Hackborn hack...@android.com wrote:

 Are you sure this is an actual Android compatible device?  Does it have
 Market on it (and thus compatible per the CDD)?  If not, there is no telling
 what kinds of incompatibilities there are.


 On Tue, Jun 7, 2011 at 10:44 PM, Marcin Mikosik 
 marcin.miko...@gmail.comwrote:

 *
 GoClever tab s73 *
 http://www.goclever.com/en/tablet/360-GOCLEVER-TAB-S73-.html
 Model number: MID_Serails
 Android version 2.2
 Kernel version: 2.6.32.9 MID Serials #1518 Wed Apr 6 16:09:52 CST 2011
 Build Number: MID Serilas 2.2 FRF91 20110402.171535


 On Wed, Jun 8, 2011 at 5:10 AM, Dianne Hackborn hack...@android.comwrote:

 Which device is this?

 On Tue, Jun 7, 2011 at 1:32 AM, Marcin Mikosik marcin.miko...@gmail.com
  wrote:

 Hi,

 I'm experimenting with newly bought android tablet and found out that
 android API it provides does not comply with android API
 documentation/specification.
 Specifically Display.getRotation() and Accelerometer readings returns
 values that contradicts each other.

 For example:
 running application that has android:screenOrientation=landscape and
 quering Display.getRotation() returns Surface.ROTATION_0 which means this
 tablet is landscape-default device as described in
 http://android-developers.blogspot.com/2010/09/one-screen-turn-deserves-another.html

 Still, when running the same application and holding device in landscape
 orientation in front of me, I get accelerometer reading that says something
 around: X=10, Y=0 which is clearly wrong because accelerometer coordinate
 system should be aligned with device default orientation (landscape in this
 case). According to blogpost mentioned above - when I keep device in its
 default-orientation (which is landscape in this case) I should get
 accelerometer reading X=0, Y=10.

 Can anybody suggest what's wrong here?
 Either my device is broken or its software has a bug or I misunderstood
 the API semantics (?)

 thanks
 Marcin

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, 

Re: [android-developers] Display.getRotation() incompatible with accelerometer data

2011-06-08 Thread Dianne Hackborn
Are you sure this is an actual Android compatible device?  Does it have
Market on it (and thus compatible per the CDD)?  If not, there is no telling
what kinds of incompatibilities there are.

On Tue, Jun 7, 2011 at 10:44 PM, Marcin Mikosik marcin.miko...@gmail.comwrote:

 *
 GoClever tab s73 *
 http://www.goclever.com/en/tablet/360-GOCLEVER-TAB-S73-.html
 Model number: MID_Serails
 Android version 2.2
 Kernel version: 2.6.32.9 MID Serials #1518 Wed Apr 6 16:09:52 CST 2011
 Build Number: MID Serilas 2.2 FRF91 20110402.171535


 On Wed, Jun 8, 2011 at 5:10 AM, Dianne Hackborn hack...@android.comwrote:

 Which device is this?

 On Tue, Jun 7, 2011 at 1:32 AM, Marcin Mikosik 
 marcin.miko...@gmail.comwrote:

 Hi,

 I'm experimenting with newly bought android tablet and found out that
 android API it provides does not comply with android API
 documentation/specification.
 Specifically Display.getRotation() and Accelerometer readings returns
 values that contradicts each other.

 For example:
 running application that has android:screenOrientation=landscape and
 quering Display.getRotation() returns Surface.ROTATION_0 which means this
 tablet is landscape-default device as described in
 http://android-developers.blogspot.com/2010/09/one-screen-turn-deserves-another.html

 Still, when running the same application and holding device in landscape
 orientation in front of me, I get accelerometer reading that says something
 around: X=10, Y=0 which is clearly wrong because accelerometer coordinate
 system should be aligned with device default orientation (landscape in this
 case). According to blogpost mentioned above - when I keep device in its
 default-orientation (which is landscape in this case) I should get
 accelerometer reading X=0, Y=10.

 Can anybody suggest what's wrong here?
 Either my device is broken or its software has a bug or I misunderstood
 the API semantics (?)

 thanks
 Marcin

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Display.getRotation() incompatible with accelerometer data

2011-06-08 Thread emaildevbr . stress


Sent from my Verizon Wireless Phone

-Original message-
From: Dianne Hackborn hack...@android.com
To: android-developers@googlegroups.com
Sent: Wed, Jun 8, 2011 00:11:51 GMT-03:00
Subject: Re: [android-developers] Display.getRotation() incompatible with 
accelerometer data

Which device is this?

On Tue, Jun 7, 2011 at 1:32 AM, Marcin Mikosik marcin.miko...@gmail.com wrote:

Hi,
I'm experimenting with newly bought android tablet and found out that android 
API it provides does not comply with android API documentation/specification.
Specifically Display.getRotation() and Accelerometer readings returns values 
that contradicts each other.
For example:running application that has android:screenOrientation=landscape 
and quering Display.getRotation() returns Surface.ROTATION_0 which means this 
tablet is landscape-default device as described 
in http://android-developers.blogspot.com/2010/09/one-screen-turn-deserves-another.html 

Still, when running the same application and holding device in landscape 
orientation in front of me, I get accelerometer reading that says something 
around: X=10, Y=0 which is clearly wrong because accelerometer coordinate 
system should be aligned with device default orientation (landscape in this 
case). According to blogpost mentioned above - when I keep device in its 
default-orientation (which is landscape in this case) I should get 
accelerometer reading X=0, Y=10.

Can anybody suggest what's wrong here?Either my device is broken or its 
software has a bug or I misunderstood the API semantics (?)
thanksMarcin

-- 

You received this message because you are subscribed to the Google

Groups Android Developers group.

To post to this group, send email to android-developers@googlegroups.com

To unsubscribe from this group, send email to

android-developers+unsubscr...@googlegroups.com

For more options, visit this group at

http://groups.google.com/group/android-developers?hl=en

-- 
Dianne Hackborn
Android framework engineer

hack...@android.com

Note: please don't send private questions to me, as I don't have time to 
provide private support, and so won't reply to such e-mails.  All such 
questions should be posted on public forums, where I and others can see and 
answer them.

-- 

You received this message because you are subscribed to the Google

Groups Android Developers group.

To post to this group, send email to android-developers@googlegroups.com

To unsubscribe from this group, send email to

android-developers+unsubscr...@googlegroups.com

For more options, visit this group at

http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Display.getRotation() incompatible with accelerometer data

2011-06-07 Thread Marcin Mikosik
Hi,

I'm experimenting with newly bought android tablet and found out that
android API it provides does not comply with android API
documentation/specification.
Specifically Display.getRotation() and Accelerometer readings returns values
that contradicts each other.

For example:
running application that has android:screenOrientation=landscape and
quering Display.getRotation() returns Surface.ROTATION_0 which means this
tablet is landscape-default device as described in
http://android-developers.blogspot.com/2010/09/one-screen-turn-deserves-another.html

Still, when running the same application and holding device in landscape
orientation in front of me, I get accelerometer reading that says something
around: X=10, Y=0 which is clearly wrong because accelerometer coordinate
system should be aligned with device default orientation (landscape in this
case). According to blogpost mentioned above - when I keep device in its
default-orientation (which is landscape in this case) I should get
accelerometer reading X=0, Y=10.

Can anybody suggest what's wrong here?
Either my device is broken or its software has a bug or I misunderstood the
API semantics (?)

thanks
Marcin

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Display.getRotation() incompatible with accelerometer data

2011-06-07 Thread Dianne Hackborn
Which device is this?

On Tue, Jun 7, 2011 at 1:32 AM, Marcin Mikosik marcin.miko...@gmail.comwrote:

 Hi,

 I'm experimenting with newly bought android tablet and found out that
 android API it provides does not comply with android API
 documentation/specification.
 Specifically Display.getRotation() and Accelerometer readings returns
 values that contradicts each other.

 For example:
 running application that has android:screenOrientation=landscape and
 quering Display.getRotation() returns Surface.ROTATION_0 which means this
 tablet is landscape-default device as described in
 http://android-developers.blogspot.com/2010/09/one-screen-turn-deserves-another.html

 Still, when running the same application and holding device in landscape
 orientation in front of me, I get accelerometer reading that says something
 around: X=10, Y=0 which is clearly wrong because accelerometer coordinate
 system should be aligned with device default orientation (landscape in this
 case). According to blogpost mentioned above - when I keep device in its
 default-orientation (which is landscape in this case) I should get
 accelerometer reading X=0, Y=10.

 Can anybody suggest what's wrong here?
 Either my device is broken or its software has a bug or I misunderstood the
 API semantics (?)

 thanks
 Marcin

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Display.getRotation() incompatible with accelerometer data

2011-06-07 Thread Marcin Mikosik
*
GoClever tab s73 *
http://www.goclever.com/en/tablet/360-GOCLEVER-TAB-S73-.html
Model number: MID_Serails
Android version 2.2
Kernel version: 2.6.32.9 MID Serials #1518 Wed Apr 6 16:09:52 CST 2011
Build Number: MID Serilas 2.2 FRF91 20110402.171535


On Wed, Jun 8, 2011 at 5:10 AM, Dianne Hackborn hack...@android.com wrote:

 Which device is this?

 On Tue, Jun 7, 2011 at 1:32 AM, Marcin Mikosik 
 marcin.miko...@gmail.comwrote:

 Hi,

 I'm experimenting with newly bought android tablet and found out that
 android API it provides does not comply with android API
 documentation/specification.
 Specifically Display.getRotation() and Accelerometer readings returns
 values that contradicts each other.

 For example:
 running application that has android:screenOrientation=landscape and
 quering Display.getRotation() returns Surface.ROTATION_0 which means this
 tablet is landscape-default device as described in
 http://android-developers.blogspot.com/2010/09/one-screen-turn-deserves-another.html

 Still, when running the same application and holding device in landscape
 orientation in front of me, I get accelerometer reading that says something
 around: X=10, Y=0 which is clearly wrong because accelerometer coordinate
 system should be aligned with device default orientation (landscape in this
 case). According to blogpost mentioned above - when I keep device in its
 default-orientation (which is landscape in this case) I should get
 accelerometer reading X=0, Y=10.

 Can anybody suggest what's wrong here?
 Either my device is broken or its software has a bug or I misunderstood
 the API semantics (?)

 thanks
 Marcin

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en