Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COpermission and intent are undocumented? What you mean, there is a lot about intent in the documentation,and you are yousing intent too,what's teh difference? amyway, tnx a lot, just one thing let's say that my application is called "Myapplication" i have to add permission in its manifest and the second part in the activity showing the 2 buttons to create shortcuts....but what you mean wirh "The correct way is to listen for a shortcut request from the home screen-- with an intent filter like so in your manifest:" How and when the home screen is asking for a shortcuts? My application does.....
      singulars
    2. CO@user280560 -- All applications will use permissions and intents; it's just that some permissions and intents are undocumented-- Android uses them for its internal implementation (since the source code is public, it's easy to find these), but you shouldn't in a third-part app-- because since they are undocumented they may change without notice.
      singulars
    3. COi tried your code,it doesn't do what i want,instead the one in the link i posted does........This is what your code does: if i long press on the home screen and i select shortcuts, my MARKET is shown in the list, and if i select it an intent is thrown (but no shortcuts are created on the desktop). What i want is that when i'm inside my Market and i click on a button, a shortcut with an icon is added in the homescreen..addIntent.setAction("com.android.launcher.action.INSTALL_SHORTCUT"); this.sendBroadcast(addIntent); these 2 lines makes the diffrence what's wronk and evil with them?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload