1.点击Button,在Button响应函数里调用setName(String_strName)把EditText里的字符串传到C++代码setName()中去。2·在C+.....showNameInAndroidJNI()实现了才干一同编译。本资料共包括以下附件:
Android_And_C\Android_And_C\bin\Crinson\Blog\mainWnd$1.class
Android_And_C\Android_And_C\bin\Crinson\Blog\mainWnd$2.class
Android_And_C\Android_And_C\bin\Crinson\Blog\mainWnd.class
Android_And_C\Android_And_C\bin\Crinson\Blog\R$attr.class
Android_And_C\Android_And_C\bin\Crinson\Blog\R$drawable.class
Android_And_C\Android_And_C\bin\Crinson\Blog\R$id.class
Android_And_C\Android_And_C\bin\Crinson\Blog\R$layout.class
Android_And_C\Android_And_C\bin\Crinson\Blog\R$string.class
Android_And_C\Android_And_C\bin\Crinson\Blog\R.class
Android_And_C\Android_And_C\bin\Android_And_C.apk
Android_And_C\Android_And_C\bin\classes.dex
Android_And_C\Android_And_C\bin\resources.ap_
Android_And_C\Android_And_C\gen\Crinson\Blog\R.java
Android_And_C\Android_And_C\jni\Android_to_C\Android.mk
Android_And_C\Android_And_C\jni\Android_to_C\Crinson_Blog_mainWnd.cpp
Android_And_C\Android_And_C\jni\Android_to_C\Crinson_Blog_mainWnd.h
Android_And_C\Android_And_C\jni\C_to_Android\Android.mk
Android_And_C\Android_And_C\jni\C_to_Android\crinson_jni.cpp
Android_And_C\Android_And_C\jni\C_to_Android\crinson_jni.h
Android_And_C\Android_And_C\jni\Android.mk
Android_And_C\Android_And_C\jni\Application.mk
Android_And_C\Android_And_C\libs\armeabi\libAndroid_to_C.so
Android_And_C\Android_And_C\libs\armeabi\libC_to_Android.so
Android_And_C\Android_And_C\res\drawable-hdpi\icon.png
Android_And_C\Android_And_C\res\drawable-ldpi\icon.png
Android_And_C\Android_And_C\res\drawable-mdpi\icon.png
Android_And_C\Android_And_C\res\layout\main.xml
Android_And_C\Android_And_C\res\values\strings.xml
Android_And_C\Android_And_C\src\Crinson\Blog\mainWnd.java
Android_And_C\Android_And_C\.classpath
(1. Click Button and call setName (String_strName) in the Button response function to transfer the string in EditText to the C code setName(). 2. Only when C ..... showNameInAndroidJNI() is implemented can it be compiled together. This document includes the following annexes:
Android_ And_ C\Android_ And_ C\bin\Crinson\Blog\mainWnd$1.class
Android_ And_ C\Android_ And_ C\bin\Crinson\Blog\mainWnd$2.class
Android_ And_ C\Android_ And_ C\bin\Crinson\Blog\mainWnd.class
Android_ And_ C\Android_ And_ C\bin\Crinson\Blog\R$attr.class
Android_ And_ C\Android_ And_ C\bin\Crinson\Blog\R$drawable.class
Android_ And_ C\Android_ And_ C\bin\Crinson\Blog\R$id.class
Android_ And_ C\Android_ And_ C\bin\Crinson\Blog\R$layout.class
Android_ And_ C\Android_ And_ C\bin\Crinson\Blog\R$string.class
Android_ And_ C\Android_ And_ C\bin\Crinson\Blog\R.class
Android_ And_ C\Android_ And_ C\bin\Android_ And_ C.apk
Android_ And_ C\Android_ And_ C\bin\classes.dex
Android_ And_ C\Android_ And_ C\bin\resources.ap_
Android_ And_ C\Android_ And_ C\gen\Crinson\Blog\R.java
Android_ And_ C\Android_ And_ C\jni\Android_ to_ C\Android.mk
Android_ And_ C\Android_ And_ C\jni\Android_ to_ C\Crinson_ Blog_ mainWnd.cpp
Android_ And_ C\Android_ And_ C\jni\Android_ to_ C\Crinson_ Blog_ mainWnd.h
Android_ And_ C\Android_ And_ C\jni\C_ to_ Android\Android.mk
Android_ And_ C\Android_ And_ C\jni\C_ to_ Android\crinson_ jni.cpp
Android_ And_ C\Android_ And_ C\jni\C_ to_ Android\crinson_ jni.h
Android_ And_ C\Android_ And_ C\jni\Android.mk
Android_ And_ C\Android_ And_ C\jni\Application.mk
Android_ And_ C\Android_ And_ C\libs\armeabi\libAndroid_ to_ C.so
Android_ And_ C\Android_ And_ C\libs\armeabi\libC_ to_ Android.so
Android_ And_ C\Android_ And_ C\res\drawable-hdpi\icon.png
Android_ And_ C\Android_ And_ C\res\drawable-ldpi\icon.png
Android_ And_ C\Android_ And_ C\res\drawable-mdpi\icon.png
Android_ And_ C\Android_ And_ C\res\layout\main.xml
Android_ And_ C\Android_ And_ C\res\values\strings.xml
Android_ And_ C\Android_ And_ C\src\Crinson\Blog\mainWnd.java
Android_ And_ C\Android_ And_ C\.classpath)
[下载]12245574373.rar
|