B4ASnippetB4A
Super-others: my 42 common usage subs
Common subs are usually placed into a code module. I decided to check all my projects that have "others.bas" code module, and i have found... 185 unique files. And much more common subs, but 42 pcs of them can be useful for community. Mostly the names are self-explaning, most are from the forum.
@peacemaker · 2018-10-22
B4ATutorialB4A
IDE Tip: Alt + N = Recent subs menu
Not sure how many developers are familiar with the list of recent subs. You can open it with Alt + N. It is very useful when you are skipping back and forth between several locations. Note that Alt + Left / Right goes to the previous or next location.
@Erel · 2018-10-22
B4ALibraryImages
Zoomage - A simple pinch-to-zoom Library
A simple pinch-to-zoom ImageView library for Android with an emphasis on a smooth and natural feel.
@DonManfred · 2018-10-21
B4ATutorialImages [WATER MARK]
Add text to image and save it [water mark]
Example of how add a text into a bitmap and later save it as image file.
@Douglas Farias · 2018-10-19
B4ATutorialhttp [BRASIL CARS, TRUCKS AND MOTORCYCLES PRICES]
Tabela Fipe Api [Brasil Cars, Trucks and Motorcycles prices]
A simple example of how to consume a api with http
@Douglas Farias · 2018-10-18
B4ATutorialMenu [JFEINSTEIN10]
Left menu layout examples [jfeinstein10]
A simple layout example of SlidingMenu
@Douglas Farias · 2018-10-18
B4ATutorialImages
Image upload with PHP and PostMultipart
A simple image upload example with postmulipart and PHP
@Douglas Farias · 2018-10-18
B4ATutorialGame [INCOMPLETE]
Simple punch the president game [Incomplete]
Simple punch the president game [Incomplete]
@Douglas Farias · 2018-10-17
B4ATutorialhtml [BRAZILIAN]
Simple Currency Api [Brazilian]
Example of how to get values from a website, on this example we get the bitcoin and dolar value converted to REAL (R$) works only with REAL of brazil.
@Douglas Farias · 2018-10-17
B4ATutorialFirebase [CURL]
Send Firebase notification via PHP [CURL]
Example of how send a firebase notification via php
@Douglas Farias · 2018-10-17
B4ATutorialhttp [SERVER AND CLIENT]
Register/Login example using TCP [Server and Client]
Example of login and register using tcp and mysql db
@Douglas Farias · 2018-10-17
B4ATutorialWebView
Hide Packagename and UserAgent on Webview
Example of how hide the packagename and a user agent on a webview.
@Douglas Farias · 2018-10-17
B4ATutorialhtml [WITH ASSETS FILES]
Fidget Spinner HTML example [with assets files]
A simple Fidget Spinner example on B4A
@Douglas Farias · 2018-10-17
B4ATutorialDrawing
Fidget Spinner example
Fidget Spinner example
@Douglas Farias · 2018-10-17
B4ASnippetCharSequence / CSBuilder
Save and load CSBuilders
Using this class you can build CharSequences (the output of CSBuilder) and save the information required to build those styled strings. This allows to later load the information and create the same CharSequences.
@Erel · 2018-10-15
B4ATutorialProgress/Gauge/Loading
Bomb Countdown Example
A simple Bomb Countdown with timer, sound and vibration
@Douglas Farias · 2018-10-15
B4ALibraryAds
Tappx ads service
Tappx ads service
@Erel · 2018-10-14
B4ASnippetCharts
Predetermined graphs
I wanted a simple graphing function where I could define the range and intervals to sensible values but still have the luxury of the code determining the best fit from some derived values. As long as the maximum X and Y values was less than the maximum predetermined X and Y ranges then the code selects the best fit graph outline. This is easy if say you are measuring a sensor and know the maximum range for argument sake The code will select the best fit range and the predetermined intervals for that range, draw the graph outline and automatically label the X and Y intervals. The graph size is user set, but reduced sizes will require alteration of the interval label sizes to stop clutter An example of Multiple straight line point to point traces is provided
@rodmcm · 2018-10-14
B4ATutorialB4A
Version safe APK installation
As explained in this tutorial all store apps will soon be forced to target the latest SDK.This means that we can no longer rely on the OS backwards compatibility features and need to handle the behavior changes ourselves.Installing an external APK is a good example as it requires dealing with several changes
@Erel · 2018-10-12
B4AClassStrings
StringFunctions2
In the forum one sees again and again that many beginners use the old StringFunctions Lib of margret. But you should not use this lib anymore. Therefore, I have made the effort to rewrite the Lib (B4A 8.50).
@Knoppi · 2018-10-10
B4ATutorialSMS
SMS and CALL_LOG permissions are no longer available
Google has changed their policy regarding the following permissions: READ_SMS, SEND_SMS, WRITE_SMS, RECEIVE_SMS READ_CALL_LOG, WRITE_CALL_LOG, PROCESS_OUTGOING_CALLS Only the default phone or messaging apps can use these permissions: https://support.google.com/googleplay/android-developer/answer/9047303?hl=en This is relevant for Google Play apps.
@Erel · 2018-10-10
B4ALibraryTranslation/localisation
Locale.jar
Allows to change the activity locale in run-time. Supports LTR and RTL languages. RTL languages require minSdkVersion=17. LTR languages - no idea. Guess, API 14 is Ok, maybe less.
@Semen Matusovskiy · 2018-10-10
B4ASnippetSlider [NO WRAP][B4A]
FluidSlider [No Wrap] [B4A]
(B4A)FluidSlider [No Wrap]
@Star-Dust · 2018-10-10
B4ASnippetFile handling
Concept for VERY fast temporary IO
I briefly tested an idea that we can create a ramdisk from the actual very fast RAM, which from memory is normally closer to 900+mb/s On this disk, one could do any normal IO functions such read/write files (ie after creating it the code is basically unchanged), or even move an SQL dB, onto the disk and have pretty darn fast responses
@JohnK · 2018-10-10
B4ALibraryDialogs
smPopupWindow (wrapper for PopupWindow class)
Almost full wrapper of PopupWindow class - see https://developer.android.com/reference/android/widget/PopupWindow (This class represents a popup window that can be used to display an arbitrary view. The popup window is a floating container that appears on top of the current activity.) Ignored "listeners" only, because it''s possible to receive events in activity. PopupWidow may be useful, for example, like custom menu (attached sample demonstrates exactly it)
@Semen Matusovskiy · 2018-10-09
B4ALibraryImages
Preview image picker
A single row vertical preview image picker
@Peter Simpson · 2018-10-08
B4ALibraryWear
ABWearOS Library 1.0
This library should implement the new datalayer Google Api to send and sync data on Wear and uses the latest Google Play services (SDK 28)
@alwaysbusy · 2018-10-08
B4ALibraryBluetooth
BLE Peripheral
A BLE connection is made between a central device and a peripheral device. In most cases the Android device will be the central device. Beacons, heart rate sensors and other BLE devices are implemented as peripheral device. However the Android device can also implement the peripheral role. This is done with this library.
@Erel · 2018-10-07
B4ATutorialEncryption
LockBox3 (Delphi) AES encryption exchange with B4A/B4J
This is just a write up of my findings regarding the exchange of encrypted data between B4A/B4J and LockBox3 (Delphi). This write up focuses just on LockBox3''s implementation of AES (128, 192, and 256 bit) cipher and the block modes ECB and CBC. On the Delphi side, before proceeding to exchange string data with the outside world, the programmer needs to ensure that all string encoding is done via UTF8.
@OliverA · 2018-10-05
B4ATutorialB4A
New B4A book: Android App Development for Electronics Designers
New B4A book: Android App Development for Electronics Designers
@Erel · 2018-10-04