B4ASnippetSkype
Intent make a Skype Video call
With this intent you can make a skype Video Call in direct mode with user
@MarcoRome · 2016-08-23
B4ASnippetSkype
Intent Call Direct Chat Skype
With this intent you can call in direct mode chat on Skype with skypeid that you want
@MarcoRome · 2016-08-23
B4ASnippetPane(l)
Handle swipe left-right event
Handle swipe left/right event
@yiankos1 · 2016-08-15
B4ASnippetWebView
Using Webview files in the Assets Directory
How do I load a set of web pages in a Webview that are contained in the Assets Directory?
@Derek Johnson · 2016-08-12
B4ASnippetDialogs
PictureDialogs
A modern and simple looking dialog
@chrjak · 2016-07-31
B4ASnippetB4A
BooleanConv
Converts a Boolean to an Int or vice-versa
@LucaMs · 2016-07-29
B4ASnippetTooltip
show tooltip for view
The standard Android UI includes a way to show tooltips for controls by long-clicking them (press and hold). This creates a toast-like message near the control. So, for an Edit icon (the pencil), you can long-click and it will show a tooltip of "Edit". This is not directly supported by Android (there''s no hintText property), so I wrote some code to do it. Not enough for a class (just 4 subs), so here it is: To add a tooltip to a view, it''s a single line of code in the view''s LongClick event listener:
@Dave O · 2016-07-05
B4ASnippetToast
show toast message at position
With ToastMessageShow, the toast is limited to the bottom center of the screen. To show a standard Android toast message at a certain position on the screen, use this code instead.
@Dave O · 2016-07-05
B4ASnippetOther
get the current activity (from a code module)
If you''re in a code module, you don''t have the Activity object handy to reference. Here''s a simple sub (courtesy of Erel) that fetches the current B4A activity.
@Dave O · 2016-07-05
B4ASnippetTheme
theme colors for Material design
I''ve been playing with custom color themes for a Material design app (Android 5+), and have found (by searching the Android docs and B4A forums, and some trial and error) a few handy XML attributes for setting custom colors for certain Android UI UI elements.
@Dave O · 2016-06-26
B4ASnippetAction Bar, Drawer, etc
Remove Material Action Bar Shadow
The material action bar is elevated by default. The following code sets the elevation to 0 and removes the shadow.
@Erel · 2016-06-07
B4ASnippetGPS/location/maps
Start Map Intent for Google And Waze
Start Map Intent for Google And Waze
@Reviewnow · 2016-05-20
B4ASnippetFile xfer
How to download an image from internet and save in a folder
How to download an image from internet and save in a folder
@valentino s · 2016-05-12
B4ASnippetStrings
VB like Join functions.
VB like Join functions.
@JakeBullet70 · 2016-05-08
B4ASnippetCamera
Camera detection
This is just some simple inline Java code to check if a device has a Back facing camera, a Front facing camera, and a Flash (it requires the JavaObject library to be enabled).
@Johan Schoeman · 2016-05-01
B4ASnippetBarcode/scan
Using a USB wired Barcode scanner
Using a USB wired Barcode scanner
@Derek Johnson · 2016-03-30
B4ASnippetPDF
Multiline PdfJet
PdfJet is fantastic library by Warwound. Have a lot function but anyway is absent multiline management. With this code is possible resolve.
@MarcoRome · 2016-03-20
B4ASnippetIntent
Open Any File with Intent ( also from Server )
Open Any File with Intent ( also from Server )
@MarcoRome · 2016-03-15
B4ASnippetSMS
SMS Balloon Labels
SMS Balloon Labels view
@atulindore · 2016-02-26
B4ASnippetEditText/Textview/TextArea/TextField
EditText Max Length
EditText Max Length
@aeric · 2016-02-19
B4ASnippetDate/time
Simple Date Spinner
Simple Date Spinner
@aeric · 2016-02-16
B4ASnippetDatabase
How To Use SQRT and POWER in a SQLite Query
How To Use SQRT and POWER in a SQLite Query
@Mahares · 2016-02-15
B4ASnippetDrawing
Bicubic curves
Calculate bicubic curves
@NeoTechni · 2016-01-24
B4ASnippetStrings
Proper Case For Names
Class for Proper casing of names
@stevel05 · 2016-01-23
B4ASnippetDialogs
Activity as Dialog
Activity as Dialog
@LucaMs · 2016-01-08
B4ASnippetYouTube
Youtube intent force orientation lanscape
This is way to force the orientation of an intent youtube ( landscape )
@MarcoRome · 2016-01-03
B4ASnippetDatabase
ChangeColumnType
How To Change a Column Type In a SQLite Table
@Mahares · 2015-12-30
B4ASnippetInterop
fixer.io
Shows how to use the free service from http://fixer.io in your own apps. Fixer.io is a free JSON API for current and historical foreign exchange rates published by the European Central Bank. The rates are updated daily around 3PM CET. Dependencies: okHTTPutils2, JSON
@DonManfred · 2015-12-21
B4ASnippetMenu
JSON Menu to Tree
I had designed a b4J app using the menu designer, saved the menu to an external file and unfortunately lost the file, back-ups didn''t have it either. Anyway, I thought of reverse engineering the menu from my already saved JSON menu in my app so that my ''tree'' is regenerated so as to update it. After careful scrutity of the source code I came up with this snippet.
@Mashiane · 2015-12-19
B4ASnippetImages
Photo filters Seekbar
Adds filters - effects to photo - images and changes value of filter through seekbar.
@yiankos1 · 2015-12-06