This library makes it simple to let the user choose or capture media.
Features:
Allows the user to capture videos and still pictures (B4A and B4i only).
Allows the user to pick videos and pictures.
Very easy to use together with SimpleMediaManager.
Detects images mime types. Jpeg and Gifs...
https://developers.google.com/ml-kit/vision/subject-segmentation
Input: image
Output: image with main subject
See attached project.
Don't miss the #AdditionalJars in the main module and the manifest editor snippets.
Usage:
Private Sub Button1_Click
Dim cc As ContentChooser...
This class allows using ML Kit to scan documents: https://developers.google.com/ml-kit/vision/doc-scanner
It requires some configuration:
1. Open B4A Sdk Manager. Search for mlkit and install all items.
2. Main module:
#AdditionalJar...
This is a simple to use, cross platform library, that does many complex things under the hood.
The developer calls SetMedia with a placeholder panel and a url. The panel will show an image, video or animated gif (more formats will be added).
'Show a remote image / video / animated gif in...
New +1 button was added to the main page: Android programming with Gui designer - Basic4android
Users with Google accounts (gmail) are more than welcomed to +1 us :)
Using the phone accelerometer it is possible to handle shake events.
The problem is of course to decide if the stream of values represents a shake.
The Shake code module finds shake patterns and raises a ShakeEvent when such occurs.
Using the Shake module is simple. Add Shake.bas code module...
This is a "bare" arkanoid game:
The code is made of 4 modules:
Main - main activity. Also holds the main timer that is running the game.
Ball - code module. Responsible for moving the ball and checking for hits.
Slider - code module. Responsible for moving the slider. It also draws a red...
Edit: StateManager was written in 2011. I don't recommend using it for new projects. Use B4XPages + KVS2 instead.
StateManager is a code module which takes care of handling the application UI state and settings.
Settings
Settings are the application configurable settings. These settings should...
Users who are not familiar with B4AServer project should start with this tutorial.
It is sometimes much easier to access data from a desktop than to access the data directly from the Android device.
Using B4AServer, a device can connect to the desktop server, run a program that will dump the...
This is an example of how we can use B4AServer to manage the deployment and updates of multiple Android applications on multiple devices.
It works in the following way:
- The device application wants to check for updates.
- It connects to the desktop server and downloads a CSV file that lists...
The files for B4AServer are available here.
See this link for more information about B4AServer:
http://www.b4x.com/forum/basic4android-getting-started-tutorials/9678-b4aserver-simplifies-development-enterprise-house-android-applications.html#post53629
The device project includes a simple...
B4AServer is now deprecated. There are simpler and more powerful solutions available with B4J.
Overview
B4AServer is now available. The purpose of B4AServer is to simplify development of in-house applications.
B4AServer makes it simple to reliably communicate one or more Android devices with a...
There is a "mystery" dns problem with our new server that appears to occur randomly. Did you encounter such problems recently?
When such a problem occurs the forum responds with a 404 error and the main page shows the following message:
"We are currently facing a dns problem.
You can access...
Edit: B4AServer is now available here: http://www.b4x.com/forum/basic4android-getting-started-tutorials/9678-b4aserver-simplifies-development-enterprise-house-android-applications.html
This is a proof of concept of a mini-project which will soon be available.
The purpose of this project is to...
The following video is an example of creating a hello world application: YouTube - Basic4android - Hello world‏
Note that there is one step missing in the video. When you first run your program it asks you to enter your application package name and your application label name.
The...
As previously discussed I've added a community wiki to this site.
Main Page - Basic4android Wiki
Currently the wiki is empty. Users who like to contribute from their knowledge and experience are welcomed to register in the wiki and start sharing.
This update adds support for gzip and zlib compression. It allows you to wrap an input stream or output stream and then decompress data while reading or compress data while writing.
It also supports in-memory compression and decompression.
A full example is available in the manual...
SQLite Viewer is an open source application that allows you to view the contents of SQLite databases right from your Android device.
Choosing the database file is done with an external file manager or with agraham's FileDialog.
After choosing a database file, you will see a list with the...
OkHttpUtils2 is now available. OkHttpUtils2 is an improved version and is recommended for new projects. You shouldn't use HttpUtils (v1)!
HttpUtils is made of a code module and a service module. These two modules make it very simple to download online resources and upload data.
The advantages...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.