Where does com.google.common.DataRequestListener come from?

by clemsongrad » Thu, 17 Sep 2009 03:23:25 GMT


Sponsored Links
 Folks,

I am using Android 1.5 R2.  We are testing an application that uses
com.google.common.DataRequestListener?

Where does this class come from?  I cannot find it any jar bundled in
SDK or add-ons (maps.jar).

Any ideas?

btw: I found some documentation on this
 http://www.androidjavadoc.com/m5-rc15/com/google/common/DataRequestListener.html. 

Thanks in advance.

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



Where does com.google.common.DataRequestListener come from?

by Mark Murphy » Thu, 17 Sep 2009 04:11:58 GMT


 


That class is very very old and was removed prior to Android 0.9
shipping, IIRC.

The application will need to be updated to a newer version of the
Android API.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Android App Developer Books:  http://commonsware.com/books.html 

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


Sponsored Links


Where does com.google.common.DataRequestListener come from?

by clemsongrad » Thu, 17 Sep 2009 04:19:52 GMT


 Thanks Mark, that is what i am afraid of.





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



Where does com.google.common.DataRequestListener come from?

by clemsongrad » Thu, 17 Sep 2009 04:50:57 GMT


 Mark,

Here is what we see in the logs

W/dalvikvm(  705): VFY: unable to find class referenced in signature
(Lcom/google/common/DataRequestDispatcher;)

E/dalvikvm(  705): Could not find method
com.google.common.DataRequestDispatcher.getInstance, referenced from
method com.google.android.maps.MapActivity.createMap

W/dalvikvm(  705): VFY: unable to resolve static method 932: Lcom/
google/common/DataRequestDispatcher;.getInstance ()Lcom/google/common/
DataRequestDispatcher;

W/dalvikvm(  705): VFY:  rejecting opcode 0x71 at 0x0000

W/dalvikvm(  705): VFY:  rejected Lcom/google/android/maps/
MapActivity;.createMap ()V

BTW: This runs just fine in the emulator with 1.5 R2, but not on the
device.

Thanks!






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



Where does com.google.common.DataRequestListener come from?

by Mark Murphy » Thu, 17 Sep 2009 06:03:19 GMT


 



I don't know what to tell you. The public SDK does not have
DataRequestDispatcher, nor does it appear in the Android source code.
MapActivity does not have a public createMap() method, either.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Android App Developer Books:  http://commonsware.com/books.html 

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



Other Threads

1. Logcat debug level --help

Hello All,
I have one dumb question,
when i read a logcat message through command logcat -d, i will get a list of
all events with the prefix I, V, D, W, and E which represent *I*nformation,
*V*erbose, *D*ebug, *W*arning and *E*rror.
I am interested only to display the error messages in the log file( logcat
-f log_error.txt) or to the console( logcat -d).
Can anyone help me to print only the error log messages.

Thanks in advance.

Regards,
Yash Jain.

-- 

2. to retrieve images

Hi,
            I'm new in android development, i want to match the images which
is stored in database with image which is in asset folder, if match take
place then i have to display the image in image view.
 please any one suggest me the answer. if possible give me the source code.
             Thanks in advance.

-- 

3. How to Access SIM Card

4. WTReview : LG Optimus One (LG P500)

5. Upgrading Database from Assets

6. Crash after receiving an admob ad..

7. How to create a split view for an SMS chat application?