Profile

Cover photo
Ben Weiss
Works at Google
Lives in London
3,664 followers|4,358,832 views
AboutPostsCollectionsPhotos

Stream

Ben Weiss

Shared publicly  - 
 
A stable update to your favorite IDE is available now!
 
Android Studio 2.1 now available as stable

Built on the speed and features of Android Studio 2.0, the stable release of Android Studio 2.1 includes updates so you can try out new features and APIs of the developer preview including the new Jack compiler and Java 8 language support.

In addition to support for the N Developer Preview, Android Studio 2.1 also includes performance improvements to Instant Run which leads to faster edit and deploy build speeds.

Video: https://goo.gl/hDZu2a
Blog Post: http://goo.gl/dE76Li
13 comments on original post
12
4
Add a comment...

Ben Weiss

Shared publicly  - 
 
It's true, all of it.
 
I'll will also be giving a deep dive on Android Transitions with +George Mount & +Ben Weiss. #io16
Motion helps guide your users through your app by providing hierarchy and spacial relationships. Transitions are the best way to implement this kind of scene change and to choreograph the journey through your app. This session provides a deep dive on Android’s transition APIs focussing on content and shared element transitions. Learn how to use the provided transitions and to write your own.
View original post
13
Add a comment...

Ben Weiss

Shared publicly  - 
 
Designers and developers can get along well.
 
Think Like a Designer

The video for my #droidconIT talk is now available. In this talk I share some tips on how developers can learn from designers and how they can better work together.

Slides are available here: https://goo.gl/photos/LgnZY7m7dPYfGhf8A

#DesignMatters
5 comments on original post
1
Add a comment...

Ben Weiss

Shared publicly  - 
 
TL;DR: adb has seen improvements. Benefit when using N+ devices.
 
What's new in Android N adb/shell?

adb push/pull/sync much faster. (AOSP N9 full /system sync down from 60s to 20s.) Now with better progress feedback showing percentage complete.

adb push/pull interpret command-line arguments more like scp.

adb shell: returns remote process’ exit status, distinguishes stdout/stderr, passes through stdin (so you can pipe into a remote process), passes window size and terminal type (and updates window size), >1024 shell command length. These features all require a new adbd, so even with a new adb they’ll only work when talking to new devices. (Most of this work was done by the Brillo team.)

Windows support greatly improved (99% of this work done by external contributor Spencer Low).

Increased stability for automated testing.

Helpful diagnostics for adb/fastboot Linux USB permissions problems.

Numerous command-line tool improvements/bug fixes. In particular, ls(1) is now the much more full-featured toybox ls. Unlike in M, sed(1) now works fine.
3 comments on original post
7
Ben Weiss's profile photoMalachi de Ælfweald's profile photo
4 comments
Add a comment...

Ben Weiss

Shared publicly  - 
 
 
What does your phone say about you? #MyLiveCase is now available. Pick your favorite photo or place, choose a style, and you’re done! Snap your case on your +Nexus and see its design come to life on your phone’s screen with the companion live wallpaper. https://goo.gl/famsRT
15 comments on original post
1
Add a comment...

Ben Weiss

Shared publicly  - 
11
1
Calibretto's profile photo
 
die neuen ordner sind nur so mittelmäh. 
aber ansonsten ganz interessant. 
 ·  Translate
Add a comment...

Ben Weiss

Shared publicly  - 
 
I can see my house from up here!
 
London and the Thames. In the park to the right is where the ISS GMT time is made.

London und die Themse. Im Park rechts wird das historische GMT Zeitsignal erzeugt, das wir auch auf der ISS nutzen. ‪#‎BlueDot‬ https://flic.kr/p/G1MZoP 
 ·  Translate
7 comments on original post
2
Add a comment...
Have him in circles
3,664 people
Ali Burak ERDOĞAN's profile photo
Prasad Thangavel's profile photo
Fred McHale's profile photo
Moritz Post's profile photo
Michał Gibowski's profile photo
Neumann Willard's profile photo
Selina Koch's profile photo
Maria Nguyen's profile photo
Friedger Müffke's profile photo

Ben Weiss

Shared publicly  - 
 
 
Secure those bits!

The Android security team has been hard at work building new tools to help developers protect user data in transit.  :)  Yesterday Alex posted about two great features that shipped last year in M:

https://security.googleblog.com/2016/04/protecting-against-unintentional.html

I'm particularly proud of the strategy I came up with to help detect any plaintext traffic leaving an app using a complex pile of iptables rules.  It's super easy to enable detection in your app with just one method call to this new StrictMode API:

https://developer.android.com/reference/android/os/StrictMode.VmPolicy.Builder.html#detectCleartextNetwork()

And here's the guts of where the iptables rules are generated using the powerful u32 module to do "shallow" packet inspection, both IPv4/v6 and TCP/UDP are supported:

https://android.googlesource.com/platform/system/netd/+/master/server/StrictController.cpp

Since it does bit banging to sniff out the explicit SSL 3.1 (TLS 1.0) signature, I don't recommend shipping it enabled in production, as that version number might increment in the future.
6 comments on original post
6
1
Add a comment...

Ben Weiss

Shared publicly  - 
 
 
We just released Agera, a library for creating reactive Android apps. https://github.com/google/agera/ 
4 comments on original post
7
5
Add a comment...

Ben Weiss

Shared publicly  - 
 
Spring has sprung and the skies are blue.
It's a great day to hit the parks in London.
7
Lauren Weinstein's profile photoChris Tuttle's profile photo
2 comments
 
Looks even better full screen. 
Add a comment...

Ben Weiss

Shared publicly  - 
 
 
Inside Google’s plan to make VR amazing for absolutely, positively everyone.
6 comments on original post
2
Add a comment...

Ben Weiss

Shared publicly  - 
 
IdlingResource can save lives. Well, at least nerves when debugging Espresso tests.
 
Espresso's IdlingResource is necessary when it can't figure out that your app is busy and it executes the next onView() statement before it should. For example, if your app is waiting for a response from a server it might look idle for Espresso.

Make sure to set your idling resource to "busy" before starting a new thread. Otherwise you'll be fighting a sneaky flaky test. We just had this issue in Blueprints: https://github.com/googlesamples/android-architecture/commit/d0ed882ed7e90bea85cf9b6452700a74dd1b0246



1 comment on original post
2
Add a comment...
Ben's Collections
People
Have him in circles
3,664 people
Ali Burak ERDOĞAN's profile photo
Prasad Thangavel's profile photo
Fred McHale's profile photo
Moritz Post's profile photo
Michał Gibowski's profile photo
Neumann Willard's profile photo
Selina Koch's profile photo
Maria Nguyen's profile photo
Friedger Müffke's profile photo
Work
Occupation
Developer Programs Engineer at Google
Employment
  • Google
    Developer Programs Engineer, 2014 - present
  • Immobilien Scout GmbH
    Senior Software Developer, 2012 - 2014
  • Neofonie Mobile GmbH
    Software Developer, 2010 - 2012
Basic Information
Gender
Male
Story
Tagline
Improve #androidDev
Introduction
I do stuff. Much of it is related to Android. Read my posts or check out my links if you want to see what I'm up to.
Bragging rights
Developed Guinness World Record setting Android software
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
London
Previously
Berlin - Munich - Dießen
Links
YouTube
Other profiles