Profile

Cover photo
Adam Powell
9,476 followers|2,630,531 views
AboutPostsCollectionsPhotosVideos

Stream

Adam Powell

Shared publicly  - 
 
Check this out later today.
 
Upcoming AMA with Android engineering team, July 19 @12pm PT * /r/androiddev

The Android engineering team will participate in its first ever AMA on /r/androiddev this Tuesday, July 19 from 12-2pm PT.

This will be your chance to ask us any and every technical question related to the development of the Android platform -- from the APIs and SDK to specific features. Please note that we want to keep the conversation focused strictly on the engineering of the platform.

https://goo.gl/8bRZKN
5 comments on original post
21
2
Add a comment...

Adam Powell

Shared publicly  - 
 
This is a good use of EXTRA_INITIAL_INTENTS when sharing on Android: providing extra actions for your users to take on the content.
 
I wrote a blog post on how you can make sharing links to the clipboard less painful for the user.

#androiddev
On Android many apps allow the user to share the currently displayed content to another app. Often it’s a link to the content on the web together with some additional information, e.g. the headline and maybe the lead of a...
4 comments on original post
24
7
Ben Kalziqi's profile photocketti's profile photoThomas Barthélémy's profile photo
5 comments
 
+cketti  Thanks a lot for your answer (=

It was definitely a good idea to ask you some advice! I wasn't aware of EXTRA_REPLACEMENT_EXTRAS at all and it seems to provide a way to implement what I was looking for.

Since aidl linked to the "DirectShare" such as IChooserTargetResult are marked as @hide, we couldn't reproduce the complete native behavior. Therefore EXTRA_REPLACEMENT_EXTRAS seems to be the best solution for API21+ as replaced extras might also be applied for the direct share picker.

I will definitely have a look in order to consider using it for futur apps!

Thanks (:
Add a comment...

Adam Powell

Shared publicly  - 
 
RecyclerView ins and outs is up on YouTube
35
4
Amilcar Andrade's profile photo
 
+Adam Powell where can I find the slides? Thanks!
Add a comment...

Adam Powell

Shared publicly  - 
 
What the Fragment? from #io16 is now up on YouTube
55
11
Adam Powell's profile photoDaniele Segato's profile photoLinden Darling's profile photojim vellios's profile photo
8 comments
 
+Daniele Segato
That's a really good example of trying to  make fragments work fluently within an application. Ill like 2 c what answer u get on this one... 
Add a comment...

Adam Powell

Shared publicly  - 
 
 
The article is, unfortunately, exactly what it says on the label: Trump explained in an interview with Yahoo that "We’re going to have to do things that we never did before," that "security is going to rule" under him, and that "we’re going to have to do certain things that were frankly unthinkable a year ago." This apparently includes investigating and shutting down mosques, forcibly deporting all Muslim refugees, and unspecified further measures against Muslims in the US, including citizens. When asked point-blank, he refused to rule out creating a database registering all Muslims in the country, and requiring them to carry special identification at all times.

Combining this with his plan to forcibly deport 11 million people (about which I've written previously: https://plus.google.com/+YonatanZunger/posts/jj1hDhk9Cuh), and I think it's fair to say that Trump has at this point openly advocated policies which are only associated with the Nazi party. There's no longer anything particularly metaphorical about it, nor is there any reason to distrust his honesty.

Some articles have referred to this as him going "full Godwin," but that's really not appropriate: Godwin's Law is about inappropriate metaphorical comparisons to Nazis, not people actually advocating National Socialism.

You can read the latest interview in full here: https://www.yahoo.com/politics/donald-trump-has-big-plans-1303117537878070.html

h/t +Valdis Klētnieks for finding the story.
“We’re going to have to do things that were frankly unthinkable a year ago.”
253 comments on original post
21
2
Add a comment...

Adam Powell

Shared publicly  - 
 
Clever use of intent URIs to perform native Android sharing from the web.
 
https://paul.kinlan.me/sharing-natively-on-android-from-the-web/

"""Our biggest challenge is not the URL string but the fact that Android apps for our favorite social sites and communications apps need to be updated. Once they are then this is a great way to invoke a sharing experience from the web."""
This story starts a long time, was tickled into existing after I visited FlipKart in Bangalore and was finalized after an internal conversation about the fact that it is impossible to trigger the share dialog in Android from the web. Lots of people want it, it turns out everyone thought it wasn't possible. It is.*
View original post
30
11
Dan Morrill's profile photoDaniele Segato's profile photo
2 comments
 
I guess Instant Apps is the automatized, Google supported way of doing something like this :)
Add a comment...

Adam Powell

Shared publicly  - 
 
Around 8 years ago my friend's daughter had never seen a commercial. She had grown up with DVDs, DVRs and Netflix instead of live TV. When she visited her grandparents and one came on, she was frustrated with them for not skipping ahead to the show. It didn't even occur to her that this wasn't an option and she didn't believe them when they tried to explain.

Table stakes for entire generations are changing. I'm not inclined to let my daughter sit there while people sell her stuff when she's old enough to watch TV either, not when other options are present. Planning your day around a broadcast schedule is ridiculous. She's going to grow up thinking anything less is clearly inferior. I'm OK with that.
Canadians continue to flee traditional TV in small but growing numbers. However, the industry may be in bigger trouble than it thinks. Cord-cutting stats don't count other looming threats: the rise of the cord-nevers and those contemplating slicing the cord.
54
7
Rich S's profile photoAndrew Oplinger's profile photoTony Bonavera's profile photoJ Chan's profile photo
12 comments
J Chan
+
1
2
1
 
Wait does +Jamie Powell work on Ads...?
Add a comment...
Have him in circles
9,476 people
Abdullah Al-Harbi's profile photo
Archit Joshi's profile photo
Tyler E's profile photo
Tram Tran's profile photo
Aditya Mehta's profile photo
Marc Reichelt's profile photo
Igor Bagayev's profile photo
Oliver Diestel's profile photo
ranbin ye's profile photo

Adam Powell

Shared publicly  - 
 
Coding and learning to code isn't easy. Far from it. But it is accessible. The tools are widely available and comparatively cheap next to learning other crafts.

It doesn't take a garage and a set of power tools. It doesn't take a recurring investment in materials. Messing up and learning from it (usually) doesn't wreck or consume anything.

But it is hard. It's the kind of hard like learning to ride a bike for the first time - once you know how, you forget how hard it was to get there and you make it look easy while you're doing it.
50
2
Jason Hsu's profile photoDaniel Egnor's profile photoOriol Jimenez's profile photoKris B's profile photo
13 comments
Kris B
+
1
2
1
 
I don't think I've ever heard anyone say coding is easy, except maybe HTML/CSS.
Add a comment...

Adam Powell

Shared publicly  - 
 
The JobScheduler is your best friend.
 
For Android developers, I'd like to especially point out this I/O video as one to watch. It covers some of the significant changes we have been making to platform behavior to improve battery life, changes which impact all apps.

We did a lot of the outreach to apps back in Marshmallow when doze was first introduces (since it is a rare case where it impacts all apps, not just ones that target a new platform version); however, with doze light in N, it is even more important that apps follow those recommendations so they continue to work correctly. We had to make the initial doze behavior in Marshmallow fairly conservative to mitigate its impact on existing apps... but now that we've had it out there and worked with developers to update their apps, we can start tightening the screws down. :)

The presentation also gives a preview of some significant behavior changes we plan on making to the platform in a future release, related to broadcast receivers and services. This is I think the largest application model change we have ever made to the platform, so it is well worth taking a look at it now so you can prepare for when it hits. Unlike doze, we plan (at least for now) on this being something that doesn't apply to existing apps, only apps that target the newer platform version. (And many changes you make today to have your app compatible with these future restrictions will also have a positive impact for our users on current devices!)
22 comments on original post
31
5
Davy Leggieri's profile photo
 
As long as you've enough jobs scheduled on the job scheduler (less then 3 in L and you're never invoked) and as long as your job is short lived (there is a timeout of 30min that will stop your job and release the wake lock held by JobSchedulerService).
Add a comment...

Adam Powell

Shared publicly  - 
 
 
Themes & styles talk now available on YouTube, for those of you who couldn't attend I/O (or could, but didn't want to wake up early). Featuring +Chris Banes and myself explaining the deep, dark secrets of Android themes and styles.
2 comments on original post
25
5
Add a comment...

