hi,how do I get the detail info of Contacts?

by luggie » Tue, 14 Apr 2009 16:54:21 GMT


Sponsored Links
 and witch document I can find the Api?

thanks!
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. WallpaperManager crashes when phone is unlocked

Hi.

I have received error report related with my app  (a wallpaper changer) .
The app sets some wallpapers, but when user makes the screen sleep and
unlock it, the default wallpaper is shown.

It's happening on a HTC EVO.

Of course, the image I'm using can be big and can be doing things difficult
to Wallpaper Manager  (I think is very very  far from "Bitmap Size=12535KB"
that I can see in the logs)

The ask is, why only when unlocked phone?

Here are the logs:

E/dalvikvm-heap(   88): 1536000-byte external allocation too large for this
process.
E/dalvikvm(   88): Out of memory: Heap Size=10695KB, Allocated=7948KB,
Bitmap Size=12535KB
E/        (   88): VM won't let us allocate 1536000 bytes
W/WallpaperManager(   88): Can't generate current bitmap
W/WallpaperManager(   88): java.lang.OutOfMemoryError: bitmap size exceeds
VM budget
W/WallpaperManager(   88): at android.graphics.Bitmap.nativeCreate(Native
Method)
W/WallpaperManager(   88): at
android.graphics.Bitmap.createBitmap(Bitmap.java:569)
W/WallpaperManager(   88): at
android.app.WallpaperManager.generateBitmap(WallpaperManager.java:722)
W/WallpaperManager(   88): at
android.app.WallpaperManager$Globals.getCurrentWallpaperLocked(WallpaperManager.java:263)
W/WallpaperManager(   88): at
android.app.WallpaperManager$Globals.peekWallpaperBitmap(WallpaperManager.java:215)
W/WallpaperManager(   88): at
android.app.WallpaperManager.getFastDrawable(WallpaperManager.java:421)
W/WallpaperManager(   88): at
com.android.internal.service.wallpaper.ImageWallpaper$DrawableEngine.updateWallpaper(ImageWallpaper.java:163)
W/WallpaperManager(   88): at
com.android.internal.service.wallpaper.ImageWallpaper$DrawableEngine$WallpaperObserver.onReceive(ImageWallpaper.java:70)
W/WallpaperManager(   88): at
android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args.run(ActivityThread.java:760)
W/WallpaperManager(   88): at
android.os.Handler.handleCallback(Handler.java:587)
W/WallpaperManager(   88): at
android.os.Handler.dispatchMessage(Handler.java:92)
W/WallpaperManager(   88): at android.os.Looper.loop(Looper.java:123)
W/WallpaperManager(   88): at
com.android.server.ServerThread.run(SystemServer.java:512)
D/skia    (   88): -------------- inform VM we've allocated 3072000 bytes in
native space
D/skia    (   88): -------------- inform VM we're releasing 3072000 bytes
which we couldn't allocate in native
D/dalvikvm(   88): GC freed 1018 objects / 65504 bytes in 169ms
D/dalvikvm(  198): GC freed 52 objects / 2088 bytes in 945ms
V/MediaProvider(  294): we got work to do for checkThumbnail:
/sdcard/DCIM/USER_PHOTO.jpg, there are still 0 tasks left in queue
V/MediaStore(  257): We probably run out of space, so create the thumbnail
in memory.


Thanks.

-- 

2. Problem with geocoder.

I want to determine the location(i.e. latitude and longitude) of a
given address.
The code was working fine on the emulator but suddenly it gives
IOException : unable to parse response from server.
I have included the internet permission in the manifest file.

I have tried making a new instance of emulator and restarting my
machine but nothing helps. I can access the internet from the emulator
browser.

I am not aware of what to do to make the code running again, work is
stuck.
I need some advice at the earliest.

Thanks in advance.

-- 

3. Voice Recognition Development - problems working with SDK/emulator

4. Android 3-way call

5. Detect changes of sms/mms status

6. RIL_REQUEST_STK_SET_PROFILE

7. MediaPlayer and RTP over RTSP (RTSPT)