Office Hours — Today, March 23

Thursday, March 21

Mark M.
has entered the room
Mark M.
turned on guest access
MyWay
has entered the room
MyWay
Hello Mark, how are you?
Mark M.
OK, and you?
Benny
has entered the room
MyWay
fine, thanks
Mark M.
hello, Benny!
MyWay: you arrived first, so... do you have a question?
MyWay
Will you add androidx support to ArrayPagerAdapter?
Mark M.
no
Mar 23
4:00 PM
Mark M.
I think I discontinued that project, IIRC
4:00 PM
Benny
Hi Mark, hi MyWay
MyWay
Is there any specific reason?
Mark M.
I'm not using it with any projects
MyWay
I see, because I'd need a MapFragment inside my Fragment (which I use with ArrayPagerAdapter) to show location messages (like whatsapp), but I can't use it from what I've understand due to Fragment inside Fragment and so I'd need the SupportMapFragment which I can't use with ArrayPagerAdapter, how can I do?
Mark M.
fork the library and create an AndroidX edition, I guess
since I have native and support-fragment editions, creating an AndroidX-fragment edition should be reasonably straightforward
MyWay
ok, thanks
Mark M.
if you wind up with questions about creating that fork, let me know -- I am trying to maintain fewer libraries, but I can certainly try to answer questions about them
let me take a question from Benny, and I'll return to you in a bit
Benny: your turn! do you have a question?
MyWay
ok, thanks
Benny
yes, I work on a Dialer-App. I try to run the Android AOSP Dialer as a project in Android Studio, but I can not compile it, there are also no Gradle files.
4:05 PM
Mark M.
the AOSP projects are designed to be built as part of full firmware build
Benny
do you have an idea how to run projects like this
Mark M.
most likely, you can't, except by building a custom ROM and flashing it to a device
Benny
okay, I understand
Mark M.
the AOSP projects do not rely solely on the Android SDK, but on the rest of the firmware
and as far as the build process goes, I think they are still mostly using Makefiles, though I have not checked recently
overall, those app projects are not designed to be built like a normal Android SDK project
some probably *can* be built that way, if you create your own Gradle files and figure out how to remove any references the project has to stuff that is in the firmware and not in the Android SDK
Benny
okay, I thought something like this.
but sounds like it would be a lot of work
Mark M.
yes, most likely
let me take another question from MyWay, and I will be back with you shortly
MyWay: back to you! do you have another question?
MyWay
no, thanks
Mark M.
OK
if you come up with one, chime in
Benny: back to you! do you have another question?
4:10 PM
Benny
I would have a last one :)
Mark M.
go ahead!
Benny
It would help me if I could use "go to reference" and "usage" in the AOSP project with android studio, but it did not work for me. Do you know, would it maybe work just with intellij
Mark M.
I have never tried loading AOSP projects into an IDE, so I have no idea, sorry
Benny
ok, no problem
4:15 PM
Mark M.
if either of you have another question, go right ahead!
Benny
I also want to use SQLCipher in a future project, do you know if it works with Room?
Mark M.
this is some bridge code that I wrote that allows Room to work with SQLCipher
Benny
oh, very nice :)
this would it be from my side for today, thank you very much for your support
4:20 PM
Mark M.
you're welcome!
4:20 PM
Benny
see you soon, good bye
Benny
has left the room
5:00 PM
Mark M.
that's a wrap for today's chat
the transcript will be posted to https://commonsware.com/office-hours/ shortly
the next chat is Tuesday at 7:30pm US Eastern
have a pleasant day!
MyWay
has left the room
Mark M.
turned off guest access

Thursday, March 21

 

Office Hours

People in this transcript

  • Benny
  • Mark Murphy
  • MyWay