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. string to uppercase not working

Hi,

The following is the code snippet. It is observed that after calling the
toUpperCase routine, 'f' is not converted to "F". Can anyone let me know why
this behaviour??

String str = "f";

str.toUpperCase(Locale.*ENGLISH*);

Thanks

-- 

2. Android system update - question

Hi all!

My G1 finshed the update rigth now.

Currently the build number is DMD64, kernel version is 2.6.29-00479-
g3c7df37 android-bu...@apa26 #19
But firmware version left 1.6

Shouldn't it be 2.1? What is the update content?

Thanks in advance,
Evgeny

-- 

3. Android Partners

4. How to run apk application on Linux

5. java.lang.IllegalArgumentException while parsing xml file

6. interpreting captured data from PV

7. Android - minimal UI, services or broadcast recievers?