android/tutorial2: De-SDKify everything a bit more
authorSebastian Dröge <sebastian@centricular.com>
Fri, 3 Jun 2016 13:33:29 +0000 (16:33 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 3 Jun 2016 13:33:29 +0000 (16:33 +0300)
TODO: The application icon

gst-sdk/tutorials/android-tutorial-2/AndroidManifest.xml
gst-sdk/tutorials/android-tutorial-2/jni/tutorial-2.c
gst-sdk/tutorials/android-tutorial-2/src/org/freedesktop/gstreamer/tutorials/tutorial_2/Tutorial2.java [moved from gst-sdk/tutorials/android-tutorial-2/src/com/gst_sdk_tutorials/tutorial_2/Tutorial2.java with 98% similarity]

index f3c6788..f7c34fe 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
-      package="com.gst_sdk_tutorials.tutorial_2"
+      package="org.freedesktop.gstreamer.tutorials.tutorial_2"
       android:versionCode="1"
       android:versionName="1.0">
     <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14"/>
index a525019..5fa780c 100644 (file)
@@ -266,7 +266,7 @@ jint JNI_OnLoad(JavaVM *vm, void *reserved) {
     __android_log_print (ANDROID_LOG_ERROR, "tutorial-2", "Could not retrieve JNIEnv");
     return 0;
   }
-  jclass klass = (*env)->FindClass (env, "com/gst_sdk_tutorials/tutorial_2/Tutorial2");
+  jclass klass = (*env)->FindClass (env, "org/freedesktop/gstreamer/tutorials/tutorial_2/Tutorial2");
   (*env)->RegisterNatives (env, klass, native_methods, G_N_ELEMENTS(native_methods));
 
   pthread_key_create (&current_jni_env, detach_current_thread);