ERROR: Application requires API version 2. Device API version is 1

by Mark Murphy » Fri, 29 May 2009 10:21:24 GMT

Sponsored Links
 > I have Android Dev 1 phone. I try to install my app to phone. But

Are you sure? You need to have the right minSdkVersion in the manifest.

Mark Murphy (a Commons Guy) 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!


Other Threads

1. Young girls showing off their bodies on personal webcams

Young girls showing off their bodies on personal {*filter*}s


more pictures & videos

THA MUTHA {*filter*}iN QU33N HAS ARRiV3D:



2. Defining a clipping region at auto-scaling from HVGA to WVGA

I have an application drawing objects onto a canvas in a surfaceview
using lockCanvas()/unlockCanvasAndPost(canvas), originally designed to
run in HVGA (480x320).

In the long run I intend to optimize it for other resolutions, however
for now I make use of the auto scaling feature of the framework, which
works somewhat acceptable. On my Nexus One, the canvas is upscaled to
the resolution of WVGA (800x480), but due to the different aspect
ratio a black region is present in the right hand part of the screen,
which is obviously inevitable.

In the application objects are entering the canvas from the right by
drawing them from the right canvas-edge to the left, and thus
extending the canvas and the screen. This approach works fine in HVGA,
but in WVGA the part of the objects extending the canvas (and screen)
now becomes visible in the black region. This is, as such, acceptable
except for the fact that this black region is not "cleared" between
each frame, and thus producing trailed "garbage" in this region.

Is it somehow possible to define that only what is inside the
(original) canvas should be drawn?


3. Istilah buat orang yang lagi "make" android

4. Acara Summer Camp Tabloid Pulsa

5. Strange timezone issue, when I set timezone to Alaska

6. Android temporary file

7. Good news for Droid fans?