replace

  1. Melghost

    Android Question Replace camera with image file

    Hi. Is there a way to replace the camera capture with an image from a file? The goal is to show an image of a static warning: "You're not allowed to use the camera" I would need it to work no matter the camera app being used. Thank you.
  2. F

    Android Question Replace variables in string

    Hi all, i want to replace dinamically variables in strings. Something like this I recibe a string in a JSON and after the parse i obtain this: JSONdata = "The New date is: g_date" the app has the variable: Dim g_date as String g_date = "31/12/2022" So i need when i put the JSONdata to a...
  3. DALB

    Android Question problem with replace function

    Hello, Here is a syntax which doesn't work: mot=mot.replace("é","e") In my language, for instance, the letter "é" can't be changed to "e" with the 'Replace' function. B4A returns this: android.database.sqlite.SQLiteException: near "diff�rents": syntax error (code 1): , while compiling: INSERT...
  4. K

    Android Question string.replace() changing special character in string

    i have a string : msg = "%this is test message%" I am changing special character "%" = "%25" msg.Replace("%","%25") Its showing error :: Error occurred on line: 49 (Main) java.lang.ClassCastException: java.lang.String cannot be cast to anywheresoftware.b4a.shell.Shell$RemoteObject at...
  5. D

    Wish IDE : search and replace options

    I am a frequent, but not constant, b4a user. The product and the community are excellent. Most of the time, I'm developing in other languages/platforms and IDEs. When I jump in to b4a, I find the search and replace behaviors to be non-standard and therefore a bit inconvenient. Erel, I...
  6. Alexander Stolte

    Android Code Snippet [B4X] [BitmapCreator] Change Color of Bitmap

    Hello, the Output is not optimal. Have a look down, to Erels code snip for better results. With this snip, you can easy change a Bitmap/Icon Color. This only makes sense if the picture is monochrome with a transparent background like Icons. Usage: ImageView1.Bitmap =...
Top