Ziggeo / android-sdk-demo

Ziggeo's Android Client SDK 2.0
Apache License 2.0
8 stars 5 forks source link

android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? #15

Closed objectorientedperson closed 6 years ago

objectorientedperson commented 7 years ago

at android.app.ContextImpl.startActivity(ContextImpl.java:672) at android.app.ContextImpl.startActivity(ContextImpl.java:659) at android.content.ContextWrapper.startActivity(ContextWrapper.java:331) at com.ziggeo.androidsdk.Ziggeo.startRecorder(Ziggeo.java:465) at com.ziggeo.androidsdk.demo.FullscreenRecorderActivity.onCreate(FullscreenRecorderActivity.java:66)

3akat commented 7 years ago

Hi @objectorientedperson, thanks for reporting! Will check this soon.

3akat commented 7 years ago

@objectorientedperson Can you also tell steps to reproduce?

objectorientedperson commented 7 years ago

@3akat I just cloned the project to studio and run. It crashes at this line:

mZiggeo.startRecorder();

in FullscreenRecorderActivity

objectorientedperson commented 7 years ago

@3akat anything new?

3akat commented 7 years ago

Hi @objectorientedperson, the fix will be published today

3akat commented 7 years ago

@objectorientedperson please, check out the new version.