Please suggest Substitute for drawRegion in android

by manohar » Wed, 25 Mar 2009 01:33:24 GMT


Sponsored Links
 Hi All,
I am converting a game from j2me to android. Instead of drawRegion i
tried using bitmap.  For translation 0 it works properly means
TRANS_NONE.  I am unable to get the out put for TRANS_MIRROR and
TRANS_MIRROR_ROT180. pls any one can guide me on this.

My drawRegion is some thing like this.
GraphicsContext.drawRegion( s.Data, sourceX,
sourceY,sourceWidth ,sourceHeight, flips, posX,posY, Graphics.TOP |
Graphics.LEFT );


can you please any one guide on this?



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Audio input funciton via 3.5mm / headphone jack?

How do I receive input from the audio jack (from a headset with built
in microphone)? Is it auto switched when the headset is inserted? Is
it a function of HeadsetObserver.java?

-- 

2. Notify when media file is inserted in MediaStore

Hi all. How can i be notified when new media file is inserted into
media store. For example when is downloaded from the net. I found some
posts on this topic but they are not very helpful.

http://stackoverflow.com/questions/230643/android-api-for-detecting-new-media-from-inbuilt-camera-mic
http://stackoverflow.com/questions/4604223/how-to-detect-file-or-folder-changes-in-android

Is there a way to register BroadcastReceiver to listen listen for some
broadcasts when the file is inserted ? The only solution i see which i
don't want to implement is to use use long live service on to register
ContentObserver and somehow to keep track of the new tracks. So any
help will be helpful.

-- 

3. adb cannot detect device

4. how to use scrollview in java code.

5. Menus for tabs do not show in action bar

6. Https connection to webservice

7. Button code