New plugin to build Android apps with REST/JSON APIs

As the product lead in charge of developers at Magnet, I invite you to check out a new open source product we are about to release: rest2mobile.

It's an IntelliJ IDEA plugin that generates native code for Android apps to access REST APIs.

No need to build complex requests, parse JSON payloads, open remote connections, etc. The generated code supports sync and async, and is type-safe. At the end, you just work with PoJos in your mobile app.

It can be installed strait from the plugin directory in IntelliJ IDEA or downloaded here: https://developer.magnet.com/

Screen Shot 2014-10-15 at 5.04.48 PM.png
(Here's a screenshot of the coming 1.1 release available on Github only for now)

You can also check it out here: https://plugins.jetbrains.com/plugin/7559

Screen Shot 2014-10-16 at 9.00.48 AM.png

1 comment
Comment actions Permalink

Rest2mobile, to generate mobile code for REST APIs, got upgraded to its latest version: 1.1.4.

Big focus on DevX, i.e. provide developers with the best tools to do their job. :)

Lot's of bug fixes and new features.

See the blog post about this new release: http://www.magnet.com/dev-blog/new-in-rest2mobile-1-1-api-samples-refactoring-and-more/

Change logs:

  • automatically show generated controller class after generation
  • show gradle snippet explaining how to include R2M dependencies
  • fix URLSection NPE
  • fix issue with URL encoding
  • fix for 'REST API requiring an ending slash can't be invoked' (issue #19)
  • fix issue with URL encoding
  • automatically show generated controller class after generation
  • show gradle snippet explaining how to include R2M dependencies
  • Lax URL validation
  • Add table view for JSON payload errors where you can click to navigate to the line.
  • Support generating code even when there are validation errors (generator will not generate properties for invalid json entries)
  • Generate controller test stubs (requires a src/androidTest/java directory)
  • Controller history
  • Load REST examples from github r2m-examples
  • Support for loading examples defining multiple methods
    0

    Please sign in to leave a comment.