Office Hours — Today, May 17

Friday, May 13

May 17
7:25 PM
Mark M.
has entered the room
Mark M.
turned on guest access
7:30 PM
fitz
has entered the room
Mark M.
howdy, fitz!
fitz
hello
Mark M.
how can I help you today>
er, today?
fitz
question once I have some code tested etc should I run it through something like proguard
Mark M.
it's fairly popular
and integrated into the toolchain
at least for Ant (not sure about Eclipse, though I'd presume it's integrated there too)
fitz
yes it does have some integration into Eclipse so the docs say
Mark M.
fitz
so looks like it is worth doing then
Mark M.
it's a must if you're using LVL
7:35 PM
fitz
LVL?
Mark M.
License Verification Library
fitz
ok
Mark M.
fitz
not there yet ....:)
so you had time to come back to eath from IO
earth
Mark M.
that presumes that I am normally on Earth
some might dispute that concept
:-)
John M.
has entered the room
Mark M.
howdy, John M.!
John M.
Hi Mark
Big fan, first time visiting chat
Mark M.
John: how can I help you today?
7:40 PM
John M.
Well... I don't know if I need specific help, I was (re) inspired by IO last week and resurructing some of my android plans (after a year of ios development)
I've seen the office hours for a while and was just sort of curious how they worked. Do people come with specific questions or ?
Mark M.
that's mostly the aim
you're welcome to just hang out, but that's not really the objective of the chat
some days, there will only be a couple of people, like now
some days, I'll be rotating through 6-8 people's questions
John M.
I get you -- Actually I have one question:
Mark M.
fire away!
John M.
I will probably get the termonolgy wrong so bear with me.
My last android project was shelved because I couldn't solve the problem of streaming video off of a server that required authentication.
Mark M.
AFAIK, that situation hasn't improved any
7:45 PM
Mark M.
if anyone comes up with a question, just chime in
7:50 PM
Darryl B.
has entered the room
Darryl B.
Hi
I was wondering if you could help me understand the relative layout a little better? I have been trying to configure a row layout that consists of an image on the far left, and four textviews to the right; two of the textviews (topline and bottomline) take up the remainder of the screen and the middleline is split between the remaining two textviews. However when I view this in the emulator all rows are squished at the bottom.
John M.
Sorry, I was pulled away. Ok, I was afraid of that.... Maybe one more question? I planning on 'solving' it by starting a background buffer and then having the media player work off that file -- I never got it to work reliably, do you know of any examples of that working off hand? (feel free to answer Darryl first btw)
Mark M.
howdy, Darryl!
Darryl: you probably cannot solve that with just a RelativeLayout
Darryl B.
ok
Mark M.
particularly "the middleline is split between the remaining two textviews" part
Darryl B.
I also tried embedding a table but it did not seem to change
I am new two Android as well so I apologize if these are basic questions
Mark M.
that sort of thing is probably a better question for StackOverflow, if you post a diagram showing your desired layout and the XML that you are trying to use
Darryl B.
ok I can post on StackOverflow
Mark M.
John: there may be people who have solved the problem that way, but I am not familiar with any particular implementations
John M.
ok, thanks....
Mark M.
Darryl: if you happen to have a diagram handy, we can try to work through it here in the chat, but I'm guessing that you would need to draw one
7:55 PM
Darryl B.
yeah it wold take me a few to draw it out on the screen
the books are great by the way
Mark M.
thank!
er, thanks!
John M.
Hey Mark, has google released the new interface builder they showed at IO? The demo was pretty slick and it seems like it would help with a lot of layout questions/problems like Darryl mentioned?
Mark M.
I didn't get into that presentation -- too crowded -- and I haven't watched the video
My impression is that some of that already exists, and the rest is in the open source repo, to be released in the future
by the end of the year, I'll add coverage of this stuff to The Busy Coder's Guide to Android Development
though, since I'm not an Eclipse user, the coverage may be rocky in spots :-(
John M.
Yea, now that I think about it he mentioned they were still testing it -- the demo was pretty impressive and would solve a lot of these 'how do I do this kind of layout' questions
what do you use if not eclipse? Command line?
Mark M.
yes, the hope is that Eclipse will have top-notch GUI design capability over time
yes, command line
if anyone has any questions, chime in!
8:00 PM
Darryl B.
ok I have a picture I am uploading now and the new GUI designer looked good from the video that I saw
Mark M.
ah, yeah, that's not quite what I had envisioned
I had my axes reversed
Darryl B.
ah
Mark M.
anyway, that's a RelativeLayout holding your left, top, and bottom widgets, plus a LinearLayout for the middle pair
you'd use android:layout_weight to arrange for the 50-50 split of space in the LinearLayout
Darryl B.
it is based on an example in the book, ah I did not try a linearLayout for the middle
8:05 PM
John M.
I have to run Mark, have a nice evening.....
John M.
has left the room
Darryl B.
I was thinking I would have to use weight, but did not know if I could embed the other layout
thanks
I will work with that
fitz
ok cya
fitz
has left the room
Darryl B.
have a good night and thank you for the help, BTW I am not a fan of GUI designers either, just need to get moving on how the XML layouts work. :)
Mark M.
you're very welcome!
Darryl B.
has left the room
8:30 PM
Mark M.
turned off guest access

Friday, May 13

 

Office Hours

People in this transcript

  • Darryl Brown
  • fitz
  • John McLaughlin
  • Mark Murphy

Files in this transcript