Using Droid-fu

by Marco Rodriguez-Suarez » Tue, 08 Mar 2011 05:38:49 GMT

Sponsored Links
 Hello everyone,
                       I'm trying to use the droid-fu libraries in my
project but I guess I have no idea what I am doing. I plan on using
BetterAsyncTask to send a couple of images to a server and then have
the program return a response. The problem I am having is after I add
the droid-fu .jar file into my build path. I then try to extend my
main activity as follows

import com.github.droidfu.activities.BetterDefaultActivity;

        public class MainActivity extends BetterDefaultActivity {
        /** Called when the activity is first created. */
        protected void onCreate(Bundle savedInstanceState) {


Before I even add any code to my project the program crashes if I try
to run it. I get the following exception:

03-02 20:43:47.784: ERROR/AndroidRuntime(3238):
java.lang.RuntimeException: Unable to start activity

Any help would really be appreciated! I am about ready to give up on
the droid-fu libraries and just use the regular AsyncTask . Do I need
to add anything to my manifest file??


Re: Using Droid-fu

by TreKing » Tue, 08 Mar 2011 22:28:05 GMT

 On Wed, Mar 2, 2011 at 10:55 PM, Marco Rodriguez-Suarez

Does this library not have a dedicated site / forum? That would be a more
appropriate place for such a question.

Always include the names of Services, Activities, Application, etc, sub

Your error, in particular, indicates a problem with the app's Application

TreKing <> ; - Chicago
transit tracking app for Android-powered devices


Sponsored Links

Re: Using Droid-fu

by Sandeep sp » Mon, 25 Apr 2011 20:14:37 GMT

 Hi Mr Marco,

      Did you able to resolve the crash? I Am also facing the same
issue, please let me know. What needs to be done to resolve this

Sandeep S.P


Other Threads

1. Music Player lacking EQ

One thing Android's music player lacks is enhancing the audio. Other
phones (Blackberry, iPhone, etc) have ways to boost the audio level
or, most importantly, control the bass output via an Equalizer. With
no EQ, the Android music experience is rather drab.

I have heard from developers it would be hard to implement on a third
party app. However, Samsung has this feature on their music player in
the Android based Behold II. Also, Motorola added an Equalizer to the
music app in the Milestone (Droid) in Europe. So it can be done but it
sounds hard.

I hope someday the stock app or other third party apps have new
enhanced audio options. The easiest thing for Google to do would be to
stop ignoring the audio codes of Android/ API and work on that part of
the framework. Android needs enhanced media!

just wanted to share my 2 cents.


2. Android Bootcamp training class in NYC w/ Marko Gargenta

Hi All,

Marakana is taking it's Android Bootcamp training class to NYC, March
8-12, 2010. Marakana's Marko Gargenta who has been one of the top
advocates of the Android platform will be the instructor for the NYC
edition of Android Bootcamp.  Marko hosts the SF Android Meetup and
speaks regularly at conference across the globe on Android.  Not only
has Marko written all of Marakana's Android courses (from SDK to
internals) he has also trained development teams from the top mobile
carriers and service providers over four continents. Don't miss this
great opportunity to take this public class with one of the top
Android instructors in the US.

For more info on Marakana's Android Bootcamp:

Contact me regarding coupons and group discounts:
Rooz (at) Marakana (dot) com

Course Summary

AndroidBootcamp Training Course is a hands-on guide to designing and
building mobile applications using Google's Androidopen-source
platform. The course explains what Androidis and how it compares to
other mobile environments, the setup of the AndroidEclipse-based
development tools, the AndroidSDK, all essential features, as well
as the advanced capabilities and APIs such as background services,
accelerometers, graphics, and GPS.

This complete hands-on course encourages students to learn by building
increasingly more sophisticated and meaningful mobile applications for

By the end of the course, each participant will build their own
complete Android application incorporating most of the key aspects of
the platform. Typically, we build a Twitter app for Android, but there
are other choices depending on participants' interests.


3. How can Camera API support two camera device?

4. App Compatibility between Droid and Nexus One

5. How to Generate Android Testing Report in HTML Automatically

6. Remote data access or Web Services

7. HTC's media player on the HTC Hero is misbehaving and is intercepting all the Bluetooth media buttons