class

  1. practicalsoft

    B4X FEED Can setLayoutAnimated be called inside a Class ?

    Hi all, as for thread title, can setLayoutAnimated be called inside a Class ? I use this code: B4X: 'Show a console with layout animation. 'Duration: The animation duration in milliseconds. Pass 0 for no animation. Sub ShowConsole (Duration As Int) mDuration = Duration ' Store for future...
  2. practicalsoft

    B4X FEED Regarding not being able to use MsgBox from Starter

    We all know that we can't show UI things from Starter (or any services really), like MsgBox etc. (Toasts are an exception for some reason, but for this thread I'll ignore them.) Let's say I have a class in Starter. Then that class won't be able to use MsgBox etc. And if that class has a class...
  3. practicalsoft

    B4X FEED [B4X] [XUI] xChart Class and b4xlib

    Current version 8.5 NEW WATERFALL chart CANDLE chart The xChart Class does exist as a class and a B4X libary. It works on all three platforms: B4A, B4i and B4J. The xChart.b4xlib and the xChart.xml files are attached. You need to copy the xChart.b4xlib file to the AdditionlLibraries\B4X...
  4. practicalsoft

    برنامه نویسی Font Awesome

    Font Awesome <i class="fas fa-user-circle"></i> <i class="fas fa-user-circle"></i> f2bd <i class="fal fa-users-crown"></i> <i class="fal fa-users-crown"></i> f6a5 <i class="fas fa-gavel"></i> <i class="fas fa-gavel"></i> f0e3 <i class="fas fa-hand-point-left"></i> <i class="fas...
  5. practicalsoft

    B4X FEED WebViewSwipeToRefresh

    As AHSwipeToRefresh lib cannot work now with WebView (seems, due to AndroidX) - any solution must be found for pull-to-refresh. So, CLVSwipe Erel's class was reworked into this WVSwipe result class (only for Android from my side). Dependencies: JavaObject, ViewsEx, XUI. * Adjustable ProgressBar...
  6. practicalsoft

    B4X FEED Auto WebView Size

    Hi all, I searching for a solution to implement an auto WebView height size for B4X (see the attached images). Searching the Forum a found this Samples (by @Erel and by @Alexander Stolte) : [B4X] [XUI] Accurate Text Measurement and Drawing Android Code Snippet - [B4X] [XUI] Accurate Text...
  7. practicalsoft

    B4X FEED Problem with OKHttp2

    Hello! Trying to hit Here Places API (https://places.cit.api.here.com/places/v1/autosuggest) I take the following errors: B4X: Class okio.SegmentPool failed lock verification and will run slower. *** Service (httputils2service) Create *** (Http client initialized with accept all option.) Class...
  8. practicalsoft

    B4X FEED [B4A] [Solved] Variable substitution in a RTF file

    I have previously been using the jPOI to the rescue example (in B4J) to substitute string variables for specific words in a MS-Word (DOC) file and it was performing great. String variables I am using inside the file text are of the format: "<<variable>>" . Would like to try now to do something...
  9. practicalsoft

    B4X FEED Just add java class directly, like we add a module or an Activity

    Why we can't just add a .java class to project? When we open the src folder to inspect the generated java code, it's clear that a .java class could easly interoperate with all other b4x, just like inlie java. It would a great plus for B4A For those that doesn't need to extend with Java, nothing...
  10. practicalsoft

    B4X FEED [B4A] Variable substitution in a RTF file

    I have previously been using the jPOI to the rescue example (in B4J) to substitute string variables for specific words in a MS-Word (DOC) file and it was performing great. String variables I am using inside the file text are of the format: "<<variable>>" . Would like to try now to do something...
  11. practicalsoft

    B4X FEED [class] ContactsUtils - Provides read / write access to the stored contacts

    ContactsUtils is a class based on ContentResolver library. ContactsUtils allows you to read all kinds of information from the device stored contacts and also to modify the information, add new contacts and delete existing contacts. Most of the methods expect a contact id. You can get this id...
  12. practicalsoft

    B4X FEED [Class] Flexible Table

    This thread will be used by Erel, Melamoud and myself to discuss / post new releases of the Table class. The table class is a flexible UI component that enable scrollable table like UI, with sortable columns, multiselect rows etc the table is very efficient, maintaining labels only for visible...
  13. practicalsoft

    B4X FEED AS Gallery - show images from folders (image- and video-thumbnails)

    I want to share my class to create a image preview list like in the gallery app. This class is based on xCustomListView and PreoptimizedCLV. The class is creating a cached thumbnail of a image if needed, to avoid performance issues on scrolling. The cache folder is created here...
  14. practicalsoft

    B4X FEED How to call B4A sub from html loaded into WebView

    Hi, I have to call B4A sub from html loaded into WebView. I am using this libs: WevViewExtras2 version 2.20 WevViewSettings version 1.30 I am using B4A version 10. I am using WevViewExtras2 becouse i have to load https web page from specific url... But into my app i first must check internet...
  15. practicalsoft

    B4X FEED ba.activity problem

    Hi I am wrapping this library this library has these functions Java: MaryPopup(Activity activity) { this.activity = activity; this.activityView = (ViewGroup) activity.findViewById(android.R.id.content); this.actionBarView =...
  16. practicalsoft

    B4X FEED [B4X] [XUI] xChart Class and b4xlib

    Current version 5.7 The xChart Class does exist as a class and a B4X libary. It works on all three products: B4A, B4i and B4J. The xChart.b4xlib and the xChart.xml files are attached. You need to copy the xChart.b4xlib file to the AdditionlLibraries\B4X folder! Don’t copy the xChart.xml file to...
  17. practicalsoft

    B4X FEED [B4X] [XUI] Badger - Add badges to views

    This class is compatible with B4A, B4i and B4J. Simple class that adds "badges" to views. Usage example: B4X: 'increase badge by one. badger1.SetBadge(Label1, badger1.GetBadge(Label1) + 1) You can change the colors and radius in the class code. The class is included in all three...
  18. practicalsoft

    B4X FEED Extending the functionality of a Class -by modifying or supplementing

    Hello all, I came across this Log To Text File Class in this thread. https://www.b4x.com/android/forum/threads/log-to-txt-file-class.76388/ I found it quite useful. I wanted to introduce two additional methods to read the log file and to delete the log file. Both the methods require the log...
  19. practicalsoft

    B4X FEED [B4X] [XUI] xGauges Class

    The xGauges Class does now also exist as a B4X libary. The xGauges.b4xlib and the xGauges.xml files are attached. You need to copy the xGauges.b4xlib file to the AdditionlLibraries\B4X folder! Don’t copy the xGauges.xml file to the AdditionalLibraries folder, copy it in another folder for all...
  20. practicalsoft

    B4X FEED RippleButton Class

    Hi All, This custom view class will act as a button with ripple effect when clicked, it also has water effect if you swipe/move the pointer onto the view. This class was inspired by SwiftButton (Part of XUI Views) and also advice from this post to make the code more customizable properties...
عقب
بالا