1 page.title=Tng quan v Chng trnh 2 page.metaDescription=Hy chun b ng dng sn sng cho phin bn Android tip theo. 3 page.image=images/cards/card-n-overview_2x.png 4 meta.tags="preview", "developer", "android" 5 page.tags="preview", "developer", "android" 6 7 @jd:body 8 <!-- 9 <div class="cols" style= 10 "background-color:#f2daf5; padding: 5px 0;margin-bottom:1em; text-align:center;"> 11 <h3> 12 Developer Preview 3 is now available 13 </h3> 14 <p>Includes final SDK and near-final system images</p> 15 <div style="margin:auto 1em"> 16 <ul class="dac-section-links"> 17 <li class="dac-section-link"> 18 <a href="{@docRoot}preview/support.html#preview3-notes"> 19 <span class="dac-sprite dac-auto-chevron"></span> 20 Read the Notes</a> 21 </li> 22 23 <li class="dac-section-link"> 24 <a href="{@docRoot}preview/support.html#preview3-get"> 25 <span class="dac-sprite dac-auto-chevron"></span> 26 Get the Update</a> 27 </li> 28 29 <li class="dac-section-link"> 30 <a href="https://code.google.com/p/android-developer-preview/"> 31 <span class="dac-sprite dac-auto-chevron"></span> 32 Report Issues</a> 33 </li> 34 </ul> 35 </div> 36 </div> 37 --> 38 39 <p> 40 Cho mng bn n vi <strong>Android N Developer Preview</strong>, mt chng trnh 41 cung cp cho bn mi th cn thit kim th v ti u ha cc ng dng cho phin bn 42 Android tip theo. y l chng trnh min ph v bn c th bt u ngay bng cch 43 ti xung cc cng c ca N Developer Preview. 44 </p> 45 46 47 48 49 50 51 52 <div style="background-color:#eceff1;padding:1em;"> 53 <div class="wrap"> 54 <div class="cols"> 55 <div class="col-4of12"> 56 <h5> 57 Thit b phn cng v nh ca b gi lp 58 </h5> 59 60 <p> 61 Chy v kim th ng dng ca bn trn mt lot cc thit b hoc trn b gi lp. 62 63 </p> 64 </div> 65 66 <div class="col-4of12"> 67 <h5> 68 M nn tng mi nht 69 </h5> 70 71 <p> 72 Chng ti s cung cp cc bn cp nht hng thng trong thi gian ca Preview v vy bn s c kim tra cc thay i nn tng mi nht. 73 </p> 74 </div> 75 76 <div class="col-4of12"> 77 <h5> 78 u tin cc vn ca nh pht trin 79 </h5> 80 81 <p> 82 Trong mt vi tun u, chng ti s dnh u tin cho cc vn 83 c nh pht trin bo co, v vy hy kim th v gi phn hi sm nht c th. 84 </p> 85 </div> 86 87 </div> 88 89 <div class="cols"> 90 91 92 <div class="col-4of12"> 93 <h5> 94 Cc hnh vi v kh nng mi 95 </h5> 96 97 <p> 98 Tin hnh cng vic sm h tr cc hnh vi mi ca nn tng v pht trin vi cc tnh nng mi. 99 </p> 100 </div> 101 102 <div class="col-4of12"> 103 <h5> 104 Cp nht qua OTA 105 </h5> 106 107 <p> 108 Cc bn cp nht lin mch qua sng v tuyn cho bt k thit b no c h tr thng qua 109 Chng trnh Android Beta. Khng cn phi flash. 110 </p> 111 </div> 112 113 <div class="col-4of12"> 114 <h5> 115 Phn hi v h tr 116 </h5> 117 118 <p> 119 Bo co cc vn v gi phn hi v cho chng ti thng qua 120 <a href="{@docRoot}preview/bug">b theo di vn </a> ca chng ti. Kt ni vi cc nh pht trin 121 khc trong 122 <a href="{@docRoot}preview/dev-community">Cng ng Nh pht trin N</a>. 123 </p> 124 </div> 125 </div> 126 </div> 127 </div> 128 129 <!-- 130 <p>New in the Android N Developer Preview: </p> 131 132 <ul> 133 <li> Accompanying Android Beta Program for consumers, starting later in the preview</li> 134 <li> More supported devices, including devices from OEM partners</li> 135 <li> Seamless OTAs for your devices, from initial release to final N release without flashing</li> 136 </ul> 137 --> 138 139 <h2 id="timeline">Tin trnh thi gian v cc bn cp nht</h2> 140 <img src="{@docRoot}images/n-preview-updates_2x.png"> 141 142 <p> 143 N Developer Preview s ko di t 9 thng 3 nm 2016 n khi pht hnh cng chng 144 bn Android N cui cng cho AOSP v OEM, d kin trong Q3 2016. 145 </p> 146 147 <p> 148 Ti cc mc pht trin chnh chng ti s cung cp cc bn cp nht cho mi trng pht trin v 149 kim th ca bn. Ni chung, bn c th nhn mt bn cp nht hng thng (khong cch 150 4 n 6 tun). Cc mc c lit k di y. 151 </p> 152 153 <ul> 154 <li><strong><a href="{@docRoot}preview/support.html#dp1">Preview 1</a></strong> (pht hnh ln u, alpha)</li> 155 <li><strong><a href="{@docRoot}preview/support.html#dp2">Preview 2</a></strong> (bn cp nht tng dn, alpha)</li> 156 <li><strong>Preview 3</strong> (bn cp nht tng dn, beta)</li> 157 <li><strong>Preview 4</strong> (cc API cui cng v SDK chnh thc, pht hnh Play)</li> 158 <li><strong>Preview 5</strong> (cc nh h thng gn hon thin kim th cui cng)</li> 159 <li><strong>Pht hnh bn cui</strong> cho AOSP v h sinh thi</li> 160 </ul> 161 162 <p> 163 Mi bn cp nht s c cc cng c SDK, nh h thng xem trc, b gi lp, ti liu 164 tham kho v nhng khc bit v API. 165 </p> 166 167 <p> 168 <strong>Ba phin bn Preview u tin</strong> s cung cp mt <strong>mi trng 169 kim th v pht trin sm</strong> gip bn xc nh 170 cc vn tng thch trong ng dng hin ti v lp k hoch di chuyn hoc trang b hot ng 171 cn thit nhm ti nn tng mi. y l giai on u tin bn 172 gi phn hi cho chng ti v cc tnh nng, kh nng tng thch ca API v tp 173 — i vi mi vn , vui lng s dng <a href="{@docRoot}preview/bug">b theo di 174 vn </a>. S c mt s thay i vi API gia cc bn cp nht ny. 175 </p> 176 177 <p> 178 Ti <strong>Preview 4 v 5</strong> bn s c s dng <strong>cc 179 API v SDK N cui cng</strong> pht trin, v c cc nh h thng gn hon thin 180 kim th cc hnh vi, tnh nng ca h thng. Android N s cung cp mt mc 181 API chun vo thi im ny. Bn c th tin hnh kim th kh nng tng thch cui cng i vi cc ng dng 182 c v tinh chnh m ngun mi c s dng cc API hoc tnh nng mi ca N. 183 </p> 184 185 <p> 186 Ngoi ra, bt u t Preview 4 bn c th <strong>pht hnh ng dng ln 187 cc thit b</strong> chy Android N cp API chnh thc, chng hn nh 188 thit b ngi dng c chn cho chng trnh Android Beta. Bn c th 189 pht hnh ng dng ln knh alpha v beta ca Google Play trc do bn c th kim th 190 ng dng ca mnh vi ngi dng Android Beta trc khi phn phi rng ri trn 191 ca hng. 192 </p> 193 194 <p> 195 Khi bn kim th v pht trin trn Android N, chng ti khuyn co bn <strong>duy tr 196 mi trng pht trin c cp nht</strong> khi cc cp nht Preview c 197 pht hnh. gip cho qu trnh ny thun tin hn, bn c th ng k cc thit b kim th ca mnh vo 198 chng trnh Android Beta v ly <strong>cc bn cp nht qua sng v tuyn (OTA)</strong> ti 199 mi mc. Ngoi ra, cc nh xem trc cng c sn bn 200 ti xung v flash th cng. 201 </p> 202 203 <p> 204 Chng ti s thng bo cho bn khi cc cp nht Preview xut hin thng qua <a href="http://android-developers.blogspot.com/">Blog Nh pht trin Android</a>, cng 205 nh thng qua trang ny v <a href="{@docRoot}preview/dev-community">Cng ng 206 Nh pht trin Android N</a>. 207 </p> 208 209 210 <h2 id="preview_tools">C g trong N Developer Preview?</h2> 211 212 <p> 213 N Developer Preview c tt c mi th bn cn kim th ng dng 214 sn c ca bn trn nhiu loi kch c mn hnh, cng ngh mng, chipset CPU/GPU 215 v kin trc phn cng. 216 </p> 217 218 <h3 id="sdk_tools">B cng c SDK</h3> 219 220 <p>Bn c th ti xung cc thnh phn ny thng qua Trnh qun l SDK trong <a href="{@docRoot}sdk/installing/adding-packages.html">Android Studio</a>:</p> 221 222 <ul> 223 <li> N Developer Preview <strong>SDK v cng c</strong> 224 <li> <strong>nh h thng cho b gi lp</strong> (32-bit v 64-bit) ca N Developer Preview 225 <li> <strong>nh h thng cho b gi lp cho Android TV</strong> (32-bit) ca N Developer Preview 226 <li> Cc th vin h tr ca N Developer Preview (dnh cho cc mu ng dng mi) 227 </ul> 228 229 <p> 230 Chng ti s cung cp cc bn cp nht cho cc cng c pht trin ny theo tng mc khi cn thit. 231 </p> 232 233 <h3 id="hardware_system_images">nh h thng cho phn cng</h3> 234 235 <p> 236 N Developer Preview bao gm cc nh h thng cho Nexus v phn cng khc m bn c th s dng khi 237 kim th v pht trin trn cc thit b vt l. Hy xem trang <a href="{@docRoot}preview/download.html">nh cho Thit b</a> c danh sch y 238 cc nh cho phn cng. 239 </p> 240 241 <p> 242 Chng ti s cung cp cc nh h thng cp nht cho nhng thit b ny ti mi mc. Bn 243 c th ti xung v flash cc nh h thng cp nht vo cc thit b kim th 244 mt cch th cng nhiu ln theo nhu cu. iu ny c bit hu ch i vi cc mi trng 245 kim th t ng, trong bn c th cn flash li thit b nhiu 246 ln. 247 </p> 248 249 <p class="note"><strong>Lu </strong>: 250 <strong>Cc thit b c flash th cng s khng nhn cc bn cp nht qua OTA</strong> ging nh trong 251 preview ca nm ngoi. Nm nay bn c th nhn qua OTA bng cch ng k cc thit b trong 252 Chng trnh Android Beta — hy xem chi tit trong phn tip theo. 253 </p> 254 255 <h3 id="android_beta">Cc bn cp nht OTA thng qua Chng trnh Android Beta</h3> 256 257 <p> 258 Tnh nng mi cho Android N l mt chng trnh cp nht qua sng v tuyn (OTA) s t ng 259 pht hnh cc cp nht Preview mi nht ca Android N trc tip ti thit b ng k 260 trong chng trnh. y l chng trnh min ph v m i vi bt c ai c mt 261 thit b c h tr ng k vi ti khon Google ca h. 262 </p> 263 264 <p> 265 ng k vo chng trnh, hy truy cp trang <a href="https://g.co/androidbeta">Chng trnh 266 Android Beta</a>. Bn s thy 267 tt c cc thit b ng k vi ti khon ca bn c iu kin ng k 268 Android Beta. 269 </p> 270 271 <ol> 272 <li> Hy chn cc thit b bn mun nhn bn cp nht Android N 273 <li> Nhp vo ng k, c v ng vi cc iu khon dch v v sau nhp OK 274 </ol> 275 276 <p> 277 Mt khi ng k, thit b ca bn s sm nhn c mt bn cp nht. Trong hu ht trng hp, 278 bn s khng cn thc hin thit lp li ton b d liu chuyn sang Android N. Tuy nhin, 279 chng ti khuyn co bn sao lu bt k d liu no bn khng mun b mt trc khi 280 ng k thit b. 281 </p> 282 283 <p> 284 Khi cc bn cp nht c pht hnh ti thit b ca bn, chng ti khuyn co bn ti xung v 285 ci t sm nht c th. Bn s mun cp nht cc 286 thay i mi nht v UI, hnh vi, API v cc tnh nng ca h thng. 287 </p> 288 289 <p> 290 Khi kt thc Developer Preview, cc thit b ng k ca bn s 291 nhn mt bn cp nht ca bn pht hnh Android N chnh thc. 292 </p> 293 294 <p> 295 Bn c th hy ng k cc thit b ca mnh trong chng trnh Android Beta bt k lc no thng qua 296 trang Android Beta. Trc khi hy ng k, hy chc chn sao lu d phng d liu ca bn trn 297 thit b . 298 </p> 299 300 <p class="note"><strong>Lu </strong>: 301 Khi bn hy ng k, <strong>thit b ca bn s c khi phc ci t gc</strong> 302 v phin bn mi nht 303 ca Android 6.0 Marshmallow (khng nht thit l phin bn bn tng 304 c ci t trc khi ng k thit b). m bo ci t mi hon ton, 305 d liu ca bn s b xa khi thit b, bao gm danh b, tin nhn, 306 nh, v.v... 307 </p> 308 309 <h3 id="documentation_and_sample_code">Ti liu v m mu</h3> 310 311 <p> 312 Cc ngun ti liu ny c trn trang Developer Preview 313 tr gip bn tm hiu v Android N: 314 </p> 315 316 <ul> 317 <li> <a href="{@docRoot}preview/setup-sdk.html">Thit lp Pht trin dnh cho 318 Android N</a> c 319 cc hng dn tng bc bt u.</li> 320 <li> <a href="{@docRoot}preview/behavior-changes.html">Cc thay i 321 Hnh vi</a> ch ra cho bn cc phn chnh yu kim th.</li> 322 <li> Tng quan v cc API mi, bao gm mt phn <a href="{@docRoot}preview/api-overview.html">Tng quan v API</a>, bn ti xung c 323 <a href="{@docRoot}preview/setup-sdk.html#docs-dl">Tham kho 324 API</a> v cc hng dn chi tit cho nh pht trin i vi cc tnh nng quan trng nh 325 h tr a ca s, thng bo gp, h tr a bn a v cc tnh nng khc. 326 <li> <a href="{@docRoot}preview/samples.html">M mu</a> trong 327 minh ha cch h tr cc quyn v tnh nng mi. 328 <li> <a href="{@docRoot}preview/support.html#release-notes">Ghi ch pht hnh</a> 329 cho phin bn hin hnh ca N Developer Preview, bao gm cc ghi ch v thay i v 330 cc bo co v s khc bit. 331 </ul> 332 333 <h4 id="reference">Tham kho API c th ti xung</h4> 334 335 <p> 336 Trong cc cp nht preview c sm bn c th ti xung 337 <a href="{@docRoot}preview/setup-sdk.html#docs-dl">Tham kho API 338 mi nht cho nn tng Android N</a> di dng tp lu tr zip ring bit. Bn ti xung 339 tham kho ny cng c mt bo co v cc khc bit gip bn nhn bit cc thay i API t 340 API 23 v bn cp nht trc . 341 </p> 342 343 <p> 344 Khi cc API Android N hon thin v c ch nh mt mc API chnh thc, 345 chng ti s cung cp tham kho API cho bn trc tuyn ti <a href="https://developer.android.com">https://developer.android.com</a>. 346 </p> 347 348 <h3 id="support_resources"> 349 Ti nguyn H tr 350 </h3> 351 352 <p> 353 Khi bn kim th v pht trin trn N Developer Preview, xin vui lng s dng cc knh sau 354 thng bo cc vn v gi phn hi. 355 </p> 356 357 <ul> 358 <li> <a href="https://code.google.com/p/android-developer-preview/">B theo di Vn N Developer Preview 359 </a> l <strong>knh phn hi chnh</strong> ca bn. Bn c th thng bo li, cc vn v 360 hiu nng v phn hi chung thng qua b theo di vn . Bn cng c th kim tra 361 <a href="{@docRoot}preview/bug">cc vn bit</a> v 362 tm cc bc khc phc. Chng ti s cp nht thng tin cho bn v vn ca bn khi n c phn loi v gi ti 363 nhm k thut Android xem xt. </li> 364 <li> <a href="{@docRoot}preview/dev-community">Cng ng Nh pht trin Android N</a> l 365 mt cng ng Google+ ni bn c th <strong>kt ni vi cc nh pht trin khc</strong> ang th nghim 366 Android N. Bn c th chia s cc pht hin hoc tng hoc tm cu tr li cho cc 367 thc mc v Android N. Chng ti s iu hnh cng ng ny v cung cp cc cu tr li v 368 hng dn khi cn thit.</li> 369 </ul> 370 371 <h3 id="targeting">Nhm mc tiu, API xem trc v pht hnh</h3> 372 373 <p> 374 N Developer Preview s cung cp mt h thng v th vin 375 Android ch dnh cho pht trin m <strong>khng c mc API tiu chun</strong>. Nu bn mun 376 b cc hnh vi v kh nng tng thch kim th ng dng ca mnh (c bit 377 khuyn co), bn c th nhm mc tiu phin bn xem trc ca Android N bng cch thit lp 378 <code><a href= 379 "{@docRoot}preview/setup-sdk.html#create-update">targetSdkVersion</a></code> 380 ca ng dng thnh <code>N</code>. 381 </p> 382 383 <p> 384 Android N Developer Preview cung cp cc <strong>API xem trc</strong> 385 — cc API ny khng phi bn chnh thc cho n khi SDK cui cng c pht hnh, 386 hin c d kin pht hnh vo qu ba nm 2016. iu ny c ngha l c th 387 <strong>c cc thay i API nh</strong> sau ny, c bit trong 388 cc tun u ca chng trnh. Chng ti s cung cp bn tm tt cc thay i cho bn theo 389 mi bn cp nht ca Android N Developer Preview. 390 </p> 391 392 <p class="note"> 393 <strong>Lu </strong>: Mc d cc API xem trc c th thay i nhng 394 cc hnh vi h thng c bn vn n nh v sn sng kim th 395 ngay. 396 </p> 397 398 <p> 399 Google Play <strong>khng cho php pht hnh cc ng dng nhm mc tiu ti N Developer 400 Preview</strong>. Khi c bn SDK cui cng ca Android N bn s c th 401 nhm mc tiu mc API Android N chnh thc v pht hnh ng dng ca mnh ln Google 402 Play thng qua cc knh pht hnh alpha v beta. Trong thi gian ny, nu bn mun 403 phn phi mt ng dng nhm mc tiu Android N cho ngi kim th th bn c th thc hin phn phi qua email hoc 404 bng cch ti trc tip trn trang web ca bn. 405 </p> 406 407 <p> 408 Khi Android N c pht hnh hon chnh cho AOSP v OEM, d kin vo Q3 2016, 409 bn c th pht hnh ng dng ca mnh nhm mc tiu Android N ln knh 410 pht hnh cng chng trong Google Play. 411 </p> 412 413 414 <h2 id="how_to_get_started">Cch thc bt u</h2> 415 416 <p> 417 bt u kim th ng dng ca bn vi Android N: 418 </p> 419 420 <ol> 421 <li> Xem li <a href="{@docRoot}preview/api-overview.html">Tng quan v API</a> 422 v <a href="{@docRoot}preview/behavior-changes.html">Cc thay i Hnh vi</a> 423 bit c c nhng g mi v n s tc ng n ng dng ca bn nh th no. c bit, 424 hy tm hiu v cc tnh nng <a href="{@docRoot}preview/features/notification-updates.html">thng bo</a> mi v 425 <a href="{@docRoot}preview/features/multi-window.html">h tr a ca s</a>.</li> 426 <li> Thit lp mi trng ca bn bng cch lm theo cc hng dn <a href="{@docRoot}preview/setup-sdk.html">Preview SDK</a> 427 v cu hnh cc thit b kim th.</li> 428 <li> Lm theo <a href="https://developers.google.com/android/nexus/images">cc hng dn 429 flash</a> flash nh h thng Android N mi nht cho thit b ca bn. </li> 430 <li> Xem li <a href="{@docRoot}preview/setup-sdk.html#docs-dl">Tham kho API</a> 431 v <a href="{@docRoot}preview/samples.html">cc v d v Android N</a> hiu 432 su hn v cc tnh nng API mi cng nh cch s dng chng trong ng dng ca bn. 433 <li> Tham gia <a href="{@docRoot}preview/dev-community">Cng ng 434 Nh pht trin Android N</a> nhn c thng tin mi nht v kt ni vi cc 435 nh pht trin khc ang th nghim vi nn tng mi.</li> 436 </ol> 437 438 <p> 439 Cm n bn tham gia chng trnh Android N Developer Preview! 440 </p> 441