Crash in CxBMCApp::StartActivity() - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: Android Development (https://forum.kodi.tv/forumdisplay.php?fid=184) +---- Thread: Crash in CxBMCApp::StartActivity() (/showthread.php?tid=172301) |
Crash in CxBMCApp::StartActivity() - garbear - 2013-08-29 I'm trying to launch the Google Play store with a prompt to install an app (e.g. com.google.android.apps.maps). Other JNI calls (like CXBMCApp::ListApplications()) succeed and return the expected data. Code: StartActivity("com.android.vending", "android.intent.action.VIEW", "", "market://details?id=com.google.android.apps.maps"); I added two breakpoints in XBMCApp.cpp: Code: bool CXBMCApp::StartActivity(const string &package, const string &intent, const string &dataType, const string &dataURI) The first time I run StartActivity(), nothing happens (both Breakpoint 1 and Breakpoint 2 are hit). The second time I run StartActivity(), Breakpoint 1is hit, then XBMC hangs for 5-20 seconds and then crashes back to the launcher (Breakpoint 2 is never hit). Any clues as to what is going on, or where I should continue my bughunt? |