¡@

Home 

2014/10/16 ¤W¤È 08:18:02

android Programming Glossary: logi

Android : How to change Playback Rate of music using OpenSL ES

http://stackoverflow.com/questions/11094377/android-how-to-change-playback-rate-of-music-using-opensl-es

ANDROID_LOG_DEBUG OSLESMediaPlayer __VA_ARGS__ #define LOGI ... __android_log_print ANDROID_LOG_INFO OSLESMediaPlayer __VA_ARGS__..

Decoding Video using FFMpeg for android

http://stackoverflow.com/questions/11322952/decoding-video-using-ffmpeg-for-android

NULL if av_open_input_file pFormatCtx str NULL 0 NULL 0 LOGI Can't open file ' s' n str return 1 else LOGI File is opened.. 0 NULL 0 LOGI Can't open file ' s' n str return 1 else LOGI File is opened n LOGI File ' s' Codec s pFormatCtx filename.. open file ' s' n str return 1 else LOGI File is opened n LOGI File ' s' Codec s pFormatCtx filename pFormatCtx iformat name..

Can't include C++ headers like vector in Android NDK

http://stackoverflow.com/questions/4893403/cant-include-c-headers-like-vector-in-android-ndk

iostream #include vector #define LOG_TAG hellojni #define LOGI ... __android_log_print ANDROID_LOG_INFO LOG_TAG __VA_ARGS__..

access (faster polling) accelerometer via NativeActivity NDK

http://stackoverflow.com/questions/8989686/access-faster-polling-accelerometer-via-nativeactivity-ndk

#include android looper.h #define TAG accelerondk #define LOGI ... __android_log_print ANDROID_LOG_INFO TAG __VA_ARGS__ #define.. sensorManager ASENSOR_TYPE_ACCELEROMETER LOGI accelerometerSensor s vendor s ASensor_getName accelerometerSensor.. event while ASensorEventQueue_getEvents queue event 1 0 LOGI aaaaaaa accelerometer X f y f z f event.acceleration.x event.acceleration.y..

Android : How to change Playback Rate of music using OpenSL ES

http://stackoverflow.com/questions/11094377/android-how-to-change-playback-rate-of-music-using-opensl-es

__VA_ARGS__ #define LOGD ... __android_log_print ANDROID_LOG_DEBUG OSLESMediaPlayer __VA_ARGS__ #define LOGI ... __android_log_print ANDROID_LOG_INFO OSLESMediaPlayer __VA_ARGS__ #define LOGW ... __android_log_print ANDROID_LOG_WARN..

Decoding Video using FFMpeg for android

http://stackoverflow.com/questions/11322952/decoding-video-using-ffmpeg-for-android

file const jbyte str str env GetStringUTFChars env filename NULL if av_open_input_file pFormatCtx str NULL 0 NULL 0 LOGI Can't open file ' s' n str return 1 else LOGI File is opened n LOGI File ' s' Codec s pFormatCtx filename pFormatCtx iformat.. env filename NULL if av_open_input_file pFormatCtx str NULL 0 NULL 0 LOGI Can't open file ' s' n str return 1 else LOGI File is opened n LOGI File ' s' Codec s pFormatCtx filename pFormatCtx iformat name Dump information about file onto standard.. av_open_input_file pFormatCtx str NULL 0 NULL 0 LOGI Can't open file ' s' n str return 1 else LOGI File is opened n LOGI File ' s' Codec s pFormatCtx filename pFormatCtx iformat name Dump information about file onto standard error LOGI dump_format..

Can't include C++ headers like vector in Android NDK

http://stackoverflow.com/questions/4893403/cant-include-c-headers-like-vector-in-android-ndk

string.h #include jni.h #include android log.h #include iostream #include vector #define LOG_TAG hellojni #define LOGI ... __android_log_print ANDROID_LOG_INFO LOG_TAG __VA_ARGS__ #define LOGE ... __android_log_print ANDROID_LOG_ERROR LOG_TAG..

access (faster polling) accelerometer via NativeActivity NDK

http://stackoverflow.com/questions/8989686/access-faster-polling-accelerometer-via-nativeactivity-ndk

string.h #include android sensor.h #include android log.h #include android looper.h #define TAG accelerondk #define LOGI ... __android_log_print ANDROID_LOG_INFO TAG __VA_ARGS__ #define LOGD ... __android_log_print ANDROID_LOG_DEBUG TAG __VA_ARGS__.. ASensorRef accelerometerSensor ASensorManager_getDefaultSensor sensorManager ASENSOR_TYPE_ACCELEROMETER LOGI accelerometerSensor s vendor s ASensor_getName accelerometerSensor ASensor_getVendor accelerometerSensor ASensorEventQueue.. has data process it now. if ident LOOPER_ID ASensorEvent event while ASensorEventQueue_getEvents queue event 1 0 LOGI aaaaaaa accelerometer X f y f z f event.acceleration.x event.acceleration.y event.acceleration.z so far i've been able..