Help to do a trick on the Lock screen

by Renan » Fri, 20 May 2011 09:30:36 GMT

Sponsored Links

I'm doing an App that need's to interfere with the Lock Screen...

I have a service running, and i need in some point of my service, to
UNLOCK the screen, just as if the user touch-slided the unlock thing
on the screen.

How can i do that???



Other Threads

1. How to build EditText view like that in Android Market edit text (the top part)

Hi all,

I want to build a simple view which just contain an EditText and a
search button (image like a magnifying glass) next to it.
I'm an absolute beginner to android and have not much idea on how can
I do this.
I try to put an image with property "android:drawableRight" and get a
similar interface. but the problem is how can I detect the click on
that image?

Is there any component I can use perhaps?



2. View not draw after I touch:(

I have a class extend view, I create the object when I touch some area
on the main activity. But then it cannot draw the picture, I tried
onDraw method / create a canvas and then draw it, but both not work.

public class MyGame extends Activity {
        GameView mGameView = null;

    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN ,

    /**This function give the response when click on start*/
    public void MainView(){
        mGameView = new GameView(MyGame.this);

        ImageView MainView = (ImageView)findViewById(;
        MainView.setOnTouchListener(new View.OnTouchListener() {
                        public boolean onTouch(View v, MotionEvent e) {
                                float x = e.getX();
                                float y = e.getY();
                                if( x > 1 && x < 98 && y > 352 && y < 449){//If 
the user click on
the "StartGame" button
                                        mGameView = new GameView(MyGame.this);
                                        return true;
                                return false;

public class GameView extends View{

        Context mcontext = null;
        public GameView(Context context) {
                mcontext = context;

                Bitmap bitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.gameboard, null);
                Canvas canvas = new Canvas(bitmap);

        protected void onDraw(Canvas canvas) {
                Bitmap bitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.gameboard, null);
                canvas.drawBitmap(bitmap, 0, 0, new Paint());


3. Deploying the application on different machine.

4. wootCheck a free checking application!

5. Need List of email addresses of Android Developers

6. not able to view scrollbar in a checkbox list in a web page

7. Dev Phones Swap?