FR: Provide shortcuts to application functions

kRutOn

Member
The functionality on the Android application is pretty awesome. However, I would like a way to quickly get to the OCR function when I'm trying to decipher some text.

You can implement this using an activity that handles the Intent.ACTION_CREATE_SHORTCUT intent as seen here:
http://developer.android.com/resources/ ... tcuts.html

Pleco could also offer several different icons in the launcher by adding categories to different Intents, but it would probably get crowded/annoying.
 

mikelove

皇帝
Staff member
kRutOn said:
The functionality on the Android application is pretty awesome. However, I would like a way to quickly get to the OCR function when I'm trying to decipher some text.

You can implement this using an activity that handles the Intent.ACTION_CREATE_SHORTCUT intent as seen here:
http://developer.android.com/resources/ ... tcuts.html

Pleco could also offer several different icons in the launcher by adding categories to different Intents, but it would probably get crowded/annoying.

Thanks! Interesting, but I think I actually like the launcher icon idea better - not built into the app, but through a series of tiny APKs that people can download from our website which launch the appropriate Pleco activity with the appropriate arguments. ACTION_CREATE_SHORTCUT appears to be much more susceptible to getting screwed up by a particular device vendor's custom application launcher screen.
 
Top