Adam Powell

Shared publicly  - 
 
 
We announced today the project I have been working on with +John Hoford for the past year: a new constraint-based layout for android and its associated UI builder, complete with powerful tools to help you create constraints, all available on the Android Studio 2.2 preview! (use the canary build). The UI builder has been built in parallel of the layout system, and really takes advantage of it to provide a new experience.

+Romain Guy  did a really nice demo of it during the "What's new on Android" https://youtu.be/B08iLAtS3AQ?t=2m27s

John and I will also give a talk about it on friday morning https://t.co/0XzwJ3yjU2 , which will be streamed as well.

There's a codelab available https://t.co/N8AJGSsriw , and you might have seen the mention in the keynote https://t.co/LyBnybcuaA

Keep in mind, this is a preview, released as an alpha version -- "there might be bugs" :) -- but we want to hear from you as you use it -- don't hesitate to contact us and share suggestions, feature requests and of course, bug reports.

Check it out!

#ConstraintLayout #Android #AndroidStudio
9 comments on original post
8
1
Jake Weisz's profile photoAdam Powell's profile photo
2 comments
 
Yeah between this and data binding, putting together an Android UI quickly has seen a lot of advancements lately.
Add a comment...

Adam Powell

Shared publicly  - 
 
Just a reminder that images like this were originally made as dystopian jokes.
33
3
Jake Weisz's profile photoPhil H's profile photo
2 comments
Phil H
 
Ooh smells like cable TV...
Add a comment...
Adam's Collections
Story
Tagline
It's better to be Willy Wonka than to find a golden ticket.
Introduction
Android framework engineer at Google. I help make the little green robots.
Bragging rights
Shipped a few mobile games, an online collectible tactics game, some browser-based game frameworks and around 15 API releases of Android.
Collections Adam is following
Basic Information
Gender
Male
Apps with Google+ Sign-in
  • FINAL FANTASY VI