This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
******************Main fun************ | |
val excelFilePath = "/storage/emulated/0/Android/media/com.example.overlay/Overlay/LabelMaster.xlsx" | |
val outputXmlFilePath = "/storage/emulated/0/Android/media/com.example.overlay/Overlay/strings.txt" | |
val workbook: Workbook = readExcel(excelFilePath)//XSSFWorkbook(File(excelFilePath)) | |
val sheet: Sheet = workbook.getSheetAt(0) | |
val stringResources = mutableMapOf<String, String>() | |
for (row in sheet) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mani; | |
import java.util.List; | |
//Mani @saecmca | |
public class TextToNum { | |
private static String input; | |
private static int num; | |
private static String[] units = | |
{"", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mani; | |
import java.math.BigDecimal; | |
import java.math.RoundingMode; | |
import java.text.DecimalFormat; | |
import java.util.ArrayList; | |
/* Manikandan Github @saecmca*/ | |
public class RomanianNumbersToWords { | |
private static final String[] tensNames = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this is saved my card | |
private void savePaymentOption(PaymentOption paymentOption) { | |
citrusClient.savePaymentOption(paymentOption, new Callback<CitrusResponse>() { | |
@Override | |
public void success(CitrusResponse citrusResponse) { | |
// ((UIActivity) getActivity()).showSnackBar(citrusResponse.getMessage()); | |
Log.w("saved card1==", citrusResponse.getMessage()); | |
} |