Re: [android-beginners] unsubscribe
FAIL On Sat, May 8, 2010 at 9:26 PM, ku...@singhkunal.com wrote: > unsubscribe > > > mail2web.com - Microsoft® Exchange solutions from a leading provider - > http://link.mail2web.com/Business/Exchange > > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] What is R.java
Android considers XML-based layouts to be resources, and as such layout files are stored in the res/layout directory inside your Android project. Each XML file contains a tree of elements specifying a layout of widgets and their containers that make up one view hierarchy. The attributes of the XML elements are properties, describing how a widget should look or how a container should behave. For example, if a Button element has an attribute value of android:textStyle = "bold", that means that the text appearing on the face of the button should be rendered in a boldface font style. Android’s SDK ships with a tool (aapt) which uses the layouts. This tool should be auto- matically invoked by your Android tool chain (e.g., Eclipse, Ant’s build.xml). Of particular importance to you as a developer is that aapt generates the R.java source file within your project, allowing you to access layouts and widgets within those layouts directly from your Java code. On Sat, May 8, 2010 at 9:48 PM, Ubuntu Explorer wrote: > Hello , > > Why is R.java named so? > > It seems to store "IDs" in static variables like R.layout etc. > It looks like this is Android's way of keeping track of predefined UI > elements in the Manifest file. > > Is it possible to access Views created during runtime using the same class > "R"? > > Regards, > UE. > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Problem with IDE.
The best advice I can offer is to go with Eclipse -- I had my dev platform setup in 15 minutes and I highly recommend it. I've not had a single problem with it. On Sat, May 8, 2010 at 10:26 PM, Ubuntu Explorer wrote: > Is there a sequence to be followed while building android projects in IDE? > > Sometimes, I get an error saying "gen" folder is not present. But it is an > autogenerated folder created duing compilation. > > If I manually create this folder I am able to compile this project. But if > I clean and then try to build, I get a build path error. > > Should I be creating this folder everytime? > > Regards, > Sanjeev > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Fwd: [android-beginners] Re: How to debug
Oh, you really need to watch this video from Google IO 2009. How to debug like a NINJA (yar). http://developer.android.com/videos/index.html#v=Dgnx0E7m1GQ On Mon, May 10, 2010 at 2:45 PM, Trang wrote: > Test > > Indicator Veritatis wrote: > > >Even before running the application under the debugger, a good first > >step is to look at LogCat in the DDMS Perspective: there will probably > >be a Java Exception logged there, that Exception is what caused the > >shutdown. Look for your own source code's line number in the stack > >trace. > > > >On May 9, 2:55 pm, Ubuntu Explorer wrote: > >> Sorry, Forgot to add that I want to do it from within Eclipse IDE. > >> > >> On Mon, May 10, 2010 at 6:55 AM, Ubuntu Explorer > >> wrote: > >> > >> > Hi, > >> > >> > I am able to write basic android applications now. Thanks for all your > >> > help. > >> > >> > However, when there are certain runtime issues, I cannot detect them > using > >> > simulator. There is one msg that says "Unexpectedly shutdown" (I also > see > >> > this for alarm clock and other apps sometimes - though I cannot figure > out > >> > why?). > >> > >> > How to run android apps in debug mode to see where the issue is? > >> > >> > Regards > >> > UE. > >> > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "Android Beginners" group. > >> > >> NEW! Try asking and tagging your question on Stack Overflow athttp:// > stackoverflow.com/questions/tagged/android > >> > >> To unsubscribe from this group, send email to > >> android-beginners+unsubscr...@googlegroups.com > >> For more options, visit this group athttp:// > groups.google.com/group/android-beginners?hl=en > > > >-- > >You received this message because you are subscribed to the Google > >Groups "Android Beginners" group. > > > >NEW! Try asking and tagging your question on Stack Overflow at > >http://stackoverflow.com/questions/tagged/android > > > >To unsubscribe from this group, send email to > >android-beginners+unsubscr...@googlegroups.com > >For more options, visit this group at > >http://groups.google.com/group/android-beginners?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en