Profile

Cover photo
BERJAYA
BERJAYA
Android Developers
910,229 followers|125,764,988 views
AboutPostsCollectionsPhotosYouTube

Stream

Android Developers
owner

Discussion  - 
 
 
Swimming in Threadpools

We know that you’re an awesome engineer, and you’re using threading to the MAX. But over time, it gets harder and harder to handle how work is distributed across all those AsyncTasks and HandlerThreads. It gets especially tricky when you try to break up large blocks of work, like image processing, and find a threaded solution for it.

https://goo.gl/Z2UlFp

#Perfmatters
View original post
16
7
Molnár Dániel's profile photo
 
Hi, I've just watched you video about ThreadPools, so now I'm a little bit confused :). I checked my code, and I realised I use ExecutorService with CachedThreadPool.
I use it in an AsyncTask to process parts of a Json (I can't use Gson or something like this, because the Json has a terrible structure). I have about 90 objects I parse in separate threads, and I call awaitTermination() to wait all threads finish before finish doInBackground(). What do you think? This may be good in terms of performance?
Add a comment...

Android Developers

Shared publicly  - 
 
Bring together your local developer community while taking part in I/O festivities by hosting an I/O Extended event in your neighborhood. Who knows...your event might even get a shout out during the #io16 event in Mountain View, CA! 
 
Ready to host an #io16extended event in your local community?

Bring together your local developer community while taking part in I/O festivities by hosting an I/O Extended event in your neighborhood. Who knows...your event might even get a shout out during the #io16 event in Mountain View, CA!

The agenda for I/O Extended is totally up to you. You can live stream the I/O keynote & sessions, invite local guest speakers, demo products, organize a hackathon, and more.

To get started with organizing an I/O Extended event:
- Create a public RSVP page for your event using an event platform of your choice.
- Register your public event on the I/O Extended website (https://goo.gl/5S14QD) so that it appears on the I/O Extended map at google.com/io. Note: If you’re a Google Developer Group (GDG), please register your event via developer.google.com/events.
- Read through the I/O Extended 2016 Organizer’s Guide (https://goo.gl/M7KPXl) for tips on hosting a successful event.
- Join the I/O Extended 2016 Organizer’s G+ Community (https://goo.gl/uPXuQU) to exchange ideas with other hosts.
- Start planning!
1 comment on original post
72
6
Add a comment...

Android Developers

Shared publicly  - 
 
The Android Experiments I/O Challenge is live! Submit yours to win a trip to this year’s Google I/O. androidexperiments.com/challenge

#AndroidExperiments #io16
265
83
Yoann Delouis's profile photoLouis Cognault's profile photoMete Polat's profile photobhanu prakash's profile photo
7 comments
 
We can make any browser also for experiment
Add a comment...

Android Developers

Shared publicly  - 
 
Preparing for Multi-Window in Android N
5 Pro-tips by +Ian Lake

Not just one, but five pro-tips today on getting your app prepared for multi-window support on Android N. Find out why it is important to use the right Context, handle configuration changes correctly, handle all orientations, build a responsive UI, and support implicit intents in a multi-window world.

Even better: these are things you can do right now to make for a great experience on day 1 without requiring you compile your app with the Android N SDK.
388
111
Ian Lake's profile photoBenoît `BoD` Lubek's profile photoLutta Wando's profile photoAmit dabas's profile photo
14 comments
 
it will add more productivity to android. It is a good idea.
Add a comment...

Android Developers

Shared publicly  - 
 
While AsyncTask is the most useful threading class you can use, there’s some situations where it just doesn’t make sense. For example, AsyncTasks aren’t good for long-running work, or for threaded callbacks. Learn more in this video with +Colt McAnlis. #Perfmatters
https://goo.gl/yFZULo
161
31
Aleksandar Stefanović's profile photo*Max Müller*'s profile photo
3 comments
 
+Aleksandar Stefanović I know about HandlerThreads since I needed to delay functions, so since I started programming
Add a comment...

Android Developers

Shared publicly  - 
 
StrictMode for enforcing best practices at runtime

StrictMode isn't just for performance checks - it also offers some runtime checks for ensuring that you're sharing files correctly and encrypting your network traffic.

Watch the video, read the blog (https://medium.com/google-developers/strictmode-for-runtime-analysis-on-android-f8d0a2c5667e) and continue to #BuildBetterApps!

https://www.youtube.com/watch?list=PLWz5rJ2EKKc-lJo_RGGXL2Psr8vVCTWjM&v=BxTfwT7mkB4
177
49
Dmitry Suzdalev's profile photoPaul Danyliuk's profile photoGuillermo Ampie's profile photoAnnette Dickenson's profile photo
5 comments
 
Well I'm learning.
Add a comment...
Have them in circles
910,229 people
Tim Richman's profile photo
Leo Morales's profile photo
Beca Pen's profile photo
Bradford Bitting's profile photo
Aubrey Slape's profile photo
Binayak Banerjee's profile photo
Ryan Velarde's profile photo
Joe whimle's profile photo
Nikolaus Kangas's profile photo

Android Developers

Shared publicly  - 
 
Swimming in Threadpools

We know that you’re an awesome engineer, and you’re using threading to the MAX. But over time, it gets harder and harder to handle how work is distributed across all those AsyncTasks and HandlerThreads. It gets especially tricky when you try to break up large blocks of work, like image processing, and find a threaded solution for it.

https://goo.gl/Z2UlFp

#Perfmatters
103
29
Add a comment...

Android Developers

Shared publicly  - 
 
Learn about Registering OAuth clients for Google Sign-in via Isabella Chen and +Laurence Moroney http://goo.gl/Sl3i4t
88
26
Maxim Yudin's profile photoLaurence Moroney's profile photo
2 comments
 
Welcome , Maxim... Glad you enjoyed! :)
Add a comment...

Android Developers
owner

Android Studio  - 
 

We've just pushed 2.1 Preview 4 to the canary channel, with new bug fixes and some tweaks to the Instant Run UI. (These fixes will also go out to the 2.0 beta channel soon.)

http://tools.android.com/recent/androidstudio21preview4available
32
5
Cristian Cardoso's profile photo
 
When upgrading, no longer recognizes my devices. :(
Add a comment...

Android Developers
owner

Discussion  - 
 
 
While AsyncTask is the most useful threading class you can use, there’s some situations where it just doesn’t make sense. For example, AsyncTasks aren’t good for long-running work, or for threaded callbacks. Learn more in this video with +Colt McAnlis. #Perfmatters
https://goo.gl/yFZULo
3 comments on original post
26
2
Add a comment...

Android Developers

Shared publicly  - 
 
Android Studio Live Templates help you write more code by writing less code.

You may already use these shortcuts to quickly insert templated code snippets for everything from displaying Toasts, to inserting logging statements, creating loops, and finding Views by ID -- but did you know you can create your own Live Templates to templatize repetitive or boilerplate code in your apps?

Video: https://www.youtube.com/watch?v=4rI4tTd7-J8&list=PLWz5rJ2EKKc_w6fodMGrA1_tsI3pqPbqa&index=6

Medium: https://medium.com/google-developers/writing-more-code-by-writing-less-code-with-android-studio-live-templates-244f648d17c7#.tlofylkwx
206
48
Add a comment...

Android Developers

Shared publicly  - 
 
Episode 45 of the Android Developers Backstage podcast is now available: The State of the ART.

This time, Chet and Tor chat with Brian Carlstrom and Anwar Ghuloum about the Android Runtime improvements in Android N Preview.

http://androidbackstage.blogspot.com/2016/03/episode-45-state-of-art.html
BERJAYA
Tor, Brian, Anwar and Chet In this episode, Chet and Tor talk with Brian Carlstrom and Anwar Ghuloum about Android N preview, and in particular the new features in ART, the Android Runtime. Listen in to find out about the cha...
75
19
Sid Bradipao's profile photoAndroid Developers's profile photo
2 comments
 
+Sid Bradipao - yep! Android Developers Backstage, as mentioned in the post, is a podcast :)
Add a comment...
Android Developers's Collections
People
Have them in circles
910,229 people
Tim Richman's profile photo
Leo Morales's profile photo
Beca Pen's profile photo
Bradford Bitting's profile photo
Aubrey Slape's profile photo
Binayak Banerjee's profile photo
Ryan Velarde's profile photo
Joe whimle's profile photo
Nikolaus Kangas's profile photo
Story
Tagline
A place for Android developers everywhere to meet, share and discuss the latest on Android development
Introduction
This is the official Google+ home of the Android Engineering teams.

Android is a software stack for mobile devices that includes an operating system, middleware and key applications. 

The Android SDK provides the tools and APIs you need to develop applications on the Android platform.