Are we going to see a cupcake update to the G1

by Ty » Wed, 29 Apr 2009 15:05:05 GMT


Sponsored Links
 I have seen lots of rumors about whether this will really happen or
not.  The problem I am having right now is I really cannot use any
'new' cupcake features if my customers can't use it.  If they do not
provide it to the G1, as other phones come out may have to maintain 2
versions of my app with completely different names.  This will screw
up my ratings, download count, etc.  Suck.

Ty

--~--~---------~--~----~------------~-------~--~----~



Are we going to see a cupcake update to the G1

by lbcoder » Wed, 29 Apr 2009 21:32:07 GMT


 The update is already out for the dream hardware. Just remains to be
seen if it will be provided to bootloader-locked devices. Probably
will -- there is a statement on the german tmobile web page that
suggests it will be in may.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Problem in crop image with android version 2.1

Hi all,

I m facing problem in crop image Activity. It give error when I pass
the image uri to the cropimage activity :

02-12 13:02:32.689: ERROR/AndroidRuntime(374): Uncaught handler:
thread main exiting due to uncaught exception
02-12 13:02:32.699: ERROR/AndroidRuntime(374):
java.lang.RuntimeException: Failure delivering result
ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://
media/external/images/media/12 }} to activity {com.abc/
com.abc.CameraActivity}: java.lang.SecurityException: Permission
Denial: starting Intent { act=android.intent.action.EDIT dat=content://
media/external/images/media/12 cmp=com.android.camera/.CropImage (has
extras) } from ProcessRecord{43b72040 374:com.abc/10028} (pid=374,
uid=10028) requires null
02-12 13:02:32.699: ERROR/AndroidRuntime(374): at
android.app.ActivityThread.deliverResults(ActivityThread.java:3314)
02-12 13:02:32.699: ERROR/AndroidRuntime(374): at
android.app.ActivityThread.handleSendResult(ActivityThread.java:3356)


Here is our code:
Intent i = new Intent("com.android.camera.action.CROP");
i.setClassName("com.android.camera",
"com.android.camera.CropImage");

if (data != null && data.getData() != null) {
i.setData(data.getData());
userImageUri = data.getData();
} else {
i.setData(userImageUri);
}

i.putExtra("noFaceDetection", false);
i.putExtra("outputX", CommonConstant.ICON_WIDTH);
i.putExtra("outputY", CommonConstant.ICON_HEIGHT);
i.putExtra("aspectX", CommonConstant.ASPECT_X);
i.putExtra("aspectY", CommonConstant.ASPECT_Y);
i.putExtra("scale", true);

ContentValues values = new ContentValues();
values.put(Media.TITLE, "User_t" + "_Image");
values.put(Media.BUCKET_ID, "User-T");
values.put(Media.BUCKET_DISPLAY_NAME, "image_t");
values.put(Media.IS_PRIVATE, 1);
userThumbnailUri = getContentResolver().insert(
Media.EXTERNAL_CONTENT_URI, values);
i.putExtra(MediaStore.EXTRA_OUTPUT, userThumbnailUri);
try {
startActivityForResult(i, CROP_IMAGE);

} catch (Exception e) {
Log.d("CROP ERROR", "Croping ERROR"+e.getMessage()+e);
}


And URI comes from following activity

intent = new Intent("android.intent.action.GET_CONTENT");
intent.setType("image/*");

startActivityForResult(intent, Get_IMAGE);


data.getData() gives result to crop image activity

Also this things work in android 1.6 but not in 2.1


Please help me out...

-- 

2. OpenGL lighting example?

Hi,

I'm having problems getting OpenGL lighting to work.  Right now I'm
playing with a grid of random
polygons.  I've assigned a material that I think should give a light
brown color to everything.
But what I'm seeing is everything is either mostly black or mostly
white most of the time, and there's
a narrow view of angles where I can see shades of my desired color
(and I am getting some correct-looking
shading, so it looks like the normals are at least partly right).  If
I had to guess, I'd say that I'm seeing only
a specular component, and no diffuse or ambient - even though I am
setting material only for diffuse and
ambient, and leaving specular at the default.

Here's some relevant bits:

                        global_ambient = FloatBuffer.allocate(4);
                        global_ambient.put(0.5f);
                        global_ambient.put(0.5f);
                        global_ambient.put(0.5f);
                        global_ambient.put(1.0f);

                        position = FloatBuffer.allocate(4);
                        position.put(10f);
                        position.put(10f);
                        position.put(10f);
                        position.put(1f);

                        gl.glEnable(GL10.GL_LIGHTING);
                        gl.glEnable(GL10.GL_LIGHT0);
                        gl.glLightfv(GL10.GL_LIGHT0, 
GL10.GL_AMBIENT_AND_DIFFUSE,
global_ambient);
                        gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_POSITION, 
position);
                [ ... ]
                float[] mycolor = { 0.8f, 0.7f, 0.6f, 1.0f };
                gl.glMaterialfv(GL10.GL_FRONT, GL10.GL_AMBIENT_AND_DIFFUSE, 
mycolor,
0);
                gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer);
                gl.glColorPointer(4, GL10.GL_FIXED, 0, mColorBuffer);
                gl.glNormalPointer(GL10.GL_FIXED, 0, mNormalBuffer);
                gl.glDrawElements(GL10.GL_TRIANGLES, 6*(GRID-1)*(GRID-1),
GL10.GL_UNSIGNED_SHORT, mIndexBuffer);

Any ideas on what might be wrong?  Is there any sample code that
covers this territory?

Incidentally, I couldn't get the FloatBuffer version of glMaterialfv
to work, my code kept crashing.

       tom

-- 

3. How to use com.android.gallery with an image in the .apk ?

4. read only time

5. how to set two colors Android list rows

6. crash in ListView.layoutChildren on display of onscreen keyboard

7. ANUSHKA'S THUNDER THIGHS FOR UUUUUU