B4A Question Error occurred during initialization of VM - Erel (first post)    
Jan 29, 2016THOUGHT AND THAT WERE VERY wanted SOLVED BUT NOT THIS!
EVERY TIME I HAVE TO EXECUTE SHUTDOWN FOR RETURN
MY NOTE IS THE BEST OF ASUS.
AND IT ALWAYS WORKED
NOW I HAVE TO GIVE BOOT AND AFTER CLEAR PASTE OBJECTS
EVERY TIME I HAVE TO EXECUTE SHUTDOWN FOR RETURN
THINK WILL BE PERMITTED NEW WINDOWS
This is considered shouting and is difficult to read. Please don't make such posts.
You need to decrease MaxRamForDex: https://www.b4x.com/search?query=MaxRamFromDex...
B4A Question Convert byte code - optimized dex. Error - Need Help Pls :( - Joel Fonseca    
Jul 25, 2011.37
Convert byte code - optimized dex. Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang...:99)
at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:73)
at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:269)
at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131)
at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85...
link: this line:
MaxRamForDex=1024
To:
MaxRamForDex=3000
Note that you must do this change when...
B4A Question How to change MaxRamForDex value - toby    
Jan 27, 2021The compiler is having "out of memory" error. Where can I set/change MaxRamForDex value, i. e., MaxRamForDex=4000?...
link: Software\Basic4android
2. Edit b4xV5.ini and change MaxRamForDex to 4000....
B4A Question customlistview loads max items and loads more when scroll tot bottom - m643    
Dec 16, 2013   
(1 reaction)Hi all,
I see in more and more apps that having a listview that loads for example 20 items and when you scroll down it loads another 20 items.
I am using now the customlistview class and that works great but I like the solutions that loads a max of items. I searched the forum but the only thing I found is the pull tot refresh class that is what I think simulair to this function. Unfortunately...
link: Add this sub to CustomListView:
Private Sub sv_ScrollChanged(Position As Int)
If Position + sv.Height >= sv.Panel.Height Then
If DateTime.Now > lastAddItemsTime + 200 Then
lastAd...
B4J Library B4J - Oshi System Monitor (CPU, RAM, GPU, Battery, M/B, display, etc) - Peter Simpson    
Jul 28, 2026   
(21 reactions) reset.
MaxProcessRamUsage As Double
Returns the highest Process RAM usage percentage recorded.
MaxProcessRamUsageMB As Double
Returns the highest Process RAM usage in megabytes recorded.
MaxRamUsage As Double
Returns the highest RAM usage percentage recorded since start or reset.
MaxRamUsageMB...
link: information, CPU and GPU details, mainboard information with BIOS version, expanded RAM statistics, USB...
link: Model: ASUS Vivobook S 15 M5506WA_M5506WA
RAM Total: 33413771264 bytes
RAM Total: 31.12 GB
RAM Total...
B4A Example Getting file info using uri from content chooser or from received shared file - example - Nokia    
May 4, 2020   
(24 reactions)example of getting file property information from uri provided by content chooser or received file shared to the app. Curtesy of Erel’s example: Received Share. Shows File name, Mime Type, date modified, file size and a list of all columns from that particular content provider. updated code to show information from Gallery content....
B4A Tutorial [B4X] How to get <custom view here> from <CLV or any other container> - Erel    
Sep 10, 2020   
(24 reactions)This is a common question and for a good reason.
Custom views classes are not views by themselves.
The views tree only holds views.
This means that this code cannot work:
Dim B4XFloatTextField1 As B4XFloatTextField = CLV.GetPanel(x).GetView(y)
The actual view that is added to the views tree, with most custom views, is the "base" panel, usually named mBase.
To solve this problem the f...
B4A Question Cannot fit requested classes in a single dex file - djmainero    
Mar 25, 2022Hello!
I updated to 11.50 today but when I try to compile I'm having this error
Dex code (1.20s)
Dex merge Error
Error: Cannot fit requested classes in a single dex file (# methods: 67697 > 65536). Try supplying a main-dex list
Compilation failed
Before the update it was working good
Thanks in advance!...
B4J Question webapp : jetty how to use setMaxTextMessageSize - billzhan    
Oct 14, 2014Hi,
Jetty has limited text message size, and it can be set by setMaxTextMessageSize .Link : http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/websocket/api/WebSocketPolicy.html#setMaxTextMessageSize(int)
How can I set this with JavaObject or jReflection lib ?
Thanks,
bz...
B4A Question [SOLVED] B4A v9.30 BETA dont work with MultiDex:True - scsjc    
Jul 1, 2019I'm testing a new B4A v9.30 Beta, dont work with a Multidex=true :(:(:(
#MultiDex: True
Error....RuntimeException: Unable to instantiate application android.support.multidex.MultiDexApplication: java.lang.ClassNotFoundException: Didn't find class "android.support.multidex.MultiDexApplication" on path: DexPathList,nativeLibraryDirectories=]
at android.app.LoadedApk.makeApplication... "android.support.multidex.MultiDexApplication" on path: DexPathList,nativeLibraryDirectories...
Page: 1  
2  
3  
4  
5  
6  
7