如何为 android 和 iphone 创建自己的 Magento 移动应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11682462/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to create your own Magento mobile application for android and iphone
提问by Sid
Please any One who has worked on Magento Site's App Development help me to get a direction to move further as I am totally lost and getting nothing from the Online Research.
请任何在 Magento 网站的应用程序开发工作过的人帮助我找到一个更进一步的方向,因为我完全迷失了并且从在线研究中一无所获。
Any help would be highly Appreciated.
任何帮助将不胜感激。
Thanks And Regards.
感谢致敬。
回答by Haresh Chaudhary
There are few Steps for that::
有几个步骤:
Magento offers two API's to develop your app in Android
a. SOAP API
b. XML-RPCIf you want to use
XMLRPC API
,then you have to download it's libraryand use it in your Project.- You have to create a New User in your
Magento Store
with roles.That you can do by logingin to your Admin moduleand the option is under thesystem->WebServices->User && Roles
...You have to create first roles and then create a user and assign the roles to the User. - You have to use the
UserName
andAPIKey
that you give in theMagento
Store for calling the login Function. - Calling the Login function,you will Receive a Session Id,that you have to storeand Useit in your further calls.
Magento的报价两个API的开发你的应用程序在Android中
一个。SOAP API
B. XML-RPC如果你想使用
XMLRPC API
,那么你必须下载它的库并在你的项目中使用它。- 您必须在您
Magento Store
的角色中创建一个新用户。您可以通过登录到您的管理模块来完成,该选项位于system->WebServices->User && Roles
...您必须创建第一个角色,然后创建一个用户并将角色分配给用户. - 您必须使用您在Store 中提供的
UserName
和来调用登录功能。APIKey
Magento
- 调用登录功能,您将收到一个会话 ID,您必须在进一步调用中存储和使用它。
Some of the helpful links to get StartedAre::
一些有用的入门链接是::