B4A Library New Net library - Android FTP, SMTP and POP3 - Erel    Feb 14, 2021   (21 reactions)   tags: FTP, ftp smtp pop3, Net, B4A, Email The Net library supports FTP, SMTP and POP3 protocols. This library replaces the FTP library. Both...: - Download the attach file. - Copy Net.xml and Net.jar to the additional libraries folder. Make sure... calling with Wait For: https://www.b4x.com/android/forum/threads/b4x-net-library-ftp-smtp-pop-with-wait... methods (SMTP): http://www.b4x.com/android/forum/threads/new-net-library-android-ftp-smtp-and-pop3... is released. See this link: http://www.b4x.com/android/forum/threads/new-net-library-android-ftp-smtp... B4A Tutorial [B4X] Net library (FTP, SMTP, POP) with Wait For - Erel    Feb 14, 2021   (16 reactions)   tags: FTP, SMTP, POP.Net, B4X Net ftp smtp pop wait Starting from v1.70 of Net, jNet and iNet libraries the asynchronous methods return a 'sender filter' object. This object can be passed as the sender filter parameter in a Wait For call. This makes it simpler to manage multiple requests. For example: 'ftp was previously initialized... technique can be used with all asynchronous methods in the Net library. Notes - B4i iNet and B4J jNet...-net-library-android-ftp-smtp-and-pop3.10892/#content Note that B4J and B4A libraries are identical.... B4J Code Snippet [B4X] Solving encoding issues with html mails sent with SMTP (Net library) - Erel    Mar 14, 2021   (12 reactions) Encoding the html text with base64 avoids encoding issues, especially with MS Outlook. This code is compatible with B4A and B4J: Dim su As StringUtils smtp.Body = su.EncodeBase64(html.GetBytes("utf8")) 'html = the html body smtp.AdditionalHeaders.Put("Content-Transfer-Encoding", "BASE64") Note that it will not work with messages with attachments.... B4A Library [B4X] .Net Framework implementation of B4XSerializator - Erel    Mar 20, 2020   (24 reactions) B4XSerializator is included in the internal RandomAccessFile library. The attached dll is for .Net Framework applications. B4XSerializator is a great tool that makes it simple to share data between B4A, B4i and B4J. It takes care of converting objects, including complex objects, to bytes and vice...-b4xserializator.72149/#content The attached .Net dll is a .Net implementation of B4XSerializator. You can use it if you need to communicate with a .Net application or server. Using it is simple... B4J Question HttpJob B4X Difference with .NET ? - Magma    Apr 25, 2024 Return False End If End Sub and this the code of vb .net created from a partner (based... at locked machine when using .NET code... with my code not... Am i having some encoding problem or... B4A Tutorial .Net FileTransfer - Implement AsyncStreams Prefix mode - Erel    Jul 4, 2013   (1 reaction) The attached C# project, implements the new stream protocol of AsyncStreams. Relevant tutorials: AsyncStreams Tutorial FileTransfer - Send and receive files with AsyncStreams This project allows you to connect the desktop to the FileTransfer app: http://www.b4x.com/basic4android/images/SS-2013-07-04_10.34.17.png http://www.b4x.com/basic4android/images/SS-2013-06-24_13.24.55.png Note... B4J Code Snippet [B4x] AES-256 encryption with salt and iv (works with all platforms like php, .net, etc.) - KMatle    Feb 19, 2021   (13 reactions) This example is based on agrahams encryption library: Encryption Lib 1. Generate a 32 byte pw (just call the sub) and store it 2. Encrypt the data by calling AES_Encrypt. Return is a byte array or a base64 encoded string 3. Salt is a random value which is added at the beginning of the encrypted string. It is a good practice to add some random bytes to a message. A hacker doesn't know how long... B4A Question Net Library - Using SMTP to send an email message. - rleiman    Oct 28, 2020 Greetings, I'm experimenting with the Net library in an attempt to send an email message using SMTP with gmail as the email server. The message is not being sent. My logs show a "False" coming from the "Success" event. No errors are reported from the Try / Catch statement in the coding. email.Initialize("smtp.gmail.com", 587, "[email protected]", "MyPassword", "EmailClient") Dim Body As String Dim Subj As String Dim EmailTo... B4A Question How to call .net 6.0 RestAPI in B4A - junaidahmed    Jun 17, 2023 I have used RestAPI in .net 6.0 (.net core).I would like to know how to call API (Post request) in B4A for below queries 1.Login (how to pass json string as body in B4A) 2.Read Data( with jwt authentication and json paramater ) 3.Insert ( with jwt authentication and json paramater) 4.Update ( with jwt authentication and json paramater) 5.Delete ( with jwt authentication and json paramater)... B4J Code Snippet Hashcode of object - Like .NET and JAVA - JakeBullet70    Jan 10, 2024   (3 reactions) In .NET and native JAVA you can get a hashcode of any object. (Think signature) Anyway, found myself in need of this so: Private Sub GetHashCode(o As Object) As Int Dim jo2 As JavaObject = o Return jo2.RunMethod("hashCode", Null) End Sub Not tested in B4A (Works in B4A) I would amigine B4I is way different.... Page: 1   2   3   4   5   6   7   |