mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-15 11:55:32 +00:00
Re-namespace Android tutorials for consistency
This commit is contained in:
parent
af2bcb3572
commit
5734224b1e
11 changed files with 12 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<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:versionCode="1"
|
||||||
android:versionName="1.0">
|
android:versionName="1.0">
|
||||||
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14"/>
|
<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");
|
__android_log_print (ANDROID_LOG_ERROR, "tutorial-4", "Could not retrieve JNIEnv");
|
||||||
return 0;
|
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));
|
(*env)->RegisterNatives (env, klass, native_methods, G_N_ELEMENTS(native_methods));
|
||||||
|
|
||||||
pthread_key_create (¤t_jni_env, detach_current_thread);
|
pthread_key_create (¤t_jni_env, detach_current_thread);
|
||||||
|
|
|
@ -60,10 +60,10 @@
|
||||||
android:indeterminate="false" />
|
android:indeterminate="false" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<com.gst_sdk_tutorials.tutorial_4.GStreamerSurfaceView
|
<org.freedesktop.gstreamer.tutorials.tutorial_4.GStreamerSurfaceView
|
||||||
android:id="@+id/surface_video"
|
android:id="@+id/surface_video"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical|center_horizontal" />
|
android:layout_gravity="center_vertical|center_horizontal" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.gst_sdk_tutorials.tutorial_4;
|
package org.freedesktop.gstreamer.tutorials.tutorial_4;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.util.AttributeSet;
|
import android.util.AttributeSet;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.gst_sdk_tutorials.tutorial_4;
|
package org.freedesktop.gstreamer.tutorials.tutorial_4;
|
||||||
|
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<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:versionCode="1"
|
||||||
android:versionName="1.0" >
|
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");
|
__android_log_print (ANDROID_LOG_ERROR, "tutorial-5", "Could not retrieve JNIEnv");
|
||||||
return 0;
|
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));
|
(*env)->RegisterNatives (env, klass, native_methods, G_N_ELEMENTS(native_methods));
|
||||||
|
|
||||||
pthread_key_create (¤t_jni_env, detach_current_thread);
|
pthread_key_create (¤t_jni_env, detach_current_thread);
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
android:indeterminate="false" />
|
android:indeterminate="false" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<com.gst_sdk_tutorials.tutorial_5.GStreamerSurfaceView
|
<org.freedesktop.gstreamer.tutorials.tutorial_5.GStreamerSurfaceView
|
||||||
android:id="@+id/surface_video"
|
android:id="@+id/surface_video"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
|
@ -45,7 +45,7 @@ import android.widget.ListView;
|
||||||
import android.widget.SimpleAdapter;
|
import android.widget.SimpleAdapter;
|
||||||
import android.widget.TextView;
|
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.
|
* Activity para escolha de arquivos/diretorios.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.gst_sdk_tutorials.tutorial_5;
|
package org.freedesktop.gstreamer.tutorials.tutorial_5;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.util.AttributeSet;
|
import android.util.AttributeSet;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.gst_sdk_tutorials.tutorial_5;
|
package org.freedesktop.gstreamer.tutorials.tutorial_5;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
Loading…
Reference in a new issue