阅读背景:

由于Double.parseDouble,当我的手机语言设置为波斯语或阿拉伯语时,我的应用程序崩溃

来源:互联网 

below is the java code for one of my activities, it works fine when the phone's language is English but when the phone's language is set to Persian or Arabic it crashes. the logcat says that it is something wrong with the Double.parseDouble. it seems when the user enters the numbers it changes them into Persian or Arabic digits and thats why it crashes. Any ideas how to fix?below is the java code for one of my activities




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: