```java
if (activity instanceof FragmentActivity) {
    showRateDialog((FragmentActivity) activity);
} 
```
I think it is better because not all developer use FragmentActivity even if SDK_INIT under HONEYCOMS.