Exception or error: Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago. I am trying open a site hosted on my localhost using machine name in an android browser. When I type in machine name …
Tag: dom
testing – Android Espresso Intents test randomly fail with “init() must be called prior to using this method“-ThrowExceptions
Exception or error: I am working on pushing a project into espresso testing currently. I have read a bunch of documents and follow the given practises to get started. Everything works fine, However, when it comes to Intents related test, the result is strange. Most of the time, the tests passed in my Mac but …
Random android.content.res.Resources$NotFoundException-ThrowExceptions
Exception or error: For some time we have been receiving weird android.content.res.Resources$NotFoundException exception from our production application (via Play store). The error commonly appears while trying to access to string resources declared in res/values. To give a concrete example, in our Application subclass, we load a string ressources in onCreate() method (so at any app …
java – ListView random IndexOutOfBoundsException on Froyo-ThrowExceptions
Exception or error: I have an app with tons of downloads and I’m receiving a lot of this error: 16783 AndroidRuntime E java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 16783 AndroidRuntime E at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:257) 16783 AndroidRuntime E at java.util.ArrayList.get(ArrayList.java:311) 16783 AndroidRuntime E at android.widget.HeaderViewListAdapter.isEnabled(HeaderViewListAdapter.java:16 4) 16783 AndroidRuntime E at android.widget.ListView.dispatchDrawWithExcessScroll_Default(ListView.java:3 288) 16783 AndroidRuntime E at …
java – Creating a "favorite" feature on a list of questions that get randomized-ThrowExceptions
Exception or error: I’m having a hard time correctly implementing a ‘favorites’ feature for my app. Moving through a list of objects, the user should be able to check/uncheck something as a favorite. Once the activity moves into the onPause(); state, it should save the list of favorites (rather, the complete list of boolean markers …
security – When Do We Need to Provide Our Own Random Initialization Vector (IV) With Android?-ThrowExceptions
Exception or error: There are many published reports that on older versions of Android, we need to provide our own SecureRandom-based initialization vector (IV), as the default ones are not random: Generating IV for AES in Java https://medium.com/@tiensinodev/basic-android-encryption-dos-and-don-ts-7bc2cd3335ff https://tozny.com/blog/encrypting-strings-in-android-lets-make-better-mistakes/ Android cryptography API not generating safe IV for AES Conversely, as of API Level 23, if …
java – OkHttp javax.net.ssl.SSLPeerUnverifiedException: Hostname domain.com not verified-ThrowExceptions
Exception or error: I’ve been trying for days to get this working. I’m trying to connect to my server over https with a self signed certificate. I don’t think there is any pages or examples that I haven’t read by now. What I have done: Created bks keystore by following this tutorial: http://blog.crazybob.org/2010/02/android-trusting-ssl-certificates.html It uses …
Android 4.4 KitKat random crash (Native crash at /system/lib/libc.so)-ThrowExceptions
Exception or error: I built an app that plays YouTube iframe video via WebView and controls video with YouTube iframe api. (I know that YouTube SDK for Android may be more recommended for Android app development, but for now only iframe api fits our need) I found out that the app randomly crashes when running …