top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How we can understand which object finalize method we are calling in android

0 votes
333 views

As we know FinalizerDaemon is calling finalizer methods of GCs/Dead objects, so is it possible to show the classname of the finalized object?

posted Jul 23, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

You can modify the java source to show the class name , but as far as object is concerned .. may be u need to print the hashcode as well.

answer Jul 24, 2013 by anonymous
Similar Questions
0 votes

I write Android module in C++ using the Android Platform Development Kit to write middle-ware component like the Audio HAL.

I see in the NDK we can use exception, c++11 and RTTI, but I do not use the NDK but the "PDK". Everybody in my team say "PDK" do not support these but I do not find any AOSP documentation saying is not support and why.

I see in build/core/binary.mk there are a variable LOCAL_RTTI_FLAG we can define to "LOCAL_RTTI_FLAG := -frtti" to enable RTTI but there are no component using this except "external/icu4c/common/Android.mk" and "external/icu4c/i18n/Android.mk". Did this feature can be use or is just experimental ?

The only documentation I found about exception is in bionic/libc/docs/OVERVIEW.TXT, explain some problem we can have using exception with bionic. But I want to know, if is the only problem with C++ exception in Android?

I did not find anything about C++11 in AOSP, I do not find any "c++11" in Android.mk. Can you say me if we can use c++11?

+1 vote

I want to create a android app which can display currently opened tabs in android chrome app. Can anybody tell me is it possible ?

Can we get such details from chrome app. Any API's avaliable ? Please share the reference links if any which can help me to develop such an app.

...