
Contents
How to Setup Cloudant Backend For ACRA (Application Crash Reports for Android)
Tung Dao Xuan, tungdx1210@gmail.com, is the author of this article and he contributes to RobustTechHouse Blog
What is ACRA?
ACRA stands for Application Crash Reports for Android. This library helps your software send crash reports to a backend of your choice.
The Acralyzer is an open source backend for ACRA reports that is really simple to install. The only server-side requirement is Apache CouchDB. You can host it on your own server or use the free hosting services of Cloudant.
Setup Cloudant backend
Step 1:
Sign up an account with Cloudant
Step 2:
Open Replication tab and fill in the fields as shown below:
Source database (Remote Database tab): http://get.acralyzer.com/distrib-acra-storage
Target database (New Database tab) : acra-<name_of_your_database>
Then, click the Replicate button.
Step 3:
Continue to replicate another:
Source database (Remote Database tab): http://get.acralyzer.com/distrib-acralyzer
Target database (New Database tab) : acralyzer
Then, click the Replicate button.
After that, open the Databases tab, you will see the 2 databases you have replicated.
Step 4:
Open acra-<name_of_your_database> database (in this tutorial is: acra-demo), select the Permissions tab.
Click the Generate API key button and note down Key and Password. You will need them when you integrate ACRA with your Android software.
Remove the Reader permission and add the Writer permission for the key you have just generated.
To confirm your backend is created successfully, go to https://<your_cloudant_account>.cloudant.com/acralyzer/_design/acralyzer/index.html and you will see the result as below figure.
Setup Android code with ACRA.
Step 1:
In build.gradle file, add ACRA library:
compile ‘ch.acra:acra:4.6.2’
Step 2:
In your AndroidManifest.xml file, declare internet permission.
<uses-permission android:name=”android.permission.INTERNET”>
Step 3:
In your class that extends from Application class, update ACRA configuration like this
@ReportsCrashes( formUri = "https://<your_cloudant_account>.cloudant.com/acra-<name_of_your_database>/_design/acra-storage/_update/report", reportType = HttpSender.Type.JSON, httpMethod = HttpSender.Method.POST, formUriBasicAuthLogin = "<your_key_that_is_created_before>", formUriBasicAuthPassword = "<your_password_that_is_created_before >", customReportContent = { ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAME, ReportField.ANDROID_VERSION, ReportField.PACKAGE_NAME, ReportField.REPORT_ID, ReportField.BUILD, ReportField.STACK_TRACE, ReportField.DISPLAY, ReportField.TOTAL_MEM_SIZE, ReportField.AVAILABLE_MEM_SIZE }, mode = ReportingInteractionMode.SILENT ) public class <YourClassName> extends Application { @Override public final void onCreate() { super.onCreate(); ACRA.init(this); }
Conclusion
You are done! Run your software and see your crash reports to find out where the problems in your software and fix it.
You can configure report content and use other features. To find out more, check out the links below:
https://github.com/ACRA/acra/wiki/AdvancedUsage
https://github.com/ACRA/acra/wiki/ReportContent
RobustTechHouse is a leading tech company for mobile app development and ECommerce web design and development. If you are interested to engage RobustTechHouse for your projects, you can contact us here. If you like our articles, you can follow us on our Facebook.
very clear. thank you.
this was a very well written article, the information was very nice Thanks for your efforts
recipe meal kit app development
The information you are giving is excellent. I appreciate you taking the time to create and provide this valuable information.
When I read an article on this topic, totosite the first thought was profound and difficult, and I wondered if others could understand.. My site has a discussion board for articles and photos similar to this topic. Could you please visit me when you have time to discuss this topic?
I’ve been troubled for several days with this topic. casinosite, But by chance looking at your post solved my problem! I will leave my blog, so when would you like to visit it?
This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform!
That’s good way. Thank you a lot.
What a great and, of course, well written post. It`s so useful…
The information about the watch model you pointed to is very interesting
So lucky to come across your excellent blog. Your blog brings me a great deal of fun. Good luck with the site.
woocommerce webshops
Your blog brings me a great deal of fun. Good luck with the site.
I am extremely delighted with this web journal. It’s a useful subject. It helps me all that much to take care of a few issues.
Your post has those facts which are not accessible from anywhere else.
Your post has those facts which are not accessible.
Excellent article. The writing style which you have used in this article is very good and it made the article of better quality.
breakfast board
So lucky to come across your excellent blog. Your blog brings me a great deal of fun. Good luck with the site.
Thanks for the nice blog. It was very useful for me. I’m happy I found this blog.
This blog is very informative. it adds alot in my knowledge.
Your blog help me to understand a problem
This is truly the web service provider I was looking for!
Thanks for the nice blog. It was very useful for me. I’m happy I found this blog.
I am extremely delighted with this web journal. It’s a useful subject. It helps me all that much to take care of a few issues.
Earn Through Freelancing
So lucky to come across your excellent blog. Your blog brings me a great deal of fun. Good luck with the site.
This is truly the web service provider I was looking for!
Thanks for the nice blog. It was very useful for me. I’m happy I found this blog.
Excellent article. This essay is of higher quality as a result of the excellent writing style that you employed, which can be found throughout this piece.
I am overjoyed to have, at long last, come across this website. Really thought-provoking articles and activities; many thanks for taking the time to put these together. Please continue to share additional content in the form of a blog. This website is now bookmarked in my browser so that I can continue to keep in touch with you.
Excellent article. This essay is of higher quality as a result of the excellent writing style that you employed, which can be found throughout this piece.
Lean Six Sigma is a system with a team-oriented approach that is based on process improvement methodology. It is designed in a manner that helps organizations to eliminate and reduce the waste produced. This certification will help you improve the workplace environment suitable to customers’ needs.
montana lean six sigma certification
This is a wonderful article, Given so much info in it, These type of articles keeps the user’s interest in the website.
lean six sigma iowa
This is a wonderful article
we buy houses allentown pa
This is a wonderful article
we buy houses allentown pa
I believe that your idea will be replicated and used as the basis for the invention of many other ideas because it is both creative and excellent. trap the cat
it is very impressive and informative content good work keep it up
pool builder north palm beach
it is very impressive and informative content good work keep it up
This is a wonderful article, Given so much info in it, These type of articles keeps the user’s interest in the website.
nice post.
Our company is very specialized in recovering valuable assets such as documents, mobile phones, cameras, and electronic devices. The company reached this milestone after years of experience, and professional, and in-house development. As a result, we now serve thousands of customers around the world.
There are a lot of companies that require accountants to look after their financial issues and deal with their profit/loss situation. So, it is true that accountants are high in demand.
Rivian stock price prediction 2030
Thanks to share this information.
There are a lot of companies that require accountants to look after their financial issues and deal with their profit/loss situation. So, it is true that accountants are high in demand.
Rivian stock price prediction 2030
There are a lot of companies that require accountants to look after their financial issues and deal with their profit/loss situation. So, it is true that accountants are high in demand.
Rivian stock price prediction 2030
excited to read this content.
Rivian stock price prediction 2030
Rivian stock price prediction 2030
Great work!
Instructions are clear, detailed and easy to understand.
First of all, thank you for your post. majorsite Your posts are neatly organized with the information I want, so there are plenty of resources to reference. I bookmark this site and will find your posts frequently in the future. Thanks again ^^
As financial accounting is the backbone of every business. There are a lot of companies that require accountants to look after their financial issues and to deal with their profit/loss situation.
It’s too bad to check your article late. I wonder what it would be if we met a little faster. I want to exchange a little more, but please visit my site casino online and leave a message!!
Quizcum is made for people who are passionate and interested in learning about blogging and content marketing. It is a premier online blog with content that will encourage readers and bloggers about the newest trends in blogging and SEO advertising. We provide users with the most recent content and up-to-date information so they can read newsworthy articles.
You can see videos, images, Gifs, and wallpaper on Pinterest. Using our Pinterest video downloader tool, you can easily download Pinterest videos, images, gifs, and wallpaper. You can easily download Pinterest videos without a watermark
Looking for a game that offers a unique and entertaining gameplay experience? Try out Kick the Buddy, where you can customize your buddy, unlock new weapons, and enjoy a wide range of entertaining and satisfying ways to relieve your stress.
The model website where you will find additional places is definitely funny on top of the feature. It once again schedules everyone to click
sara saffari is one of those fitness models that belong to California. In this article, we’re going to provide sara saffari life details such as Fitness, Instagram, Youtube, Bio, Age, Height, Weight, Fitness, etc sara saffari
Nice post. I find out some thing tougher on various blogs everyday. Most commonly it is stimulating to learn to read content from other writers and exercise a specific thing at their store. Online Store In Karachi
I am very impressed with your writing baccarat online I couldn’t think of this, but it’s amazing! I wrote several posts similar to this one, but please come and see!
You can see videos, images, Gifs, and wallpaper on Pinterest. Using our Pinterest video downloader tool, you can easily download Pinterest videos, images, gifs, and wallpaper. You can easily download Pinterest videos without a watermark https://pinloader.net/
Sibai Muay Thai Gym in Miami is a popular destination for anyone looking to improve their Fitness, learn self-defense skills, or simply enjoy the excitement and challenge of martial arts. With a highly skilled team of experienced trainers and a comprehensive training program, Sibai Muay Thai Gym offers a unique and rewarding experience for people of all skill levels, from beginners to professional fighters. Whether you want to get in shape, learn new techniques, or have fun and meet new people, Sibai Muay Thai Gym is the perfect place to achieve your goals. Are you looking for an authentic Muay Thai experience in Miami? Look no further than Sibai Muay Thai Gym!
This is truly the web service provider I was looking for!
Such a very useful article.
Thank you for telling me about this. I’m happy to find this wonderful article.
We help you select the right pump for your specific needs and budget, and provide installation and maintenance services to keep your pump running smoothly and efficiently
Office#2, 1st Floor, Khan Center, Shahzad Market, Behind HBL Bank, Alfayaz Colony, Satyana Road – Faisalabad – Pakistan
info@gopa.com.pk
+92335 7908888
https://vystar-login.info/vystar-loan-in-a-application-login/
https://centralreach-login.info/centralreach-community-login/
harga kue tart holland bakery 2022
https://onlinesurvey.onl/harga-kue-ulang-tahun-holland-bakery/
We offer assistance in finding the most suitable pump for your requirements and budget, as well as professional pump installation and routine maintenance.
https://kinnsernet-login.info/?p=83&preview=true
https://afterpay-login.info/how-to-login-the-afterpay-login-australia/