Erel B4X founder Staff member Licensed User Longtime User Jan 6, 2014 #1 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: Jan 6, 2014
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.
Erel B4X founder Staff member Licensed User Longtime User Jan 7, 2014 #42 I will try to reproduce it with a small project. Can you post the error message from the logs (right click on the logs)? Upvote 0
I will try to reproduce it with a small project. Can you post the error message from the logs (right click on the logs)?
Jmu5667 Well-Known Member Licensed User Longtime User Jan 7, 2014 #43 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
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
Erel B4X founder Staff member Licensed User Longtime User Jan 7, 2014 #44 Do you only get this error with v3.20? Can you try to reinstall Microsoft .Net Framework 2.0? http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe Upvote 0
Do you only get this error with v3.20? Can you try to reinstall Microsoft .Net Framework 2.0? http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe
S sorex Expert Licensed User Longtime User Jan 7, 2014 #45 Erel said: Done: Click to expand... Thanks, that's also usefull but I meant when clicking a parent node in the treeview Upvote 0
Erel said: Done: Click to expand... Thanks, that's also usefull but I meant when clicking a parent node in the treeview
Jmu5667 Well-Known Member Licensed User Longtime User Jan 7, 2014 #47 yes, only pn 3.2 Erel said: Do you only get this error with v3.20? Can you try to reinstall Microsoft .Net Framework 2.0? http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe Click to expand... Upvote 0
yes, only pn 3.2 Erel said: Do you only get this error with v3.20? Can you try to reinstall Microsoft .Net Framework 2.0? http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe Click to expand...
Jmu5667 Well-Known Member Licensed User Longtime User Jan 7, 2014 #48 Erel said: Do you only get this error with v3.20? Can you try to reinstall Microsoft .Net Framework 2.0? http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe Click to expand... tried this and apperently it is .NET 2.0 SP2 is not supported on vista, going back to ASM in DOS Upvote 0
Erel said: Do you only get this error with v3.20? Can you try to reinstall Microsoft .Net Framework 2.0? http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe Click to expand... tried this and apperently it is .NET 2.0 SP2 is not supported on vista, going back to ASM in DOS
Erel B4X founder Staff member Licensed User Longtime User Jan 7, 2014 #49 It is probably already installed. See this link: http://community.sharpdevelop.net/forums/t/15817.aspx Upvote 0
It is probably already installed. See this link: http://community.sharpdevelop.net/forums/t/15817.aspx
gjt Member Licensed User Longtime User Jan 7, 2014 #50 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
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
Erel B4X founder Staff member Licensed User Longtime User Jan 7, 2014 #51 I see it too. It will be fixed. Note that it is related to a programming error. You should only load the layout after the panel was added to its parent. Otherwise the panel size is 0,0 and the layout script / anchoring features will not work properly. Upvote 0
I see it too. It will be fixed. Note that it is related to a programming error. You should only load the layout after the panel was added to its parent. Otherwise the panel size is 0,0 and the layout script / anchoring features will not work properly.
Erel B4X founder Staff member Licensed User Longtime User Jan 7, 2014 #53 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. Upvote 0
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.
JakeBullet70 Well-Known Member Licensed User Longtime User Jan 7, 2014 #54 Erel said: 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. Click to expand... All is working now. Thanks! Upvote 0
Erel said: 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. Click to expand... All is working now. Thanks!
D DineshDalwani New Member Licensed User Longtime User Jan 7, 2014 #55 Hi Erel, I became the Licensed User just yesterday, how can I get the beta download link? Upvote 0
Laurent95 Active Member Licensed User Longtime User Jan 7, 2014 #56 Erel said: 1. It helps with understanding the available views and their structure. 2. Sync button: Click to expand... Hello, ok, thanks for the response. Upvote 0
Erel said: 1. It helps with understanding the available views and their structure. 2. Sync button: Click to expand... Hello, ok, thanks for the response.
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2014 #57 DineshDalwani said: Hi Erel, I became the Licensed User just yesterday, how can I get the beta download link? Click to expand... Please contact [email protected]. Upvote 0
DineshDalwani said: Hi Erel, I became the Licensed User just yesterday, how can I get the beta download link? Click to expand... Please contact [email protected].
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2014 #58 I've uploaded a short video that demonstrates the new anchors feature: http://www.b4x.com/android/forum/posts/214472/ Upvote 0
I've uploaded a short video that demonstrates the new anchors feature: http://www.b4x.com/android/forum/posts/214472/
corwin42 Expert Licensed User Longtime User Jan 8, 2014 #59 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
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.
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2014 #60 It will function the same as before. It just won't support the new Anchor features (and rapid debugger). The reasons are technical. Note that you can use the standard XML layouts with the XmlLayoutBuilder library if you like. Upvote 0
It will function the same as before. It just won't support the new Anchor features (and rapid debugger). The reasons are technical. Note that you can use the standard XML layouts with the XmlLayoutBuilder library if you like.