Profile

Cover photo
1,136 followers|142,080 views
AboutPosts

Stream

CommonsWare

Shared publicly  - 
 
Subscribers now have access to the latest release of The Busy Coder’s Guide to Android Development, known as Version 7.6, in all formats. Just log into your Warescription page and download away, or set up an account and subscribe!
4
Add a comment...

CommonsWare

Shared publicly  - 
 
SQLCipher for Android used to run afoul of Android N’s new rules for NDK apps. Zetitec just released version 3.5.0 which addresses that problem and makes other improvements as well (only one .so per platform, smaller size, etc.).

Android N is scheduled to ship in 2016 Q3… which means somewhere in the July-September range. While only a tiny percentage of Android devices will get the Android N upgrade then — and an even tinier percentage will be new Android N devices — you still should plan to upgrade your SQLCipher for Android soon. Otherwise, you will have a lot of angry Android N users pelting you with nut rolls, Nutella jars, and no telling what else.
7
Julien Dodokal's profile photo
 
Yay! We use SQLCipher in all of our apps, this is great news that the fix has come!
Add a comment...

CommonsWare

Shared publicly  - 
 
Subscribers now have access to the latest release of The Busy Coder’s Guide to Android Development, known as Version 7.4, in all formats. Just log into your Warescription page and download away, or set up an account and subscribe!

Updates include N Developer Preview 3, drag-and-drop, keyboard/mouse support, code coverage, and more!
6
Add a comment...

CommonsWare

Shared publicly  - 
 
Each time Google releases a developer preview or new SDK, I try to figure out what is being hidden in a locked closet, as opposed to being called out in announcements and documentation. Here's my report for today's N Developer Preview 3.
8
Add a comment...

CommonsWare

Shared publicly  - 
 
Subscribers now have access to the latest release of The Busy Coder’s Guide to Android Development, known as Version 7.3, in all formats. Just log into your Warescription page and download away, or set up an account and subscribe!

Updates include Android Studio 2.1, the N Developer Preview 2, and more depth on the Storage Access Framework.
8
Add a comment...

CommonsWare

Shared publicly  - 
 
If you have an app with an activity that implements the ACTION_SEND <intent-filter>, please validate any EXTRA_STREAM Uri that you get in. It might point to your own app's data, allowing an attacker to trick you into sending that data somewhere you would rather it not go.
11
Add a comment...
Have them in circles
1,136 people
Alexander Armbruster's profile photo
Hari Krishna Dulipudi (HaKr)'s profile photo
Yolanda Septiana Dewi's profile photo
daniel wilkie's profile photo
伦鹏钊's profile photo
Paweł Zięba's profile photo
Sang Nguyễn Văn's profile photo
Kenneth Law's profile photo
Rongjie Shao's profile photo

CommonsWare

Shared publicly  - 
 
Subscribers now have access to the latest release of The Busy Coder’s Guide to Android Development, known as Version 7.5, in all formats. Just log into your Warescription page and download away, or set up an account and subscribe!

Updates include Espresso and Android-on-Chrome OS.
5
Marius Gröger's profile photoCommonsWare's profile photo
2 comments
 
+Marius Gröger Replacing the TOC "chapter" with something else (probably a nav drawer, like the Kindle app) is on my to-do list. I may get to that this fall, after the Android world has calmed down a bit.
Add a comment...

CommonsWare

Shared publicly  - 
 
With each developer preview or production SDK release, I try to find out what developers might miss from any Google announcements and documentation. The N Developer Preview 4 does not change much, but here is my analysis anyway.
7
Add a comment...

CommonsWare

Shared publicly  - 
 
Just because you apply FLAG_SECURE to an activity's window does not mean that everything in that activity is secure. Any UI elements that pop up their own windows should propagate FLAG_SECURE to those windows... but many do not. The media projection APIs, the Assist API (e.g., Now On Tap), etc. can get at those insecure popup windows. Yet, this is "working as intended".

This blog post describes the problem and provides links to additional resources on how to address it as best we can.
10
Marius Gröger's profile photoCommonsWare's profile photo
2 comments
 
+Marius Gröger Agreed. Now On Tap is the one thing that is not really opt-in by the user where this content will get leaked. Everything else that I have seen (media projection, other Assist API implementations) requires that the user do something first.
Add a comment...

CommonsWare

Shared publicly  - 
 
Each time Google releases a developer preview or new SDK, I try to figure out what was swept under the carpet, as opposed to being called out in announcements and documentation. Here's my report for today's N Developer Preview 2.
16
Christian Kaderud's profile photoCommonsWare's profile photoFrançois Blavoet's profile photo
3 comments
 
>ng-time Android developers will remember that Activity used to support onRetainNonConfigurationInstance() and getLastNonConfigurationInstance(). These were deprecated back in API Level 11, replaced by retained fragments. For some reason, they have been un-deprecated (de-deprecated? dis-deprecated? anti-deprecated?!?) in NDP2.

IIRC retained fragments rely on these two methods.
So it was weird to deprecate them.
Either make them @hide if they don't want people to use them directly or just let people use them.
Add a comment...

CommonsWare

Shared publicly  - 
 
Due to a production mistake on my part, the APK, EPUB, and MOBI downloads for Version 7.2 (released this past Monday) had Version 7.1 content. The files have been updated for all subscribers, so a fresh download will give you the proper material. The PDF edition was fine.

I sincerely apologize for this screwup, and I will take steps to prevent it from happening again.
3
Add a comment...

CommonsWare

Shared publicly  - 
 
Starting with Version 7.2 of "The Busy Coder’s Guide to Android Development", the APK edition of the book contains a new overflow menu option, for what’s known as Community Theater. This gives you access to a small-but-growing library of “appinars”: app-based training modules. 11 appinars today, more to come in future book updates.
9
Vladimir Bjelakovic's profile photoCommonsWare's profile photoJan Cizmar's profile photo
5 comments
 
+CommonsWare It is the correct one now. Thank you :)
Add a comment...
People
Have them in circles
1,136 people
Alexander Armbruster's profile photo
Hari Krishna Dulipudi (HaKr)'s profile photo
Yolanda Septiana Dewi's profile photo
daniel wilkie's profile photo
伦鹏钊's profile photo
Paweł Zięba's profile photo
Sang Nguyễn Văn's profile photo
Kenneth Law's profile photo
Rongjie Shao's profile photo