My program if fine in emulator but not on device, Inflate Exception

by sunrises » Mon, 23 Nov 2009 14:40:57 GMT

Sponsored Links
I write a Gallery program to display photos from sdcard, it shows the
photos fine but when user clicks on photo, it needs to display a
dialogue box or toast, it also works in emulator but not in G1 device
it shows errors like
android.view.InflateException: Binary XML file line #46: Error
inflating class java.lang.reflect.Constructor
I could not find the right solution
Thank you


Other Threads

1. File Manager Integration

Hi Guys,

A portion of my application involves the user choosing a file from the
file system. There are plenty of nice file explorers out there and so
there is no good in me writing one from scratch. How do I integrate
another developer's file explorer app (with their permission of
course)? I imagine i'd need their source code...where would I be able
to obtain that?


If you happen to have developed such an app, and are willing to let me
use it i can be reached at

2. Google gdata APIs


I am trying to use Google DATA APIS, for this i created a new Project
and add the required libraries in the build path as mentioned at

But when I launch the application on emulator, I got

Please guide me what's the right way to use the google data APIs in my
Android application.



3. query regarding InputMethodManager

4. Where to find native resources?

5. Patches for android-1.5r2 for gumstix overo + palo43 platform

6. problem in receiving the status of call

7. Camera API: Excessive GC caused by preview callbacks