dimanche 31 juillet 2016

FTP and HUD

Hi all,
have a problem with ftp and hud, when i start a hud for example :

Code:
  Sub testftp
Globals.gHud.ProgressDialogShow(
"Connessione al server ftp")
myFtp.Initialize(
"myFTPTest",server,port,user,password)
myFtp.List(
path)
End Sub

Sub myFTPTest_ListCompleted(ServerPath As String, Success As Boolean, Folders() As FTPEntry, Files() As FTPEntry)
Globals.gHud.ProgressDialogHide
If Success Then
Msgbox("Connessione effettuata con successo !","Connessione FTP")...
FTP and HUD

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2auTayw
via IFTTT

Ajuda com cronômetro

Pessoal, estou tentando fazer um cronometro simples mas ele não inicia a contagem de jeito nenhum. alguém pode me ajudar?
Dim countH As Long
Sub Globals
Dim countMM As Long
Dim countSEC As Long
Private lblChrono As Label
End Sub

Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("capa")

'cria o chronometro
lblChrono.Text = NumberFormat(countH, 2, 0) & ":" & NumberFormat(countMM, 2, 0) & ":" & NumberFormat(countSEC, 2, 0)

End Sub...

Ajuda com cronômetro

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2anCGeW
via IFTTT

Prüfen ob der SPlaner als Standart gewählt wurde

Wie kann ich überprüfen ob der SPlaner bzw. der Interne Kalender als Standart gewählt wurde?
Gibt es dafür ein Abfrage Befehl?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aI0QAB
via IFTTT

CSS compile error [Solved]

Hi All

Another question.

When I compile an APP I get the error shown in the attached screen shot. I can see that somewhere the CSS is looking for a colour to be RGBA not RGB. I am not sure if this is in the designer CSS or in the main code as CSSUtils.

At the end of the error text there is [3,53]. Does this indicate the location of the error?

Regards Roger View attachment 46545

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aVkZ1T
via IFTTT

Web View crash in release mode

Hello,

I found out this bug. I am using B4A version 6.0 and the device is running Android 6.

In brief: when starting a new activity I have a webview that is going to be populated with a static html page (it refers to external JS libraries).

If I place the HTML file in the asset files (loading in using B4A) I have no problem. If I place them in a subfolder inside the "Files" folders, it works perfectly if I execute the program in debug mode but it crashes when running in release mode....

Web View crash in release mode

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aHYt07
via IFTTT

[solved] What does this error mean and how to correct it?

Just downloaded the new Raspbian and installed to a fresh SD Card. Did update and upgrade and then followed the steps as detailed here:

http://ift.tt/1RtpVw0

in order to allow UI apps on my RPi.

Trying to run the google maps example from Erel gives me this error in B4J, bouncing smiley works. I have no idea what it means or how to correct it. Any help please.

Program started.
Java...

[solved] What does this error mean and how to correct it?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1PHzDX0
via IFTTT

JavaFX installation on Raspberry PI help needed

Hello,

I have installed the latest Raspbian on my raspberry PI 2 via the NOOBS OS installer v 1.7.0
http://ift.tt/1SvxjpP

I have some problems with the installation part of java:

In Erel's tutoral is written :
http://ift.tt/1RtpVvY


"If you want to run UI applications then you need to install Java 8: http://ift.tt/17SxYe5
You need to download Linux...


JavaFX installation on Raspberry PI help needed

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1RtpVw0
via IFTTT

CSS compile error [Sloved]

Hi All

Another question.

When I compile an APP I get the error shown in the attached screen shot. I can see that somewhere the CSS is looking for a colour to be RGBA not RGB. I am not sure if this is in the designer CSS or in the main code as CSSUtils.

At the end of the error text there is [3,53]. Does this indicate the location of the error?

Regards Roger View attachment 46545

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aaC4be
via IFTTT

CSS compile error

Hi All

Another question.

When I compile an APP I get the error shown in the attached screen shot. I can see that somewhere the CSS is looking for a colour to be RGBA not RGB. I am not sure if this is in the designer CSS or in the main code as CSSUtils.

At the end of the error text there is [3,53]. Does this indicate the location of the error?

Regards Roger View attachment 46545

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2andtBq
via IFTTT

Firebase Push arrives only with App Active

Hi there,

after migrate the APP to Firebase I started to deal with something weird.

The push message only arrives when I open the App. If the App stays in the background mode the message is not fired.

I have reviewed and I'm calling App.RegisterForRemoteNotifications and also called App.RegisterUserNotifications(True, True, True)

Any thoughts?

Thanks.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2anqvsn
via IFTTT

Change color of Android ProgressBar

I know it has already been said that it is not easy to change colour of the progressbar.

but would this solution be possible to use within B4A?

How to Add Text Over a Progress Bar on Android « Aspirations of a Software Developer

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2arvTMe
via IFTTT

BooleanConv

SubName: BooleanConv.

Descriptions:
Converts a Boolean to an Int or vice-versa
Return value: Object: Int(0 or 1) if Value is a Boolean - Boolean(False or True) if Value is an Int

Code:
  Public Sub BooleanConv(Value As Object) As Object
Dim Result As Object = 0

If GetType(Value) = "java.lang.Integer" Then
Dim b As Boolean = (Value...


BooleanConv

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ah5KEW
via IFTTT

CSSUtils changing text colour [Solved]

Hi All,

I am attempting change the text colours of buttons as they are actioned. The code below should toggle the text colours of two buttons but it doesn't. :mad:

Code:
  Sub BtnStandard_Action
CSSUtils.SetStyleProperty(BtnStandard,
"fx-text-fill", "#0D88BF") 'Change button text colour
CSSUtils.SetStyleProperty(BtnExtended, "fx-text-fill", "LightGray") 'Change button text colour
Mode = 0
StandardExtended.Initialize(
"StandardExtended", 5) '5ms timer...
CSSUtils changing text colour [Solved]

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aUBzip
via IFTTT

Subscribe to library updates

Library / classes / tools developers: please write a short post in this thread every time you make an update (also remember to update the wiki when posting new stuff).

Users can subscribe to this thread to be notified when there are updates.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1NINltK
via IFTTT

BrotherSDK2B4A problem

I really don't know what's going on, though I suspect I did something wrong with the placement of 'so' files.

I used 'simpleLibraryCompiler (1.01)' and then I added just a void to perform printing. Lib is loaded, but upon run I get

Code:
  java.lang.UnsatisfiedLinkError: Couldn't load createdata from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/b4a.example-2.apk"],nativeLibraryDirectories=[/data/app-lib/b4a.example-2, /vendor/lib, /system/lib]]]: findLibrary returned...  
BrotherSDK2B4A problem

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aobbyW
via IFTTT

Portrait and Landscape variables always false in abstract designer

If I use the Portrait or Landscape variables in a designer script, they are always false in the abstract designer. It doesn't matter if I choose a Portrait or Landscape variant in abstract designer (in script mode). In the app the script works well. The problem is only in the abstract designer.

I think this worked in previous versions.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2amLvWi
via IFTTT

Floating Action Menu (FAM) and Floating Action Button (FAB)

This is a wrap for this Github Project. Thanx to @ivan.tellez for pointing me into it :)
The library is a replacement for the Floating Action Button lib by @corwin42
They are not compatible as we are both using...

