StackOverflow
lihenair
这个作者很懒,什么都没留下…
展开
-
error: base operand of ‘->’ has non-pointer type ‘JNIEnv’
转自:error: base operand of ‘->’ has non-pointer type ‘JNIEnv’Question:#include stdio.h>#include jni.h> JNIEnv* create_vm() { JavaVM* jvm; JNIEnv* env; JavaVMInitArgs args;转载 2014-03-27 16:05:08 · 9371 阅读 · 0 评论 -
如何在ContentProvider中使用COUNT()函数
最近在项目中需要使用COUNT()函数原创 2014-06-03 15:38:43 · 2355 阅读 · 0 评论 -
使用String.xml输入动态字符串
有时候需要动态更新字符串,如蓝牙收发原创 2014-06-03 16:19:48 · 1625 阅读 · 0 评论 -
如何一次性改变Android应用进出动画
转自:How to change all the activity transitions at once in Android application?Question:I know I can change activity transition using the following code right after startActivity() or finish()ac转载 2014-03-26 12:39:37 · 812 阅读 · 0 评论 -
ndk-build all Error: Cannot run program "ndk-build": Launching failed
转自:Android NDK and Cygwin configuration issueQuestion:I have a problem configuring my system for using the NDK over Windows. Those are the step I made:Installed cygwin.Downloaded the NDKAdde转载 2014-03-26 17:06:59 · 6505 阅读 · 0 评论 -
What is satellite information in data structures?
转自:What is satellite information in data structures?Question转载 2014-05-07 13:34:55 · 864 阅读 · 0 评论 -
Kill detached screen session
Kill detached screen session [closed]转载 2014-04-21 11:16:43 · 1670 阅读 · 0 评论 -
Parcelable vs Serializable
转自:http://www.developerphil.com/parcelable-vs-serializable/When starting on Android, we all learn that we cannot just pass object references to activities and fragments, we have to put those in an转载 2014-03-23 21:49:05 · 909 阅读 · 0 评论 -
How to use addr2line in Android
转自:How to use addr2line in AndroidQuestion:I am stuck with my app, as I am unable to debug as it is a multithreaded one and crashes with error SIGSEGV. I get lot of information from LogCat, whic转载 2014-03-24 15:07:01 · 1076 阅读 · 0 评论 -
Navigation Drawer从右侧划出
今天研究了一下NavagationDrawer,看了看Android的demo,draw转载 2014-04-15 16:19:01 · 4961 阅读 · 0 评论 -
接口与抽象类的不同
Main difference is methods of a Java interface are implicitly abstract and cannot have implementations. A Java abstract class can have instance methods that implements a default behavior.Variables d翻译 2014-10-13 22:27:28 · 651 阅读 · 0 评论