Actual Galaxy Tab Displays Different Than Emulator - 5x5 Widgets?

by Matt M » Wed, 24 Nov 2010 06:36:20 GMT

Sponsored Links

I created a Galaxy Tab emulator using these instructions: 

When I install my 4x2 widget on the emulator it displays like it does
on a phone (full width, half the height). However I went to try it out
on an actual device in Best Buy and there it displayed as if there is
room for a 5th row and column. First of all, why is there this
discrepancy? Second, how would I create a 5x5 widget?

Thank you,



Re: Actual Galaxy Tab Displays Different Than Emulator - 5x5 Widgets?

by Mark Murphy » Wed, 24 Nov 2010 06:47:30 GMT


Their SDK add-on may not replace the stock Android emulator home
screen app with their own. I have not tried making a Galaxy Tab
emulator AVD.

You can try specifying a suitable dimension in your app widget
metadata that would calculate to 5x5 cells.

Mark Murphy (a Commons Guy)  |  | 

Warescription: Three Android Books, Plus Updates, One Low Price!


Sponsored Links

Other Threads

1. Open the mail go to top level income on next day


You Click the WEb Site and all
Next day your daiy income 100% go to top level


Thanks for your click


2. How to compensate for gravity reading in order to calculate velocity

I am trying to write a simple app that calculates velocity based on the
current acceleration (between sampling times).

I have no problem obtaining the device's acceleration from the
accelerometer, nor calculating the velocity based on the reading.

My question has to do with how to compensate for the fact that gravity (or
the normal to gravity) is always part of the force exerted on the device.

In other words if we were in space (or in microgravity), the device would
have 0 acceleration on each axis when at rest. Moving the device, would show
the corresponding acceleration and thus a simple calculation would derive
the velocity.

I read something about a Kalman filter to either low-pass or high-pass
filter the change of acceleration.

The only conclusion from that information was to use a high-pass filter to
recognize the gravity vector then subtract that vector from the total
acceleration vector.

Does anyone have any sample code that shows how to account for gravity to
obtain the net acceleration vector (once gravity is removed)?

Maybe I am looking at this from the wrong reference frame.

Should I instead use the GPS to obtain locations and calculate an average
velocity based on distance over time?

Maybe a combination of both?



3. Paying $50 for someone to design an application...

4. How can make Calendar in Android relate to my Gmail account?

5. Curl for android

6. How to display soft keyboard unlock screen for keyguard in cupcake

7. activity