• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

googlearchive/solutions-mobile-shopping-assistant-backend-java

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

googlearchive/solutions-mobile-shopping-assistant-backend-java

开源软件地址(OpenSource Url):

https://github.com/googlearchive/solutions-mobile-shopping-assistant-backend-java

开源编程语言(OpenSource Language):

Java 98.5%

开源软件介绍(OpenSource Introduction):

status: inactive

This project is no longer actively developed or maintained.

For new work on this check out MobileShoppingAssistant

Mobile Shopping Assistant Java Backend

Copyright

Copyright 2013 Google Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Disclaimer

This sample application is not an official Google product.

Supported Platform and Versions

This sample source code and project is designed to work with Eclipse. It was tested with Eclipse 3.8 and Google App Engine SDK 1.7.7.1.

Overview

Mobile Shopping Assistant Java Backend demonstrates how to build a mobile backend that will power Android and iOS native applications and expose API using Google Cloud Endpoints.

Prerequisite

  1. Eclipse with Google Plugin for Eclipse version 3.2.3 or newer.

  2. Google App Engine SDK version 1.7.7.1 or higher.

Developer Guide using Eclipse

The repository does not include jars. Therefore when you open the project in Eclipse you will initially see errors. After following the steps below, all errors should be gone.

  1. Follow Android documentation to install the helper libraries and to copy the gcm-server.jar into war/WEB-INF/lib directory.

  2. If you see errors about App Engine not being configured correctly, go to Project Properties->Google->App Engine and unselect 'Use Google App Engine' and click OK. Then go to the same dialog again, select 'Use Google App Engine' and make sure that the selected version of SDK is 1.7.7.1 or newer.

  3. Open war/WEB-INF/appengine-web.xml and enter your app id within application XML element.

  4. Open MobileAssistant-AppEngine/src/com.google.sample.mobileassistant/ApiKeysAndIds.java and enter your GCM_API_KEY, ANDROID_CLIENT_ID, IOS_CLIENT_ID, WEB_CLIENT_ID and AUDIENCE. Follow Android documentation to obtain GCM_API_KEY (Note: In the 'Enabling the GCM Service' step choose 'Google Cloud Messaging for Android') and follow the Cloud Endpoints documentation to obtain the 3 Client IDs. For Android Client ID the package name is 'com.google.sample.mobileassistant'. For iOS Client ID the bundle is 'com.google.sample.mobileassistant'.

  5. Select MobileAssistant-AppEngine project in "Project Explorer" and from Google context menu select Generate Cloud Endpoint client library.

  6. Select MobileAssistant-AppEngine project and from Google context menu select Deploy to App Engine.

  7. Follow steps in README.md in MobileAssistant-Data directory to import sample data to the deployed backend.

Now you are ready to use Mobile Shopping Assistant Android client or iOS Client with the mobile backend that you deployed. Follow the steps in README.md for Android and iOS client.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap