- UrQA android client sdk which is changed project for Eclipse into Android Studio
- SDK only checks the READ_LOGS permission to capture the log only below jellybean version
This is the client sdk for android application to report the crash to the UrQA server when the runtime exceptions or errors are occurred
- set the library version inside the below files
- update the variable of "SDKVersion" in "UrQA-Client-Android/app/src/main/java/com/urqa/common/StateData.java"
2. click Gradle on the right side of the IDE window, then The Gradle tasks panel appears
3. double-click the "UrQA-Profile-Client-Android/app/Tasks/other/exportJar" task
4. the build generates an jar library file named "file name.jar" in the "UrQA-Profiler-Client-Android/app/release” directory
5. release the jar file
- define the APP_STL as "gnustl_static" in the "UrQA-Profiler-Client-Android/app/src/main/jni/Application.mk"
- click Gradle on the right side of the IDE window, then The Gradle tasks panel appears
- double-click the "UrQA-Client-Android/app/Tasks/other/ndkBuild" task
- the build generates two static library files below in the directory of "UrQA-Client-Android/app/src/main/obj/local"
- armeabi/liburqanative.a
- armeabi-v7a/liburqanative.a
- rename two static library files as below
- armeabi/liburqanative_gnustl.a
- armeabi-v7a/liburqanative_gnustl.a
- define the APP_STL as "stlport_static" in the "UrQA-Client-Android/app/src/main/jni/Application.mk"
10. copy the directory of “UrQA-Client-Android/app/src/main/jni/header” 11. delete *.cc files in the directory and and all levels of subdirectories 12. create a zip archive of the below directory - armeabi - armeabi-v7a - header
13. release the zip file
-
join the site of 'http://ur-qa.com/urqa'
-
create a project by clicking the '+' button on the right side
-
download the lastest version of the UrQA client library
-
import the UrQA client library
- copy the library file in the libs folder. Make sure you are in the Project view mode (Top left corver of the Project window)
- Right click on the UrQA client library file and select the last option "Add as library" on the pop up window
-
Add the “Internet” and "READ_LOGS" permission to your manifest file to capture and upload the crash log data file to the server
-
write the code
- import com.urqa.clientinterface.URQAController
- initialize the function
URQAController.InitializeAndStartSession(getApplicationContext(),/* APIKey */); you can get the "APIKey" when you create a project at the step 2