Office Hours — Today, August 12

Tuesday, August 10

Aug 12
8:55 AM
Mark M.
has entered the room
Mark M.
turned on guest access
9:00 AM
NetApex
has entered the room
Mark M.
howdy, NetApex
NetApex
Good morning
I've been out of the loop for a bit
Mark M.
loop? there's a loop?
:-)
NetApex
Lol
Lately I have been putting a lot of effort into fully grasping how JSON works
essentially that coupled with ListView is a very fun concept
Justin M.
has entered the room
Mark M.
howdy, Justin M
Justin M.
Hey there Mark :-) Long time no talk
9:05 AM
Justin M.
Just here to watch today :-)
Mark M.
ok
NetApex
Lol that was my idea as well
Trying to get back into the swing of things
Mark M.
gonna be a quiet chat room
NetApex
Ok, ya know the "proper" way to do layouts now with the action bar at the top (like the official Twitter client and the I/O 2010 app)... is there a layout tag for that? Like header or something?
Mark M.
there is no built-in ActionBar widget
NetApex
ok
Mark M.
once the Twitter app is released as open source, we can see how they did it
NetApex
I do wish they would hurry up with that then
Mark M.
there was a tweet in the last week saying they're getting close
NetApex
Good, that will be interesting to see
9:15 AM
NetApex
Have either of you played with the Latitude API?
Mark M.
nope
NetApex
I am sure there is an app mixing Foursquare with Google Places just waiting to be written
Mark M.
i'll take your word on that
I'm not a Foursquare user
NetApex
I keep trying to be, but it is a hassle more than a reward
9:25 AM
NetApex
So do you use Eclipse or some other program mostly?
Mark M.
Eclipse? Heck no.
NetApex
Lol, uh oh, what's wrong with Eclipse?
Mark M.
For Android, Komodo IDE and a good command line are my tools in trade
CalvinS
has entered the room
Mark M.
howdy, CalvinS
CalvinS
Hi
Mark M.
NetApex: just never been a big Eclipse fan, that's all
CalvinS: do you have a question?
Geoffrey G.
has entered the room
CalvinS
as fate would have it, it is an Eclipse question!
John D.
has entered the room
NetApex
Lol
Mark M.
CalvinS: go ahead, and I'll try
CalvinS
I added the License Verification Library as a library project in Eclipse
Mark M.
(howdy Geoffrey G and John D -- we'll get to your questions shortly)
CalvinS
when I add it as a reference in my project
using project properties add library project
and ok
it doesn't look like it was applied
I go back into project properties android
9:30 AM
CalvinS
and there is a big red X on the LVL library project
I hope I was clear
Mark M.
um, well, you were clear, but my Eclipse knowledge is thin
"big red X" usually means an API level incompatibility
Hari B.
has entered the room
Mark M.
I run into that sometimes when a student has an android-8 project but only an android-7 AVD, for example
Hari B.
hello all and dear kewl android developers
Mark M.
that has nothing to do with library projects though, and they may be using the big red X for some other purpose there
howdy, Hari B -- we'll get to your questions shortly
CalvinS: I haven't played with LVL yet, so I don't know its minimum Android version
but it's an area worth checking out
CalvinS
ok thanks
Mark M.
Geoffrey G: do you have a question?
Geoffrey G.
here with john
Mark M.
OK
9:35 AM
Mark M.
Geoffrey G/John D: do the collective "you" have a question? :-)
Geoffrey G.
we are updating the style elements of already rendered views in java and are not getting the results we desire
Mark M.
I don't think there's an API to literally update the style elements
could you explain a bit more about what you mean?
Geoffrey G.
In Java, we have logic to switch the values set by setBackgroundResource, setTextColor, and setShadowLayer on a TextView
We have two TextViews side by side and are trying to create a 'tabbing' effect when switching between the two.
9:40 AM
Mark M.
OK...but you haven't really asked a question
Geoffrey G.
is there a means to force a text view to re-render itself?
Mark M.
call invalidate()
that's not typically needed, though
Geoffrey G.
ok, everything looks good the first time through the logic, but all subsequent passes don't seem to have the desired effect
will try
Hari B.
My turn?
Mark M.
Hari B: go ahead
Hari B.
Thanks
I am building tab view
I need to create a gap between the tabs
when I set divider drawable it looks like a mini tab itself. I believe there is some inside offset that I can set but not able to figure out
9:45 AM
Hari B.
any thoughts ... right now both tab seem to look joined
Mark M.
I do not believe there is an "inside offset" in TabWidget
You need to adjust your drawable to look how you want
Hari B.
margin may be>
tab or divider?
Mark M.
I do not believe there is an inside margin in TabWidget either
I was referring to the divider drawable
since that's what you said you were working with
Hari B.
ok ... I added divider as I was not able to make them looks separated :-(
Mark M.
changing the divider is the only way I can see on TabWidget where you might be able to "make them looks separated"
you could also consider subclassing TabWidget, and using the TabWidget source code to see what you need to override to change the tab placement rules
Hari B.
Ok. That makes sense
Mark M.
or cloning TabWidget, if subclassing will not give you the desired level of control
tabs in Android are not terribly flexible
Hari B.
ok
Thanks I will try that
Mark M.
anybody else have a question?
9:50 AM
NetApex
Do you have any plans on being near Ohio any time soon?
Mark M.
that depends on your definition of "near"
and, to a lesser extent, on your definition of "Ohio"
:-)
I'm based in eastern PA
NetApex
A state or two away
Ahh well that is near lol
Mark M.
I have a one-day training session slated in Chicago in September
NetApex
except for the Eastern part
Is it filled up?
Mark M.
yeah, PA is a rather wide state
good question...hold on...
NetApex
(Being that I am in the most western part of Ohio)
Mark M.
nope, plenty of seats at the moment
NetApex
Cool thanks!
Mark M.
forgot to mention it in the newsletter this week :-(
NetApex
Put out a second one, I doubt anyone would complain
9:55 AM
Mark M.
no, I want to stick to my word of only bulk-mailing people once a month
NetApex
ok last question, the non traditional means of developing (aka not java) like phonegap and titanium... any clear cut favorite?
Mark M.
of the three Web-ish frameworks (PhoneGap, Rhodes, and Appcelerator Titanium Mobile), PhoneGap is least scary
all three could use more seasoning time
PhoneGap is closest to something I'd want to use for production, today
and that's based on my impression from ~2 months ago, and I know they've improved their docs and such since then
NetApex
ok I will have a look at that then, been meaning to play with Google's online thing too but I keep forgetting
Mark M.
ah, you got an invite?
NetApex
yeah
Mark M.
I just got my invite, in the past week or so
NetApex
checked it out yet?
Mark M.
it's one of my projects in and around training during my upcoming two-week sojourn to Malaysia
NetApex
cool, I await your impression
Mark M.
got a chapter reserved for it in _Android Beyond Java_ :-)
any last questions?
NetApex
nice hehe
Mark M.
OK, I will try to have some office hours while I'm on the far side of the planet -- gotta see what the hotel Internet connection is like
NetApex
Guess that is a no
10:00 AM
Mark M.
look for some additions to the schedule
beyond that, have a nice day, everyone!
NetApex
you too
NetApex
has left the room
Justin M.
has left the room
CalvinS
has left the room
Geoffrey G.
has left the room
John D.
has left the room
Hari B.
has left the room
Mark M.
turned off guest access

Tuesday, August 10

 

Office Hours

People in this transcript

  • CalvinS
  • Geoffrey Goetz
  • Hari Bawa
  • John Dazey
  • Justin Munger
  • Mark Murphy
  • NetApex