[android-developers] Regarding gcov using arm-eabi toolchain
Dear All, We have developed an application for which we would like to check the code coverage. We have used gcov available in android toolchain. In our Android.mk file we have added the following LOCAL_FLAGS and included the libgcov static library. LOCAL_CFLAGS:= -fprofile-arcs -ftest-coverage LOCAL_STATIC_LIBRARIES := libgcov We got some compilation issues which was resolved by copying the libgcov library from prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/android/libgcov.a using BUILD_PREBUILT make rules. The output executable size is also increased with this and in out folder was can see *.gcno files getting created. When we execute the test *.gcda files are generated on target but when we try to take the code coverage using lcov it is not generating the code coverage report. lcov --directory code_coverage/ --capture --output-file ./code_coverage.info genhtml -o code_coverage/ ./code_coverage.info We have tested the same setup with arm-linux toolchain and it works fine. Please provide some pointer which we can look into. Regards, Manish -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Camera button press fails to invoke BroadcastReceiver
Hi, I am trying to capture the camera button press event and get the image in my app. I have a broadcast receiver in my manifest with intent filter having action as defined below: receiver android:name=.broadcastreceiver.CameraClickBroadcastReceiver intent-filter action android:name=android.intent.action.CAMERA_BUTTON/ /intent-filter /receiver but when the camera button is pressed in emulator, the CameraClickBroadcastReceiver.onReceiver() method is not invoked. In this method i am starting an activity which is the home activity of my app. Please suggest. Thanks in advance!! Manish -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] TouchListener invoked twice
Hi All, I am facing a problem. I have implemented a touchlistener. i touch the button once but the listener is invoked twice. Please suggest. Thanks in advance. Manish Sharma -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en