Android Development Forum

by Sushrut Bidwai » Sun, 01 Feb 2009 08:09:40 GMT


Sponsored Links
 Hey Androiders,

  Buzz is happening around Android already. Off course there are
developer groups, where we can find out answers to questions. But we
(www.androidcompetencycenter.com/) have decided to provide support to
all developers through newly launched forums. Do check out the blog,
discuss, bounce each other off with questions. Looking forward for
great discussions on the blog.

Best Regards,
Sushrut
PS - I hope this discussion was not spammy, I thought it was relevant
enough.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Override Dock Launcher

Hi, I'm trying to "override" the action when connecting the Droid to
the multimedia dock, and I'm not being lucky with this.
I'm not being asked to "select the default action", the only way for
me to launch an app when detecting a dock connection is by using the
android.intent.action.DOCK_EVENT and using a broadcastReceiver, then
launching the app from there, obviously not good, did it that way just
for testing purposes.

Here's my manifest, I'm using the intent-filter this way.

<application €>
        <activity€€€.>
         MAIN ACTIVITY..........................
        €€€€€€€€€€€€€€€€€.

        <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DESK_DOCK" />
                <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>

        </activity>
</application>


Thanks in advance,

-- 

2. Uncaught RuntimeExceptions in Services fail silently

Hi,
I spent some time tracking down a database leak that I couldn't figure
out, until I decided to log all database open()s and close()s.
It turns out that I had a NullPointerException in my code which was
preventing the close().
I fixed this by moving the close() to a finally {} block - which
should be best practice, I guess.

However, I think there should be an option to trap uncaught
RuntimeExceptions in Services, just as they are done in Activities.
What do you think?

-- 

3. how to run android market on emulator

4. baby monitor paling mahal :-)

5. Parse Error during installation of application.

6. Data connection hold during deep sleep?

7. Cubeworks