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 Alert Dialog Plugin

Discussion in 'Assets and Asset Store' started by Hirbod-Behnam, Apr 20, 2018.

  1. Hirbod-Behnam

    Hirbod-Behnam

    Joined:
    Mar 19, 2015
    Posts:
    1
    A simple plugin to show Alert Dialog in Android.
    Android Alert Dialog Plugin is a simple plugin that lets you instantiate, show and receive the result of an alert dialog.

    Features:
    • Easy to setup and use
    • Support callbacks(Dialog Result)
    • Set a Texture2D as Icon
    • Light code
    • Supports android 4 and up(API 14)
    • Works with unity personal as well
    Download, documentation, source and a sample project is available here.
    I hope you enjoy this small plug in.:)
     
  2. ysleungrockman

    ysleungrockman

    Joined:
    Mar 16, 2014
    Posts:
    31
    I think I found an error in your plugin. For the
    Show()
    function in AndroidAlertDialog.cs, you are declaring an AndroidJavaObject "bridge" with Java class
    com.hirbod.plugin.alertdialog.alert
    . However, the actual name is instead
    com.hirbod.plugin.alertdialoginterface.alert
    , which I found in your jar file...