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
 Hi,
      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
{
#if !PLATFORM_ANDROID
    try {
#endif
        string buf;
        info (buf);
        os << buf;
#if !PLATFORM_ANDROID
    } catch (...) {}
#endif
}


Best regards,

Elvis

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



Other Threads

1. Getting a FileDescriptor from a Socket

Hi,

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) ?

TIA,

-Alex



-- 

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
manifest.xml(android:label="@string/app_name")

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

Thanks,
Shekhar

-- 

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?