BluePotion is maintained by Infinite Red, a web and mobile development company based in Portland, OR and San Francisco, CA.
- RubyMotion android:
motion android-setup
(install API 16) - Gradle:
brew install gradle
- GenyMotion Emulator (optional) Gant Laborde's post on Genymotion.
- For running on your device, do this
BluePotion is the Android version of RedPotion. We're spending a lot of time working on it right now. It's currently in Alpha.
We are building RMQ Android, ProMotion Android, and BluePotion all at once, and they all are inside BluePotion.
We're supporting Android XML layouts, using RMQ stylesheets the standard Android way, and eventually an exact copy of RedPotion's layout system.
Many things work, but there is a lot to do, so use it at your own risk.
To try it out:
gem install bluepotion
bluepotion create myapp
cd myapp
bundle
brew install gradle # if gradle is not installed. Requires homebrew
rake gradle:install
# Start your Genymotion virtual device or plug in your Android device
rake newclear
In your REPL, do this for fun:
rmq.log_tree
find(Potion::View).log
# etc
If you haven't setup Android yet, read this first: Gant Laborde's post on Genymotion.
Contributing
- Create an issue in GitHub to make sure your PR will be accepted.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Write tests for your changes
- Make your changes
- Document your changes in the
docs
folder - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request