android Programming Glossary: android_log_debug
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..
How To Get File In Assets From Android NDK http://stackoverflow.com/questions/13317387/how-to-get-file-in-assets-from-android-ndk assetDir NULL __android_log_print ANDROID_LOG_DEBUG Debug filename AAssetDir_close assetDir I am also using OSG...
Rotating a bitmap using JNI & NDK http://stackoverflow.com/questions/14398670/rotating-a-bitmap-using-jni-ndk #define LOG_TAG DEBUG #define LOGD ... __android_log_print ANDROID_LOG_DEBUG LOG_TAG __VA_ARGS__ #define LOGE ... __android_log_print ANDROID_LOG_ERROR..
How to cache bitmaps into native memory http://stackoverflow.com/questions/17900732/how-to-cache-bitmaps-into-native-memory #define LOG_TAG DEBUG #define LOGD ... __android_log_print ANDROID_LOG_DEBUG LOG_TAG __VA_ARGS__ #define LOGE ... __android_log_print ANDROID_LOG_ERROR..
JNI bitmap operations , for helping to avoid OOM when using large images [closed] http://stackoverflow.com/questions/18250951/jni-bitmap-operations-for-helping-to-avoid-oom-when-using-large-images #define LOG_TAG DEBUG #define LOGD ... __android_log_print ANDROID_LOG_DEBUG LOG_TAG __VA_ARGS__ #define LOGE ... __android_log_print ANDROID_LOG_ERROR..
Decoding audio via Android using FFMpeg http://stackoverflow.com/questions/6228008/decoding-audio-via-android-using-ffmpeg szfile NULL 0 NULL if res 0 __android_log_print ANDROID_LOG_DEBUG DEBUG_TAG RAH opening input failed with result d res return.. failed with result d res return file __android_log_print ANDROID_LOG_DEBUG DEBUG_TAG RAH getting stream info res av_find_stream_info pFormatCtx.. pFormatCtx if res 0 __android_log_print ANDROID_LOG_DEBUG DEBUG_TAG RAH getting stream info failed with result d res return..
access (faster polling) accelerometer via NativeActivity NDK http://stackoverflow.com/questions/8989686/access-faster-polling-accelerometer-via-nativeactivity-ndk TAG __VA_ARGS__ #define LOGD ... __android_log_print ANDROID_LOG_DEBUG TAG __VA_ARGS__ #define LOOPER_ID 1 #define SAMP_PER_SEC 100..
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 LOGV ... __android_log_print ANDROID_LOG_VERBOSE OSLESMediaPlayer __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..
How To Get File In Assets From Android NDK http://stackoverflow.com/questions/13317387/how-to-get-file-in-assets-from-android-ndk asset_manager images const char filename while filename AAssetDir_getNextFileName assetDir NULL __android_log_print ANDROID_LOG_DEBUG Debug filename AAssetDir_close assetDir I am also using OSG. I set the image as a texture to my shader with the following..
Rotating a bitmap using JNI & NDK http://stackoverflow.com/questions/14398670/rotating-a-bitmap-using-jni-ndk android bitmap.h #include cstring #include unistd.h #define LOG_TAG DEBUG #define LOGD ... __android_log_print ANDROID_LOG_DEBUG LOG_TAG __VA_ARGS__ #define LOGE ... __android_log_print ANDROID_LOG_ERROR LOG_TAG __VA_ARGS__ extern C JNIEXPORT jobject..
How to cache bitmaps into native memory http://stackoverflow.com/questions/17900732/how-to-cache-bitmaps-into-native-memory android bitmap.h #include cstring #include unistd.h #define LOG_TAG DEBUG #define LOGD ... __android_log_print ANDROID_LOG_DEBUG LOG_TAG __VA_ARGS__ #define LOGE ... __android_log_print ANDROID_LOG_ERROR LOG_TAG __VA_ARGS__ extern C JNIEXPORT jobject..
JNI bitmap operations , for helping to avoid OOM when using large images [closed] http://stackoverflow.com/questions/18250951/jni-bitmap-operations-for-helping-to-avoid-oom-when-using-large-images android bitmap.h #include cstring #include unistd.h #define LOG_TAG DEBUG #define LOGD ... __android_log_print ANDROID_LOG_DEBUG LOG_TAG __VA_ARGS__ #define LOGE ... __android_log_print ANDROID_LOG_ERROR LOG_TAG __VA_ARGS__ extern C JNIEXPORT jobject..
Decoding audio via Android using FFMpeg http://stackoverflow.com/questions/6228008/decoding-audio-via-android-using-ffmpeg DEBUG_TAG RAH28 Starting res av_open_input_file pFormatCtx szfile NULL 0 NULL if res 0 __android_log_print ANDROID_LOG_DEBUG DEBUG_TAG RAH opening input failed with result d res return file __android_log_print ANDROID_LOG_DEBUG DEBUG_TAG RAH getting.. ANDROID_LOG_DEBUG DEBUG_TAG RAH opening input failed with result d res return file __android_log_print ANDROID_LOG_DEBUG DEBUG_TAG RAH getting stream info res av_find_stream_info pFormatCtx if res 0 __android_log_print ANDROID_LOG_DEBUG DEBUG_TAG.. ANDROID_LOG_DEBUG DEBUG_TAG RAH getting stream info res av_find_stream_info pFormatCtx if res 0 __android_log_print ANDROID_LOG_DEBUG DEBUG_TAG RAH getting stream info failed with result d res return file __android_log_print ANDROID_LOG_DEBUG DEBUG_TAG..
access (faster polling) accelerometer via NativeActivity NDK http://stackoverflow.com/questions/8989686/access-faster-polling-accelerometer-via-nativeactivity-ndk accelerondk #define LOGI ... __android_log_print ANDROID_LOG_INFO TAG __VA_ARGS__ #define LOGD ... __android_log_print ANDROID_LOG_DEBUG TAG __VA_ARGS__ #define LOOPER_ID 1 #define SAMP_PER_SEC 100 i've changed to 120 even 10 but nothing happen void Java_azka_web_ndk_AcceleroNDKActivity_startMonitoring..
|