Back to project page asecrypto-goes-mobile-app.
The source code is released under:
GNU General Public License
If you think the Android project asecrypto-goes-mobile-app listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package at.fhj.gaar.asecrypto.mobile.util; // w w w.j av a 2 s. c om import android.widget.TextView; /** * Various helper methods for numbers. */ public class NumberHelper { public static boolean isValidBitNumberInTextView(TextView textView) { try { return textView.getText().toString().length() > 0 && Integer.valueOf(textView.getText().toString()) > 0; } catch (NumberFormatException e) { return false; } } }