自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

掃描二維碼條形碼

移動開發(fā)
掃描二維碼條形碼,簡單實用,值得借鑒

源碼簡介:掃描二維碼條形碼,簡單實用,值得借鑒

源碼效果:

源碼片段:

  1. /** 
  2.      * 處理掃描結(jié)果 
  3.      * @param result 
  4.      * @param barcode 
  5.      */ 
  6.     public void handleDecode(Result result, Bitmap barcode) { 
  7.         inactivityTimer.onActivity(); 
  8.         playBeepSoundAndVibrate(); 
  9.         String resultString = result.getText(); 
  10.         if (resultString.equals("")) { 
  11.             Toast.makeText(MipcaActivityCapture.this"Scan failed!", Toast.LENGTH_SHORT).show(); 
  12.         }else { 
  13.             Intent resultIntent = new Intent(); 
  14.             Bundle bundle = new Bundle(); 
  15.             bundle.putString("result", resultString); 
  16.             bundle.putParcelable("bitmap", barcode); 
  17.             resultIntent.putExtras(bundle); 
  18.             this.setResult(RESULT_OK, resultIntent); 
  19.         } 
  20.         MipcaActivityCapture.this.finish(); 
  21.     } 

下載地址:http://down.51cto.com/data/2111749

責(zé)任編輯:倪明 來源: devstore
相關(guān)推薦

2016-03-09 10:03:25

RFID技術(shù)條形碼二維碼

2021-02-08 08:40:00

Zint二維碼開源

2024-06-12 08:19:56

2011-07-07 16:53:56

iOS 條形碼掃描

2024-06-26 08:46:45

2022-06-07 08:00:00

JavaScript編程語言TSPL

2013-01-30 12:16:49

二維碼NFC近場通訊

2014-12-31 15:37:16

二維碼生成掃描

2011-12-14 16:28:42

靈動快拍二維碼QR碼

2015-07-22 10:46:20

二維碼掃描

2023-11-17 09:07:51

.NET生成二維碼識別二維碼

2017-02-21 09:17:46

二維碼漏洞

2023-11-17 15:44:06

C++庫生成二維碼

2011-12-06 16:40:45

二維碼快拍二維碼靈動快拍

2020-04-01 10:06:41

二維碼技術(shù)服務(wù)端

2013-10-29 09:46:05

二維碼

2023-12-25 14:53:36

2012-04-01 09:53:13

二維碼

2014-03-05 14:41:55

二維碼登錄

2015-09-24 09:56:19

.NET二維碼
點贊
收藏

51CTO技術(shù)棧公眾號