android-ndk

Is it possible to intercept voice data during call?

时光怂恿深爱的人放手 提交于 2020-01-12 02:21:13
问题 I plan to develop Android application which will encrypt/decrypt voice data such that parties can communicate using secure channel. So the question is: how to intercept voice/audio data during GSM call? Is it possible or not? Should I use Android NDK or something else? 回答1: This is something that happens in the low level of the operating system. You wouldn't be able to access this information in the application level. I suggest that you look into VOIP like SipDroid. I bet you'll be able to

Is it possible to intercept voice data during call?

无人久伴 提交于 2020-01-12 02:21:13
问题 I plan to develop Android application which will encrypt/decrypt voice data such that parties can communicate using secure channel. So the question is: how to intercept voice/audio data during GSM call? Is it possible or not? Should I use Android NDK or something else? 回答1: This is something that happens in the low level of the operating system. You wouldn't be able to access this information in the application level. I suggest that you look into VOIP like SipDroid. I bet you'll be able to

configure a Qt5 5.7 application for Android with CMake

人盡茶涼 提交于 2020-01-12 01:28:15
问题 I've successfully configured and built some Qt5 applications for Android using CMake and this CMake utility. Everything worked fine until I switched from Qt5.6 to Qt5.7 . When I try to configure I get an CMake error which doesn't help me much: -- Configuring done CMake Error in CMakeLists.txt: No known features for CXX compiler "GNU" version 4.9. -- Generating done -- Build files have been written to: /path/to/build-dir I run CMake like this: ANDROID_SDK=/path/to/android-sdk-linux \ ANDROID

configure a Qt5 5.7 application for Android with CMake

痞子三分冷 提交于 2020-01-12 01:28:10
问题 I've successfully configured and built some Qt5 applications for Android using CMake and this CMake utility. Everything worked fine until I switched from Qt5.6 to Qt5.7 . When I try to configure I get an CMake error which doesn't help me much: -- Configuring done CMake Error in CMakeLists.txt: No known features for CXX compiler "GNU" version 4.9. -- Generating done -- Build files have been written to: /path/to/build-dir I run CMake like this: ANDROID_SDK=/path/to/android-sdk-linux \ ANDROID

configure a Qt5 5.7 application for Android with CMake

笑着哭i 提交于 2020-01-12 01:27:09
问题 I've successfully configured and built some Qt5 applications for Android using CMake and this CMake utility. Everything worked fine until I switched from Qt5.6 to Qt5.7 . When I try to configure I get an CMake error which doesn't help me much: -- Configuring done CMake Error in CMakeLists.txt: No known features for CXX compiler "GNU" version 4.9. -- Generating done -- Build files have been written to: /path/to/build-dir I run CMake like this: ANDROID_SDK=/path/to/android-sdk-linux \ ANDROID

NDK integration in Android studio

妖精的绣舞 提交于 2020-01-11 20:56:10
问题 Today I updated my android studio to 1.3 and I enter the NDK (android-ndk-r10e NDK version) path in local.properties (ndk.dir=C:\AndroidNDK\android-ndk-r10e\android-ndk-r10e) but I got this error. Error:Execution failed for task ':app:compileDebugNdk'. Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plugin. For details, see http://tools.android.com/tech-docs/new-build-system/gradle-experimental. Set "android.useDeprecatedNdk=true" in gradle

is there any ble api in Ndk

荒凉一梦 提交于 2020-01-11 13:13:31
问题 Can we use Ble hardware(Bluetooth low energy) direct from Ndk without any java interface. I am new to NDk. So I don't know about jni, or Ndk. I want to control the bluetooth hardware directly from native code , 回答1: NO and YES. NO: There is no BLE API in ndk. YES: You can talk to BT hardware from C code. In AOSP, look under <>/hardware/libhardware/include/hardware/ there are a bunch of headers. bluetooth.h defines the interface for Android's bluetooth module. Bluedroid implements it. You

is there any ble api in Ndk

此生再无相见时 提交于 2020-01-11 13:13:07
问题 Can we use Ble hardware(Bluetooth low energy) direct from Ndk without any java interface. I am new to NDk. So I don't know about jni, or Ndk. I want to control the bluetooth hardware directly from native code , 回答1: NO and YES. NO: There is no BLE API in ndk. YES: You can talk to BT hardware from C code. In AOSP, look under <>/hardware/libhardware/include/hardware/ there are a bunch of headers. bluetooth.h defines the interface for Android's bluetooth module. Bluedroid implements it. You

Unable to start the Android Virtual AVD device

那年仲夏 提交于 2020-01-11 10:55:28
问题 I have successfully installed the Android SDK and also linked the SDK Manager to the SDK path. Then I have created the AVD of API 8 and it's done. But while I am going to start the Virtual Device it's not started and gives me error like "@foo" can not started, commend line error , and also give me hint: open @foo for virtual device . What exactly is 'foo'? 回答1: Spaces may be contained in the installation path of Android SDK. You may move it under a path with no space in it. 来源: https:/

Can we detect which android application is using the microphone?

佐手、 提交于 2020-01-11 10:24:14
问题 Hello everyone i am new to android ndk and want to find two things: Can we detect whether the microphone is on or not? Can we detect which application is using the microphone? It would be good if anyone knows any idea how to do above through C or through android sdk. 回答1: 1. AudioManager am = Context.getSystemService(Context.AUDIO_SERVICE) am.isMicrophoneMute() But I don't know how to do it using NDK (and no one seems to know). AudioManager documentation 2. No you can't. And that is a