In iOS, I can use Component::getNativeHandle() to get the UIView by (UIView*) casting. How do I achieve this on Android? What type should I cast to? Thanks.
Very much harder on Android - it's all JNI stuff. You'd need to dig into the actual native code to see what's going on there, I can't remember offhand.
Does JUCE implment Java activity or NativeActivity for component? Do I need to modify the JUCE souce code to achieve this feature?
Juce Activity is java. the raw handle will be an Android "View" object.