Thanks for postng this tutorial! I have a comfortable understanding of Java and the drag and drop GUI builder for Eclipse is great ... only thing I couldn't grasp was how to bind a control / widget with Java methods / variables - This tute helps a great deal! Thanks once again :) U get my sub :)
@TheMrColak :: Apples & Oranges...the UI Builder in Visual Studio 2010 is awesome. Are you judging the Android platform based on the Eclipse text editor and UI Builder? Keep looking deeper, there is a brighter future in the Android Mobile pathway than you may have noticed. (:o) RM
The content of R.java is auto-generated. So, there is no need to place content here. When an image is imported, or a button added, then Eclipse takes care of this file. RM
As a user of 10+ other languages, I'm not sure I like the way they did this.... But thanks for showing us how it works :)
MrInfolover 2 months ago
I have to agree. MSVC did this same mechanism in 1991, i.e. lookup the control. This is a productivity drain.
NeverBeenThereBefore 8 months ago
Thanks for postng this tutorial! I have a comfortable understanding of Java and the drag and drop GUI builder for Eclipse is great ... only thing I couldn't grasp was how to bind a control / widget with Java methods / variables - This tute helps a great deal! Thanks once again :) U get my sub :)
7thAttempt 9 months ago
What a joke are Java and Android SDK. :-|
You spent 5 minutes just to add an onclick handler?!
In .NET you doubleclick the goddamn button and that's it, nothing to type, nothing to search by resource ID, just doubleclick!
Switch to .NET step into a XXI century!
TheMrColak 10 months ago 3
@TheMrColak :: Apples & Oranges...the UI Builder in Visual Studio 2010 is awesome. Are you judging the Android platform based on the Eclipse text editor and UI Builder? Keep looking deeper, there is a brighter future in the Android Mobile pathway than you may have noticed. (:o) RM
robertMacHale 10 months ago 3
@TheMrColak yeah that's a great idea. .net is on so many phones these days... ha!
pritchard12 9 months ago
Check to see if the event binding for onClick is setup via OnClickListener. The LogCat is available through a standard import statement. Thanks. RM
robertMacHale 1 year ago
I don't have any entries in my LogCat, you have others besides your "OnClick", do I have to enable logging somewhere?
MrAmccombs 1 year ago
This has been flagged as spam show
I don't have any entries in my LogCat, you have others besides your "OnClick", do I have to enable logging somewhere?
MrAmccombs 1 year ago
This has been flagged as spam show
I don't have any entries in my LogCat, you have others besides your "OnClick", do I have to enable logging somewhere?
MrAmccombs 1 year ago
Comment removed
MrAmccombs 1 year ago
thanks. That was great.
does anyone know how to use the onClick feild in the properties box? why can you just put a "call this funciton" thing in there?
MrSpirail 1 year ago
The content of R.java is auto-generated. So, there is no need to place content here. When an image is imported, or a button added, then Eclipse takes care of this file. RM
robertMacHale 1 year ago
thanks man.... this really helped... trying to bind from my SQLite to my android ui button....
davuleo 1 year ago
I am having the same problem Stef.
If I try to change the R.java file manually it just deletes it when it saves.
is there a way of getting hold of the complete files so that we can have a look at them ?
Otherwise it's a very good, well paced tutorial.
beavo92 1 year ago
when did the Id-class in R get created?
StefConEnterprises 1 year ago
@StefConEnterprises Put an adroid:id="@+id\widget_id" into its tag in the layout xml
TheRealFallenDemon 1 year ago