How to get crash reports emailed/reported - Android Q&A, Help & Troubleshooting

Has anyone out there has experience with using frameworks to report crashes back to the developer via email of any other mechanism i.e. uploading it to a custom server. How would do you rate/like it?
I can certainly override threaduncaughtexception and roll out my custom, but I'm sure other people would have done that and tried it out and maybe there is a framework that does that.
--
YouAreHere - shows stuff around you
http://market.android.com/details?id=com.roundere

f8andbethere said:
Has anyone out there has experience with using frameworks to report crashes back to the developer via email of any other mechanism i.e. uploading it to a custom server. How would do you rate/like it?
I can certainly override threaduncaughtexception and roll out my custom, but I'm sure other people would have done that and tried it out and maybe there is a framework that does that.
--
YouAreHere - shows stuff around you
http://market.android.com/details?id=com.roundere
Click to expand...
Click to collapse
very good solution:
http://code.google.com/p/acra/

assuming you have you used it, how would you describe your experience with it? What are some of the pros and cons in your opinion?
--
YouAreHere - shows stuff around you
http://market.android.com/details?id=com.roundere

f8andbethere said:
assuming you have you used it, how would you describe your experience with it? What are some of the pros and cons in your opinion?
--
YouAreHere - shows stuff around you
http://market.android.com/details?id=com.roundere
Click to expand...
Click to collapse
..am using it..sorry dont know any cons yet..it´s very well made and lot of apps use that.

thanks, I was reading into it, lib is ~400K, will look into it more
--
YouAreHere - shows stuff around you
http://market.android.com/details?id=com.roundere

Related

[Q] Prevent all trackball motions

Hi!
My Hero has had problems with the trackball not working for a couple of months but I haven't been bothered by it since I never use it. Lately however, the trackball (or it's sensors on the board) seems to have gotten a life of it's own. It's constantly scrolling upwards making it impossible to navigate in menus and send text messages.
I've read many many threads about people wanting to completely disable the trackball but noone seems to have any idea on how. I've also tried cleaning. If anyone knows about a solution to make the trackball not load when the basic IO functions loads I would be very happy indeed. The problem is not ROM specific since the scrolling occurs in the recovery menu as well.
If it's not possible to "deactivate" it I'm curious if you think it would be possible to write a tiny little background app that listens for the trackballs MotionEvent, catches it, does nothing and then returns true as if the handler in the background app took care of all the work and thus overrides the scrolling that would happend in the browser, menu or whichever context you are in?
The method I've been looking at is: public boolean onTrackballEvent (MotionEvent event)
What do you think?
span_01 said:
Hi!
My Hero has had problems with the trackball not working for a couple of months but I haven't been bothered by it since I never use it. Lately however, the trackball (or it's sensors on the board) seems to have gotten a life of it's own. It's constantly scrolling upwards making it impossible to navigate in menus and send text messages.
I've read many many threads about people wanting to completely disable the trackball but noone seems to have any idea on how. I've also tried cleaning. If anyone knows about a solution to make the trackball not load when the basic IO functions loads I would be very happy indeed. The problem is not ROM specific since the scrolling occurs in the recovery menu as well.
If it's not possible to "deactivate" it I'm curious if you think it would be possible to write a tiny little background app that listens for the trackballs MotionEvent, catches it, does nothing and then returns true as if the handler in the background app took care of all the work and thus overrides the scrolling that would happend in the browser, menu or whichever context you are in?
The method I've been looking at is: public boolean onTrackballEvent (MotionEvent event)
What do you think?
Click to expand...
Click to collapse
Maybe its just too much kernel compiling talking, but I would just kill it the kernel level - sounds easiest to me
Let me know if you want me to look into this, and nag me if I forgot....
Killing this at kernel level would be fantastic if its possible. You would be more than welcome to have a look at this.
I have no knowledge of where to start looking since I know very little about any kernel. I am very interested in learning more though so if you do not have time at the moment I would be very glad if you could provide some pointer on where to start looking.
This would be amazing if possible, my guess would be the kernel too.
I was using all the time at first, but now it's more of a hassle than anything else.
span_01 said:
Killing this at kernel level would be fantastic if its possible. You would be more than welcome to have a look at this.
I have no knowledge of where to start looking since I know very little about any kernel. I am very interested in learning more though so if you do not have time at the moment I would be very glad if you could provide some pointer on where to start looking.
Click to expand...
Click to collapse
Ok, I'll try to get around to it in the next couple of days, bump this or even PM me if I forget.
In the meantime if you want to get your hands dirty in kernel code, heres the section about "my" sources from my flykernel post:
erasmux said:
Kernel Sources
My sources with all my updates and changes are found on github:
http://github.com/erasmux/hero-2.6.29-flykernel
Use hero_defconfig for the regular version and hero-bfs_defconfig for the BFS version.
See the wiki for more information about building the kernel. Another great resource about kernel building is the cyanogen wiki - do note that currently the CM kernel will not work on the hero.
Please feel free to contact me regarding my sources and kernel development.
Click to expand...
Click to collapse
erasmux said:
Ok, I'll try to get around to it in the next couple of days, bump this or even PM me if I forget.
In the meantime if you want to get your hands dirty in kernel code, heres the section about "my" sources from my flykernel post:
Click to expand...
Click to collapse
Thank-you kernel king! Will have to put on some gloves and dig around the source this weekend!
Sent from my HTC Hero using XDA App
Any luck yet?
Nope, not yet. I have not had much time to look into this. Being a complete novice it will probably take me some time
Sent from my HTC Hero using XDA App
I've now found a solution to this that I'm testing out. I've recompiled FlyKernel with a small customisation and it seems stable enough. PM me if you want to see the change or need a flashable zip.

