Initial commit of "simple" example bundle.


git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@464985 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/simple/native/simple_bundle_foo_method.c b/simple/native/simple_bundle_foo_method.c
new file mode 100644
index 0000000..a684abe
--- /dev/null
+++ b/simple/native/simple_bundle_foo_method.c
@@ -0,0 +1,10 @@
+#include "org_apache_felix_simple_Activator.h"
+
+JNIEXPORT jstring JNICALL
+    Java_org_apache_felix_simple_Activator_foo
+        (JNIEnv *env, jobject obj)
+{
+    char *cstr = "Hello!";
+    jstring jstr = (*env)->NewStringUTF(env, cstr);
+    return jstr;
+}