Re: ImageView setColorFilter, what to do for a bitmap?

by Tim Jones » Sun, 03 Apr 2011 01:54:04 GMT

Sponsored Links
 You can create a new scratch bitmap with a copy of the data and then blt it 
back onto the target bitmap like so:

Paint p = new Paint();

 Canvas c = new Canvas(target);
c.drawBitmap(scratchBitmap, 0, 0, p);


Other Threads

1. data exchagne on client/server applications

Hello list,

this is my first post and I don't hope you get this question like
I am not new to Java, but new to Android development and am thinking
about making a classical client/server application.
The question for me is: What is the most painless way to do the data
exchange? I really dont want to start making my own protocol with
sockets, rather thought about some xml-exchange, maybe via http or
xmpp. Is any of these well supported in the android libs or the libs
usually present on android devices? Like serializating objects into
xml and back and then sending them via stream (xmpp) or packets (http)
from one direction to another?
How would you solve this?

Looking forward for inspirating answers,


2. Noob question...using class variables inside listeners

There is a probably a very simple answer to this, but I would like to
do the following:

public class Example extends Activity {

    private String challenge_number = "";

   .....class code....

    Button ok_button = new Button(this);
    ok_button.setOnClickListener(new View.OnClickListener()
           public void onClick(View args0)
               Intent okIntent = new Intent();

this.challenge_number);    // This is the problem line


It fails because the listener doesn't know what "this.challenge_no"
is.  Can anyone help me solve this problem of scope?


3. Nesting an ActivityGroup as atTab content

4. How to make the android source code and SDK successfully by cygwin?

5. How to caculator the time?

6. Setting Focus

7. 802.1X configuration?