I use Htc's phone. My phone's lock screen can show the icons which are added in my main screen's bottom bar. The bar allow me add app and shortcut. If I type the password to unlock my phone,it took me 10 second. So I have a thinking:
I write a app to create a shortcut and the shortcut can broadcast to the record app to start record.
{
Intent shortCutContain =new Intent("example.app.REC");
shortCutContain.setClassName("example.app", "example.app.AudioService");
shortcutintent.putExtra(Intent.EXTRA_SHORTCUT_INTENT,shortCutContain);
}
this is what I do......but it failed
Please help me