Is it necessary to disable C++ exception handling when interfacing with android?

by Elvis Dowson » Wed, 24 Jun 2009 21:04:01 GMT

Sponsored Links
      is there any reason for disabling exception handling in library
code, such as ustl-1.0?

For example, ustl/uexception.cpp line 60

/// Writes the exception as text into stream \p os.
void exception::text_write (ostringstream& os) const
    try {
        string buf;
        info (buf);
        os << buf;
    } catch (...) {}

Best regards,



Other Threads

1. Getting a FileDescriptor from a Socket


The documentation for FileDescriptor says it is "The lowest-level
representation of a file, device, or socket".
I see that some classes like FileOutputStream and LocalSocket expose a
getFD(), but Socket doesn't.

How do you get at a true (INET) socket's fd ?

Alternatively, how do you get at the (private) SocketImpl member of
Socket named "impl" (this one exposes the fd) ?




2. Blank black screen while transiting to new activity.

Hi Folks,

I am facing a problem.In my application I have 3 actvities A,B,C which
i have declared as singleInstance.I have observed that for the
first time when I launch these activities(like A > B or B > C) there
is a  delay observed and  I see a black screen for a while.

I see in the blanch screen the header text that gets displayed is the
application name which i have given in the android

I amy unable to understand why this blank screen is observed? Experts
please comment on how to avoid it



3. Eclipse/Android environment issues

4. ContactsContract.RawContacts two entry get Inserted for single contact why so ?

5. Android Market, how do you manage license and piracy protection?

6. ContentProvider and query

7. Effect of copying assets in Internal memory?