Android Open Source - EasyQuranMemorizer Helper Function






From Project

Back to project page EasyQuranMemorizer.

License

The source code is released under:

MIT License

If you think the Android project EasyQuranMemorizer 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.google.easyquranmemorizerhelper;
/**//from w w w .  j  a va2  s . com
 * 
 * @author Shoaib Khan
 *
 */
public class HelperFunction {

  
  /**
   * 
   * This function converts number to three character String
   * @param number
   * @return String
   */
  public static  String convertNumberTo3LengthString(int number) {
    String answer = "";
    String tmp = "";
    while (number > 0) {
      tmp += number % 10;
      number /= 10;
    }
    for (int i = 0; i < 3 - tmp.length(); i++)
      answer += "0";
    for (int i = 0; i < tmp.length(); i++) {
      answer += tmp.charAt(tmp.length() - 1 - i);
    }
    return answer;

  }
  
  
}




Java Source Code List

com.google.easyquranmemorizer.HomePage.java
com.google.easyquranmemorizer.MyMediaPlayer.java
com.google.easyquranmemorizer.Settings.java
com.google.easyquranmemorizerhelper.AssestsReader.java
com.google.easyquranmemorizerhelper.CONSTANT.java
com.google.easyquranmemorizerhelper.CustomAdapter.java
com.google.easyquranmemorizerhelper.DownloadManager.java
com.google.easyquranmemorizerhelper.ExternalStorage.java
com.google.easyquranmemorizerhelper.HelperFunction.java
com.google.easyquranmemorizerhelper.Logger.java
com.google.easyquranmemorizerhelper.MyDialogBuilder.java
com.google.easyquranmemorizerhelper.MyPreferenceHandler.java
com.google.easyquranmemorizerhelper.ReciterDataManger.java
com.google.easyquranmemorizerhelper.Surah.java