Capture 3 Mega picture on Android master

by John Cola » Fri, 10 Apr 2009 06:39:35 GMT

Sponsored Links
 Hi all
I used the open source master version of 20090225.
I try to capture a 3 mega picture by Camera application, the picture
can be captured successfully but then camera application result
hanging and fail because of application no responding.

The normal behavior should be like this(It is success to test
capturing 320*240 picture)
Preview -> snap shot -> preview and diplay small icon on the left

However, if I change the resolution to 2048*1536 of 3M picture,
following is the abnormal behavior
Preview -> snap shot -> hang and result applicaion no response
Anyone know the reason?

I can browse the captured 3M picture in the gallery successfully, the
picture is correct.



Other Threads

1. Example Needed: a view containing a reference to its activity

> I have a custom view that needs a reference to the activity that

Your activity is probably already available in your View via getContext().

If not, adjust your custom View's constructor to take an Activity as the
first parameter, and hold onto that Activity in your View:

public class MyCustomView extends View {
  private Activity momma;

  MyCustomView(Activity momma) { // and possibly other parameters
    super(momma); // View requires a Context; Activity is a Context
    // other stuff here

Mark Murphy (a Commons Guy)
Android App Developer Books:


2. Can't Access a remote server from emulator.

I have an app that does a POST to a servlet and retrieves some data
from it.  This is working fine in my Dev enviornment on my local
machine via:

URL servletURL = new URL("");
HttpURLConnection servletConnection = (HttpURLConnection)

I am now trying to access a servlet on a remote server (which I host)
URL servletURL = new URL("http://<remote ip>/testServlet/test");
HttpURLConnection servletConnection = (HttpURLConnection)

However the connection times out and i cannot connect.  I am not
behind a proxy,I have disabled all firewalls and I have the correct
permissions in my manifest file. I also tried putting my app on my G2
too see if it was a problem with the emulator but I got the same
result.  Any ideas?

3. a strange problem about large screen on android 1.6

4. Emulator Problem: No emulated GSM ubuntu 9.04 x64

5. Real Life Push

6. how to get sdk version in program

7. Emulator Problem: No emulated GSM ubuntu 9.04 x64