string

  1. practicalsoft

    B4X FEED save user defined type object in ascii format (csv or other)

    Hi, I have a user defined type object. something like: B4X: Type Test1(Field1 as string, Field2 as string,Field3 as string) dim Obj1 as Test1 Obj1.initialize Obj1.Field1 = "text1" Obj1.Field2 = "text2" Obj1.Field3 = "text3" I would like to give the user the ability to save in a text format...
  2. practicalsoft

    B4X FEED Connection error to msqlserver

    Regards. Can someone help me convert this connection string to a database with a jdbc connection The connection string is connectionString = "Data Source = 172.30.1.1 \ POSDB; Initial Catalog = LODYNDEV; User ID = latelefonicaview; Password = XXX; Application Name = GironetCore" providerName...
  3. practicalsoft

    B4X FEED WebViewExtras

    Hi all. WebViewExtras is my latest library. It's a much updated version of JSInterface. WebViewExtras exposes more of the available native Android WebView methods to your B4A application: addJavascriptInterface(webView1 As WebView, interfaceName As String) Add a javascript interface to...
  4. practicalsoft

    B4X FEED how ? Application_RemoteNotification in backgrond not Event

    I send some message by push notifications with key *.p8 in production. by PHP to my device ..it work I received it .. but Application_RemoteNotification not event when my app backgrond can please help? B4X: #Region Project Attributes #ApplicationLabel: ######### #Version: 1.0.0...
  5. practicalsoft

    B4X FEED IterableList remove item in loop

    I have a Map with String keys and each value is a List of a custom type. I'm iterating through the Map keys and values and need to remove keys and List values at some point. I want to do: B4X: Type FileInfo( _ FileName As String, _ LastModified As Long _ ) Private FilesMap As Map...
  6. practicalsoft

    B4X FEED SD: ZipLibrary

    jSD_ZipLibray Author: Star-Dust Version: 1.02 SD_ZipLibray Functions: Class_Globals As String Initialize As String Inizializza l'oggetto. Puoi aggiungere parametri a questo metodo,se necessario. IsInitialized As Boolean Verifica se l'oggetto sia stato inizializzato. Zip (FilesTxt As...
  7. practicalsoft

    B4X FEED SD: ZipLibrary

    SD_ZipLibray Author: Star-Dust Version: 1.03 SD_ZipLibrary Event finish (Success as Boolean) Functions: Class_Globals As String Initialize (CallBack As Object, EventName As String) As String Initializes the object. You can add parameters to this method if needed. IsInitialized As Boolean...
  8. practicalsoft

    B4X FEED Event like this Msg_onMessage(Success As String, example1 As String, example2 As String)

    In B4a i need to raise event like: B4X: Msg_onMessage(Success As String, example1 As String, example2 As String) What is example Java code to raise event like this? Java: ba.raiseEventFromDifferentThread(getObject(), null, 0, eventName + "_onmessage", false, new Object[]{String.valueOf(...)})...
  9. practicalsoft

    B4X FEED AdvancedWebview

    this is a wrap for this github project. Enhanced WebView component for Android that works as intended out of the box AdvancedWebview Author: DonManfred (wrapper) Version: 1 AdvancedWebView Events: onPageError (errorCode As Int, description As String, failingUrl As String) onPageStarted (url...
  10. practicalsoft

    B4X FEED [class] ContactsUtils - Provides read / write access to the stored contacts

    ContactsUtils is a class based on ContentResolver library. ContactsUtils allows you to read all kinds of information from the device stored contacts and also to modify the information, add new contacts and delete existing contacts. Most of the methods expect a contact id. You can get this id...
  11. practicalsoft

    B4X FEED GeoLocation

    This is Library which is based on the code from this Github project. GeoLocation ...|http://www.b4x.com Author: DonManfred Version: 1.1 GeoLocator Events: Location (success As Boolean, Lattitude As Double, Longitude As Double) Functions: geoAddress GetLocation Initialize (EventName As...
  12. practicalsoft

    B4X FEED MiniHtmlParser problem - Error occurred on line: 236 (MiniHtmlParser)

    Hello, am trying to use minihtmlparser to get youtube direct download link from this website But when i run the app, sometimes the same link will work, sometimes it will crash. Currently I use Try and Catch, sometimes it will return "Not Found" but when you try again then it gives result Edit...
  13. practicalsoft

    B4X FEED Implicit CAST Integer to String not work some time

    Hi I use most of time, string parameter in my sub For example B4X: Sub mySub(sPar as String) workMode = sPar 'Dim WorkMode As Int is declared in Sub GLOBALS of activity end Sub ' I call my sub with this code CallSubDelayed2(Me,"mySub", 64+5) ' this work fine in the...
  14. practicalsoft

    B4X FEED [B4X] SD p7m (Fattura elettronica)

    Con l'avvento della Fattura Elettronica ( :confused: ) è nato il bisogno di leggere i file p7m (che arrivano nella posta certificata se non hai un portale con codice univoco) Il formato del p7m della fattura elettronica (fortunatamente) non è codificata/crittografata. Con questa libreria ho...
  15. practicalsoft

    B4X FEED How to escape a string with the ( "$ ) characters within?

    I have this string: 6%>$#2"$6;2$0:6>;y48: But If I try to make this: B4X: Dim s As String = "6%>$#2"$6;2$0:6>;y48:" I get this error message in the IDE: The input string was not in the correct format. It is because the apostrophe, but has the $ caracter after it and don't work if I make this...
  16. practicalsoft

    B4X FEED [Solved] Convert Delphi function to B4A

    I tried to convert the function below from Delphi to B4A, but I'm stuck in ths part of the code: B4X: NewText := NewText + Chr((Ord(Key(x)) xor Ord(Text(y)))); What is an how to use the equivalent commands (chr, xor, ord) in B4A? Spoiler: Delphi function B4X: function ShuffleText(Text, Key...
  17. practicalsoft

    B4X FEED Convert Delphi function to B4A

    I tried to convert the function below from Delphi to B4A, but I'm stuck in ths part of the code: B4X: NewText := NewText + Chr((Ord(Key(x)) xor Ord(Text(y)))); What is an how to use the equivalent commands (chr, xor, ord) in B4A? Spoiler: Delphi function B4X: function ShuffleText(Text, Key...
  18. practicalsoft

    B4X FEED I want to change icon App from app..get error..

    hi all i want to change App from App ? i try use this setAlternateIconName but need add this B4X: #PlistExtra: <key>CFBundleIcons</key> #PlistExtra: <dict> #PlistExtra: <key>CFBundleAlternateIcons</key> #PlistExtra: <dict> #PlistExtra: <key>nmIcon1</key> #PlistExtra: <dict> #PlistExtra...
  19. practicalsoft

    B4X FEED convert this php code to b4a

    i got this code to convert ip address to a long range B4X: function Dot2LongIP ($IPaddr) { if ($IPaddr == "") { return 0; } else { $ips = explode(".", $IPaddr); return ($ips[3] + $ips[2] * 256 + $ips[1] * 256 * 256 + $ips[0] * 256 * 256 * 256); } } i have adjusted to b4a as...
  20. practicalsoft

    برنامه نویسی تابع ایجاد MapFragment با کد نویسی b4a

    با تابع زیر میتونید MapFragment رو بدون استفاده از لیوت بیسیک , با کد نویسی ایجاد کنید ?? Public Sub InitializeMapFragment (MapFragment As MapFragment,EventName As String,Parent As Panel) Dim ref As Reflector ref.Target = MapFragment ref.RunMethod4("_initialize", _...
عقب
بالا