custom

  1. M

    iOS Question Custom Items in NavigationBar

    Hi everyone, I wish to do an nicer app by using some custom UI elements. It's possibile to achieve this type of result? (specifically che horizontal list in the navigation bar) Thanks in advance :D
  2. M

    B4i Library [class] Foreground Notifications

    Hi, for my personal need, i had to write a small class in order receive notification when the app is showing (foreground). Maybe it can be useful to someone. You can set: Custom Text Color Custom Background Color The showing time An icon Vibrate (import the library "iPhone")
  3. M

    iOS Question Fire an event from a class

    Hi, where can I find some documentation/tutorial on #event in B4i class? I want to add a custom event in a code module, fired by my class. thanks
  4. M

    iOS Code Snippet Horizontal Panel Scroller (like TabView in B4A) with PageIndicator

    Hi everyone, i want to share with you this example project, that is a slightly modified version of this one. Maybe can be useful to someone else. It's adapted to be an horizontal panel scroller, that correctly center the loaded layout in the panels.
  5. M

    iOS Question Navbar like Whatsapp

    Hi! I'm trying to understand the various part that make up the navigation between pages in B4i, and the various options. How can I have a nav bar like this: With custom icon and Text (and eventually the notification dot). It's a acutal navbar, or a panel with button inside? (i ask this...
  6. M

    Android Question RandomAccessFile - ReadB4XObject ERROR

    Hi everyone, i'm trying to understand how to use the RandomAccessFile Library, beacuse i need to store custom Types of data. I'm always getting an error while reading, i'm confused. The test code: Sub Globals 'These global variables will be redeclared each time the activity is created...
  7. Multiverse app

    Android Tutorial Creating custom Text Selection actions with ACTION_PROCESS_TEXT

    Android 6.0 Marshmallow introduced a new floating text selection toolbar, which brings the standard text selection actions, like cut, copy, and pastes, closer to the text you’ve selected. Even better though is the new ACTION_PROCESS_TEXT which makes it possible for any app to add custom actions...
  8. K

    Android Question error with customlistview

    java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1176092 bytes I got this is error on customlistview add and there are only 515 records to load Error log :: java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1176092 bytes...
  9. K

    Android Question custom view parent click

    Hii experts, My custom view Label class is working fine. I add custom view label object in custom list view by add row function. But customlistview_itemclick event is not running when I click on custom view. Here is my code of custom cllick event Private Sub mBase_Click Log(mCallBack)...
  10. K

    Android Question Panel Custom View

    I create panel custom view, but none object added in it. my panel custom view code : Public Sub DesignerCreateView (Base As Panel, Lbl As Label, Props As Map) mBase.Initialize("mBase") mBase = Base Base.AddView(mBase,0,0,Base.Width,Base.Height) Log(Props.Get("Elevation"))...
  11. K

    Android Question Animation to Custom View

    Hii everybody, I want to give my custom view animation like button click.
  12. K

    Android Question Custom View Default Value

    I create custom class, I assign some property and its default value to it, then I add custom view in activity and, then I change default value of property in custom view. But its update default value in my activity. What is solution for this?
  13. K

    Android Question edittext custom view

    Hii experts, I'm new to b4a custom view, so please help me. I'm trying to create edittext custom view, add I want to add textchange event my code is : Public Sub DesignerCreateView (Base As Panel, Lbl As Label, Props As Map) mBase = Base edittext.Initialize("")...
  14. K

    Android Question corner radius property to custom view

    I want to give radius property to my custom view panel. I'm try Base.CornerRadius but it not cornerradius property in drop list.
  15. K

    Android Question object base class

    Hii experts, I have to create an application by custom components class. in which I want all same property of default object. like Button class, I want to create my custom components button which contains all property and event of buttons. like in other software, there is option of base class...
  16. K

    Android Question CustomListView running too slow

    I have same problem again. my customlistview taking more than 4 min for nearly 1200 records of sqlite 7.12.00 7.16.00 my code is : cursor = Starter.year.ExecQuery("select * from GL where FBOOK='G001' order by FDESC") Dim...
  17. K

    Android Question Class of Objects

    Hii everybody. I have to create my own obect like edittext,button with my own property using this as base object how to do that? thanks in advance.
  18. K

    Android Question Custome ListView

    Hi everybody. I want to create custom listview with three different fontsize textview in each row. Thanks in Advance.
  19. Carlos Huerta

    Android Code Snippet [Notification Builder] How to add a custom sound from File.DirAssets

    Hi everyone!!! I want to share with you my solution, using the Notification Builder (Thanks to @barx for this awesome library <3 ), to play a custom sound from your DirAssets folder. I did it because this method use the notification volume for this sound (instead of the Soundpool solution...
Top