¡@

Home 

2014/10/16 ¤W¤È 08:24:02

android Programming Glossary: sid

How to read the SD Card ID number?

http://stackoverflow.com/questions/3348643/how-to-read-the-sd-card-id-number

Java or Native code Thanks in advance Eric android share improve this question Here is sample code for getting SID and CID if isExteranlStorageAvailable try File input new File sys class mmc_host mmc1 String cid_directory null int.. sid input.listFiles for i 0 i sid.length i if sid i .toString .contains mmc1 cid_directory sid i .toString String SID String sid i .toString .subSequence cid_directory.length 4 cid_directory.length Log.d TAG SID of MMC SID break .. i .toString String SID String sid i .toString .subSequence cid_directory.length 4 cid_directory.length Log.d TAG SID of MMC SID break BufferedReader CID new BufferedReader new FileReader cid_directory cid String sd_cid CID.readLine..

Authenticate to Google Talk (XMPP, Smack) using an authToken

http://stackoverflow.com/questions/6194899/authenticate-to-google-talk-xmpp-smack-using-an-authtoken

GOOGLE Email YOURUSERNAME@gmail.com Passwd YOURPASSWORD service mail Which will return 200 OK and three values SID long string LSID long string Auth long string Parse out the Auth string then construct a string with this form jidAndToken.. YOURUSERNAME@gmail.com Passwd YOURPASSWORD service mail Which will return 200 OK and three values SID long string LSID long string Auth long string Parse out the Auth string then construct a string with this form jidAndToken 0 UTF8 YOURUSERNAME@gmail.com..

c2dm 401 error when sending messages after receiving id and auth token

http://stackoverflow.com/questions/7639678/c2dm-401-error-when-sending-messages-after-receiving-id-and-auth-token

GOOGLE d source your.registered.domain d service ac2dm In the result your are receiving the auth token HTTP 1.1 200 OK SID XXX LSID XXX Auth XXX Connection #0 to host www.google.com left intact Closing connection #0 SSLv3 TLS alert Client hello.. source your.registered.domain d service ac2dm In the result your are receiving the auth token HTTP 1.1 200 OK SID XXX LSID XXX Auth XXX Connection #0 to host www.google.com left intact Closing connection #0 SSLv3 TLS alert Client hello 1 Please..