Commit 5734224b authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Re-namespace Android tutorials for consistency

parent af2bcb35
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.gst_sdk_tutorials.tutorial_4"
package="org.freedesktop.gstreamer.tutorials.tutorial_4"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14"/>
......
......@@ -553,7 +553,7 @@ jint JNI_OnLoad(JavaVM *vm, void *reserved) {
__android_log_print (ANDROID_LOG_ERROR, "tutorial-4", "Could not retrieve JNIEnv");
return 0;
}
jclass klass = (*env)->FindClass (env, "com/gst_sdk_tutorials/tutorial_4/Tutorial4");
jclass klass = (*env)->FindClass (env, "org/freedesktop/gstreamer/tutorials/tutorial_4/Tutorial4");
(*env)->RegisterNatives (env, klass, native_methods, G_N_ELEMENTS(native_methods));
pthread_key_create (&current_jni_env, detach_current_thread);
......
......@@ -60,10 +60,10 @@
android:indeterminate="false" />
</LinearLayout>
<com.gst_sdk_tutorials.tutorial_4.GStreamerSurfaceView
<org.freedesktop.gstreamer.tutorials.tutorial_4.GStreamerSurfaceView
android:id="@+id/surface_video"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal" />
</LinearLayout>
\ No newline at end of file
</LinearLayout>
package com.gst_sdk_tutorials.tutorial_4;
package org.freedesktop.gstreamer.tutorials.tutorial_4;
import java.text.SimpleDateFormat;
import java.util.Date;
......
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.gst_sdk_tutorials.tutorial_5"
package="org.freedesktop.gstreamer.tutorials.tutorial_5"
android:versionCode="1"
android:versionName="1.0" >
......
......@@ -561,7 +561,7 @@ jint JNI_OnLoad(JavaVM *vm, void *reserved) {
__android_log_print (ANDROID_LOG_ERROR, "tutorial-5", "Could not retrieve JNIEnv");
return 0;
}
jclass klass = (*env)->FindClass (env, "com/gst_sdk_tutorials/tutorial_5/Tutorial5");
jclass klass = (*env)->FindClass (env, "org/freedesktop/gstreamer/tutorials/tutorial_5/Tutorial5");
(*env)->RegisterNatives (env, klass, native_methods, G_N_ELEMENTS(native_methods));
pthread_key_create (&current_jni_env, detach_current_thread);
......
......@@ -68,7 +68,7 @@
android:indeterminate="false" />
</LinearLayout>
<com.gst_sdk_tutorials.tutorial_5.GStreamerSurfaceView
<org.freedesktop.gstreamer.tutorials.tutorial_5.GStreamerSurfaceView
android:id="@+id/surface_video"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
......
......@@ -45,7 +45,7 @@ import android.widget.ListView;
import android.widget.SimpleAdapter;
import android.widget.TextView;
import com.gst_sdk_tutorials.tutorial_5.R;
import org.freedesktop.gstreamer.tutorials.tutorial_5.R;
/**
* Activity para escolha de arquivos/diretorios.
......
package com.gst_sdk_tutorials.tutorial_5;
package org.freedesktop.gstreamer.tutorials.tutorial_5;
import java.io.File;
import java.text.SimpleDateFormat;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment