User Tools

Site Tools


android_learning:headfirst_android_development_notes:chapter_13

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
android_learning:headfirst_android_development_notes:chapter_13 [2016/04/30 03:14] – [Chapter 13] mithatandroid_learning:headfirst_android_development_notes:chapter_13 [2016/05/07 06:04] (current) – [p. 553] mithat
Line 2: Line 2:
  
 <WRAP center round important 60%> <WRAP center round important 60%>
-If you read nothing else here, you should check out the section on [[#permission|permissions]]+If you read nothing else here, you should check out the section on [[#permissions]].
 </WRAP> </WRAP>
  
Line 55: Line 55:
 ===== p. 553 ===== ===== p. 553 =====
  
-In other words, while most Intent methods run off the main thread, but ''onStartCommand()'' runs on the main thread.+In other words, while most IntentService methods run off the main thread, but ''onStartCommand()'' runs on the main thread.
  
 ===== p. 554 ===== ===== p. 554 =====
Line 245: Line 245:
 ===== Permissions? ===== ===== Permissions? =====
  
-You will probably continue to see editor rage even after you add the location services permissions to //AndroidManifest.xml//. The autofix will suggest that you "Add Permission Check." This is because the way Android handles permissions has [[https://developer.android.com/training/permissions/requesting.html|changed in Android 6.0 (API level 23)]]. Instead of the permissions being asked for at install time, they are now asked at run time.+You will probably continue to see editor rage even after you add the location services permissions to //AndroidManifest.xml//. The autofix will suggest that you "Add Permission Check." This is because permission handling has [[https://developer.android.com/training/permissions/requesting.html|changed in Android 6.0 (API level 23)]]. Instead of the permissions being asked for at install time, they are now asked at run time.
  
 > If the device is running Android 5.1 or lower, **or** your app's target SDK is 22 or lower: If you list a dangerous permission in your manifest, the user has to grant the permission when they install the app; if they do not grant the permission, the system does not install the app at all. > If the device is running Android 5.1 or lower, **or** your app's target SDK is 22 or lower: If you list a dangerous permission in your manifest, the user has to grant the permission when they install the app; if they do not grant the permission, the system does not install the app at all.
android_learning/headfirst_android_development_notes/chapter_13.1461986045.txt.gz · Last modified: 2016/04/30 03:14 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki