Select chapter



basics (6.papers)
activities (5.papers)
services (2.papers)
threads (2.papers)
receivers (1.papers)
advanced android (2.papers)
SQLite database (1.papers)
adapters (1.papers)
adb and ddms (1.papers)
widgets (1.papers)
fragments (1.papers)
UI (1.papers)
Hide

Sponsored Links


  

android securities and permissions interview questions and answers

1
What is sandboxing in android?
  1. Every application runs in a secure sandbox environment, so other processes on the system cannnot access your code or private data.
  2. Each application is called as sandbox.
  3. Putting application in external memory is called as sandboxing.
  4. loading application into emulator is called as sandboxing.
Show Answer
Share Facebook gmail Twitter
2
How many levels of security available in android?
  1. 2 levels - App level, kernel level
  2. 3 levels - app level, dvm level, kernel level
  3. only kernel level
  4. only app level
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
4
Android securities and permissions: 
For the below given problem where should I write uses-permission tag? in which application?

Problem: I am downloading two applications where app1 has a service on which some permission is enforced, and app2 has an activity which will start app1's service. Now on downloading which application user will be prompted with permission dialog?
  1. uses-permission has to be written in app2's manifest file, in application tag.
  2. uses-permission has to be written in app2's manifest file, after application tag.
  3. uses-permission has to be written in app1's manifest file, in application tag.
  4. uses-permission has to be written in app1's manifest file, after application tag.
Show Answer
Share Facebook gmail Twitter
5
Android securities and permissions:
For the below given problem, where should I write permission tag? and how to enforce that permission on service?

Problem: I am downloading two applications where app1 has a service on which some permission is enforced, and app2 has an activity which will start app1's service. Now on downloading which application user will be prompted with permission dialog?
  1. Permission tag has to be in app1's manifest file in application tag. and we have to enfoce this permission using android:permission attribute in <Service tag> of app 1.
  2. Permission tag has to be in app1's manifest file above application tag. and we have to enfoce this permission using android:permission attribute in <intent-filter tag> of Service in app 1.
  3. Permission tag has to be in app2's manifest file above application tag. and we have to enfoce this permission using android:permission attribute in <Service tag> of app 1.
  4. Permission tag has to be in app1's manifest file above application tag. and we have to enfoce this permission using android:permission attribute in <Service tag> of app 1.
Show Answer
Share Facebook gmail Twitter
6
Which of the below is not an attribute of permission tag?
  1. android:id
  2. android:name
  3. android:description
  4. android:protectionlevel
Show Answer
Share Facebook gmail Twitter
7
What are the protection levels available in android's permission tag?
  1. normal, dangerous, system, security.
  2. normal, dangerous, signature, signatureOrsystem.
  3. normal, dangerous, system, signatureOrsystem.
  4. normal, dangerous, security, signatureOrsystem.
Show Answer
Share Facebook gmail Twitter
8
Android securities and permissions : Can one application having Linux process user id 1, touch other application property or elements directly?
  1. No, in Linux one app cant touch or intrude into other app with out androids system permission.
  2. yes, it is possible, android will not throw any problem.
  3. yes, it is possible if both applications have same user id.
  4. option 3 is wrong, as there is no scenario where two android applications can share same user id.
Show Answer
Share Facebook gmail Twitter
Read more papers :