1*ac7df209SYuntao Xu /* 2*ac7df209SYuntao Xu * Copyright (C) 2010 The Android Open Source Project 3*ac7df209SYuntao Xu * 4*ac7df209SYuntao Xu * Licensed under the Apache License, Version 2.0 (the "License"); 5*ac7df209SYuntao Xu * you may not use this file except in compliance with the License. 6*ac7df209SYuntao Xu * You may obtain a copy of the License at 7*ac7df209SYuntao Xu * 8*ac7df209SYuntao Xu * http://www.apache.org/licenses/LICENSE-2.0 9*ac7df209SYuntao Xu * 10*ac7df209SYuntao Xu * Unless required by applicable law or agreed to in writing, software 11*ac7df209SYuntao Xu * distributed under the License is distributed on an "AS IS" BASIS, 12*ac7df209SYuntao Xu * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*ac7df209SYuntao Xu * See the License for the specific language governing permissions and 14*ac7df209SYuntao Xu * limitations under the License. 15*ac7df209SYuntao Xu */ 16*ac7df209SYuntao Xu 17*ac7df209SYuntao Xu #include <jni.h> 18*ac7df209SYuntao Xu 19*ac7df209SYuntao Xu extern "C" JNIEXPORT jboolean JNICALL Java_com_example_android_helloPDK_jni_HelloJniNative_isPDK(JNIEnv *,jobject)20*ac7df209SYuntao Xu Java_com_example_android_helloPDK_jni_HelloJniNative_isPDK( 21*ac7df209SYuntao Xu JNIEnv *, jobject) { 22*ac7df209SYuntao Xu return JNI_TRUE; 23*ac7df209SYuntao Xu } 24