May 23 | 3:55 PM |
Mark M. | has entered the room |
Mark M. | turned on guest access |
Eugene S. | has entered the room |
Mark M. |
hello, Eugene!
|
Mark M. |
how can I help you today?
|
May 23 | 4:00 PM |
Eugene S. |
Hi, Mark! Nice to meet you
|
Mark M. |
likewise!
|
Eugene S. |
Do you have experience of development custom launcher based on AOSP launcher3?
|
Mark M. |
no, sorry
|
Mark M. |
other than some lightweight launcher-like things for book examples, I have not written a launcher
|
May 23 | 4:05 PM |
Mark M. |
if you have another question, go right ahead!
|
Eugene S. |
Ok. Then, next question. It's also about AOSP launcher3. I'm trying to add widget on default workspace but seems to me some mechanism does not work well there. So, I am trying to find some workaround. Can we wrap AppWidgetProvider in regular view for displaying?
|
Mark M. |
not really -- the AppWidgetProvider is in another process than the launcher's process
|
Mark M. |
AppWidgetHostView is how a launcher shows an app widget, and that will wind up going inside some other container (e.g., ConstraintLayout)
|
May 23 | 4:10 PM |
Eugene S. |
Ok, thanks! I'm also start to explore your book "Android Busy Coder Guide". Can you advise most advanced chaptes for deep sdk understanding? For example, when I'm read launcher3 code, i have feel that guys who write this code has some low level Android abstraction, like view accessibility e t.c.
|
Mark M. |
well, *The Busy Coder's Guide* is a first-generation book, so it's a bit older than, say, *Elements of Android Jetpack* (a second-generation book)
|
Mark M. |
*The Busy Coder's Guide* has a lot more depth, but some that material is really old
|
Mark M. |
that is one of the reasons I declared 'tech debt' for that book and had to move on, after maintaining it for a decade
|
Mark M. |
if you are asking what chapters to review if you want to build/modify a launcher...
|
Mark M. | |
Eugene S. |
Thanks!
|
Mark M. |
View paste
|
May 23 | 4:15 PM |
Eugene S. |
Yes, Coder Guide is good. It's contains a basic concepts understanding that are very important even for experienced developer ;)
|
Mark M. |
thanks for the kind words! just bear in mind the age of the material -- you will want to blend it with newer programming techniques
|
Eugene S. |
Ok, i will. I have no more questions for now. But i will be back :) Thanks for your participation and have good weekends!
|
Mark M. |
you too!
|
May 23 | 5:00 PM |
Mark M. |
that's a wrap for today's chat
|
Mark M. |
the transcript will be posted to https://commonsware.com/office-hours/ shortly
|
Mark M. |
the next chat is Tuesday at 7:30pm US Eastern
|
Mark M. |
have a pleasant day!
|
Eugene S. | has left the room |
Mark M. | turned off guest access |