How to Create a Home Screen Widget for Android

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2022
  • In this video, we will learn how to create an Android Home Screen Widget.
    We are going to add a widget to our Notes App (link to the project below), that will display a list of Notes on the Home Screen of our Device.
    Obviously, we cannot cover everything there is to know about widgets, but by the end of this video, you are going to have an understanding of how widgets work, how to customize them, and basically, a good starting point to create your desired widgets.
    𝗟𝗶𝗻𝗸 𝘁𝗼 𝘁𝗵𝗲 𝗽𝗿𝗼𝗷𝗲𝗰𝘁 𝗼𝗻 𝗚𝗶𝘁𝗛𝘂𝗯:
    github.com/Mike-Schvedov/iNot...
    𝗟𝗶𝗻𝗸 𝘁𝗼 𝗗𝗲𝗽𝗲𝗻𝗱𝗲𝗻𝗰𝘆 𝗜𝗻𝗷𝗲𝗰𝘁𝗶𝗼𝗻 𝗩𝗶𝗱𝗲𝗼:
    • Dependency Injection (...
    💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾
    Between my full-time job and my family life,
    I try to find free time to create content for this channel.
    You can support me and help this channel keep growing:
    paypal.me/MikeSchvedov220
    💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾
    💻 This Is My Development Setup (Affiliate): 💻
    ============
    Main Monitor:
    amzn.to/3M64qCJ
    Secondary Monitor:
    amzn.to/41Iu06A
    Graphics Card:
    amzn.to/3MpnXzd
    CPU:
    amzn.to/3I8nvCW
    RAM:
    amzn.to/42zqM6u
    Keyboard:
    amzn.to/3W5RFN4
    Mouse:
    amzn.to/3nTPcZs
    Headphones:
    amzn.to/3pz0By5
    Microphone:
    amzn.to/3OecJz3
    =============
    Tags for the Algorithm:
    How to create a Android widget
    Home Screen app widget
    Android studio app widget
    How to connect a Widget to the repository
    Android Widget with Room Database
    #widget #android #widgets

ความคิดเห็น • 8

  • @azmatalica
    @azmatalica 5 หลายเดือนก่อน

    Thanks for the video

  • @EmanNollase
    @EmanNollase ปีที่แล้ว +1

    can we use composables on the widget?

  • @ScrotoloOttavoNano
    @ScrotoloOttavoNano 6 หลายเดือนก่อน +4

    Very odd choice of font :)

  • @danielastoica3354
    @danielastoica3354 3 หลายเดือนก่อน

    We don't like the widget for Google calendar. The app cannot be uninstalled to replace it with an older version. The app doesn't allow an older version to replace a newer version. We must create the widget from the old version, but how? Many thanks and best regards

  • @Kw710v
    @Kw710v ปีที่แล้ว

    How to add a widget to the Android home screen from my app?(I mean programmatically)

    • @Mikes-Code
      @Mikes-Code  ปีที่แล้ว

      As far as I know, the user has to do it by himself.
      We cannot "force" a device to show our widget.

    • @Kw710v
      @Kw710v ปีที่แล้ว

      @@Mikes-Code No,we can force device to set widget to home screen i saw in "Aesthetic Widgets" app you can look if you dont believe and if you find a solution pls write

    • @Mikes-Code
      @Mikes-Code  ปีที่แล้ว +1

      @@Kw710v
      Its not that i don't believe. I just don't know, but if you say i believe you.