[Q] re-arrange items/apps in "share via" list

hi
here's a little pet peeve of mine
whenever i go to share a picture, website link, etc i am presented with a *huge* list of apps that i could ever possibly use
but here's the truth - i only ever use three (maybe four) of those apps
and, just an extra bonus, those three or four are distributed all up and down that list - and yeah, the gmail icon is at the bottom! lol
is there *any* way to modify that list??
or an app that lets us mod that list??
i'm asking you guys cuz you would know
and... if anybody wants an idea for an app to build... there ya go! i'd pay 99cents (heck, probably even 1.99) for such an app!
and, while i'm asking, i might as well say what would be just killer features ---- allow us to pick the say top five apps that would always show up, and the last entry says "all" so the entire list becomes available
would be good to be able to sort the apps that show up in that list too
anyway.. just gonna throw that out there
??
no one has anything to say about this?
Shame that there are no replies, as this is also bugging me. Here's a bump for the topic.
Annoying me as well. Recently downloaded a QR app and the damn thing added TWO entries. I'd love to be able to remove everything but email, facebook, and messaging...
How can this still be an issue
I can't believe there's no way to filter the list or at least sort the list in order used.
'Intents' and MIME-types
Recently I find that I've become rater annoyed with the list for "share via", and started wondering how I might go about deleting specific items or at the very least rearrange the order in which they appear.
I've been unable to find the answer, as most threads, only consist of the question, and no answers.
I did however find out that what causes an app to appear in the "share via"-list is an 'Intents'-argument with regards to MIME-types (.jpg or .txt etc.) when coding the app.
See: (add the http yourselves, as I'm unable to, with this being my first post)
stackoverflow .com/questions/7891473/how-to-write-an-android-share-plugin
&
stackoverflow .com/questions/3553017/android-share-via-dialog
That means, that in order to remove them from the list, we would need some app, like LBE Privacy Guard, that could limit the "offending" app's 'Intents' in certain regards.
However I've been unable to find anyone that seems to know which file to tweak in order to rearrange the order in which they appear.
I doubt this helps anyone very much, but it may just lead someone on the right path to maybe coming up with a fix for this.
Try 'Andmade Share' from the market, seems like it would be what you're after.
https://play.google.com/store/apps/...1bGwsMSwxLDEsImNvbS5hbmRtYWRlc29mdC5zaGFyZSJd
or
share customizer
Play link
Feature request added at code.google 2012-01-25
It would appear that a feature request has been put in at code.google at 2012-01-25
(Again add the http-part yourselves)
code.google.com/p/android/issues/detail?id=24741
While we are waiting for this "obvious" feature, the above reply's seem to offer what I'm asking for, at least in an app, though it ought to be built in...
Thx a lot itscro & biopsin
EDIT: I think I'll pass on the Share Customizer, with all the funky (chinese?) writing, and dec. 2011 latest update.
Andmade Share however looks like a winner, and I like the fact, that it doesn't require any permissions...
Awesome. Andmade Share seems to do the trick. Love it when old threads are brought back to life and solve a problem.
Nitsson said:
Awesome. Andmade Share seems to do the trick. Love it when old threads are brought back to life and solve a problem.
Click to expand...
Click to collapse
Can´t agree more with you, because this problem annoys me a long time now!
Regards,
Guido
Kosh_ac said:
Can´t agree more with you, because this problem annoys me a long time now!
Regards,
Guido
Click to expand...
Click to collapse
Indeed, though it doesn't seem to work on Jelly Bean unfortunately.
Nitsson said:
Indeed, though it doesn't seem to work on Jelly Bean unfortunately.
Click to expand...
Click to collapse
Maybe not right now, but give it time, JB isn't exactly widespread just yet.
Such is the cost of being on the bleeding edge...
Bawl said:
Maybe not right now, but give it time, JB isn't exactly widespread just yet.
Such is the cost of being on the bleeding edge...
Click to expand...
Click to collapse
Its been quite awhile since this thread was active, but I'm hoping someone has something new on this topic. I can't find any other threads that cover this issue...

[Q] Forking AOSP to save changes (Root/App Ops)?

Hi all,
First off, I'm an experienced developer, but new to building Android. I'm looking to create my own personal ROM for my Nexus 4, stock AOSP but including root and App Ops. However, I have a couple of questions and clarity issues:
1) What is the proper way to fork AOSP so as I make my changes, they can be saved long term?
I've followed threads like this for setting up and looked into this to try to figure out the most efficient way, but it's not sinking in, so I guess I need a bit of hand holding.
2) Is it possible to enable App Ops in Lollipop pre-compilation?
I see tons of threads on enabling App Ops in JellyBean after compilation by modifying the Settings.apk, but I can't seem to find a way to enable it in the actual source code. Can anyone point me in the right direction? If anyone has guides for adding root and/or the battery percentage hack, that would be helpful as well, but admittedly I haven't done my due diligence searching those on my own yet.
Thanks in advance,
B.
i hope you get what your after.. missing AppOpps / privacy guard is what is preventing me from moving to Lollipop.
Sage said:
i hope you get what your after.. missing AppOpps / privacy guard is what is preventing me from moving to Lollipop.
Click to expand...
Click to collapse
I'm sure there are lots of other ROMs that have this out by now already, but if you want something that's 99.9% factory, mine is compiling now. Assuming my testing works, it will be bone stock LRX21T with a few minor modifications:
Enabled App Ops
Root friendly
Full rotation (including 180 degrees)
I'll let you know how it goes.
Thanks,
Ben
thanks Ben. I actually found an AppOps app in Google Play which works on Lollipop!
Sage said:
thanks Ben. I actually found an AppOps app in Google Play which works on Lollipop!
Click to expand...
Click to collapse
Could you reply here with a link to the App you located for anyone else who may be looking for this?
I just finished up my ROM actually. It's a base AOSP compilation for the Nexus 4 that is:
Root friendly
Has Busybox (for root backups)
AppOps
180 degree screen rotation
Modifications/Fixes to enable GApp support
That last one took a while, as location doesn't work out of the box with Google Location Services. It turned out to be a tiny tweak in the compile signing. Anyway, I just need to add the su binary into the ROM and it's done if you want it.
https://play.google.com/store/apps/details?id=com.findsdk.apppermission
This appopps is working on LP
Thanks sage. I'll likely continue to use my own ROM since future updates won't break my changes or lose root, but that will help many people out who find this thread.

