Skip to main content

Home/ Groups/ Android Dev
Vincent Tsao

using Java to get a file's md5 checksum? - Stack Overflow - 0 views

  • java.security.DigestInputStream
  • MessageDigest md = MessageDigest.getInstance("MD5");InputStream is = new FileInputStream("file.txt");try {  is = new DigestInputStream(is, md);  // read stream to EOF as normal...}finally {  is.close();}byte[] digest = md.digest();
Vincent Tsao

Scrolling a Picture (horizontally and vertically) :: anddev.org - Android Development C... - 0 views

  •  
    Gesture
Vincent Tsao

[TinyTut]Custom Button backgrounds/Better ImageButton :: anddev.org - Android Developme... - 0 views

  • In my_button we define 4 states (as a button has 4 states: not pressed and not focused, pressed and focused, pressed and not focused, not pressed and focused) with each of those states having their own drawable.
« First ‹ Previous 441 - 460 of 497 Next › Last »
Showing 20 items per page