Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Android Widget plugin creation

Discussion in 'Android' started by Brathnann, Apr 9, 2018.

  1. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,144
    Been trying for a bit to figure this out. I'm trying to add a widget feature to a Unity app that we have in development, but I keep running into outdated guides or I just run into issues trying to figure out how to even create the plugin (I'm just not that skilled in plugin creation).

    To clarify, I mean widget like where the calendar can add a small box that can sit on the home screen and display some calendar date stuff.

    If anybody has any insight on how to create the plugin as double clicking the Build in the gradle seems to create a jar, but opening the jar doesn't show the java files in it, not sure what I missed.

    Trying to do this in Android studios.

    Appreciate any help provided.
     
    Last edited: Apr 9, 2018
  2. Estellise-Yukihime

    Estellise-Yukihime

    Joined:
    Aug 9, 2018
    Posts:
    9
    Hi, @Brathnann any update on this? have you able to do this? and idea how to do this at all? or plugins for this?
     
  3. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,144
    I was able to successfully create a widget, but that was 2 years ago, and it was just an experiment and wasn't perfect. I ended up dropping the idea 2 years ago, but honestly I'd love to revisit it for both Android and iOS, I just had to move on to other things. I have no clue if what I created would still work or not.