Public Sub CreateEmptyShortCut ( aApkName As String )
'Dim PrefMgr As PreferenceManager
'If PrefMgr.GetBoolean(aShortName) Then Return
'Log("Creo: " & aShortName )
Dim shortcutIntent As Intent
shortcutIntent.Initialize("", "")
shortcutIntent.SetComponent("it.android.imgspa." & aApkName & "/.main")
shortcutIntent.PutExtra("name", aApkName)
'shortcutIntent.PutExtra("from_shortcut", True)
Dim In As Intent
In.Initialize("", "")
In.PutExtra("android.intent.extra.shortcut.INTENT", shortcutIntent)
In.PutExtra("android.intent.extra.shortcut.NAME", "Label")
In.PutExtra("android.intent.extra.shortcut.ICON", LoadBitmap(File.DirAssets, aApkName & ".png")) '72x72
In.Action = "com.android.launcher.action.INSTALL_SHORTCUT"
Dim p As Phone
p.SendBroadcastIntent(In)
'PrefMgr.SetBoolean(aShortName, True)
End Sub