How to use weather api services in my android app - android

I am new to the android, I want to develop a sample application to display weather in my android application, for this app how can I use weather API services in my android app to develop my weather application. Thanks in advance for your help.

Use JSON,
something like this http://inchoo.net
However as you see this one is for twitter but you should be able to find a good weather API which support JSON. Have a look at this website : http://www.programmableweb.com/
Good Luck :)

Find a Service that provides weather data. Create an app that will send requests to the Service and get data back. Parse data and show to a user in your app. The rules how to use weather API are different for different services. Find it out on their sites how to use their API.

Related

REST services in Android Project

I am currently working on an android project for students and I want your help.
I am planning to develop an Android app and a website. In the Android app students can login and use multiple features like manage their profile, save their class timings, set alarm for assignments etc etc.
Now, I want to create services in my project. I am planning to use REST services. Since I am new to android and the concept of REST is also new for me.
I am confused that should I use ASP.NET and sql server? OR should I use PHP and MYSQL?
My second question is that, I have to create services for student login and registration except that where else I have to create these services in my project.
Any help will be appreciated. Thank you!.
I will suggest you to use google's firebase it will save you lots of development time and costs https://firebase.google.com/.
Sse Firebase's API for the server communication, it will handle all of the sign in and more
I would make a small package with class per service most of the actions are easy to create and use here is a nice tutorial about services http://www.vogella.com/tutorials/AndroidServices/article.html
Good luck!

Google Place Search for Android using a radius

I'm currently getting nearby businesses according to a radius around a given position as well as the type of business using the Google WebApp, as shown here: https://developers.google.com/places/web-service/
However, I noticed this on Google documentation :
The Google Places API Web Service is for use in server applications. If you're building a client-side application, take a look at the Google Places API for Android and the Places Library in the Google Maps JavaScript API.
So, I tried to find an equivalent method using only the Android Api, without result. I know my question is a bit borderline, but what should I use in Android? Or is it okay to keep going with the Web Service?
Thank you,
Q
You can actually integrate Web service with Android. Here is a code sample that could help you do this.
The concept of Android web service is that you can store the response from the web service request in a json file then you can manipulate the file programmatically then use the data into your android application, but not restricted to it.
The Sample and Demo u refer as WebService is an Example of Google Places API [Nearby Search Requests]. That one way using the Places API u can search for Places.
Don't get confused Google Places API Web Service is a service that returns information about places and using the APIs u can access the Places data. Well here is the link that will help u to understand it better.

How to use freelancer api for android app

I am making an android app i want to add a feature that user can operate their freelancer account with my app. I searched that freelancer provides api but i don't know that how to use that api.
Some source to get stated and tutorials for how to use that are appreciated.
thanks
Freelancer API is REST webservice API type. For example `link.
Firstly connect and download data from specific URI then parse it with JSON or XML parser.

Integrate Appcelerator Cloud Services to a custom website made with ASP.NET

I'm really new to mobile world, so I'd like to get some opinion from experienced people.
After several days searching over the internet, I'm wondering if it's possible
integrate Appcelerator Cloud Services to a custom website made with ASP.NET, for example.
Although my mobile application, built with Titanium, it's linked to ACS, and works fine, I don't know if
it's possible to manage data stored in ACS from a custom website. To clarify, in one point there is my mobile application
talks to a webserver (ACS, for example) and other point there is a website, to manage the data stored in ACS.
What do you think, someone achieved this?
Or is it preferable to write a webserver from the scratch, store my data in somewhere, and forget about ACS?
Thank you.
Appcelerator says
Appcelerator Cloud Services (ACS) is a Mobile Backend as a Service
(MBaaS), offering a fast and easy way to build connected mobile apps.
Choose from a library of services such as push notification, status
updates, photo storage, and social integration, or create your own
custom cloud services.
Here in this page - Getting Started: Using the Javascript SDK - you can see how we can use javascript SDK which lets you access the Appcelerator Cloud Services server through some simple to use JavaScript calls. You can use this to develop web-based app.
ACS has a REST API which you can access through anything that supports xhr (which .NET does). For instance, to create a new user in ACS, you use the following link:
https://api.cloud.appcelerator.com/v1/users/create.json?key=YOUR APP APP KEY?email=john.smith#company.com&role=teacher
There are other properties you can tag onto the querystring to create a new user from a REST call. They have a complete API using REST. It's all documented. You can even send push notifications to devices from your custom website using the REST API! It's pretty cool.
http://cloud.appcelerator.com/docs/api/v1/users/create#rest
Good luck!

What are the challenges involved in creating an app like InstaMapper for android

http://www.instamapper.com/android
I am planning to dive into android dev and i have a pretty good java and web-dev background.
i was planning to develop an InstaMapper type of application and i need to know the challenges in so basically the things involved in gps tracking and displaying the information on web page..
In simple words,
You need a web service.
You need an android app.
Your app will collect the (Latitude,Longitude) pair from your GPS receiver and sends it to your web app.
Your web app will get this values and store them in a database.
To display the path from (Lat,Long) pair, you need to implement Google Maps API inside your web pages. (Google Maps API: http://code.google.com/apis/maps/)

Categories

Resources