Help to do a trick on the Lock screen

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


Sponsored Links
 Hello!

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???

THanks!

-- 



Other Threads

1. HTTPClient post delay

Good morning everyone,

I am having a hugely annoying issue with delays using HTTPClient and
post the first time I call execute on the client the response takes 5
seconds to come back. Subsequent calls take around 100 to 200 ms. I am
using the Apache client so does anyone know why this takes so long?
The client setup looks like below

HttpParams params2 = new BasicHttpParams();
params2.setParameter(CoreProtocolPNames.PROTOCOL_VERSION,
HttpVersion.HTTP_1_1);
params2.setParameter(CoreConnectionPNames.TCP_NODELAY, true);
params2.setParameter(CoreProtocolPNames.HTTP_CONTENT_CHARSET,
HTTP.UTF_8);
params2.setParameter(CoreProtocolPNames.USER_AGENT, "Apache-HttpClient/
Android");
params2.setParameter(CoreConnectionPNames.CONNECTION_TIMEOUT, 15000);
params2.setParameter(CoreConnectionPNames.STALE_CONNECTION_CHECK,
false);
HttpClient client = new DefaultHttpClient(params2);

// params are a bunch of post params about 5 of them.

HttpPost post = new HttpPost(baseURL);
post.setEntity(getPostContent(params));
client.execute(post);


The timing for this look like below.

11-16 08:10:50.709: VERBOSE/SG Log verb(332): Call complete 5753
11-16 08:10:50.979: VERBOSE/SG Log verb(332): Call complete 271
11-16 08:10:51.099: VERBOSE/SG Log verb(332): Call complete 114
11-16 08:10:51.319: VERBOSE/SG Log verb(332): Call complete 221
11-16 08:10:51.419: VERBOSE/SG Log verb(332): Call complete 97
11-16 08:10:51.579: VERBOSE/SG Log verb(332): Call complete 165
11-16 08:10:51.689: VERBOSE/SG Log verb(332): Call complete 106
11-16 08:10:51.849: VERBOSE/SG Log verb(332): Call complete 161

Any help is much appreciated!

-- 

2. ACTION_PHONE_STATE_CHANGED broadcast doesn't fire my broadcast receiver

So, I added the receiver (contained in application) in the manifest

<receiver android:name="mypkg.IncomingCallReceiver">
                <intent-filter><action
android:name="android.telephony.TelephonyManager.ACTION_PHONE_STATE_CHANGED"/
</receiver>


I gave the readphone state permission

    <uses-permission
android:name="android.permission.READ_PHONE_STATE"/>


But the onReceive method of my receiver is never called, using a real
device (hero) or the emulator.

Am I missing something? This is driving me mad.

Thanks,

     Federico

-- 

3. Mms reopen problem?

4. very most powerful information health information

5. ERROR/AndroidRuntime(584): java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.provider.Telephony.SPN_STRINGS_UPDATED

6. XmlPullParserException: unexpected type

7. MOVING BACKGROUND IMAGE FOR ANDROID GAME