Profile cover photo
Profile photo
Josh Guilfoyle
289 followers -
Android engineer and enthusiast
Android engineer and enthusiast

289 followers
About
Josh's posts

Post has attachment
The new JobScheduler is great but there is now an old bug asking for a simple tooling change to allow us to force run or stop the job to test our code easily in isolation. I know that dumpsys jobscheduler has seen some love in the N developer preview (nice little history view of jobs ran) but there's still no way to force run a job. It would make testing so much more pleasant!

+Koushik Dutta​

Post has attachment
+Xavier Ducrohet Is there still no source code for com.android.databinding:dataBinder?  I see the source for adapters/libraries, but not the core dataBinder and Gradle plugin.  I'm looking to build a similarly functioning Gradle plugin which processes XML files and affects the global build phase.  Would really help to learn from such a high quality example!

According to the pom, https://bintray.com/artifact/download/android/android-tools/com/android/databinding/dataBinder/1.0-rc2/dataBinder-1.0-rc2.pom, it's supposed to be Apache licensed so I'm guessing that the source is expected to exist somewhere, no?

EDIT: I found it!  The code lives at: https://android.googlesource.com/platform/frameworks/data-binding/+/studio-master-dev

Post has attachment
Big update to #Stetho  1.2.0 today!  Screencasting, View searching, styles, Console tab and more! #androiddev
Photo

Post has attachment
Stoked for the +Big Android BBQ#Seattle today! I put together a pretty fun developer puzzle for you all using the Stetho debug tool, can't wait for folks to play it :)

More info on Stetho at: https://facebook.github.io/stetho. The game will be revealed later today at the event.

#androiddev

Post has shared content
Feels good to see this kind of love from the community :)
Do you know Stetho?

I decided to spend a few hours playing with the Stetho open-source tool[1] released by Facebook.
It is an amazing debug bridge for Android applications  and I was surprised by its power.
You can use your Chrome desktop browser to analyze some data of your app, like the database, the View Hierarchy , the network calls and much more.....

[1] http://facebook.github.io/stetho/

Post has shared content
adb shell and piping binary data

If you're unaware, running "adb shell" creates a pseudoterminal. This means that all LF characters are rewritten as CRLFs. If you're piping binary data back to your local machine, this will corrupt stdout.

For example, this results in a corrupted PNG file:
adb shell screencap -p > test.png

I was looking to fix this in adb, then noticed it was already done last year. There's an unadvertised exec service that bypasses the creation of the pseudoterminal. Invoke as follows:

adb exec-out screencap -p > test.png

Change was made by +Jeff Sharkey 

https://android.googlesource.com/platform/system/core/+/5d9d434efadf1c535c7fea634d5306e18c68ef1f

Post has shared content
+Jake Wharton+Jesse Wilson+Koushik Dutta​ will I be seeing you guys there? :)
‪#‎Seattle‬ ‪#‎Developers‬, are you ready to start digging? We're headed to Seattle to hang out with +Facebook and we're bringing our signature ‪#‎Code‬ Kitchen + Meat & Greet to the party.


Get your tickets now!

Where is the source to the new databinding compiler and Gradle plugin? Really impressive stuff and I'd love to start digging into the specifics. #androiddev  

Post has shared content

Post has shared content
It is not enough for me to stand before you tonight and condemn riots. It would be morally irresponsible for me to do that without, at the same time, condemning the contingent, intolerable conditions that exist in our society. These conditions are the things that cause individuals to feel that they have no other alternative than to engage in violent rebellions to get attention. And I must say tonight that a riot is the language of the unheard. And what is it America has failed to hear? It has failed to hear that the plight of the negro poor has worsened over the last twelve or fifteen years. It has failed to hear that the promises of freedom and justice have not been met. And it has failed to hear that large segments of white society are more concerned about tranquility and the status quo than about justice and humanity.

MLK, 1968.  Not today, 1968.
http://www.gphistorical.org/mlk/mlkspeech/
Wait while more posts are being loaded