[Q]Android. Recording conversations with Root

There was a need to record conversations on Android. I read about it, and after much experimentation came to the conclusion that the standard means of recording quality does not work or does not work on many phones. It should be written as a library and through the use of root rights. How do I not found. Maybe there is someone developments or links to projects?
koljsch.work said:
There was a need to record conversations on Android. I read about it, and after much experimentation came to the conclusion that the standard means of recording quality does not work or does not work on many phones. It should be written as a library and through the use of root rights. How do I not found. Maybe there is someone developments or links to projects?
Click to expand...
Click to collapse
There are a few things around the site about it but most either disable it or its not part of the stock os. This is due to legal reasons as recording phones calls is not legal in many areas and without a warrant never admissible in court.
You may have to program it into your os to get it to work right.
You may have to program it into your os to get it to work right.
Click to expand...
Click to collapse
But many applications is realized through Native library where recording is not supported. I am wondering whether there is a library in the public domain, or information on how to enable support in the OS?
koljsch.work said:
But many applications is realized through Native library where recording is not supported. I am wondering whether there is a library in the public domain, or information on how to enable support in the OS?
Click to expand...
Click to collapse
So have it built in. Alot of apps I have tested (legal reasons) have not worked at all. Some apps try to use root xploits to make it happen.
Some apps try to use root xploits to make it happen.
Click to expand...
Click to collapse
Exactly! There is information on how I can implement it in your own application?
koljsch.work said:
Exactly! There is information on how I can implement it in your own application?
Click to expand...
Click to collapse
I'm sure there is somewhere in the Google docs and how tos. It will most likely be ripping an app apart to see how they try to do it and then trying to make your own. Most apps have given up due to the security nature of it.
I'm sure there is somewhere in the Google docs and how tos.
Click to expand...
Click to collapse
Unfortunately, I am looking for information on this issue for a long time and found nothing. I would make specific reference, if any. He read a bunch of articles, he also tried a bunch of options, but about change through Ruth nowhere information.
koljsch.work said:
Unfortunately, I am looking for information on this issue for a long time and found nothing. I would make specific reference, if any. He read a bunch of articles, he also tried a bunch of options, but about change through Ruth nowhere information.
Click to expand...
Click to collapse
Might want to start here.
https://code.google.com/p/call-recorder-for-android/
https://www.google.com/search?q=how...spvd=1&ie=UTF-8#q=call+recording+android+code
Might want to start here.
Click to expand...
Click to collapse
The first link without root.
The Google naturally searched all examples without root.

