Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change R$drawable to R$mipmap in notification.py for android platform #648

Merged
merged 2 commits into from
Oct 7, 2021

Conversation

kyudorimj
Copy link
Contributor

Changing Drawable.icon to Drawable.presplash in line 100 of notification.py

Fixed for issue Notificaiton for android not working [Drawable.icon ] #647

Changing Drawable.icon to Drawable.presplash in line 100 of notificaiton.py
@HyTurtle
Copy link
Contributor

I don't believe presplash is a guarantee, at least not guaranteed to be an image. Would rather use:
Drawable = autoclass("{}.R$mipmap".format(activity.getPackageName())) or preferably:
context = activity.getApplication().getApplicationContext() app_icon = context.getApplicationInfo().icon

@kyudorimj kyudorimj changed the title Update icon to presplash Change R$drawable to R$mipmap in notification.py for android platform Oct 3, 2021
@cngz1978
Copy link

cngz1978 commented Oct 6, 2021

Changing Drawable.icon to Drawable.presplash in line 100 of notification.py

Fixed for issue Notificaiton for android not working [Drawable.icon ] #647

Thank you so much Mark Joseph. I saw your solution and solved the problem "icon" in the long run.

@akshayaurora akshayaurora merged commit 7ac7b45 into kivy:master Oct 7, 2021
@akshayaurora
Copy link
Member

@masterjoseph914 thanks

@kyudorimj
Copy link
Contributor Author

@masterjoseph914 thanks
Thank y'all ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants