Office Hours — Today, March 24

Friday, March 20

Mar 24
7:20 PM
Mark M.
has entered the room
Mark M.
turned on guest access
8:20 PM
Raghu
has entered the room
Raghu
hi mark
i entered late
Mark M.
yes, the chat is nearly over
Raghu
yeah
Mark M.
do you have a quick question?
Raghu
i have a same question about maintaining a queue
i am using a intent service now
8:25 PM
Raghu
using activity to invoke intent service and maintain a job id in activity
which data structure is suitable for maintining queue
adding and removing items from queue..?
EGHDK
has entered the room
Mark M.
well, IntentService already has a queue
Raghu
yes
but i have 5 tasks
to execute
5 is the limit for the queue
i have to juggke between 1 to 5
juggle*
EGHDK
I'm trying to understand how libs have changed from eclipse to android studio. I'm having a hard time understanding why entering compile 'something:something:version number' gives me a library. How does it know where to go for it?
Raghu
like 5 tasks are added
1 is over
i have to re-iterate the queue for 5 items
Mark M.
Raghu: I am sorry, but I do not understand your situation. That being said, there is java.util.Queue, java.util.concurrent.LinkedBlockingQueue, etc.
Raghu
ok
no problem
will ask it tom
Mark M.
EGHDK: it looks in the repositories that you have listed
EGHDK
so bintray by default right?
Mark M.
yes
EGHDK: see the "Gradle and Dependencies" chapter
EGHDK
but what is bintray? I'm confused whether it's maven (no idea what it is, just hear the name all the time). Like can I go to jcenter bintray and search for android libraries there?
Raghu
has left the room
Raghu
has entered the room
Mark M.
Bintray's JCenter is a Maven-style repository
it also has a Web site that you can go visit
8:30 PM
Raghu
has left the room
Mark M.
Maven Central is the other popular public repository for open source dependnecies
and some people, like me, who don't like silos, run our own
EGHDK
interesting. I feel like I've never heard of bintray. its weird that they chose that over maven no?
Mark M.
sorry, but you arrived just at the end of the chat
I'm not quite sure why Google chose what they did
anyway, the next office hours is tomorrow, also at 7:30pm US Eastern
Raghu
has entered the room
Mark M.
I'll be posting this short transcript to http://commonsware.com/office-hours/ shortly
EGHDK
No problem. I'll be back!
Mark M.
have a pleasant day!
Raghu
has left the room
EGHDK
has left the room
Mark M.
turned off guest access

Friday, March 20

 

Office Hours

People in this transcript

  • EGHDK
  • Mark Murphy
  • Raghu