I am developing an Android App for an E-Commerce company and i need to access the online Magento database for their catalog through an Android app. So please guide me a way for the solution and also provide suitable tutorials if you find any because i did not get any tutorial.
you have to create webservice. using webservice you can get it data from server
like this you can parse the data from the server
http://www.androidhive.info/2012/01/android-json-parsing-tutorial/
Related
I want to create a rating application in android.
The app will be installed in a mobile device where the user can rate from 0 to 10. Then I want to collect those data to a database and show them in my web application.
I found that I have to create a REST API where the android app will send the data to a web server so I can manipulate them.
How can I send those data from the android app to the webserver?
Which framework should I use to create the REST API? I am between Laravel and Node.js.
Can anyone help me, please?
To achieve this you need to follow some steps.
1. Server-side
Need a database to save the data.
Write an API to connect the database with the mobile application. You can use PHP/JavaScripts to write this REST API.
Write an API to communicate with web application
2. Mobile Application
Create a mobile application
Use Volley/Retrofit to send the data to the database via API (1.2)
I am a beginner in developing android apps, and I need to know which kind of access do I need in order to retrieve data from a web database server to an android app.
You can use Firebase from Google for better database support for your app. You can easily do that using Firebase Documentation.
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.
Hi guys so I am new to android development or any mobile device development.
So I am working on a project that consists of two application.
One with ASP.NET MVC4, one with Android.
what it is doing right now, Android device is accessing database server of ASP.Net application and saves data. This is able because currently, android app has database access information in the codes(db login info).
Since method above is extremely stupid I need help.
So what I am looking into is to use JSON(if possible). ASP.NET MVC4 application is already JSON ready, and i've made sandbox application that brings information from web app to android app. BUT my question here is is it possible to do same thing the other way around. Is it possible to make android application to make JSON and web application to access that application? I dont think this is possible.
So how do other REAL mobile applications save users data on their database server without including db access information within the code?
This is usually done through web api - have a look at twitters api as an example https://dev.twitter.com/docs/api/1.1
You would have to pass data to the server using the api, just as you would use an api to get data from the server.
i am using eclipse for development of android application. i want to connect my application to magento. i am new developer so i have not too much idea about this.
below i mention some problem which i want to solve:-
my database is in mysql and mysql connect to magento. so how my app connect to magento?
if i connect my app to magento through web service but i have no idea about how to connect through web service to magento?
please help me
If anyone looking for android application for magento site, you can use this.
Magento offers two API's to develop your app in Android
SOAP API - http://www.magentocommerce.com/api/soap/introduction.html
REST API - http://www.magentocommerce.com/api/rest/introduction.html
You have to create a New User in your Magento Store with roles.That you can do by loging in to your Admin and the option is under the system->WebServices->User&Roles.
You have to create role and a user.Then assign the roles to the User.
For using SOAP API use this tutorial http://inchoo.net/dev-talk/android-development/magento-v2-api-soap-android/
For REST api use - Android - Magento REST Api Cannot Respond Properly
In REST API, Oauth is there This example is without Oauth.
Before stating Android side make sure the magento configured properly. Test the urls in browser first then use it in Application.
For those who are still looking at answer, I have put down my research in below link, we were able to sucessfully create mobile app for IOS and andriod with libraries mentioned in below link..please go through once..
http://www.siddharthvaghasia.com/2014/12/11/connect-ios-and-andriod-app-to-magento-store/
For andriod...here is steps with example..
http://www.siddharthvaghasia.com/2014/12/14/use-k2soap-library-android-platform-consume-magento-soap-api-v2/
Note- Not able to add to comment to posted in answer...