Office Hours — Today, April 27

Friday, April 23

Apr 27
7:55 PM
Mark M.
has entered the room
Mark M.
turned on guest access
8:20 PM
Sanjeev
has entered the room
Mark M.
howdy, Sanjeev!
Sanjeev
hi Mark
how are you
this is my first time in the office hgours
Mark M.
it's been a somewhat stressful day, but I'm OK now -- and you?
Sanjeev
its been a long day at work
i just got home
8:25 PM
Mark M.
do you have any questions regarding Android?
Sanjeev
I have a question, i believe its more of a java part of the android
Mark M.
go ahead
Sanjeev
give me 5 mins that way i put the question the right way
Mark M.
no problem
Sanjeev
on pg 37 on the busy coders guide, how can i get more than one text to display
8:30 PM
Mark M.
Well, page 37 shows a full-screen Button
Sanjeev
by that i mean if i wanted, altitude, direction (compass) etc
Mark M.
if you want more than one widget on the screen, you will need some sort of container class.
such as a LinearLayout or RelativeLayout
those are covered in Chapter 6 of that book
Sanjeev
even if i wanted to display just text, not widget
i wanted to display,
Mark M.
well, text normally is displayed via a TextView, which is a widget
Sanjeev
alt: ---- m
Mark M.
a Button can only have a single caption
Sanjeev
time:----m
Mark M.
you are welcome to make that caption as long as you want
Sanjeev
oreientation:---m
Mark M.
but your users will be expecting something better formatted than a single long captoin
er, caption
8:35 PM
Sanjeev
i agree with you.
but if i wanted to just display more than one parameter (like alt, time, direction)
what would be the best way to achieve that
Mark M.
probably a LinearLayout or RelativeLayout, holding a set of TextView widgets
Sanjeev
ok
ok
i will try that and get back to you with the result
Mark M.
sounds good
Sanjeev
probably not in this session, but in next office hours
Mark M.
that too sounds good
8:40 PM
Sanjeev
another question regarding eclipse, i am not able to open the device manager
Mark M.
I do not use Eclipse, so I may not be able to help much
Sanjeev
i don't know if this is a appropriate question in this caht
chat
Mark M.
What do you mean by "not able to open"?
Sanjeev
i just did an update last night, and since then i am not able to open the AVD manager
when i click on the icon, nothing happens
Mark M.
try running the "android" command (without the quotes) from your Command Prompt or Terminal window, and see if the AVD Manager launches
you may need to be in your SDK's tools/ directory, if that is not in your PATH
Sanjeev
oh wow, it does
thank you
Mark M.
well, that will help somewhat
however, Eclipse may or may not be able to work with the debugger on an emulator launched outside of Eclipse
it does mean that your Android installation is OK
8:45 PM
Mark M.
and that your problem is specific to Eclipse
I do not know how to fix your menu choice, though
Sanjeev
thank you
8:55 PM
Mark M.
the office hours are almost over -- do you have any other questions?
Sanjeev
no i am good for the day
thank you once again
Mark M.
no problem
Sanjeev
has left the room
Mark M.
have a pleasant evening!
Mark M.
turned off guest access

Friday, April 23

 

Office Hours

People in this transcript

  • Mark Murphy
  • Sanjeev