# Is there a easy way to replace AlertWindow::runModalLoop()?

**URL:** <https://forum.juce.com/t/is-there-a-easy-way-to-replace-alertwindow-runmodalloop/15072>\
**Category:** Android\
**Created:** [July 3, 2015, 9:23am UTC](https://forum.juce.com/t/is-there-a-easy-way-to-replace-alertwindow-runmodalloop/15072 "2015-07-03T09:23:52Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![ttg](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ttg/32/14456_2.png) [@ttg](https://forum.juce.com/u/ttg)\
**Post date:** [February 10, 2020, 2:25pm UTC](https://forum.juce.com/t/is-there-a-easy-way-to-replace-alertwindow-runmodalloop/15072/16 "2020-02-10T14:25:11Z")

</div>

Just had one issue so far which was this:

> [@Adding text field to an alert box on Android with no contents causes a crash](https://forum.juce.com/t/adding-text-field-to-an-alert-box-on-android-with-no-contents-causes-a-crash/31399/3):
>
> Year late. this still exists. really strange. Here is the ambiguous crashlog hoping it’ll improve the searchability of this thread for others. CallIntMethodV called with pending exception java.lang.SecurityException: Using null token requires permission android.permission.WRITE\_SECURE\_SETTINGS 2020-02-01 23:05:47.070 10329-10329/com.talaviram.tick A/art: art/runtime/java\_vm\_ext.cc:470] at void android.os.Parcel.readException(int, java.lang.String) (Parcel.java:1684) 2020-02-01 23:05:47.070 …

---

_[View the full topic](https://forum.juce.com/t/is-there-a-easy-way-to-replace-alertwindow-runmodalloop/15072)._