Floating Action Menu (FAM) and Floating Action Button (FAB)

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1SarXgq
via IFTTT

Prüfen ob Service läuft

Hallo,

kann ich prüfen ob ein Service der im Hintergrund laufen soll (gestartet mit StartServiceAt) schon läuft?
Habe bisher leider nicht's dementsprechendes gefunden.

Danke

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ajJ5np
via IFTTT

PictureDialogs

A modern and simple looking dialog :)

Feel free to use!

Info:
Needed librarys: StringUtils, Dialogs

Features:
- Fits Title and Text to it's given text length automatically
- Easy callable

How to use:
1. Copy the Sub "PictureDialog(..." and the Sub "CalcTextHeight(..." into your project.
2. Check the needed librarys
3. Call the Sub PictureDialog when you want to show a dialog as shown below in Button1_Click

Dialog looks like:
View attachment 46536 ...

PictureDialogs

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aAYBvQ
via IFTTT

Error while upload

Hello.

I am trying to upload zip file via uploader (i have a pc with hosted builder) and i got this error.
See picture.

Please help.

Thanks.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2adXiTP
via IFTTT

MPAndroidCharts - Various type of graphs / charts (most recent library files in post #188)

Edit 6 Sep 2015: Post #3 adds Single Vertical Bar Charts and update for Pie Charts
Edit 8 Sep 2015 Post #6 update for Single Vertical Bar Charts...

MPAndroidCharts - Various type of graphs / charts (most recent library files in post #188)

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ajy1qm
via IFTTT

File Upload with Websocket - show progress?

Hi,

currently I'am working with this WebApp example: http://ift.tt/2aGQ0u2

But I have a question: Is it possible to show the upload progress? And when not: Is there a alternative?

Jan

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ajy999
via IFTTT

Problemas con Material Design

Hola amigos,

Corriendo el Debug con Material Design, veo que ahora casi todos los fondos son blancos, y un ListView se ve con fondo blanco y el font de la primera linea del Listview en Blanco también.. así que el texto principal de cada opción no logra verse, si la 2da linea.

Tengo un panel que lo tenia con un fondo clarito. y lo transformó en un fondo negro

Como se puede mejorar esto ?

Gracias

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2arxGk7
via IFTTT

jRLDialogs8 - Dialogs Libary based on JavaFX 8

Hi,

the JavaFX version 8u40 includes now nice and simple Dialogs and Alerts.
I have build a library, coded as a B4J Class with Inline Java to use these new dialogs and other dialogs.
There are no additional libraries or wrappers required.
Note: Ensure Java 8u40 (1.8.0_40) or higher is installed.

Download the B4J Library and the B4J Examples - Source Code included. More to...

jRLDialogs8 - Dialogs Libary based on JavaFX 8

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1szphUH
via IFTTT

Array Multidimensionale / SQL Lite

Devo creaami un app che mantenga i dati il giusto tempo che l'app sia attiva.
Con VB6 avrei fatto semplicemente un array multidimensionale, ma con B4A è un sistema un pò ostico (almeno dagli esempi che ho trovato in giro), fare la stessa cosa con SQL Lite mi sembra tutto sprecato.

Qualcuno mi può fare un esempio di array multidimensionale ...

L'app come ovvio deve:
- Inserire dati (almeno 2 dimensioni)
- Leggere dati

Grazie mille

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2af1HIX
via IFTTT

How to communicate with a CustomView

Hi everyone, I'm playing with creating a CustomView for the first time and I can't figure out how to communicate with it reliably.

The key thing I want to do at the moment is, at any time I want, pass a timestamp to my view and then have the view update the date field within it.

I tried creating a public "SetDate" method in the customview, which crashes out when I run it.

Here's the relevant parts of what I did:

CDDatePicker
(My custom view)

Sub Class_Globals
Private EventName As...

How to communicate with a CustomView

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2amFN0r
via IFTTT

Link Preview

Hi guys

How can I do preview of a web link in a view (e.g in a Panel ) ? I found this library but I can't use it because it is for java :(

[​IMG]

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2anBh5f
via IFTTT

SpecialFX for libGDX

SpecialFX is a plugin for advanced users of libGDX. This helper for special effects will save you some headaches if you want to combine shaders and/or make multiple passes with a given shader. It allows an easy implementation of the ping-pong technique.
To use this plugin, you have to know how to create and use a shader program, what's a texture unit, and how to create and use a FrameBuffer object.

How to use it:
1) Declare in Globals the chain of effects (lgSpecialFX) and its parameters...

SpecialFX for libGDX

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2anztcz
via IFTTT

IOIO board library

The request in this thread here introduced me to a product called IOIO that seems to have been designed by some Google engineers in the 20% of time that Google gives them to pursue their own interests,

The blog of the main mover of the project is at Microcontrollers, Electronics & Robotics: Meet IOIO - I/O for Android

The...

IOIO board library

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/21FcVWx
via IFTTT

convert wav to m4a??

hi

is it possible to convert wav to m4a with b4a??

thanx

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aGtB0r
via IFTTT

Seperation Line ?

Hello,

In some apps i see a line like a seperation line. I am attaching a section of the app. Is it possible to do without an image view ? is there a native thing for this ?

[​IMG]

ty

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a9h5FK
via IFTTT

FireBaseStorage authentication without Oauth

Hi folks, one simple question.

Can I put in hard code a simple auth to allow to my app upload files to FireBaseStorage without need to use Oauth. the "B4A FirebaseAuth currently supports two authentication methods: Google and Facebook. There is no support for email / password authentication."

I know it is bad idea put the password etc in hard code, but I need something simple, I will not ask to end user the credentials etc, anyway the files will be uploaded anonymous to...

FireBaseStorage authentication without Oauth

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aqxCBC
via IFTTT

Equivalent for SetTextScaleX in b4a?

Hi,

How to emulate this B4A function in B4i ? Thanks

Code:
  Dim s As Float
Dim r As Reflector
Dim v as Panel
Dim c As Canvas

v.Initialize(
"")
c.Initialize(v)

s =
0.9

r.Target = c
r.Target = r.GetField(
"paint")
r.RunMethod2(
"setTextScaleX", s, "java.lang.float")


from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a7qgUE
via IFTTT

Save photo with drawing. How can do it ?

Hi everyone.

I'm trying to save only the photo with drawing but the result is that the file saved is photo with background (all layout) with drawing.
Can you help me ??

View attachment 46533

CODE:

Sub Globals
Dim Canvas1 As Canvas

Dim Button1 As Button
Dim Bitmap1 As Bitmap
Dim Bitmap2 As Bitmap
Dim DestRect As Rect
Private Panel1 As Panel
End Sub

Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("main")

Dim ImageView1 As ImageView
Dim...

Save photo with drawing. How can do it ?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aGdkIZ
via IFTTT

Two wishes for the System Tray library.

First, it's an awesome library! Now on to wishes:

1: Node as Menu - This would allow us to display nodes (Forms, Controls) as menus instead of the default menu.

Maybe something like:

Code:
  Dim JS As Tray
JS.AddNode(
Node)
2: A "Action" event to handle single clicks.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1To2AfP
via IFTTT

Updates to internal libaries

Updates to internal B4J libraries will be posted here. Make sure to check the library version before updating.

These libraries should be copied to the internal libraries folder (Program Files\Anywhere Software\B4J\Libraries).

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1mKUG3i
via IFTTT

Firebase push notification

I'm trying push notification with firebase and b4a Ver. 6.0

with filrebase console i can send a push to all devices
or send to single device with token/gcm_id.

can i use a SubscribeToTopic different for each user/devices?

I'm trying to figure out if I can avoid to store gcm_ic/token into my server
and use a unique attribute for my user,
for example the email and send push to all devices that uses.

Thanks

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aC5NdQ
via IFTTT

Using B4J for creating business/database apps

Hi there..

I am searching a way to make fast small apps for business use...

For example creating a simple Invoice Sales System (not a simple pos) but i am stucked when looking controls of b4j...

For example there is no Masked Text Box... or TextBox with HintSearch or the Combo Text Box is very simple... (not searching into itself when typing)...

+ the tableview seems too simple..

is there any library with all these extras working good ?

Is b4j MariaDB compatible >? (why not i...

Using B4J for creating business/database apps

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2acGKdQ
via IFTTT

Convert view in customlistview??

Hi!!

I get this error:

B4A version: 6.00
Parsing code. (0.04s)
Compiling code. (0.10s)
Compiling layouts code. (0.03s)
Organizing libraries. (0.00s)
Generating R file. (0.64s)
Compiling debugger engine code. (1.79s)
Compiling generated Java code. Error
B4A line: 264
If v Is CustomListView Then
javac 1.8.0_66
src\b4a\example\main.java:490: error: incompatible types: View cannot be converted to customlistview
if (_v.getObjectOrNull() instanceof...

Convert view in customlistview??

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a9Grij
via IFTTT

How to expose classes from 'import' on a wrapper?

Hello.

I'm wrting a wrapper on top of a library that uses several custom built classes that need to be exposed to the B4A app.

So far what I did is just copy their definitions at wrapper level and the B4A app compiles OK but fails to execute, throwing the stack below:

Code:
  B4A version: 6.00
Parsing code. (
0.00s)
Compiling code. (
0.73s)
Compiling layouts code. (
0.17s)
Organizing libraries. (
0.00s)
Generating R
file. (0.37s)
Compiling debugger engine code. (
1.64s)...
How to expose classes from 'import' on a wrapper?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2am4MVp
via IFTTT

Again problems with 64-Bit-Integers

Hi!

I don't want to annoy you. But I'm still having big problems with the 64-bit-integers in B4A.
Please try following code:

Code:
  Sub Activity_Create(FirstTime As Boolean)
Dim q As Long
Dim q2 As Long
Dim q3 As Long

q =
7782220156096217002
q2 =
2
q3 = q / q2

Log (q3)
Return
End Sub
The result should be: 3891110078048108501 (you can test it in Windows-calculator).
But B4A/Java returns: 3891110078048108544 (many bits were set to 0 ?! ...:...

Again problems with 64-Bit-Integers

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ahrKiP
via IFTTT

difference between debug an releas with special char in Database

Good day,

with my manufacturing application I have a problem. In Debug mode anything is OK.

As soon as I compile the application in releases mode the special characters which I get from a Firebird database load wrongly.The database is as UTF8.The connecting string usesUTF8 to.

Where is the difference between Debug and release mode?

Thanks

Tobias

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aiO7yj
via IFTTT

samedi 30 juillet 2016

Using files as dbase

Hello,
first, sorry for long thread;

i'm asking if there are examples or tutorials to show how to use files with Arduino Mega as a small data base, I need to store RFID card numbers with date and time then retrieve them again according to user defined criteria, i.e. from date to date or card number. that's for logger.

Which is more applicable! open one file for each card number like 0123456.txt, contains user data like name and job title or to use one file for all card numbers i.e....

Using files as dbase

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2amXkci
via IFTTT

[Class] ImageDownloader

This class helps with downloading multiple images and setting them to multiple ImageViews.

It is similar to B4A ImageDownloader class: http://ift.tt/1MRmCeY

Using it is simple, you just need to create a map that maps between the ImageViews and the links with the images and it will download the images and set them.
You can call Download multiple times with different maps.

Note that...

[Class] ImageDownloader

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1tmoMhd
via IFTTT

Material Design 3 - Using a ToolBar as ActionBar

Google recommends to use a ToolBar instead of the standard system ActionBar for Material Design apps. In this tutorial we will use a ACToolBar(Light/Dark) object from the AppCompat library (1.10 and above) as an ActionBar.

One of the main differences between a ToolBar and the standard ActionBar is that the ActionBar is a system component which is automatically added by the os and a ToolBar is part of our layout so we can add it to the activity with the designer or by code.

Using the...

Material Design 3 - Using a ToolBar as ActionBar

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1OmRZPN
via IFTTT

Choose a specific Keystore in Build configuration

Hello,i would like to choose a specific Sign Key directly in the build configuration window.
This should simplify building apps for myself (using my own sign key) and customers without the need of changing it from the tool menu. Sometimes i forgot to change it but if it is set in the build config it should be automatic...



Thanks in advance

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a8EmYv
via IFTTT

Convert Jar from B4J to WAR file

Can i convert jar file from B4J to WAR file to use in tomcat server? if this possible, how?

regards...

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aHJq3M
via IFTTT

ESP8266 - connect as Server to B4A [solved]

I have the following setup:
A car driven by Arduino with B4R app, connected by SerialSoftware to ESP8266.
The ESP is used as Server in the lan and a B4A is trying to connect and establish Astream.
What I get is an error in the ESP and in the B4A on the lines of Astream init.
The codes, B4R ESP :

Code:
  Sub Server_newConnection(NewSocket As WiFiSocket)
Log("new connection")
Wstream.Initialize(NewSocket.Stream,
"Wstream_NewData", "Wstream_Error")
Server.Listen
End Sub
B4A:...

ESP8266 - connect as Server to B4A [solved]

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aFRXHl
via IFTTT

IR recieve question

Hello,
following your example with little modifications (LCD shield added to indicate results) lcd cursor never goto row 1, only displays decode value on row 0 instead of row 1. also key decoding is very fast and in most cases I get (result: 3, 4294967295) it seems like key repeat code, after original keycode(power key). is there a way to slow down decoding speed or it's related to remote control specs?...

IR recieve question

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aiA4uN
via IFTTT

MultiDex support

@Erel is talking about next version of B4A. So I wish MultiDex support as many guys need it
http://ift.tt/1SB1oGx

Thank you.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1PnGU3D
via IFTTT

Maven artifact not found: http://ift.tt/2a8na5p

Hi,
i get this error
Maven artifact not found: http://ift.tt/2a8na5p, i am not sure from where this comes from !
added firebase ,
got maps api key
all manifest edited firebase/ maps
#AdditionalJar: com.google.android.gms:play-services-map
I followed all instructions for maps now i get this message

any clues
thanks AH

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aSXBSH
via IFTTT

About B4J UI for linux

Hi

I have try a little UI APP(B4J) in Raspberry PI/Raspbian. It's OK. But, Could i run it in others linux version like Linux 2.6 or above ?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aoYphs
via IFTTT

Missing Function MAP

Hi, i often use the methods

"Map.GetKeyAt()" and "Map.GetValueAt()"

in my B4A-Programms.

Is it possible to implement these methods in B4I?

Thanks, George

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aSHhlb
via IFTTT

I'd like to show you my games

Hello there
Now that I'm going to release my first game, I'd like to show you all the games I have been making during the last year. Maybe too many. I think I wont finish most of them, but here they are.

Before discovering libGDX:

Flappy remix:



Yeah, we all know Flappy bird uh? I decided to do my own one, just to test the game programming world. I don't think it's bad, but I don't think I'll even port it to GDX (too many clones out there)...

I'd like to show you my games

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1Z4q8Gx
via IFTTT

B4iServer - user: b4i_default

Situation:

I have projects in B4i and Xcode.

I using this mac to compile B4i projects and compile Xcode Projects.

BUT: I have in my mac in keychains, my login "myname" works very well, and when I compile something with B4i and in a B4iServer appears:

Adding user to keychain: b4i_default


My user simply disappears! :-(

And my xcode project not compile anymore.

I need to restart MACOSX to re-appear my user.

Any one with the same problem?????

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aekjUj
via IFTTT

Text colour [Solved]

Hi All,

I am attempting to port a B4A APP to B4J and I am having trouble with text colour in views.

With Buttons and labels I can set the colour in the designer by entering #FF0D88BF as the colour. This produces the correct Blue colour.

With text fields setting the colour in CSS as :
-fx-padding: 0; -fx-background-color:transparent; -fx-text-fill: #FF0D88BF; -fx-alignment: center-right;
I get a Pink text.

If I change the text colour of a button...

Text colour [Solved]

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aoEyz5
via IFTTT

keyboard event: 'Done' how to trap?

After the keyboard's Siri comes up and you speak and you see the "Done"
link (or button) and the text appears in the text box
and you press the "Done"
is there an event to trap the event so that you can transport
the result ?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aAglZR
via IFTTT

ESP8266 - connect as Server to B4A

I have the following setup:
A car driven by Arduino with B4R app, connected by SerialSoftware to ESP8266.
The ESP is used as Server in the lan and a B4A is trying to connect and establish Astream.
What I get is an error in the ESP and in the B4A on the lines of Astream init.
The codes, B4R ESP :

Code:
  Sub Server_newConnection(NewSocket As WiFiSocket)
Log("new connection")
Wstream.Initialize(NewSocket.Stream,
"Wstream_NewData", "Wstream_Error")
Server.Listen
End Sub
B4A:...

ESP8266 - connect as Server to B4A

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aD8smj
via IFTTT

ActionDrawer - ActionBar and NavDrawer Made Perfect

ActionDrawer is a combination of my own custom actionbar class and the native navigation drawer. It aims to be an extremely simple way for basic4android users to make quality apps which follow google's guidlines, while still allowing lots of customization.
Features include: Dark and light themes, dynamic fitting of the action buttons to the overflow menu(try rotating the demo app), the drawer and up indicators, and more.
ActionDrawer requires...

ActionDrawer - ActionBar and NavDrawer Made Perfect

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a7U8ml
via IFTTT

Charging for your services

There is no hard and fast rule on how to charge for programming services. I can only offer the methods that I have used in the past. Some may work for you, and some may not, but you have to have some idea of where to start.


All Projects

Remember when you are first starting out with a new client, there is little if any trust yet. Likely all the client has is a recommendation from someone else, if that. It's up to you to make them feel good about the money they are about to spend with you....

Charging for your services

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1S9eeGE
via IFTTT

Autoajustar bitmap al tamaño del texto como whatsapp

Hola.
Antes que nada agradezco a todos por su atención.
Alguien sabe como auto ajustar un bitmap a cualquier tamaño de una cadena de caracteres tal como lo hace whatsaap que sin importar el largo del mensaje la caja de texto se ajusta perfectamente.
Mil gracias por su valiosa colaboracion.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ald0tm
via IFTTT

Sokoban

Sokoban

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aeNtEc
via IFTTT

MultiSelectSpinner V1.0.2

MultiSelectSpinner
Author: Manfred Ssykor / DonManfred
Version: 1.02
  • MultiSelectSpinner
    Events:
    • onItemSelected (position As Int, isChecked As Boolean, item As String)
    Fields:
    • ba As BA
    Methods:
    • AddToParent...

MultiSelectSpinner V1.0.2

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a8JgC2
via IFTTT

SORTING ... Your Opinion Please.

I need to set up a multi-element sort.
I have an array that contains <= 50 "rows". Each row will have 20 "columns".
Defined as MyArray(50,20)

Sample data could look like:
Name4, Category2, 4, 5, 7, ...
Name3, Category1, 7, 4, 9, ...
Name2, Category2, 8, 3, 4, ...
Name1, Category3, 5, 2, 1, ...
etc.

I want to sort the array first by Category, then by name. Final result should be:

Name3, Category1, 4, 5, 7, ...
Name2, Category2, 7, 4, 9, ...
Name4, Category2, 8, 3, 4, ...
Name1,...

SORTING ... Your Opinion Please.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2acaupC
via IFTTT

Just a Curious question to Anywhere Software

How many full time employers are there in Anywhere Software...:rolleyes::rolleyes::rolleyes:

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ahB8yW
via IFTTT

B4A to B4I

Hi Erel,

If I have an application in the B4A I can pass B4i

Thank you

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2atr9Hx
via IFTTT

Cycling through tasks with timers - memory leak?

I've written an app that polls an FTP server checking for a new data file and if it's there the app downloads it. The app also uploads a data file to the FTP server if one is created by my app. It all works fine. The app uses FTP.List, FTP.DownloadFile, FTP.UploadFile and FTP.DeleteFile in combination with their corresponding completed events to check the result and decide what task to perform next. I also use a short timer in case the connection stalls for whatever reason, to close the...

Cycling through tasks with timers - memory leak?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2alRHeq
via IFTTT

Designer: The only thing I will never understand :-)

Well. After 3 years or so with B4x im able to do almost anything with it. RSA encryption over 1 million platforms combined with other encryptione methods. I'm able to "read" PKCS-Strings. I can develop any kind of database application with 1 billion users, use all kind of Google services like Firebase. But...

The only thing I never understood is to use the designer and how it really works to scale views, getting the correct textsize in a view. I'm still adding views by code using %x and %y...

Designer: The only thing I will never understand :)

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aGqUsF
via IFTTT

Firebase hosting console

Did anyone try Firebase hosting? What kind of sorcery is this? A DOS environment? lol It's all about deploying a website which is usually done via ftp in a minute. Here back to the 90ies :)

View attachment 46523

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ao4oDx
via IFTTT

OpenClipboard Error

Hi,

I try to COPY ALL TO CLIPBOARD feature into the Log Panel, but it fails in B4A 6.0

I have the Error

[​IMG]

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a7t4DF
via IFTTT

[Objective C] Writing libraries for B4i

B4i libraries are written in Objective C. You need to use a Mac with Xcode and you need to know Objective C.
From my experience it is more difficult to write B4i libraries compared to B4A / B4J libraries.

Libraries are made of three files: library.a, library.h and library.xml.

The xml file is created automatically from the h file using the tool attached to this thread.
This is a command line tool written with B4J. You need to pass two arguments: path to the h file and path to the output...

[Objective C] Writing libraries for B4i

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1NuhRUO
via IFTTT

LiquidCrystal_I2C

This is a wrapper for this open source project: http://ift.tt/1UrklM0

It supports DFRobot I2C LCD displays.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1Tpbpln
via IFTTT

CustomRSSView

This library will allow you to display RSS feeds "Magazine Style" on a nice custom view.

Requirements:

- B4A 3.8

- Internet connection

How to install:

- Copy the CustomRSSView.jar and CustomRSSView.xml to your additional libraries directory.

Usage:

Code:
  Private rssView As CustomRSSView

'Initialize the CustomRSSView
rssView.Initialize(Activity, Me, "rssView", 50dip, 100%y - 50dip)

'Enter the URL of the RSS feed you want to parse...
CustomRSSView

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1Usu2YJ
via IFTTT

Zebra RFD8500 - Bluetooth - ZETI

I need to write an application to pair an ios device with the zebra rfd8500 rfid scanner.
The scanner has bluetooth and Apple IAP2/MFI certification.
(http://ift.tt/28KygKi)

I've read on this forum that there is only a BLE library for B4I available, but also found this thread suggesting that communication over bluetooth is possible....

Zebra RFD8500 - Bluetooth - ZETI

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/28N7J2y
via IFTTT

Info.Plist

Hi,

Is there a way to add info to Info.Plist

I try to get some existing obj.c to Work with the new obj.c inline code. And thanks for that Erel. Thats Works perfect so far.

I am no big obj. C coder but I just copy/paste my code to B4i and it Works so far.

But I use the "ExternalAccessory" frame Work library and it has to have a special line in the info.plist.

I do not know why, but if it not there I can not create a stream

I upload a screendumb do show my problem

Mogens

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1PY86Qq
via IFTTT

[B4A] [Tutorial] Material Design - Actualizado AppCompact v3.20 y B4A v6

Debido a que realizaron una consulta sobre este tema en el foro decidí hacer este breve turorial sobre Material Design. Para que todos tengan acceso a esta información.

Utilizar B4A v6+

Importante Es necesario actualizar su ANDROID SDK.

Tener en la biblioteca de librería b4a las siguientes librerías

* AppCompat => Descargar...

[B4A] [Tutorial] Material Design - Actualizado AppCompact v3.20 y B4A v6

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/29YBtHW
via IFTTT

SPP bluetooth profile and B4i

Hi,


I have developed an app in B4A. In this app I connect and Android device with an external Bluetooth hardware, using Bluetooth Classic 2.1, Serial library and AsyncStreams object (included in RandomAccessFile library). Now, I would like to migrate the code from B4A to B4i. I now that there are some restrictions with IOS and SPP communication, but I'm not sure if, in my case, I could use B4i. Let me give you details about my full system:


· I'm using a Bluetooth device which is...

SPP bluetooth profile and B4i

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1TiKGGQ
via IFTTT

Is there any way to do this scene like B4A as below

Dear Sir:
As title,I wanna do this function like this article

Code:
  http://ift.tt/2aly4TMbluetoothadmin-tutorial.14768/#content  
I can use the this
Code:
  AStream.InitializePrefix(Main.serial1.InputStream, True, Main.serial1.OutputStream, "AStream")  
to send command to communicate with BT device and and get response from BT device,is there any article like this?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2akFkfu
via IFTTT

B4i beta to be released next week

The very first beta version of B4i will hopefully be released next week :)

B4i will produce native iOS applications running on iOS 7+.

The IDE is similar to B4A / B4J IDEs, which means that it is a Windows program.

In order to develop with B4i you need:
- One or more real devices (iPhone or iPad) running iOS 7+.
- Register as an Apple developer. It costs $99 per year.
- A network connected Mac computer. We will also offer a Mac builder rental service which you can use instead of a local...

B4i beta to be released next week

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2akEW0c
via IFTTT

Serial library

Hi Erel,

First I am very impressed about your job with B4i

I am sure it will be as great as B4a

Will it be possible to get a Serial library like in B4a?

I know you have BLE but the module I use is Bluetooth 2.1 with Apple auth. chip on it.

And it uses an external framework in Xcode

Mogens

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2alytpc
via IFTTT

open google maps from app

hi all i would like to open google maps that is already instaled on my mobile phone and pass an address parameters from my application so i can drive to location easy.can you please tell me how can i do it? an example will be apriciated

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a7d5FP
via IFTTT

get WiFi name

come faccio a sapere il nome della rete WiFi alla quale sono collegato in modo semplice ??

Ho cercato ma non ho trovato nulla, a parte questo esempio che comunque non funziona:
http://ift.tt/2alvT2g

Come faccio ??

Sergio

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2akCSVZ
via IFTTT

Flurry SDK Integration issu

hi,
I want to integrate the sdk flurry in my app:
1- I download the sdk flurry
2- I create the wrapper of the sdk with SLC (Flurryanalytic.jar and Flurryanalytic.xml)
3- I add the wrapper file + native sdk (flurryagent.jar) to the additional libs directory
4. I check the librery on my project

The problem that I can not find the FlurryAgent.init () function to initialize the sdk
what gives me the following error:

"Java.lang.IllegalStateException: Flurry SDK must be initialized before...

Flurry SDK Integration issu

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aynb0j
via IFTTT

MFRC522 - RFID reader / writer

[​IMG]

This library is based on this open source project: http://ift.tt/1gZ8I74

It allows reading and writing to RFID cards using RC522 modules. The RFID modules and the cards (or stickers) are inexpensive.

The pins layout is described here: http://ift.tt/1YOqRMd
Make sure to connect the module 3.3v pin to the Arduino 3V3 pin.

Each card has a unique UID....

MFRC522 - RFID reader / writer

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/25g9yLj
via IFTTT

Android Wifi Hotspot Manager

It wraps this Github project. It prints the connected clients to the B4A log. We can panel beat it a bit if I know what info you would like to have returned to the B4A project. I have tested it between my tablet (client) and cell phone (hotspot) and it seems to work 100%.

Note the permissions added to the B4A manifest file

Code:
  AddPermission(android.permission.CHANGE_WIFI_STATE)...  
Android Wifi Hotspot Manager

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1mBzsFh
via IFTTT

Customlistview images

Hi!, I'm trying to put in a customlistview images downloaded from a server, so my question is:
How can I do this?
Imagedownloader class (the class to download images to a imageview) download images, and then put in the customlistview

Any code to help me? Thanks

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2akj4C8
via IFTTT

Problem with Custom View & InputType->made Virtual Keyboard covered Input Area

Hi guys,

I have a problem with EditText InputType in Custom View.

I have a layout with 2 Custom View, this Custom View basically is an EditText with border.

When I ran the app on a small screen (4 inch), here what happen on the second Custom View
1) if this Custom View is not in focused & clicked, this view raised up when Virtual Keyboard appeared, this is the expected result, I set this code in manifest editor

Code:
  SetActivityAttribute(Main, android:windowSoftInputMode,...  
Problem with Custom View & InputType->made Virtual Keyboard covered Input Area

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a6QuZO
via IFTTT

Question to the electronic engineers

Hi guys,

I use an Arduino Nano USB-powered and 9V battery.
The standard circuit of Arduino is so that is always uses the input with the higher voltage.
I want to but that Arduino 9V battery only be used when there is no voltage on the USB port is available.

Know someone how I can do that?
Perhaps a simple circuit?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1N3xKsm
via IFTTT

vendredi 29 juillet 2016

interaction with javascript in the WebView

Hi

Archer could let me build SVG based GUI. I try interation it with WebView in the B4A. Is it possible, use graphic.setValue('button1', true); in th B4A ?

In the B4J,It is very easy ! following is my sample:


following code transfer from archer, http://ift.tt/2a6ICrj

Code:
  <!DOCTYPE html>
<html>
<head>...
interaction with javascript in the WebView

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aRiBJQ
via IFTTT

Android N (7)

The beta version of Android N can be installed on some of the nexus devices.

Based on my initial testings there are no compatibility issues.

Please post here if you encountered any issue with Android N.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2al6cPw
via IFTTT

Problem with EditText InputType->made Virtual Keyboard covered Input Area

Hi guys,

I have a problem with EditText InputType in Custom View.

I have a layout with 2 Custom View, this Custom View basically is an EditText with border.

When I ran the app on a small screen (4 inch), here what happen on the second Custom View
1) if this Custom View is not in focused & clicked, this view raised up when Virtual Keyboard appeared, this is the expected result, I set this code in manifest editor

Code:
  SetActivityAttribute(Main, android:windowSoftInputMode,...  
Problem with EditText InputType->made Virtual Keyboard covered Input Area

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2akcvzu
via IFTTT

fatal error: '.h' file not found

Code:
  B4i version: 2.80
Parsing code. (
0.00s)
Compiling code. (
0.02s)
Compiling layouts code. (
0.00s)
Compiling debugger engine code. (
0.49s)
Building Xcode project (
0.02s)
Sending data
to remote compiler. Error
Out: Build
settings from command line:
ARCHS = armv7
CODE_SIGN_IDENTITY = iPhone
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user
id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user
id>
PRODUCT_NAME =...
fatal error: '.h' file not found

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ajhy9D
via IFTTT

Jshell on my mac error

Have two app created in Windows 10
Reserveren.jar
Updres.jar
In my windows everything works very well.

I copied these two file to my Mac.
I doubleclick My mouse and both apps. Works fine.
Now I want to Updres.jar Jshell in Reserveren.jar with:

shel2.Initialize("shel2", "java", Array As String("-jar", "Updres.jar"))
shel2.WorkingDirectory = File.DirApp
shel2.Run(10000)

Error:
Notification of java newer version download.
I did.
Java Version 8 Update 101.
Restart mac.
The same error message....

Jshell on my mac error

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ajfGh7
via IFTTT

Offline Database for android?? MAYDAY!

Good day! We are making a reviewer android app as our project for our final year in college.
The target number of questions all in all for our app is 8000 questions. We need a database and what we have figured out at first is MySQL.

However, we are having a hard time connecting MySQL to B4A i.e. linking the database to the app (connection strings and the like).

With regards to the issue, I want to ask the following questions:
1. Is MySQL really the appropriate database for our app? Note...

Offline Database for android?? MAYDAY!

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aR69tk
via IFTTT

[Closed] Google Maps, how can I get (there)? $40

This is small project. lat1, lon1 moves towards lat2, lon2. straight line.. but lat2, lon2 is moving around and point lat1, lon1 must recalculate contentiously until lat1, lon1 = lat2, lon2 (or very close to it. Remaining distance in meters to be logged every 1 second.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a6warK
via IFTTT

Real Time Clock RTC_DS1307

Hi All,

Attached are the libraries for use with the RTC_DS1307 real time clock module for Arduino. This communicates via the I2C bus.

Have tried to write the C++ RunNative without much success.

Can someone assist.

Thanks

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/25v8gsH
via IFTTT

B4A Version For Mac

Dear Erel, it will be possible someday to release a Mac version of B4A, great for that we would be a Macbook?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2axF1kf
via IFTTT

First iOS app submitted

Now I wait on Apple to say yes, or no.

Thank you to everyone who has been answering my questions the last few weeks!

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aQZDTw
via IFTTT

Text colour

Hi All,

I am attempting to port a B4A APP to B4J and I am having trouble with text colour in views.

With Buttons and labels I can set the colour in the designer by entering #FF0D88BF as the colour. This produces the correct Blue colour.

With text fields setting the colour in CSS as :
-fx-padding: 0; -fx-background-color:transparent; -fx-text-fill: #FF0D88BF; -fx-alignment: center-right;
I get a Pink text.

If I change the text colour of a button...

Text colour

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a6m6in
via IFTTT

Modules Attributes

Basic4android v2.50 includes a new method for handling project and modules settings.

These settings are now set in the code itself. The menu items were removed.

[​IMG]

The attributes syntax is simple. The hash sign (#) followed by the attribute name, a colon and the value.
Some attributes can appear more than once in the same module.

Different modules (activities, services, ...) support different attributes. The...

Modules Attributes

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aiLqml
via IFTTT

FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM)

This library requires B4A v6+.

Firebase Cloud Messaging service is a layer above Google Cloud Messaging service.
It makes it simple to add support for push messages. Although it is not clear in their documentation you don't need any additional server.

Sending messages is done with a simple HTTP request. It is also possible to send message from the Firebase console, though it is not very useful and is actually more complicated...

FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM)

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1UCO8wQ
via IFTTT

[B4X] The Networker's Guide To The Galaxy



The purpose of this tutorial is to cover the various communication options available for B4X developers.

Will start with two important utilities:
  • AsyncStreams: Asynchronously reads and writes to any stream and avoids blocking the main thread.
    Do not assume that messages will arrive as a single packet. Messages can be split or merged.
    • Prefix mode: When connecting to...

[B4X] The Networker's Guide To The Galaxy

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/29JlrCI
via IFTTT

perform a call from the app? b4i

hi,

does anyone know if its possible to perform a call from the app by pressing on a button??

thanx

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1UrTJdk
via IFTTT

IDE context search in B4X.com

It would be supportive for the rapid development if there were a "search-entry" in the context menue if a word is marked.


View attachment 46462

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aeaAT6
via IFTTT

IDE Hyperlink click as in Notepad++

For documentation reasons I often have a hyperlink as a comment.

View attachment 46460

It would be very efficient, to follow that link with a click direct in the source.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aMuWi8
via IFTTT

TLC5940NT - expand the number of pins

A library for TLC5940NT IC will be very handy in cases you need more pins than available.
http://ift.tt/1i7F47S

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aanETZ
via IFTTT

log statement Performance

Still learning B4a but my app development is progressing well.

The log method is very useful but can slow execution.

I notice when running in release mode the logs are still output.

Will the logs get stripped out when I create an APK or will they stick around slowing things down?

Should I be using the conditional compilation feature to strip them out or is this unnecessary?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ailXJY
via IFTTT

How to list a specific folder with dialogs

Hello folks.

How can I used the dialog library to show a specific folder an example the folder DCIM
I would like to list the files of a specific folder, I don't know how with fd.filepath etc.

Thanks you so much.


Code:
  Sub btnFile_Click
Dim fd As FileDialog
fd.FastScroll =
True
'fd.ShowOnlyFolders = True
fd.FilePath = File.DirRootExternal ' also sets ChosenName to an emtpy string
'fd.ShowOnlyFolders = true
'fd.FileFilter = ".txt" ' for example or ".jpg,.png"...
How to list a specific folder with dialogs

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2awSAAm
via IFTTT

B4A Bridge doesn't connect after Win 10 upgrade

It worked fine yesterday on Win 7 and then I installed the Windows 10 upgrade.

I've experimented with various wireless, firewall, and network settings but nothing has worked.

Any insights?

View attachment 46506

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aEfpBR
via IFTTT

FirebaseAuth - Authenticate your users

This library requires B4A v6+.

It allows the users to sign in to your app with their Google account (more identity providers will be added in the future).

View attachment 44939

Like all Firebase services it is quite simple to integrate this service in your app.

1. Follow this tutorial and make sure to add the Firebase Auth manifest snippet: http://ift.tt/1Oddipj

2. This service requires that the signing key SHA1...

FirebaseAuth - Authenticate your users

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1VUP30Y
via IFTTT

DesignSupport - Additional Material Design components

This library is a wrapper to some of the objects of Googles Design Support library.

Requirements:

This library requires B4A 6.0 or above.
AppCompat 3.20 or above is recommended. (It will work with older versions but the examples are...

DesignSupport - Additional Material Design components

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1kyXBdB
via IFTTT

ZERO CROSSED

Hello,
How to obtain the zero crossed on a Label.text. I tried to load the consola.TTF police, but it does not work.
An idea?
Thank you

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2amsNvJ
via IFTTT

Graphic designer for b4i

Need graphic designer for our app.

app is working just need someone who can do graphics for it.

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a5eSuY
via IFTTT

I also really enjoy this guys channel

I have already made this particular project using some Wharfdale Diamonds that I had lying around doing nothing. Once I have my friends portable CNC machine in my house, I will be making this guys headphone stands...



from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2awrQ39
via IFTTT

I do like this guys channel...

Yet another good video, and he uses an Arduino Pro mini...



from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ajJqI0
via IFTTT

AppCompat menu

i'm using the last version of AppCompat library 3.20

Code:
  Sub Activity_CreateMenu(Menu As ACMenu)
sv.Initialize2(
"Search", sv.THEME_DARK)
sv.IconifiedByDefault =
True

'Clear the menu
Menu.Clear

'Add a menu item and assign the SearchView to it
si = Menu.Add(1, 1, "Item1", Null)
si =
Menu.Add(2, 2, "Item2", Null)
si =
Menu.Add(3, 3, "Item3", Null)
si =
Menu.Add(4, 4, "Item4", Null)
si =
Menu.Add(5, 5, "Item5", Null)
si.SearchView = sv
End Sub
i...

AppCompat menu

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a5kmFz
via IFTTT

difference between debug an releas with special char in Database

Good day,

with my manufacturing application I have a problem. In Debug mode anything is OK.

As soon as I compile the application in releases mode the special characters which I get from a Firebird database load wrongly.The database is as UTF8.The connecting string usesUTF8 to.

Where is the difference between Debug and release mode?

Thanks

Tobias

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aiO7yj
via IFTTT

Convert view in customlistview??

Hi!!

I get this error:

B4A version: 6.00
Parsing code. (0.04s)
Compiling code. (0.10s)
Compiling layouts code. (0.03s)
Organizing libraries. (0.00s)
Generating R file. (0.64s)
Compiling debugger engine code. (1.79s)
Compiling generated Java code. Error
B4A line: 264
If v Is CustomListView Then
javac 1.8.0_66
src\b4a\example\main.java:490: error: incompatible types: View cannot be converted to customlistview
if (_v.getObjectOrNull() instanceof...

Convert view in customlistview??

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a9Grij
via IFTTT

How to expose classes from 'import' on a wrapper?

Hello.

I'm wrting a wrapper on top of a library that uses several custom built classes that need to be exposed to the B4A app.

So far what I did is just copy their definitions at wrapper level and the B4A app compiles OK but fails to execute, throwing the stack below:

Code:
  B4A version: 6.00
Parsing code. (
0.00s)
Compiling code. (
0.73s)
Compiling layouts code. (
0.17s)
Organizing libraries. (
0.00s)
Generating R
file. (0.37s)
Compiling debugger engine code. (
1.64s)...
How to expose classes from 'import' on a wrapper?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2am4MVp
via IFTTT

Listview position

Dim a1 As String


İf xxx.a1=0 then
Listview.Add........
Listview.Add........
Listview.Add........

Else if xxx.a1=1 then
Listview.Add........

End if


İf Position =0 then
Start act..... İt's. Work..

İf Position =1 then
Start act..... İt's. Work..

İf Position =2 then
Start act..... İt's. Work..


İf Position =3 then
Start act..... İt's NO WORK..

HELP... English bad...

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2arzNJB
via IFTTT

Kiosk App

I have a requirement for a Kiosk type application that is for a dedicated 7"
tablet running Android 5.1 My programming knowledge is somewhat limited, and
this Kiosk app is a commercial application.
As the users will only have access to this application, I will require the
device (tablet) to run in "Kiosk" mode.
Essentially, this app is to operate similar to a Kindle device, where the
user has access to pre-loaded literature.
What I am looking for is someone that is willing to write the...

Kiosk App

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2atSrzt
via IFTTT

TableView add centered item??

hi

can i add an item to the tableview where the TableCell text is centered?

i create the text with AttributedString.

thanx

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aBAfVG
via IFTTT

Again problems with 64-Bit-Integers

Hi!

I don't want to annoy you. But I'm still having big problems with the 64-bit-integers in B4A.
Please try following code:

Code:
  Sub Activity_Create(FirstTime As Boolean)
Dim q As Long
Dim q2 As Long
Dim q3 As Long

q =
7782220156096217002
q2 =
2
q3 = q / q2

Log (q3)
Return
End Sub
The result should be: 3891110078048108501 (you can test it in Windows-calculator).
But B4A/Java returns: 3891110078048108544 (many bits were set to 0 ?! ...:...

Again problems with 64-Bit-Integers

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ahrKiP
via IFTTT

Android "Kiosk mode" tutorial

Kiosk mode applications are applications that lock the device and do not allow the user to run any other application other than the kiosk application.

Android doesn't allow true kiosk mode without building a custom ROM.
However using the following methods you can build an application that will prevent "regular" users from playing with anything other than your application.

The application is made of two modules. The main activity and a service.
The service is configured to...

Android "Kiosk mode" tutorial

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1SYPh5b
via IFTTT

Raspberry gpio and b4a

Hi I have installed an Android porting on raspberry, I really as many old vb6 programmer don't like Linux and I don't like to run b4j on raspberry, there are too problems between Linux and ui b4j apps , so I prefer to use android . So any idea how can access from b4a to the raspberry gpio ? Pi4j is not usable into b4a .

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2alS2xR
via IFTTT

Google speech recognition (SR) not working properly anymore

I have already reported some time ago that there are problems with Google speech recognition when using Google App version 5.8 (feb.2016) or more recent. Google voice is now part of this Google App.
All three SR wrappers that can be found in the Forum (by Xverhelst, Stevel05 and Vpires) are affected.
The problems are:
- The RMS event won't fire (or only fires after the first recognistion instance), so a speech volume-indicator does not work anymore.
- The behaviour is different, e.g. the...

Google speech recognition (SR) not working properly anymore

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/29rtl3R
via IFTTT

[SOLVED] Firebase notification subscription

Hello,

Erel's example code to send and receive notifications with Firebase.
When I change :

Code:
  fm.SubscribeToTopic("general")  
to
Code:
  fm.SubscribeToTopic("john")  
And I send with the B4J to topic general. I still receive the notification on my phone...

I thought this was like MQTT, You subscribe to a channel and recieve when something is posted to that channel?

Any ideas?

John

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ahj4sI
via IFTTT