Android Tutorial B4A Beginners Guide

JonPM

Well-Known Member
Licensed User
Although he may not want to officially use it the community may still want it. Post a link or zip and I'm sure many people will use it
 

BasicBert

Member
Licensed User
Vader, don't be disappointed and let "us" have a look and see if we like it.
It would be nice to have different choices and sources of help.
Keeping up with all updates will be hard work though, so be sure that you can.

Sent from my HTC OneX with Tapatalk.

Edit : I've looked at your document and like it. A simple example is something I miss a lot in the docs i've seen.
There's still a lot to do, but I like the structure.
Please go on...
 
Last edited:

JonPM

Well-Known Member
Licensed User
I put a zip in my first post for feedback.
I think this is a great resource, do you plan on keeping it up to date? If so, I would recommend you start a new thread to share this with everyone, that way you can keep it updated in that thread. This is definitely something I will be using while I code.
 

TonySD

New Member
Licensed User
Begginer's guide v2.40 & source code examples

Hi and thanks for this excellent product!

I'm finally studying the beginner's guide v2.4
I found out that the example programs as described in the pdf file are not exactly the same as in SourceCode.
In particular in OneLayoutStreched in pdf code is:
B4X:
Sub GetDevicePhysicalSize As Float
Dim lv As LayoutValues
lv = GetDeviceLayoutValues
Return Sqrt(Power(lv.Height / lv.Scale / 160, 2) + Power(lv.Width / lv.Scale
/ 160, 2))
End Sub
and in SourceCode folder code is:
B4X:
Sub CheckDeviceType
   ' check device type, used to define text sizes
   ' should be completed if necessary
   
   lv = GetDeviceLayoutValues
   
   Select lv.Scale
   Case 2
      DeviceType = "Smartphone 5"
      TextSizeRatio = 1.5
...
...
also TestLayouts has minimal differences.
Maybe older versions in SourceCode directory?

TIA
 

klaus

Expert
Licensed User
The example in the guide is only to show the principle of the built-in documentation and not refering to a specific program, class or library.
Instead of making another example I copied Erels' original example.

Best regards.
 

adex1

Member
Licensed User
A new edition of the Beginner's Guide Edition 2.7 is available.
Updated for B4A Version 3.20

Best regards.
Hi klaus,

Thanks for your time and effort on the version 2.7 released.

Why can not make the source code available on GIT HUB or Code.google so that other people can contribute to it?
 

klaus

Expert
Licensed User
All the code projects supplied with the Beginner's Guide and the User's Guide are example codes to illustrate different subjects.
All Basic4Android users can use them and modify them to their needs.
I don't think it would be really useful to put these onto GIT HUB nor Code.google which are hudge containers.
I'm sure that it is easier to search for a specific code in this forum rather than in much more general and big forums.
That's the reason why the Code Snippets subforum was created.
 
Last edited:
Top