I am just starting with B4A and it may be a bit early but I am interested in creating a Library.
I have followed the video tutorial and successfully created the javadoc for a useless little simple multiply app but that still leaves me at a loss of what next.
As an example in Eclipse when I begin to type entries in the layout main.xml file under AnalogClock I get a drop down list containing hundreds of options, the three topmost entries are android:dial, android:hand_hour, and android:hand:minute.
In B4A I have the AnalogClock addon selected and I have dim Clock As AnalogClock but when I type Clock.... I only get half a dozen options which hardly scratch the surface of what is available in the SDK.
So it looks like I first need to create an addon Library for R.Styleable but I have looked at the tutorial and it hardly helps at all. In fact it is almost impossible to understand what it is about. The references in the turorial seem to be referring to other information that one is supposed to understand from some other unknown source, for example "Raising event is done by calling to BA.raiseEvent. This is its signature" and I say to self "Oh, the old Raise Event trick", like as if I already know what is being discussed here (which I don't of course). Obviously I am missing something.
What I'm getting at is where is the additional information necessary to understand how to create an addon Library? I really don't have any idea of what code to put in the main java class for this. Should I just copy the R.Styleable class and paste that in or should I pretend to make a running android application in raw java with all the features I want or what?
Please excuse my ignorance and lack of understanding but any suggestions are welcome.
I have followed the video tutorial and successfully created the javadoc for a useless little simple multiply app but that still leaves me at a loss of what next.
As an example in Eclipse when I begin to type entries in the layout main.xml file under AnalogClock I get a drop down list containing hundreds of options, the three topmost entries are android:dial, android:hand_hour, and android:hand:minute.
In B4A I have the AnalogClock addon selected and I have dim Clock As AnalogClock but when I type Clock.... I only get half a dozen options which hardly scratch the surface of what is available in the SDK.
So it looks like I first need to create an addon Library for R.Styleable but I have looked at the tutorial and it hardly helps at all. In fact it is almost impossible to understand what it is about. The references in the turorial seem to be referring to other information that one is supposed to understand from some other unknown source, for example "Raising event is done by calling to BA.raiseEvent. This is its signature" and I say to self "Oh, the old Raise Event trick", like as if I already know what is being discussed here (which I don't of course). Obviously I am missing something.
What I'm getting at is where is the additional information necessary to understand how to create an addon Library? I really don't have any idea of what code to put in the main java class for this. Should I just copy the R.Styleable class and paste that in or should I pretend to make a running android application in raw java with all the features I want or what?
Please excuse my ignorance and lack of understanding but any suggestions are welcome.