Blackberry ads on J2me GameCanvas
-
07-03-2021 - |
Question
I want to add blackberry ads on my GameCanvas
. But we can only show the Blackberry ads on Blackberry MainScreen
. Is there any way to show the ads on GameCanvas
?
Pas de solution correcte
Autres conseils
If Banner class is not final (I don't have API docs) I think you can try in this way:
- Create banner field object and resize it for your particular frame
- Create RIM graphics with corresponded size Bitmap
- Every Canvas repaint call paint of Banner field (it's protected so you need to extend Banner)
- Draw Bitmap pixel on your canvas particular frame
It's just idea. There could be other hidden required calls like simulate adding field to screen, call setVisible, etc. And I'm 90% sure that Banner is final.
So it's 90% impossible I think :)
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow