-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
working on api 8 devices; emulator #2
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
Comments
Run the sample and send me the log crash please. |
I've only realy tested on Gingerbread+. That's API 9 |
After fixing SSLcontext creation in... public class SSLDataExchange implements DataTransformer, DataExchange I'm struggling to find out why is not working. There is no crash, but also no response. |
Fixed with: |
Verified. Works okey. Thnx!
|
TBH, you probably shouldn't use this library for http yet. It's very rough still. Only the socket library portion is flushed out and battle tested. I'd read the project description :)
|
Well, I read it and also checked Thethering code with jd-gui to see that only sockets nio is used. Do you have any plans to work on it more? |
There's an
Moreover, API 9 got the same Also, that method is never called anywhere in the project so even deleting it works, which is why targeting |
@soulseekah Will take a look |
Hm, I don't really support API 8 anymore Only 3.1% footprint. I think I originally added the class for API 8 support, but didn't realize that Arrays.copyOf doesn't work. I'll apply your patch though. |
Agreed on API 8 support, 3.1% is not that much. |
`Arrays.copyOf` was introduced in API 9, so the `minSdkVersion` of 8 is not enough. Substituting for `System.arraycopy` makes a bit more sense at this point in time. See koush/AndroidAsync#2 (comment) for discussion.
Is this code working on API 8 devices?
I tested on emulator and have problems with this issue:
http://code.google.com/p/android/issues/detail?id=9431
java.lang.System.setProperty("java.net.preferIPv4Stack", "true");
java.lang.System.setProperty("java.net.preferIPv6Addresses", "false");
Even if I set this property something else is crashing...
The text was updated successfully, but these errors were encountered: