android

Using Unirest (Java) for your Android projects

This post will show you how to get Unirest-java running on your Android projects.  Unirest is a lightweight HTTP client library with port available in many languages. This is a follow-up to “How to install Unirest using the Maven assembly plugin”.  The steps are similar, with the addition of a Maven (shader) plugin that relocates some packages in order to work around dependency errors when using the uber jar in an Android project. (In case you’re interested, the error you’ll get is ”java.lang.NoSuchFieldError: org.apache.http.message.BasicLineFormatter.INSTANCE”). Let’s start: 1.  Follow Steps 1 and 2 from the Unirest-java/Maven tutorial.  Once you’re done with those 2...

30+ ways to make REST calls in Node.js, PHP, Python, Rails, Obj-C, .NET, and Java / Android

Here’s a list of resources on how to make REST calls in different languages.  (We also have this list of 40+ tutorials on how to create an API in different languages). If you dabble with one or more of these languages in your different projects, we highly recommend that you check out Unirest.io, an open source lightweight HTTP client library.  It’s goal is to provide a consistent way for developers to make HTTP calls across different languages (node.js, Ruby, PHP, Java, Python, Objective-C, .NET) If you have suggested additions to the links below, please tweet to @mashape and we’ll...

AT&T Developer Program Online Hackathon! @attdeveloper

An online hackathon from our friends at the AT&T Developer Program!  Check it out below: Alright hackers, Here is the online hackathon challenge: Build a multiplayer game that involves two or more phones. Why? Haven’t you wanted to play games with the people in the same room but couldn’t? Something as simple as Tap of War would be awesome. Use Unity, phonegap + pubnub or the framework of your choice to build the app and remember that the fun factor matters the most in this competition especially if you can support massive multiplayer mode. Helper Links Extensive list of multi-touch libraries http://www.pubnub.com/devcenter...

How to Use Mashape’s Auto-Generated Java client library for your Android apps

UPDATE (Dec 10, 2013):  The instructions below are outdated.  Please head to this post on how to call Mashape APIs in your Android projects. One of the ways that Mashape facilitates easy consumption of APIs is by offering auto-generated client libraries for several programming languages, for each of the APIs.  You can see these as a row of buttons lined up in the middle-right section of each API page in Mashape. This saves both the API provider and consumer / developer a huge amount of coding time and manpower, which allows them to attend to more important things like running...