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. Reg: Placing the soft keys at the bottom of the touch screen.

Hi Guys,

I am facing difficulty in placing the soft keys at the bottom of the screen.
I have two EditTexts in my layout and then i want the space to be empty and
then place the soft keys "Save" and "Clear" at the bottom of the layout. But
not able to do.
Tried using layouts and Gravity.

Please help me for the same.

Thanks & Regards,
SSuman185

-- 

2. iptables on msm2.6.29 (donut)

I found the problem.
None of the modules were loaded.
So I insmod'd all based on the modules.order from the build.
Is there anyway to get this done automatically at boot up?
Also, none of the modules existed in the device. I manually
transferred them to the sdcard and insmod'd from there.

Solutions/Suggestions welcome.

Cheers,
Earlence




-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. Is it possible to change java byte code that is already generated

4. Why I cannot see the Free App in Market place

5. How to prohibit the user install the app to the SDcard of the phone

6. compiling amr from android sources

7. Froyo media not mounting in time on boot-up? (works in Eclair)