Tagged articles
5 articles
Page 1 of 1
HomeTech
HomeTech
Mar 8, 2022 · Mobile Development

Best Practices for Secure Android Component Development

This article explains how to securely use Android components during development by identifying risk points, recommending proper use of the android:exported attribute, custom permissions, intent validation, and safe BroadcastReceiver and ContentProvider practices to enhance app reliability and security.

AndroidBroadcastReceiverComponent Security
0 likes · 7 min read
Best Practices for Secure Android Component Development
Tencent Music Tech Team
Tencent Music Tech Team
Aug 25, 2017 · Mobile Development

Why Android ContentProvider Client Processes May Be Killed by AMS: Deep Dive into StableCount and Process Cleanup

When a client app acquires a stable ContentProvider reference, Android’s ActivityManagerService tracks it with a stableCount; if the provider’s server process dies—due to low‑memory kill, startup failure, or timeout—while stableCount remains above zero, AMS will terminate the dependent client process.

AMSAndroidContentProvider
0 likes · 18 min read
Why Android ContentProvider Client Processes May Be Killed by AMS: Deep Dive into StableCount and Process Cleanup