Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isEmpty() not available in Android 2.2 #11

Closed
veken0m opened this issue Aug 1, 2013 · 1 comment
Closed

isEmpty() not available in Android 2.2 #11

veken0m opened this issue Aug 1, 2013 · 1 comment

Comments

@veken0m
Copy link
Contributor

veken0m commented Aug 1, 2013

Some Bitcoinium users running Android 2.2 are experiencing crashes because of the isEmpty() function. This function is only available in Android 2.3+

Would you mind using another method to check for empty strings?

Thanks!

java.lang.NoSuchMethodError: java.lang.String.isEmpty
at si.mazi.rescu.RestInvocation.appendIfNotEmpty(RestInvocation.java:142)
at si.mazi.rescu.RestInvocation.(RestInvocation.java:97)
at si.mazi.rescu.RestInvocationHandler.invoke(RestInvocationHandler.java:49)
at $Proxy3.getMarketData(Native Method)
at com.veken0m.cavirtex.BitcoinChartsActivity.getBitcoinCharts(BitcoinChartsActivity.java:76)
at com.veken0m.cavirtex.BitcoinChartsActivity$bitcoinchartsThread.run(BitcoinChartsActivity.java:196)

@mmazi
Copy link
Owner

mmazi commented Aug 1, 2013

Thanks for reporting; done.

@mmazi mmazi closed this as completed Aug 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants