Android Open Source - MifareUtility Sector Block Utils






From Project

Back to project page MifareUtility.

License

The source code is released under:

MIT License

If you think the Android project MifareUtility listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.ebr.mifareutility;
/*from w ww  .j  a  v  a  2  s.  c  om*/
/**
 * Created by Edu on 07/11/14.
 */
public class SectorBlockUtils {
    public static Integer getAbsoluteBlock(Integer sector, Integer block){
        Integer NBLOCKPERSECTOR = 4;
        return sector*NBLOCKPERSECTOR+block;
    }
}




Java Source Code List

com.ebr.mifareutility.AlgoritmoByte.java
com.ebr.mifareutility.ApplicationTest.java
com.ebr.mifareutility.HexStringUtils.java
com.ebr.mifareutility.MainActivity.java
com.ebr.mifareutility.SectorBlockUtils.java