Mark M. | has entered the room |
Aug 9 | 3:55 PM |
Mark M. | turned on guest access |
Aug 9 | 4:00 PM |
Chris | has entered the room |
Mark M. |
howdy, Chris!
|
Mark M. |
how can I help you today?
|
Chris |
Hi. I'm on a call and super busy and won't be able to talk much :( Prolly ask my question horribly too. 1 sec...
|
Chris |
But basically I was looking at the weather app
that spawns a service and offers up an API and that service can store
stuff like the session info for the httpclient
|
Mark M. |
messy example, but, yes, I know which one you're referring to
|
Chris |
Yeah took me a while to get my head around it :)
|
Chris |
so that's one activity that binds to a service...
|
Chris |
can you have multiple activities bind to the same service?
|
Aug 9 | 4:05 PM |
Mark M. |
yes
|
Aug 9 | 4:05 PM |
David | has entered the room |
David |
Hi
|
Mark M. |
howdy, David!
|
Mark M. |
David: feel free to ask a question, since there are only two people in the room
|
Mark M. |
Chris: feel free to follow up on your question when you're ready
|
David |
Ok
|
Chris |
like say the main activity is a list, then you
select an item and then it launches another list activity, both
activities can use the same service so they can access the same service
and use the same http client and session info?
|
David |
View paste
|
Mark M. |
beats me
|
Mark M. |
I have never used MediaRecorder
|
Chris |
You guys go ahead I got the main question answered
|
David |
Is MediaController and MediaRecorder exclusive?
|
Mark M. |
beats me
|
Mark M. |
I have never used MediaRecorder
|
Mark M. |
I cannot answer any questions about MediaRecorder, sorry
|
David |
I see.
|
Aug 9 | 4:10 PM |
David |
How about MediaController?
|
Mark M. |
what about it?
|
Mark M. |
you use it with a VideoView, or possibly a MediaPlayer
|
David |
I need to play a video from camera view without switching the screen?
|
Mark M. |
that has nothing to do with MediaController
|
Mark M. |
that has everything to do with MediaRecorder, SurfaceView, and however MediaRecorder handles previews
|
Mark M. |
none of which I know the details of
|
Mark M. |
because I have never used MediaRecorder
|
David |
ok.
|
David |
good tip. Do you think it is possible to play a video from camera view to VideoView in the same screen?
|
Mark M. |
I rather doubt it
|
Mark M. |
Camera does not work that way for its previews
|
Mark M. |
I would be stunned if MediaRecorder worked that way
|
Mark M. |
but, for the fourth time this chat, I have never used MediaRecorder
|
David |
Thanks anyway
|
Aug 9 | 4:15 PM |
David |
That is all for today. I will dig some more thanks.
|
Mark M. |
ok
|
David | has left the room |
Aug 9 | 4:30 PM |
fitz | has entered the room |
fitz |
hello
|
Mark M. |
howdy, fitz!
|
Mark M. |
how can I help you today?
|
fitz |
no specifics today
|
Aug 9 | 4:35 PM |
fitz |
other than - thank goodness stocks behaved themselves today
|
Mark M. |
so did socks
|
Mark M. |
leastways, mine haven't been crashing
|
Mark M. |
:-)
|
fitz |
ya - well it looks like I am getting pulled into meeting cya
|
fitz | has left the room |
Chris |
Mark, I think I have what I need. I'll research
and see if I run into any problems. Hope it's not too difficult :) I
like the idea of having a service out there that keeps track of stuff
like the connection because I was passing the session info around and
think it was a retarded way of doing it.
|
Mark M. |
yeah, well, I'm no fan of binding
|
Mark M. |
I might like it better binding from a fragment and using setRetainInstance(true)
|
Mark M. |
otherwise, state is a pain
|
Mark M. |
which is why that example is so messy
|
Chris |
I haven't even looked at fragments yet :(
|
Mark M. |
you'll want to before the year is out
|
Aug 9 | 4:40 PM |
Chris |
I'm glad you came out with a tuning book. I can't wait to look at that.
|
Mark M. |
OTOH, if you're looking for a tuning fork, I can't help you
|
Aug 9 | 4:45 PM |
Chris |
i want a refund!
|
Darryl B. | has entered the room |
Mark M. |
howdy, Darryl!
|
Mark M. |
how can I help you today?
|
Darryl B. |
Hi Mark I have a question about using Jackson and JAXB
|
Aug 9 | 4:50 PM |
Darryl B. |
is that ok to ask here?
|
Mark M. |
oy
|
Mark M. |
you're welcome to try the Jackson question
|
Mark M. |
I have never used JAXB
|
Darryl B. |
I see, well it seems that it is not fully supported on the Andoid platform
|
Mark M. |
correct
|
Mark M. |
you have three built-in XML parsers: DOM, SAX, XmlPullParser
|
Darryl B. |
We were having trouble with using the JAXB annotations and I was hoping that you had the life preserver I was looking for :)\
|
Mark M. |
I am not aware of anyone with a solution for JAXB on Android
|
Darryl B. |
will I be able to use the Jackson annotations in place of the JAXB if we rewrite our code?
|
Mark M. |
that I don't know -- I've only ever looked at the Jackson streaming API
|
Mark M. |
Jackson in general works on Android
|
Mark M. |
and annotations in general work on Android
|
Mark M. |
but I can't speak specifically on Jackson annotations and Android
|
Darryl B. |
Ok thanks for the information I can let you know how goes
|
Mark M. |
um, well, actually
|
Mark M. | |
Mark M. |
as of February, they didn't work
|
Aug 9 | 4:55 PM |
Mark M. |
because, if I understand that answer correctly, Jackson depends on JAXB annotations
|
Darryl B. |
wow, that is what we are seeing, humm this will get interesting
|
Darryl B. |
I tried the USE_ANNOTATIONS flag as well based on
the information in the issues log from the Jackson site, but we still
had the JAXB stuff embedded in the code so I was not sure of the result
|
Darryl B. |
Thanks again for the information
|
Mark M. |
happy to help
|
Darryl B. |
Keep up the good work, still making my way through the BCG Advanced book
|
Mark M. |
thanks!
|
Darryl B. | has left the room |
Mark M. |
BTW, _Android Programming Tutorials_ Version 3.9 is now out
|
Mark M. |
though there's a few hundred PDFs yet to be generated
|
Mark M. |
OK, make that more like ~1,200 PDFs yet to be generated
|
Mark M. |
running slow today
|
Aug 9 | 5:00 PM |
Mark M. |
and that's it for today's chat
|
Mark M. |
next one is Thursday, 10am Eastern, IIRC
|
Mark M. |
have a pleasant day!
|
Chris | has left the room |
Mark M. | turned off guest access |