Does anyone use the Browser on their G

by mike quinn » Thu, 12 Mar 2009 05:19:16 GMT

Sponsored Links
 Never had any issues with G1s browser and I use it regularly, use it on many
sites as I am a programmer and always researching different things.

On Wed, Mar 11, 2009 at 8:07 PM, Mattaku Betsujin <


Other Threads

1. Overloading Methods in AIDL

I'm getting an error when overloading methods in an AIDL file. It's
complaining that I'm trying to redefine the same method ("attempt to
redefine method send,"). The methods have different parameters, so it
seems like that should be ok. Has anyone else run into this problem
and/or does anyone know how to fix it? Here's my code:

package mypackage;

import mypackage.ICallback;

interface IRService {
    void regCallback(ICallback callback);
    void unregCallback(ICallback callback);

    //Error occurs here:
    int send(in Message message, in PeerInfo[] peers);
    int send(in Message message);


2. Avoiding the display of a picture taken by the camera


I want to take a picture from the camera and set it as the background
of my view, my preview is contained into this view.

When I call the method takePicture(null, null, mPictureCallback), the
picture is displayed in the preview. However I would like to avoid the
display of this picture because I set it as the background of the view
just after the onPictureTaken() method of mPictureCallback. Here is
the code of the Preview method below.

How can I do that ?

------------------ Begin --------------------->

class Preview extends SurfaceView implements SurfaceHolder.Callback
   private SurfaceHolder mHolder;
   private Camera mCamera;

   private static final int IMAGE_WIDTH = 350;
   private static final int IMAGE_HEIGHT = 270;

   private PictureCallback mPicCallback = new Camera.PictureCallback()

     public void onPictureTaken(byte[] data, Camera camera)
      Bitmap myPic = BitmapFactory.decodeByteArray( data,
     setBackgroundDrawable(new BitmapDrawable (myPic));

   Preview(Context context)
     // Install a SurfaceHolder.Callback so we get notified when the
     // underlying surface is created and destroyed.
     mHolder = getHolder();
     mHolder.setFixedSize(IMAGE_WIDTH, IMAGE_HEIGHT);

    public void surfaceCreated(SurfaceHolder holder)
      // The Surface has been created, acquire the camera and tell it
      // to draw.
      mCamera =;

    public void surfaceDestroyed(SurfaceHolder holder)
      // Surface will be destroyed when we return, so stop the
      // Because the CameraDevice object is not a shared resource,
it's very
      // important to release it when the activity is paused.
      mCamera = null;

    public void surfaceChanged(SurfaceHolder holder, int format, int
w, int h)
      // Now that the size is known, set up the camera parameters and
      // the preview.
      Camera.Parameters parameters = mCamera.getParameters();
      parameters.setPreviewSize(w, h);

---------------------- End -------------------------->

Any help would be appreciated.


3. capture local webpage/html doc as image thumbnail without opening the android website browser

4. Shared libraries versus Service

5. Animating ListView through api

6. TCP Connection Problem

7. Where persist data changes ?