|
2012-12-22
, 16:12
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#22
|
Not supported yet, but found JNI methods: Java_com_rovio_ka3d_MyRenderer_nativePause Java_com_rovio_ka3d_MyRenderer_nativeResume Java_com_rovio_ka3d_MyRenderer_nativeKeyInput Java_com_rovio_ka3d_MyRenderer_nativeInput Java_com_rovio_ka3d_MyRenderer_nativeResize Java_com_rovio_ka3d_MyRenderer_nativeUpdate Java_com_rovio_ka3d_MyRenderer_nativeDeinit Java_com_rovio_ka3d_MyRenderer_nativeInit Java_com_rovio_angrybirds_ExpandableAdWrapper_onExpandableAdWasHidden Java_com_rovio_angrybirds_ExpandableAdWrapper_onExpandableAdWillExpand Java_com_rovio_angrybirds_ExpandableAdWrapper_onExpandableAdRequestFailed Java_com_rovio_angrybirds_ExpandableAdWrapper_onExpandableAdReady Java_com_rovio_angrybirds_InterstitialAdWrapper_onInterstitialAdRequestCompleted Java_com_rovio_angrybirds_BannerAdWrapper_onBannerAdRequestCompleted Java_com_rovio_angrybirds_BannerAdWrapper_onBannerAdWasHidden Java_com_rovio_ka3d_AudioOutput_nativeMixData Java_com_rovio_ka3d_BokuPaymentProviderHandler_initFinished Java_com_rovio_ka3d_FortumoPaymentProviderHandler_initFinished Java_com_rovio_ka3d_BokuPaymentWrapper_paymentFinished Java_com_rovio_ka3d_FortumoPaymentWrapper_paymentFinished Java_com_rovio_ka3d_WebViewWrapper_urlLoadedCallback Java_com_rovio_ka3d_WebViewWrapper_callLuaFunction Java_com_rovio_ka3d_WebViewWrapper_linkClickedCallback
|
2012-12-22
, 17:12
|
Posts: 18 |
Thanked: 94 times |
Joined on Dec 2012
|
#23
|
compiled, copied but still printing Not supported yet and exited.
what can be wrong?
static int angrybirds_try_init(struct SupportModule *self) {self->priv->JNI_OnLoad = (jni_onload_t)LOOKUP_M("JNI_OnLoad");self->priv->native_init = (angrybirds_init_t)LOOKUP_M("ka3d_MyRenderer_nativeInit"); self->priv->native_resize = (angrybirds_resize_t)LOOKUP_M("ka3d_MyRenderer_nativeResize"); self->priv->native_input = (angrybirds_input_t)LOOKUP_M("ka3d_MyRenderer_nativeInput"); self->priv->native_update = (angrybirds_update_t)LOOKUP_M("ka3d_MyRenderer_nativeUpdate"); self->priv->native_pause = (angrybirds_pause_t)LOOKUP_M("ka3d_MyRenderer_nativePause"); self->priv->native_resume = (angrybirds_resume_t)LOOKUP_M("ka3d_MyRenderer_nativeResume"); self->priv->native_gpo = (angrybirds_gpo_t)LOOKUP_M("ka3d_MyRenderer_nativeGetPossibleOrientations"); self->priv->native_loadfromurl = (angrybirds_loadfromurl_t)LOOKUP_M("ka3d_MyRenderer_nativeLoadFromUrl"); self->priv->native_mixdata = (angrybirds_mixdata_t)LOOKUP_M("ka3d_AudioOutput_nativeMixData"); self->priv->native_deinit = (angrybirds_deinit_t)LOOKUP_M("ka3d_MyRenderer_nativeDeinit"); /* Overrides for JNIEnv_ */ self->override_env.CallObjectMethodV = JNIEnv_CallObjectMethodV; self->override_env.DeleteLocalRef = JNIEnv_DeleteLocalRef; self->override_env.CallVoidMethodV = JNIEnv_CallVoidMethodV; self->override_env.NewObjectV = JNIEnv_NewObjectV; return (self->priv->JNI_OnLoad != NULL &&self->priv->native_init != NULL && self->priv->native_resize != NULL && self->priv->native_input != NULL && self->priv->native_update != NULL && self->priv->native_pause != NULL && self->priv->native_resume != NULL && self->priv->native_gpo != NULL && self->priv->native_loadfromurl != NULL && self->priv->native_mixdata != NULL && self->priv->native_deinit != NULL); } static void angrybirds_init(struct SupportModule *self, int width, int height, const char *home) { MODULE_DEBUG_PRINTF("Module: Init(%i,%i,%s)\n",width,height,home); self->priv->myHome = strdup(home); global = GLOBAL_M;self->priv->JNI_OnLoad(VM_M, NULL);self->priv->native_init(ENV_M, GLOBAL_M, width, height, GLOBAL_M->env->NewStringUTF(ENV_M, home)); }
|
2012-12-22
, 17:38
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#24
|
[shlib] Found symbol: Java_com_rovio_ka3d_MyRenderer_nativeInit [shlib] Found symbol: Java_com_rovio_ka3d_MyRenderer_nativeResize [shlib] Found symbol: Java_com_rovio_ka3d_MyRenderer_nativeInput [shlib] Found symbol: Java_com_rovio_ka3d_MyRenderer_nativeUpdate [shlib] Found symbol: Java_com_rovio_ka3d_MyRenderer_nativePause [shlib] Found symbol: Java_com_rovio_ka3d_MyRenderer_nativeResume [shlib] Found symbol: Java_com_rovio_ka3d_AudioOutput_nativeMixData [shlib] Found symbol: Java_com_rovio_ka3d_MyRenderer_nativeDeinit [shlib] Found symbol: Java_com_rovio_ka3d_MyRenderer_nativeInit [shlib] Found symbol: Java_com_rovio_ka3d_MyRenderer_nativeResize Not supported yet, but found JNI methods: Java_com_rovio_ka3d_MyRenderer_nativePause Java_com_rovio_ka3d_MyRenderer_nativeResume Java_com_rovio_ka3d_MyRenderer_nativeKeyInput Java_com_rovio_ka3d_MyRenderer_nativeInput Java_com_rovio_ka3d_MyRenderer_nativeResize Java_com_rovio_ka3d_MyRenderer_nativeUpdate Java_com_rovio_ka3d_MyRenderer_nativeDeinit Java_com_rovio_ka3d_MyRenderer_nativeInit Java_com_rovio_angrybirds_ExpandableAdWrapper_onExpandableAdWasHidden Java_com_rovio_angrybirds_ExpandableAdWrapper_onExpandableAdWillExpand Java_com_rovio_angrybirds_ExpandableAdWrapper_onExpandableAdRequestFailed Java_com_rovio_angrybirds_ExpandableAdWrapper_onExpandableAdReady Java_com_rovio_angrybirds_InterstitialAdWrapper_onInterstitialAdRequestCompleted Java_com_rovio_angrybirds_BannerAdWrapper_onBannerAdRequestCompleted Java_com_rovio_angrybirds_BannerAdWrapper_onBannerAdWasHidden Java_com_rovio_ka3d_AudioOutput_nativeMixData Java_com_rovio_ka3d_BokuPaymentProviderHandler_initFinished Java_com_rovio_ka3d_FortumoPaymentProviderHandler_initFinished Java_com_rovio_ka3d_BokuPaymentWrapper_paymentFinished Java_com_rovio_ka3d_FortumoPaymentWrapper_paymentFinished Java_com_rovio_ka3d_WebViewWrapper_urlLoadedCallback Java_com_rovio_ka3d_WebViewWrapper_callLuaFunction Java_com_rovio_ka3d_WebViewWrapper_linkClickedCallback
|
2012-12-22
, 17:59
|
Posts: 18 |
Thanked: 94 times |
Joined on Dec 2012
|
#25
|
self->priv->native_gpo = (angrybirds_gpo_t)LOOKUP_M("ka3d_MyRenderer_nativeGetPossibleOrientations"); self->priv->native_gpo != NULL &&
self->priv->native_loadfromurl = (angrybirds_loadfromurl_t)LOOKUP_M("ka3d_MyRenderer_nativeLoadFromUrl"); self->priv->native_loadfromurl != NULL &&
|
2012-12-22
, 18:05
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#26
|
|
2012-12-22
, 18:20
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#27
|
|
2012-12-22
, 18:26
|
Posts: 18 |
Thanked: 94 times |
Joined on Dec 2012
|
#28
|
|
2012-12-22
, 18:47
|
|
Posts: 124 |
Thanked: 125 times |
Joined on Sep 2010
|
#29
|
I am not sure.. But those removed lines are not needed for my version either. They are basically just left over methods when I started working on this module and they were never needed. I will post updated version to git and front page where these methods are removed.
|
2012-12-22
, 19:07
|
Posts: 18 |
Thanked: 94 times |
Joined on Dec 2012
|
#30
|
Tags |
apkenv |
Thread Tools | |
|
what can be wrong?
Telegram | Openrepos | GitHub | Revolut donations