How to use freelancer api for android app - android

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.

Related

Native Android Application for website without WebView

I need to build a Native Android Application for a Website that I have successfully developed. How do I go about this without using the webView. Someone talked about REST API But I don't just know how to go about it.
Although I have the Application in webView Version already but it is just still as the normal website mobile view. No Interactivity.
Your solution is REST API. Here is a good example.
How to create REST API for Android app using PHP, Slim and MySQL
Basically schema should looks like backend(all your data) - Rest Api (you must provide interface to your backend data with CRUD operation like PUT-DELETE-UPDATE-RETREIVE) - users for your Rest Api (mobile apps that would call this api to use data from backend)
For backend look at this tutorial to start https://www.youtube.com/watch?v=xkKcdK1u95s&list=PLqq-6Pq4lTTZh5U8RbdXq0WaYvZBz2rbn
For android app you should use Retrofit2 to facilitate RestApi calls.

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 create phonegap app using magento soap or rest api

I want to create an android app using phone gap using Magento soap /rest API. the basic problem I am facing is when I use rest API, I am not able to authenticate the soap user I have created in Magento admin and when I use soap I am able to authenticate but not able to log in the customer . and not able to fetch product images. someone Please advise me which API I should use to create app how should I use it.
You most likely need to whitelist your site domain in the Phonegap app.
http://docs.phonegap.com/en/2.4.0/guide_whitelist_index.md.html#Domain%20Whitelist%20Guide
the answer is to create custom module and write own web Services instead of using soap and rest api.

How to use weather api services in my android app

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.

Security (Authentication) in oData services

My Database is located at SQLAzure and i am trying to use oData to get records. I have used oData4j java library as i am developing android application. Everything is working fine.
I am able retrieve data from SQLAzure using oData4j library but the problem is ...
If someone gets my SVC file URL, so they can easily get my database and play with it. so i want to put authentication so that only authorized person can retrieve data and work with it.
How can i achieve this. I have not created oData PRoducer or SVC file. All this thing is done by SQLAzure.
thnks
There's a series of blog posts about OData services and authentication: http://blogs.msdn.com/b/astoriateam/archive/tags/authentication/
Did you look at the ACS access keys? I haven't personally used them, but this is meant to provide a form of federated identity so that you can manage who can consume the oData service. ACS is a service provided by the Azure platform.
Since you can map each ACS to a specific database user, you have complete freedom to ensure only authorized people can access you data.
Take a look at the following post. This has pointers to odata and authentication related blog posts from Astoria Team:
http://kashyapas.com/2011/05/odata-and-authetication/
That should give you pointers
The sample application for Windows Azure Toolkit for Android might help.
How to: Use the Sample Android Application in the Windows Azure Toolkit for Android
https://github.com/WindowsAzure-Toolkits/wa-toolkit-android

Categories

Resources