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

Replace Arrays.copyOfRange so that this library can be compiled on Android under 2.3 #7

Open
ngocdaothanh opened this issue Jan 29, 2013 · 0 comments

Comments

@ngocdaothanh
Copy link

This line uses Arrays.copyOfRange which is only available on Android 2.3+:
https://github.com/codebutler/android-websockets/blob/master/src/com/codebutler/android_websockets/HybiParser.java#L337

Replacing it with this will make this library be compilable on Android under 2.3:
http://stackoverflow.com/questions/7970486/porting-arrays-copyofrange-from-java-6-to-java-5

mike-stewart referenced this issue in mike-stewart/android-websockets Mar 9, 2013
Create an SSL socket for https connections.
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

1 participant