Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

anyone tried to get this running on android ? #433

Closed
ghost opened this issue Oct 6, 2015 · 9 comments
Closed

anyone tried to get this running on android ? #433

ghost opened this issue Oct 6, 2015 · 9 comments

Comments

@ghost
Copy link

ghost commented Oct 6, 2015

it performs well on a raspberry, and it begs the question if it can be compiled for mobile. Would be damn useful

@TrevorSStone
Copy link
Contributor

Yes, I have gotten it running on Android in a proof of concept app. Using gomobile it required nothing special. I then used getFilesDir().getAbsolutePath() and created my .db file in there (which doesn't require any extra permissions for the app). I'm new to bolt and also gomobile, but it seems to be working fine so far.

@joeblew99
Copy link

Cool.

Any chance you could write down a script / instructions ?
Maybe the maintainer of bolt will be willing to also put it in the repository

@benbjohnson
Copy link
Member

Sure, I'm happy to add a section to the README. Can you PR a short example?

@ghost
Copy link
Author

ghost commented Dec 28, 2015

I am not the maintainer. Best ask whoever is.

On Mon, 28 Dec 2015, 17:15 Ben Johnson notifications@github.com wrote:

Sure, I'm happy to add a section to the README. Can you PR a short
example?


Reply to this email directly or view it on GitHub
#433 (comment).

@benbjohnson
Copy link
Member

I'm the maintainer, however, I don't have experience building for Android. I'm requesting a doc PR from anybody that wants to submit one.

@joeblew99
Copy link

+1

Really will be useful.
Once I see the script, I will have a go at IOS

On Mon, 28 Dec 2015, 19:04 Ben Johnson notifications@github.com wrote:

I'm the maintainer, however, I don't have experience building for Android.
I'm requesting a doc PR from anybody that wants to submit one.


Reply to this email directly or view it on GitHub
#433 (comment).

@TrevorSStone
Copy link
Contributor

I would be happy to write some documentation. I'm traveling home today, so
I'll probably get a PR up tomorrow. I haven't tested on ios, but I'll give
it a quick shot as well. From some quick research it seems it will work
without much difficulty
On Dec 28, 2015 1:10 PM, "joeblew99" notifications@github.com wrote:

+1

Really will be useful.
Once I see the script, I will have a go at IOS

On Mon, 28 Dec 2015, 19:04 Ben Johnson notifications@github.com wrote:

I'm the maintainer, however, I don't have experience building for
Android.
I'm requesting a doc PR from anybody that wants to submit one.


Reply to this email directly or view it on GitHub
#433 (comment).


Reply to this email directly or view it on GitHub
#433 (comment).

@joeblew99
Copy link

@TrevorSStone
Thanks. I will give it a shot also once you get some code up.

@TrevorSStone
Copy link
Contributor

Just submitted a PR with some instructions. Please let me know if anything seems off or needs clarification (I am new to bolt, and haven't done obj-c in a while). I also have a boring demo go package at https://github.com/TrevorSStone/boltmobiledemo/ to see how my demo package works. I figured referencing a go library from a java or objc project was out of the scope of the documentation, so I added a link to the gomobile project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants