有多种方法可以获取有关您的应用程序的分析数据。一种方法是使用 Google Analytics (http://code.google.com/intl/da/apis/analytics/)。
I'm not quite sure how much details you are looking for, so here are some general information about what to do and references to the information you will need.
1) Login to Facebook/Twitter.
To provide FB/Twitter login you need to use the respective APIs. For FB I would suggest you take a look at their Mobile Web Tutorial (http://developers.facebook.com/docs/guides/mobile/web/) or Authentication documentation (http://developers.facebook.com/docs/authentication/) where it is described how you login.
2) Camera support and upload of photo to Facebook.
Providing camera support for your Rhodes application is quite easy and is described in the Device Capability section of the Rhomobile Documentation (http://docs.rhomobile.com/rhodes/device-caps#camera). They also have a code sample of how it works here.
Once you have taken the picture you should be able to upload it through the image-uri which you get in the take_picture response.
There are many ways to get analytic data about your application. One way would be to use Google Analytics (http://code.google.com/intl/da/apis/analytics/).
发布评论
评论(1)
我不太确定您需要多少详细信息,因此这里有一些有关该怎么做的一般信息以及您需要的信息的参考。
1) 登录脸书/推特。
要提供 FB/Twitter 登录,您需要使用相应的 API。对于 FB,我建议您查看他们的移动 Web 教程 (http://developers.facebook.com/docs/guides/mobile/web/) 或身份验证文档 (http://developers.facebook.com/docs/ authentication/) 其中描述了您如何登录。
2) 相机支持和照片上传到Facebook。
为您的 Rhodes 应用程序提供相机支持非常简单,并且在 Rhomobile 文档 (http://docs.rhomobile.com/rhodes/device-caps#camera) 的设备功能部分中进行了描述。他们还有一个代码示例,说明其工作原理 这里。
拍摄完照片后,您应该能够通过 take_picture 响应中获得的 image-uri 上传它。
他们的开发者网站上描述了如何将图片上传到 FB。例如,您可以查看 FB 上发布的以下指南 - 操作方法:使用用于将照片上传到用户个人资料的图形 API。
3)分析。
有多种方法可以获取有关您的应用程序的分析数据。一种方法是使用 Google Analytics (http://code.google.com/intl/da/apis/analytics/)。
I'm not quite sure how much details you are looking for, so here are some general information about what to do and references to the information you will need.
1) Login to Facebook/Twitter.
To provide FB/Twitter login you need to use the respective APIs. For FB I would suggest you take a look at their Mobile Web Tutorial (http://developers.facebook.com/docs/guides/mobile/web/) or Authentication documentation (http://developers.facebook.com/docs/authentication/) where it is described how you login.
2) Camera support and upload of photo to Facebook.
Providing camera support for your Rhodes application is quite easy and is described in the Device Capability section of the Rhomobile Documentation (http://docs.rhomobile.com/rhodes/device-caps#camera). They also have a code sample of how it works here.
Once you have taken the picture you should be able to upload it through the image-uri which you get in the take_picture response.
How you can upload pictures to FB is described on their developer site. You can for example take a look at the following guide which is posted on FB - How-To: Use the Graph API to Upload Photos to a user's profile.
3) Analytics.
There are many ways to get analytic data about your application. One way would be to use Google Analytics (http://code.google.com/intl/da/apis/analytics/).