Other Basic4android v3.20 BETA is released

Erel

B4X founder
Staff member
Licensed User
Longtime User
I'm very happy to release B4A v3.20 BETA

This version includes many important improvements:
  • Visual designer
    • Anchors feature - makes it easier to target multiple screen sizes.
    • Copy & paste - work both inside the layout or between different layouts.
    • Undo / redo feature.
    • The views are organized in a tree for easier navigation.
    • AutoScaleAll keyword now works with all variants, not just the "standard" variant.
    • Colors fields can be copied and the colors values can be pasted or directly typed.
    • Designer script find / replace dialog.
    • The grid is saved in the layout file.
    • Landscape / Portrait designer keywords to test the current orientation.
    • UI Cloud threshold reduced to 10 seconds.
  • #AdditionalRes attribute - Makes it possible to wrap Android library projects (projects with resources).
  • Sync button in the Files tab - Syncs the project files with the Files folder.
  • Modules added to the Find Sub / Module tool (Ctrl + E).
  • Tabs order in the IDE is preserved.
  • Modules files that were not modified will not be saved thus preserving the correct time stamp.
  • DateTime.SetTimeZone now accepts a Double instead of Int.
  • Shortcuts: F11 - Restart (rapid debugger), F2 in the designer connects to the device.
  • Bug fixes and other minor improvements.
Notes
  • RerunDesignerScript is now considered a deprecated method. It will continue to run as before. However it doesn't support the new anchors feature and will fail when running in Rapid debug mode.
  • Layout files saved with v3.20 cannot be loaded with previous versions.
Make sure to backup your projects before loading them with the beta version.

Users who are eligible for a free upgrade should receive an email with the download link. Please post any issues in the forum, preferably with the BETA prefix.
 
Last edited:

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hi, anyone get a licence issue with SmartProperyGrid.net error.

License Failure Details
--------------------------------------------------
1/7/2014 10:38:24 AM

--------------------------------------------------

A valid license could not be obtained for 'Smart PropertyGrid.Net'. Please contact VisualHint for assistance.

DETAILS

No compiled licenses found.

An unexpected error occurred while validating.
Configuration system failed to initialize --> Unrecognized configuration section system.serviceModel. (C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 136)

System Info
--------------------------------------------------

Timestamp: 2014-01-07T10:38:24 / 2014-01-07T10:38:24Platform: Windows Vista Media Center 32-bit Service Pack 2 [6.0 Build 6002]
OS Version: 6.0.6002.131072
CLR Version: 2.0.50727.4241
Process Bitness: 32-bit
Culture: en-US / en-US
Encoding: Western European (Windows)
IIS Available: False


Assemblies
--------------------------------------------------

ActiproSoftware.Shared.Net20 *
1.0.104.0 / 1.0.104.0 for .NET
C:\Program Files\Anywhere Software\Basic4android\ActiproSoftware.Shared.Net20.dll

Basic4android *
3.0.0.0 / 3.0.0.0 for .NET
C:\Program Files\Anywhere Software\Basic4android\Basic4android.exe

mscorlib
2.0.0.0 / 2.0 R 4241 for .NET 2.0
C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll

SmartPropertyGrid *
3.2.0.56 / 3.2.0.56 for .NET
C:\Program Files\Anywhere Software\Basic4android\SmartPropertyGrid.dll

System
2.0.0.0 / 2.0 R 4235 for .NET 2.0
C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll

System.Configuration
2.0.0.0 / 2.0 R 4246 for .NET 2.0
C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll

System.Deployment
2.0.0.0 / 2.0 R 4016 for .NET 2.0
C:\Windows\assembly\GAC_MSIL\System.Deployment\2.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll

System.Drawing
2.0.0.0 / 2.0 R 4235 for .NET 2.0
C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll

System.Web
2.0.0.0 / 2.0 R 4223 for .NET 2.0
C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll

System.Web.Services
2.0.0.0 / 2.0 R 4016 for .NET 2.0
C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll

System.Windows.Forms
2.0.0.0 / 2.0 R 4236 for .NET 2.0
C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll

System.Xml
2.0.0.0 / 2.0 R 4246 for .NET 2.0
C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll
 
Upvote 0

gjt

Member
Licensed User
Longtime User
I tried the sample program UserInterfaceMenu with v3.20 and get an error when I try and run it - NullPointerException
Maybe I'm doing something wrong (I'm a newbie <g>). Please let me know if this is a bug or something I need to do to make it work.
Thanks John
 
Upvote 0

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Beta #3 is now available in the same link. It fixes the layout issue related to panels with unknown size.

@JakeBullet70 please test your project with the new version and see whether it solves the issue.

All is working now. Thanks!
 
Upvote 0

Laurent95

Active Member
Licensed User
Longtime User
1. It helps with understanding the available views and their structure.
2. Sync button:


Hello, ok, thanks for the response.
 
Upvote 0

corwin42

Expert
Licensed User
Longtime User
The designer improvements look great.

The only problem I have is the deprecation of RerunDesignerScript().
I'm currently playing with dynamic layouts. Based on visibility of some views the layout gets rearranged. So if one item gets invisible the space is used by the other views. This is simply done by making the view invisible and rerunning the designer script to rearrange the other views.

So in my opinion the RerunDesignerScript() method is very important and is the best way to emulate the normal Android XML Layout behavior.

I even thought the RerunDesignerScriptFromClass() Method would make it into the new version.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…