How to merge images?

by OiuNt » Thu, 03 Sep 2009 15:02:01 GMT

Sponsored Links
 Hi everyone,
    in my application, i want merge serveral images dynamically
accroding to the user's selection, and the merged image will be
scrolled and zoomed.
    i extends View to OverlayImageView, which has the properties
background Bitmap, layers Bitmap and Matrix. in the onDraw event, i
draw the background Bitmap and layers bitmap sequently by the method
canvas.canvas.drawBitmap(image, imgMatrix, null).
    however, if all the bitmaps are stored in memery, it leads to the
Out Of Memory problem. so, i have to read the image in the onDraw
event by the method BitmapFactory.decodeResource, but it's slow to
response user's operation, for example, the scroll and zoom the image
will leads to the onDraw event.
    so, does anyone have some good idears ? thanks!!



How to merge images?

by OiuNt » Thu, 03 Sep 2009 15:14:24 GMT

 so my solution is to merge the images into one image at the beginning
and store this image in the memory. when the onDraw is called, the
canvas can only draw this merged image.

however, i can't find out how to merge images.


Sponsored Links

Other Threads

1. Update firmware Garminasus A10 v5.0.71

utk A10 keluaran Indonesia, versi saat anda beli adalah v5.0.56

udah ada update nih jadi v5.0.71

versi malaysia dan spore aja masih v.5.0.64, indonesia lebih cepat nih :)

A10 Software Updates
[20101101] Garmin-Asus A10 Indonesia V5.0.71 Firmware Release

Firmware Version V5.0.71:

Improved Items:
1. Improve Audio Functionality During GPS Navigation.
2. Add new AP for TELKOMSEL
3. Improve Light Sensor Function
4. Improve System Volume Setting Function
5. Enhance System Stability

Steps of Update: 
1. Download Garmin-Asus A10 Firmware V5.0.71 and A10 Firmware SOP manual
2. Please follow the steps in the SOP manual to update the firmware.

1. Before you update the firmware, please plug in the Power cord.
2. Please perform the master clear after you finish updating the latest FW 
version to ensure A10 has better system stability.
3. Please also backup all personal data before updating the firmware.

Download address: 
FW Update SOP

diwyor ya...



<<attachment: a10-tn.jpg>>

2. 3g or wifi connection without user interaction

Hello there,
I don't have an Android cell, so my questions could sound a bit dumb,

quick questions:
1. is it possible to initiate internet connection (3g/wifi) without asking
user's permission, for.ex. get list of all wifi/3g apns or initiate search
for open wifi  and connect to network
2. why do I have working internet connection in my emulator when I activate
Airplane mode?
3. when I disable all connections in emulator I still have internet
connection, why is that?

Rustam Kovhaev


3. Reading/writing messages in android application

4. Android 2.2.1 changelog?

5. Content Provider and Content Resolver

6. [WTI] Aplikasi Blitzdroid

7. Mouse Event in android