install older version of mi browser on miui 11??

hello,
am on miui 11.0.5.0 global and was able to remove the stock mi browser(v10.....etc).
am trying to install an older version of mi browser that had better features than newer versions , it installs but keeps closing everytime i open it!
is there any workaround to make it work?
I know I'm not answering your question.
But why exactly do you prefer to use a browser filled with ads and junk?
Alrich said:
I know I'm not answering your question.
But why exactly do you prefer to use a browser filled with ads and junk?
Click to expand...
Click to collapse
I was wondering that too
Poco launcher gives you a neat way of hiding those bits of xiaomi scurf that you can't uninstall - why not just do that and browse with Iron or something better?
Alrich said:
I know I'm not answering your question.
But why exactly do you prefer to use a browser filled with ads and junk?
Click to expand...
Click to collapse
the older version am talking about has no ads and its the only version that has the feature am lookin for!
thesoupthief said:
I was wondering that too
Poco launcher gives you a neat way of hiding those bits of xiaomi scurf that you can't uninstall - why not just do that and browse with Iron or something better?
Click to expand...
Click to collapse
I never said i cant uninstall it.....read reply #4
Regardless of ads or not, why do you still insist on using a inferior browser when there are so many others out there that do a better job.
Alrich said:
Regardless of ads or not, why do you still insist on using a inferior browser when there are so many others out there that do a better job.
Click to expand...
Click to collapse
i already mentioned the cause above!......the old version am talking about has a certain feature that isnt working anymore in new versions!.
All you mention is "the feature I'm looking for" or the "cause I'm looking for"
There's no direct mention or explanation of what you're looking for. Maybe more people will help you if you choose to explain a bit more rather than shut down every comment that's trying to help you.
Alrich said:
All you mention is "the feature I'm looking for" or the "cause I'm looking for"
There's no direct mention or explanation of what you're looking for. Maybe more people will help you if you choose to explain a bit more rather than shut down every comment that's trying to help you.
Click to expand...
Click to collapse
the reason for posting this topic is to get help regarding running an older version of miui browser that installs but closes everytime i open in oreo/pie/q ......it runs fine on other android phones on nougat!!.
specifying the feature thats working on this old browser and not working on recent versions wont help coz poeple who "try to help" would simply recommend using other newer versions or even different browsers!!
if i wanted to shut comments ....i would have simply ignored any replies without a direct solution!!.
Okay, so you know how it works in the software world. Nobody codes everything from scratch. What we do is build upon the work of others to get what we want. Your previous browser would have been built with various libraries that it hooks into to provide different functionality. Now a new one has come out which was installed on your fone and this is using later versions of the libraries and possibly some APIs may have been dropped. So you're trying to use the old browser with the new libraries and it's entirely possible that the APIs/ABIs it needs are no longer available. So you're SOL. You're going to have to run your browser in debug mode to see what's wrong. I hope it works out for you.
Sent from my Galaxy Tab S5e using XDA Labs
guhvanoh said:
Okay, so you know how it works in the software world. Nobody codes everything from scratch. What we do is build upon the work of others to get what we want. Your previous browser would have been built with various libraries that it hooks into to provide different functionality. Now a new one has come out which was installed on your fone and this is using later versions of the libraries and possibly some APIs may have been dropped. So you're trying to use the old browser with the new libraries and it's entirely possible that the APIs/ABIs it needs are no longer available. So you're SOL. You're going to have to run your browser in debug mode to see what's wrong. I hope it works out for you.
Sent from my Galaxy Tab S5e using XDA Labs
Click to expand...
Click to collapse
ok,this is what i call a helpful reply :good:

Categories

Resources