android


Rewarded video ad resume method


I'm implementing rewarded video on an application in c++ on ios and android, but the crash happened only on android. It happens only sometimes, when it comes from background to foreground.
I got the message Abort message: 'rewarded_video::Initialize() must be called before this method.' on crash report, and I think it`s when the resume method from the rewarded video is called.
Does anybody knows if I have someway of knowing if resume is supposed to be called? Or should it be called whenever the app enters foreground?
Thanks in advance,
Felipe.
I found out what the problem was. My app on android was creating another instance when opened from another source, and that was causing the error message on the rewarded video.
I added android:launchMode="singleTask" on the manifest and it worked.

Related Links

Showing the current selection in a listview
Android File Transfer not working via XMPP and OpenFire
Resolution Google TV
Layout glitch with SurfaceView in Dialog
Android difficulty while running on Tablet Emulator‏
Android - getNetworkInterface and needed permissions
Send and receive images with aSmack on Android
Prevent screen lock on dimming/standby while using android app?
Is it possible to store all the application's data in sdcard?
Android notifying AsyncQueryListener
Using selectionArgs doesn't work in a query
Simultaneous rotation, translation, and scaling of bitmap in android canvas
How can I protect a .so I am embedding in my .apk file?
How to make an Android quiz app? [closed]
ImageView with rounded corners and inner shadow
Cropping an image using openCV Matrix using Android binaries

Categories

HOME
go
cygwin
grok
scikit-learn
fpga
gpu
3d
mips
pyqt4
regular-language
echo
crystal-lang
siddhi
why3
opengl-es-3.0
favicon
entitymanager
esoteric-languages
standards
red5
asp.net-mvc-viewmodel
bourbon
exit
mongoid6
scriptella
epsilon
tiki-wiki
google-cloud-print
corpus
failover
corenlp-server
autodesk-designautomation
eviews
code-snippets
getpixel
modalviewcontroller
arduino-ide
batching
google-knowledge-graph
sim-card
ods
gdata
kill
ogc
dynamic-linq
httrack
linter
user-defined-fields
podscms
singleinstance
subnet
gpg-signature
template-toolkit
restore
autosar
envi
appscale
riot
uiactionsheet
cortex-m
nupic
httpruntime.cache
phpgrid
character-replacement
dynamics-nav-2016
custom-errors
lazybones
microsoft-reporting
flock
intel-c++
sapscript
ansi
mraid
kubuntu
dot.js
execve
android-vibration
structuremap3
teaspoon
with-statement
parallel-testing
winginx
jquery-slider
paste
openargs
spring-3
mvc-editor-templates
joomla-template
mysql-error-2013
web-notifications
vfs
jdb
cgbitmapcontextcreate
strsep
codebase
nhprof
message-passing
tabpanel
google-wave
wysiwym

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App