1. Star-Dust

    B4J Library [B4X] [B4XLib] SD SwitchAdv (3 states)

    Switch with 2 or 3 states. Horizontal or vertical. You can choose the style. All selectable from Design Note: Even if it is a B4XLib library, it is not allowed to decompress it, read and / or modify the sources. It is also not allowed to rename the library. Unless you are explicitly authorized...
  2. Alexander Stolte

    Android Code Snippet [B4X] Check is URL

    Is not perfect, but most URLs should match it. Private Sub isURL(url As String) As Boolean Return...
  3. M

    iOS Question Check if the WiFi and the Mobile Data are enabled

    How can i check if the Wifi and Mobile Data are enabled (not connected). And what is the event that triggers when one of those two change
  4. Alexander Stolte

    Android Code Snippet [B4X] Check if color is dark or light

    This Code is a convert from this Stackoverflow thread. Private Sub isColorDark(color As Int) As Boolean Dim darkness As Int = 1 - (0.299 * GetARGB(color)(1) + 0.587 * GetARGB(color)(2) + 0.114 * GetARGB(color)(3))/255 If darkness <= 0.5 Then Return False 'It's a...
  5. Spyrex

    Android Question How to get an element of the actual opend website in webview?

    How can I check if an element in the actual opend website in webview exists or not ? Thank you for every answer :)
  6. K

    Android Question Check only one checkbox

    I want to uncheck all another checkbox of that same event, when new check box checked.
  7. MarcRB

    Android Question Check for DebugMode

    Is there a way to check if the app runs in debugmode? Something like.... If IsDebug = true then 'Fill logincredentials so you don't waste time during debugging txtUser.text = "Marc" txtPassword.text = "527Gf42d#1" End if
  8. Alexander Stolte

    Android Question Check if there are only emojis in the string

    Hello, Is there an easy way to check if only emojis in a string? I would like to check this to highlight it by changing the text size, like Instagram where you can see the emojis in large size when sending only one emoji or two. Greetings