我想在我的共享按钮中共享一个应用程序主屏幕的图片,并带有一个链接,该链接可以从Playstore或应用商店中以kivy python下载该应用程序
这是我的代码的共享类
class Share(FloatLayout):
data = {
"facebook": "Facebook",
"whatsapp": "WhatsApp",
"instagram": "Instagram",
"twitter": "Twitter",
}
def callback(self, instance):
print('Hello')
print(instance.icon)
if instance.icon == "facebook":
self.share('heelo')
elif instance.icon == 'whatsapp':
print('Share it on WhatsApp')
elif instance.icon == 'twitter':
print('Share it on Twitter')
else:
print('Share it on Instagram')