際際滷

際際滷Share a Scribd company logo
Android hide
Android developer
 Wordline
 Catm坦bil SCP
 Catdroid
@lepetitbernat
http://es.linkedin.com/in/bernatp
Restricted profiles
-> JellyBean+
Crash reports
-> ApplicationErrorReport
-> Send Feedback (2 ways)
Hide intents
-> Data usage
Added in JellyBean
 Android 4.3
 API 18+
 Tablets
TYPE_BOOLEAN
TYPE_CHOICE
TYPE_MULTI_SELECT
BroadcastReceiver
IntentFilter
android.intent.action.
GET_RESTRICTION_ENTRIES
extends BroadCastReceiver {
onReceive(...)
PendingResult result = goAsync();
new Thread()
run()
// ADD
RESTRICTIONS
Create broadcast
new ArrayList<RestrictionEntry>();
new RestrictionEntry(KEY_BOOLEAN, true);
entry.setTitle("Dangerous enabled");
entry.setType(RestrictionEntry.TYPE_BOOLEAN);
add(entry);
Create restrictions
Bundle extras = new Bundle();
extras.putParcelableArrayList(
Intent.EXTRA_RESTRICTIONS_LIST, restrictions);
result.setResult(Activity.RESULT_OK, null, extras);
result.finish();
Final steps!
UserManager usrManager = (UserManager)
getSystemService(Context.USER_SERVICE);
Bundle restrictions =
usrManager.getApplicationRestrictions(getPackageName());
restrictions != null
restrictions.get(...);
Using restrictions
Android hide
Intent customIntent = new Intent();
customIntent.setClass(context, SettingsActivity.class);
extras.putParcelable(
Intent.EXTRA_RESTRICTIONS_INTENT, customIntent);
result.setResult(Activity.RESULT_OK, null, extras);
result.finish();
Custom
restrictions
 d.android.com
o http://goo.gl/I0D3PU
 DevBytes
o https://www.youtube.com/watch?v=pdUcANNm72o
Added in
IceCream
 Android 4.0
 API 14+
 Leave user write messages
Android hide
ApplicationErrorRepor
t
 TYPE_NONE
 TYPE_CRASH
 TYPE_ANR
 TYPE_BATTERY
 TYPE_RUNNING_SERVICE
Exception e;
...
report = new ApplicationErrorReport();
report.type = ApplicationErrorReport.TYPE_CRASH;
...
crash= new ApplicationErrorReport.CrashInfo();
report.crashInfo = crash;
...
arn = new ApplicationErrorReport.AnrInfo();
report.arnInfo = arn;

ApplicationErrorReport
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setClassName("com.google.android.feedback",
"com.google.android.feedback.FeedbackActivity");
intent.putExtra(Intent.EXTRA_BUG_REPORT, report)
startActivity(intent);
Intent
Intent.EXTRA_BUG_REPOR
T
Intent.ACTION_APP_ERRO
R
Trick
FeedbackException
 Custom message
 Custom class name
 Custom stacktrace
 User messages
 d.android.com
o http://goo.gl/QZnjZW
 Black feedback
o http://stackoverflow.com/a/20848542
 Google feedback
o http://stackoverflow.com/a/22156938
Android hide
IntentFilter
android.intent.action.
MANAGE_NETWORK_USAGE
ApplicationErrorReport
?
!https://github.com/alorma/Baug_Android_hide
Ad

Recommended

犖犖迦牽犢犖 犖∇犢犖犖犢犖犖犖÷ 犖犖_犖犖犖迦犖_犖犖_犖
犖犖迦牽犢犖 犖∇犢犖犖犢犖犖犖÷ 犖犖_犖犖犖迦犖_犖犖_犖
Bongza Naruk
GUTHA
Ruthais2
Android hide
Android hide
Bernat Borr叩s-Paronella Petit
Dia del aprendiz
Dia del aprendiz
sadimana
Dia del aprendiz
Dia del aprendiz
sadimana
Android Froyo
Android Froyo
Robert Cooper
GCM aperitivo Android
GCM aperitivo Android
Luca Morettoni
Android - Api & Debugging in Android
Android - Api & Debugging in Android
Vibrant Technologies & Computers
Getting your app ready for android n
Getting your app ready for android n
Sercan Yusuf
What's new in android jakarta gdg (2015-08-26)
What's new in android jakarta gdg (2015-08-26)
Google
Google analytics
Google analytics
Sean Tsai
Android is not just mobile
Android is not just mobile
Kevin McDonagh
Build resource server &amp; client for OCF Cloud (2018.8.30)
Build resource server &amp; client for OCF Cloud (2018.8.30)
蠏 蟾
#MBLTdev: 舒亰舒弍仂从舒 仗亠于仂从仍舒仆 SDK 亟仍 Android (Twitter)
#MBLTdev: 舒亰舒弍仂从舒 仗亠于仂从仍舒仆 SDK 亟仍 Android (Twitter)
e-Legion
Creating a Smart Alarm System with Raspberry Pi and Google Cloud Pub/Sub
Creating a Smart Alarm System with Raspberry Pi and Google Cloud Pub/Sub
XinYingLim12
Android securitybyexample
Android securitybyexample
Pragati Rai
Android: Intent, Intent Filter, Broadcast Receivers
Android: Intent, Intent Filter, Broadcast Receivers
CodeAndroid
Cloud nativemicroservices jax-london2020
Cloud nativemicroservices jax-london2020
Emily Jiang
Cloud nativemicroservices jax-london2020
Cloud nativemicroservices jax-london2020
Emily Jiang
Building Twitter's SDKs for Android
Building Twitter's SDKs for Android
Andy Piper
IoT on Raspberry PI v1.2
IoT on Raspberry PI v1.2
John Staveley
Overtaking Firefox Profiles: Vulnerabilities in Firefox for Android
Overtaking Firefox Profiles: Vulnerabilities in Firefox for Android
IBM Security
Multiple Vulnerabilities in Mozilla Firefox for Android
Multiple Vulnerabilities in Mozilla Firefox for Android
The Hacker News
BroadcastReceivers in Android
BroadcastReceivers in Android
Perfect APK
HBaseCon 2013: A Developers Guide to Coprocessors
HBaseCon 2013: A Developers Guide to Coprocessors
Cloudera, Inc.
What is data visualization and how data visualization tool can help.pptx
What is data visualization and how data visualization tool can help.pptx
Varsha Nayak
Reimagining Software Development and DevOps with Agentic AI
Reimagining Software Development and DevOps with Agentic AI
Maxim Salnikov

More Related Content

Similar to Android hide (20)

Android Froyo
Android Froyo
Robert Cooper
GCM aperitivo Android
GCM aperitivo Android
Luca Morettoni
Android - Api & Debugging in Android
Android - Api & Debugging in Android
Vibrant Technologies & Computers
Getting your app ready for android n
Getting your app ready for android n
Sercan Yusuf
What's new in android jakarta gdg (2015-08-26)
What's new in android jakarta gdg (2015-08-26)
Google
Google analytics
Google analytics
Sean Tsai
Android is not just mobile
Android is not just mobile
Kevin McDonagh
Build resource server &amp; client for OCF Cloud (2018.8.30)
Build resource server &amp; client for OCF Cloud (2018.8.30)
蠏 蟾
#MBLTdev: 舒亰舒弍仂从舒 仗亠于仂从仍舒仆 SDK 亟仍 Android (Twitter)
#MBLTdev: 舒亰舒弍仂从舒 仗亠于仂从仍舒仆 SDK 亟仍 Android (Twitter)
e-Legion
Creating a Smart Alarm System with Raspberry Pi and Google Cloud Pub/Sub
Creating a Smart Alarm System with Raspberry Pi and Google Cloud Pub/Sub
XinYingLim12
Android securitybyexample
Android securitybyexample
Pragati Rai
Android: Intent, Intent Filter, Broadcast Receivers
Android: Intent, Intent Filter, Broadcast Receivers
CodeAndroid
Cloud nativemicroservices jax-london2020
Cloud nativemicroservices jax-london2020
Emily Jiang
Cloud nativemicroservices jax-london2020
Cloud nativemicroservices jax-london2020
Emily Jiang
Building Twitter's SDKs for Android
Building Twitter's SDKs for Android
Andy Piper
IoT on Raspberry PI v1.2
IoT on Raspberry PI v1.2
John Staveley
Overtaking Firefox Profiles: Vulnerabilities in Firefox for Android
Overtaking Firefox Profiles: Vulnerabilities in Firefox for Android
IBM Security
Multiple Vulnerabilities in Mozilla Firefox for Android
Multiple Vulnerabilities in Mozilla Firefox for Android
The Hacker News
BroadcastReceivers in Android
BroadcastReceivers in Android
Perfect APK
HBaseCon 2013: A Developers Guide to Coprocessors
HBaseCon 2013: A Developers Guide to Coprocessors
Cloudera, Inc.
GCM aperitivo Android
GCM aperitivo Android
Luca Morettoni
Getting your app ready for android n
Getting your app ready for android n
Sercan Yusuf
What's new in android jakarta gdg (2015-08-26)
What's new in android jakarta gdg (2015-08-26)
Google
Google analytics
Google analytics
Sean Tsai
Android is not just mobile
Android is not just mobile
Kevin McDonagh
Build resource server &amp; client for OCF Cloud (2018.8.30)
Build resource server &amp; client for OCF Cloud (2018.8.30)
蠏 蟾
#MBLTdev: 舒亰舒弍仂从舒 仗亠于仂从仍舒仆 SDK 亟仍 Android (Twitter)
#MBLTdev: 舒亰舒弍仂从舒 仗亠于仂从仍舒仆 SDK 亟仍 Android (Twitter)
e-Legion
Creating a Smart Alarm System with Raspberry Pi and Google Cloud Pub/Sub
Creating a Smart Alarm System with Raspberry Pi and Google Cloud Pub/Sub
XinYingLim12
Android securitybyexample
Android securitybyexample
Pragati Rai
Android: Intent, Intent Filter, Broadcast Receivers
Android: Intent, Intent Filter, Broadcast Receivers
CodeAndroid
Cloud nativemicroservices jax-london2020
Cloud nativemicroservices jax-london2020
Emily Jiang
Cloud nativemicroservices jax-london2020
Cloud nativemicroservices jax-london2020
Emily Jiang
Building Twitter's SDKs for Android
Building Twitter's SDKs for Android
Andy Piper
IoT on Raspberry PI v1.2
IoT on Raspberry PI v1.2
John Staveley
Overtaking Firefox Profiles: Vulnerabilities in Firefox for Android
Overtaking Firefox Profiles: Vulnerabilities in Firefox for Android
IBM Security
Multiple Vulnerabilities in Mozilla Firefox for Android
Multiple Vulnerabilities in Mozilla Firefox for Android
The Hacker News
BroadcastReceivers in Android
BroadcastReceivers in Android
Perfect APK
HBaseCon 2013: A Developers Guide to Coprocessors
HBaseCon 2013: A Developers Guide to Coprocessors
Cloudera, Inc.

Recently uploaded (20)

What is data visualization and how data visualization tool can help.pptx
What is data visualization and how data visualization tool can help.pptx
Varsha Nayak
Reimagining Software Development and DevOps with Agentic AI
Reimagining Software Development and DevOps with Agentic AI
Maxim Salnikov
dp-700 exam questions sample docume .pdf
dp-700 exam questions sample docume .pdf
pravkumarbiz
Automated Migration of ESRI Geodatabases Using XML Control Files and FME
Automated Migration of ESRI Geodatabases Using XML Control Files and FME
Safe Software
wAIred_RabobankIgniteSession_12062025.pptx
wAIred_RabobankIgniteSession_12062025.pptx
SimonedeGijt
SAP PM Module Level-IV Training Complete.ppt
SAP PM Module Level-IV Training Complete.ppt
MuhammadShaheryar36
FME as an Orchestration Tool - Peak of Data & AI 2025
FME as an Orchestration Tool - Peak of Data & AI 2025
Safe Software
Emvigo Capability Deck 2025: Accelerating Innovation Through Intelligent Soft...
Emvigo Capability Deck 2025: Accelerating Innovation Through Intelligent Soft...
Emvigo Technologies
Smadav Pro 2025 Rev 15.4 Crack Full Version With Registration Key
Smadav Pro 2025 Rev 15.4 Crack Full Version With Registration Key
joybepari360
Zonerankers Digital marketing solutions
Zonerankers Digital marketing solutions
reenashriee
Download Adobe Illustrator Crack free for Windows 2025?
Download Adobe Illustrator Crack free for Windows 2025?
grete1122g
Porting Qt 5 QML Modules to Qt 6 Webinar
Porting Qt 5 QML Modules to Qt 6 Webinar
ICS
On-Device AI: Is It Time to Go All-In, or Do We Still Need the Cloud?
On-Device AI: Is It Time to Go All-In, or Do We Still Need the Cloud?
Hassan Abid
DevOps for AI: running LLMs in production with Kubernetes and KubeFlow
DevOps for AI: running LLMs in production with Kubernetes and KubeFlow
Aarno Aukia
Advanced Token Development - Decentralized Innovation
Advanced Token Development - Decentralized Innovation
arohisinghas720
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
Integrating Survey123 and R&H Data Using FME
Integrating Survey123 and R&H Data Using FME
Safe Software
Smart Financial Solutions: Money Lender Software, Daily Pigmy & Personal Loan...
Smart Financial Solutions: Money Lender Software, Daily Pigmy & Personal Loan...
Intelli grow
Making significant Software Architecture decisions
Making significant Software Architecture decisions
Bert Jan Schrijver
Code and No-Code Journeys: The Coverage Overlook
Code and No-Code Journeys: The Coverage Overlook
Applitools
What is data visualization and how data visualization tool can help.pptx
What is data visualization and how data visualization tool can help.pptx
Varsha Nayak
Reimagining Software Development and DevOps with Agentic AI
Reimagining Software Development and DevOps with Agentic AI
Maxim Salnikov
dp-700 exam questions sample docume .pdf
dp-700 exam questions sample docume .pdf
pravkumarbiz
Automated Migration of ESRI Geodatabases Using XML Control Files and FME
Automated Migration of ESRI Geodatabases Using XML Control Files and FME
Safe Software
wAIred_RabobankIgniteSession_12062025.pptx
wAIred_RabobankIgniteSession_12062025.pptx
SimonedeGijt
SAP PM Module Level-IV Training Complete.ppt
SAP PM Module Level-IV Training Complete.ppt
MuhammadShaheryar36
FME as an Orchestration Tool - Peak of Data & AI 2025
FME as an Orchestration Tool - Peak of Data & AI 2025
Safe Software
Emvigo Capability Deck 2025: Accelerating Innovation Through Intelligent Soft...
Emvigo Capability Deck 2025: Accelerating Innovation Through Intelligent Soft...
Emvigo Technologies
Smadav Pro 2025 Rev 15.4 Crack Full Version With Registration Key
Smadav Pro 2025 Rev 15.4 Crack Full Version With Registration Key
joybepari360
Zonerankers Digital marketing solutions
Zonerankers Digital marketing solutions
reenashriee
Download Adobe Illustrator Crack free for Windows 2025?
Download Adobe Illustrator Crack free for Windows 2025?
grete1122g
Porting Qt 5 QML Modules to Qt 6 Webinar
Porting Qt 5 QML Modules to Qt 6 Webinar
ICS
On-Device AI: Is It Time to Go All-In, or Do We Still Need the Cloud?
On-Device AI: Is It Time to Go All-In, or Do We Still Need the Cloud?
Hassan Abid
DevOps for AI: running LLMs in production with Kubernetes and KubeFlow
DevOps for AI: running LLMs in production with Kubernetes and KubeFlow
Aarno Aukia
Advanced Token Development - Decentralized Innovation
Advanced Token Development - Decentralized Innovation
arohisinghas720
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
Integrating Survey123 and R&H Data Using FME
Integrating Survey123 and R&H Data Using FME
Safe Software
Smart Financial Solutions: Money Lender Software, Daily Pigmy & Personal Loan...
Smart Financial Solutions: Money Lender Software, Daily Pigmy & Personal Loan...
Intelli grow
Making significant Software Architecture decisions
Making significant Software Architecture decisions
Bert Jan Schrijver
Code and No-Code Journeys: The Coverage Overlook
Code and No-Code Journeys: The Coverage Overlook
Applitools
Ad

Android hide