Kevin—

Thanks very much for your clear and quick response. I was able to
extend CrashReportingApplication and override the necessary methods.

I'm running a Cliq still on 1.5; I'll be sure to send in
thoughts/"features".

Thanks—
Garen

On May 24, 3:43 pm, Kevin Gaudin <kevin.gau...@gmail.com> wrote:
> Hello Garen,
>
> You should be able to make your existing Application class extend
> org.acra.CrashReportingApplication in replacement of extending Application.
> Just make sure to call super.onCreate() at the beginning of your own
> existing onCreate() override, and add other needed methods like getFormId()
> (required) and getCrashResources() (if you want to configure user
> notifications in acra v2).
>
> The limitation of this configuration system requiring to extend a custom
> Application class is when you need to use another lib which has the same
> requirement. As you wrote before, we can only extend one class. I might add
> some documentation later on how to enable crash reporting "manually" in your
> application class if you are in this very special case.
>
> Please contact me directly by email or file an issue on the project page if
> you still have problems with ACRA. We solved an issue with Mathias Lin today
> which occurred when the manifest doesn't use the android:versionName
> attribute. There's a new acra-2.0.2 version with the fix.
>
> Kevin
>
>
>
>
>
> On Sat, May 22, 2010 at 2:04 AM, GJTorikian <gjtorik...@gmail.com> wrote:
> > Hi Kevin—
>
> > My app already has a class that extends Application, which is defined
> > in android:name in the Manifest. It seems that if I try to replace it
> > with the ACRA-created class (I called it CrashReporter), the app
> > crashes on first run, then runs fine after that.
>
> > If I make CrashReporter an inner class, I lose all the ACRA
> > functionality.
>
> > Any plans to make ACRA work for apps that already have a "main"
> > Activity class defined? It's really the extends org.* bit that's
> > throwing it off, since classes can only extend from one other class...
>
> > Thanks—
> > Garen
>
> > On May 17, 9:39 am, Kevin Gaudin <kevin.gau...@gmail.com> wrote:
> > > Hello,
>
> > > I would like to introduce you to a library calledACRA(Application
> > > Crash Reporting for Android).http://acra.googlecode.com
>
> > > The goal of this library is to provide android applications developers
> > > with a tool to let their applications send them crash reports the
> > > easiest possible way.
>
> > > One of the main issue when implementing crash reporting tools is...
> > > where do I send my reports ?ACRAsolves this problem with a simple
> > > solution : reports are sent to a Google Docs Form ! So you don't need
> > > to code your own reports receiver scripts and you don't have to find
> > > dedicated hosting for that... let's use Google's servers ! :)
>
> > > A first version ofACRAhas been successfully used in a few apps
> > > already on the market, and we are now preparing to publish a v2 which
> > > allows developers to replace the annoying "force close" dialog with
> > > fully configurable notification systems :
> > > * Silent : the user experience is not altered compared to standard
> > > android apps. The force close dialog is displayed, butACRAtries to
> > > send a report. If it fails, reports will be sent on application
> > > restart in a separate Thread.
> > > * Toast notification to inform the user that a crash report has been
> > > sent (and you may add that it can be disabled in the preferences
> > > screen)
> > > * Status bar notification which leads to a dialog asking the user if
> > > he's ok to send a report. You can even add an input field to let him
> > > comment the issue.
>
> > > We are now looking for devs who would like to test the library and
> > > it's different notification modes. All the information, screenshots
> > > and step-by-step usage guide are available in that Wiki page :
> >http://code.google.com/p/acra/wiki/ACRAHowTo2
>
> > > Devs who would like to use the v1 and it's basic (but working)
> > > functionnality can follow this link :
> >http://code.google.com/p/acra/wiki/ACRAHowTo2
>
> > > Any comment/discussion is open aboutACRA, we really want your opinion
> > > about it.
>
> > > Kevin
>
> > > --
> > > 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<android-developers%2Bunsubs
> > >  cr...@googlegroups.com>
> > > For more options, visit this group athttp://
> > groups.google.com/group/android-developers?hl=en
>
> > --
> > 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<android-developers%2Bunsubs 
> > cr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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

Reply via email to