Bug #471
The android beem not support socket5
Added by Anonymous almost 12 years ago.
Updated almost 12 years ago.
Description
I want to know why android beem can't used "META-INF/smack.providers" file, this problem lead beem can't support file transfer.
- Status changed from New to Rejected
- Assignee set to Frédéric Barthéléry
- Priority changed from High to Normal
- Affected version changed from 0.1.6 to hg
The asmack library was designed to port smack on the Android Platform. During
the process to create an Android application package (APK) the file
META-INF/smack.providers and other files generally found in a jar library are
discarded because of the way Android works. So this method to load smack
providers is not supported in Android.
As a workaround you can use the ProviderManager class to load smack providers.
This is how it is done in this file
source:src/com/beem/project/beem/BeemService.java (see method configure())
Also available in: Atom
PDF