Re-namespace Android tutorials for consistency

This commit is contained in:
Sebastian Dröge 2018-08-31 10:12:21 +03:00
parent af2bcb3572
commit 5734224b1e
11 changed files with 12 additions and 12 deletions

View 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_4"
package="org.freedesktop.gstreamer.tutorials.tutorial_4"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14"/>

View file

@ -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);

View file

@ -60,7 +60,7 @@
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"

View file

@ -1,4 +1,4 @@
package com.gst_sdk_tutorials.tutorial_4;
package org.freedesktop.gstreamer.tutorials.tutorial_4;
import android.content.Context;
import android.util.AttributeSet;

View file

@ -1,4 +1,4 @@
package com.gst_sdk_tutorials.tutorial_4;
package org.freedesktop.gstreamer.tutorials.tutorial_4;
import java.text.SimpleDateFormat;
import java.util.Date;

View 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_5"
package="org.freedesktop.gstreamer.tutorials.tutorial_5"
android:versionCode="1"
android:versionName="1.0" >

View file

@ -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);

View file

@ -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"

View file

@ -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.

View file

@ -1,4 +1,4 @@
package com.gst_sdk_tutorials.tutorial_5;
package org.freedesktop.gstreamer.tutorials.tutorial_5;
import android.content.Context;
import android.util.AttributeSet;

View file

@ -1,4 +1,4 @@
package com.gst_sdk_tutorials.tutorial_5;
package org.freedesktop.gstreamer.tutorials.tutorial_5;
import java.io.File;
import java.text.SimpleDateFormat;