If you have an app that force closes but don't share what your code is
or what your stack trace is, probably people can't help you.

You are not obliged to use the visual creation tools for layouts.  You
can just edit the XML directly, which is probably where most people do
their layout work.

Doug

On Jun 18, 12:36 am, Budi Wibowo <[email protected]> wrote:
> Hello group,
> I'm a beginner in developing in android. I'm used to using visual
> studio for my IDE.
>
> here is a problem i'm having. When i launched an app in AVD, it keeps
> on forcing me to close. i tried to debug it using the debug feature in
> eclipse.
>
> i don't know if it's just me because i still know very little, or
> what. so far,  I find the debugging feature in eclipse when debugging
> android app......... well, very useless.
>
> this is an example:
> i have a button, and i'm trying to create a listener for the button.
>
> i name the button id "confirm" (Id      @+id/confirm)
>
> i spent hours trying to debug my code, with no useful info from logcat
> or the debugger itself. maybe there is a feature in this book i'm
> using that i haven't gotten to yet.
>
> after 2 hours, i find out that if i change the button id to something
> else like "confirm1" (Id        @+id/confirm1), everything works
> perfectly!!!
> if i change the id back to "confirm", it forces close again when i run
> the app. I can only assume that confirm is somehow a reserved word,
> and the debugger didn't tell me that.
>
> is confirm really a RESERVED word??????
>
> another thing that annoy me A LOT is the "Properties" tab. When i'm
> building a layout, there is no way i'm going to remember all the XML
> attributes for every form widgets. therefore, i rely a lot on the GUI
> and the Properties tab to set the value of my widgets(i.e setting the
> text value of my button, color of my background, etc).
>
> i could never get this to work. say that i have 4 buttons on a layout.
> and i need to see the properties of button 4. logically, this is what
> you would do:
> click on the properties tab, and click on button 4.
>
> this does NOT work. I have to do the following:
> - click properties tab
> - click button 4 (properties display doesn't change)
> - i need to click on some other tab, like console, or log cat
> - click on properties tab again
> - click on button 4 again. still the properties is not updating.
> - click on different tab again
> - click on properties again
> - click on button 4 again, and the view magically switch to some other
> tab(unpredictable which tab it will land on)
> - click on properties again
> - click on button 4 again.......... BINGO. Now i can see the
> properties.
>
> AM I CRAZY or JUST DUMB????
>
> can a more seasoned android developer tell me more about the problems
> i describe above?
>
> I would really appreciate any input.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to