what's the replacement of getScale() in BaseAdapter

by neuzou » Fri, 06 Mar 2009 19:31:30 GMT


Sponsored Links
 Hi:
   everyone, anybody knows what's the replacement of getScale() in
BaseAdapter, Google remove it from 0.9 SDK, and not recommend which
method to replace it, I need use this method, please give me some
suggestion.
Thanks.
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Samsung Epic 4G will be Sprint's second WiMAX phone with Android

Saingannya HTC 4G..

Dikirim kepada Anda oleh Antozz melalui Pustaka Google: Samsung Epic 4G
will be Sprint's second WiMAX phone with Android via Phone Arena -
Latest News oleh pada 10/06/28
The Samsung Epic 4G is coming to Sprint's WiMAX network with one
feature the Galaxy S lacked a flash, plus a keyboard, and more...

Photos:




Beberapa hal yang dapat Anda lakukan dari sini:
- Berlangganan untuk Phone Arena - Latest News menggunakan Google Reader
- Lakukan persiapan menggunakan Pustakan Google untuk mengikuti
perkembangan semua situs favorit Anda dengan mudah

--
"Indonesian Android Community [id-android]"

2. Defining a class at runtime

Hi,

I'm trying to achieve the following:

- class A (in application A) derives from class B.
- application A loads a dex dynamically (using DexClassLoader).
- application A wants to have the *definition* of class B to come from
this newly loaded dex.

Something similar does happen for the Google Maps API (and for the
inbuilt APIs) - however, the dex implementing these are picked up from
under /system and pre-loaded before any classes of the current
application.

I want to achieve something similar - however, the OS doesn't seem to
provide a mechanism to pre-load arbitrary dex files in a way that any
newly required classes (e.g. when class A is instantiated, a
definition of class B would be required) are resolved against those in
the loaded dex.

Could someone please let me know if it's possible to achieve what I
want to?

If not, would it be possible to inject new methods in the definition
of an existing class? It seems like some Java reflection related
methods are not implemented on Android (e.g.
ClassLoader.resolveClass() or the "resolve" argument to
ClassLoader.loadClass()).

Thanks,
Ashutosh

-- 

3. Wtthanks

4. Video: Motorola DROID X video review - part 2

5. Starting the Market Application programatically

6. Video: Motorola DROID X video review - part 1

7. Extended Validation on Android Browse