I'dlike to use ipfs, but my current os is android. Am i screwed?
It depends on what you need to do, you can still read ipfs and ipns links using http://gateway.ipfs.io/ipfs/
There is a js implementation in development which will allow ipfs to be used pretty much anywhere, but it's not working yet.
There are probably some hardhips ahead because an聽initial port of IPFS to聽Android is聽likely to聽eat your mobile traffic and聽your battery's electrical聽energy like聽crazy.
Such聽port would聽also need聽to聽be improved eventually and聽told to聽slow聽down its聽file聽exchange when聽the聽device is聽not charging or聽not on聽Wi-Fi.
@mschneider anything you could share regarding your android port a few months ago?
@aunk could this be helpful https://github.com/ipfs/java-ipfs-api ?
@Mithgol it will be ok with a DHT client instead. the DHT is the biggest constant-traffic thing.
@pims yea that'll help. Are therre compilers for android, on android?
So, is Android supported聽now or聽is聽it a聽wontfix?
So, is Android supported now or is it a wontfix?
There is nothing actionable in this feature request. We're definitely interested in concrete ideas and contributions regarding Android.
What's wrong with keeping it open as a discussion issue with a label of 'help wanted'?
I got it to work on Android 4 (rooted) with go 1.4 compiled as a binary and launched with fork from java
What's wrong with keeping it open as a discussion issue with a label of 'help wanted'?
Let's have that discussion in the notes repo as long as there's nothing actionable (code to review). We can still open issues here for concrete go-ipfs bugs/problems/enhancements. Let's fight issue tracker bloat! :fist:
I got it to work on Android 4 (rooted) with go 1.4 compiled as a binary and launched with fork from java
@mschneider Cool! The advantages of static compilation :)
Sounds good.
@mschneider are you open to sharing your code? might it an include an explanation of why root is needed?
@kevinmartinmauro see: https://github.com/ligi/IPFSDroid I think they got go-ipfs running on Androind
i cross-compiled back then on mac os x with go 1.4 for android. apart from setting up the cross-compiler i just ran go build. no magic.
android cross-compilation was experimental before 1.5 and was completely reworked with that release. by now it should just be a few ENV variables and go build and should work out of the box
There is even an app nowadays: https://github.com/ligi/IPFSDroid (is uses xgo: https://github.com/karalabe/xgo)
i has the same issue, anyone can help me. Show me how it done. this on use kotlin. Can anyone show me how it done using java and tell me step by step to implement IPFS in android.
@AlhaadiDev please ask on the forums (https://discuss.ipfs.io). However, I think that kotlin example is the best you're going to find (and kotlin is very similar to Java).
Most helpful comment
@kevinmartinmauro see: https://github.com/ligi/IPFSDroid I think they got go-ipfs running on Androind