当前位置: 首页 > 软件库 > 手机/移动开发 > >

Parse-SDK-Android

The Android SDK for the Parse Platform
授权协议 View license
开发语言 Java
所属分类 手机/移动开发
软件类型 开源软件
地区 不详
投 递 者 柯星辰
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Parse SDK for Android

A library that gives you access to the powerful Parse cloud platform from your Android app.For more information about Parse and its features, see the website, getting started, and blog.

Dependency

Add this in your root build.gradle file (not your module build.gradle file):

allprojects {
	repositories {
		...
		maven { url "https://jitpack.io" }
	}
}

Then, add the library to your project build.gradle

ext {
   parseVersion = "latest.version.here"
}
dependencies {
    implementation "com.github.parse-community.Parse-SDK-Android:parse:$parseVersion"
    // for Google login/signup support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:google:$parseVersion"
    // for Facebook login/signup support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:facebook:$parseVersion"
    // for Twitter login/signup support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:twitter:$parseVersion"
    // for FCM Push support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:fcm:$parseVersion"
    // for Kotlin extensions support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:ktx:$parseVersion"
    // for Kotlin coroutines support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:coroutines:$parseVersion"
    // for RxJava support (optional)
    implementation "com.github.parse-community.Parse-SDK-Android:rxjava:$parseVersion"
}

replacing latest.version.here with the latest released version (see JitPack badge above).

Setup

Initialize Parse in a custom class that extends Application:

import com.parse.Parse;
import android.app.Application;

public class App extends Application {
    @Override
    public void onCreate() {
      super.onCreate();

      Parse.initialize(new Parse.Configuration.Builder(this)
        .applicationId("YOUR_APP_ID")
        // if desired
        .clientKey("YOUR_CLIENT_KEY")
        .server("https://your-server-address/parse/")
        .build()
      );
    }
}

The custom Application class must be registered in AndroidManifest.xml:

<application
    android:name=".App"
    ...>
    ...
</application>

Note that if you are testing with a server using http, you will need to add android:usesCleartextTraffic="true" to your above <application> definition, but you should only do this while testing and should use https for your final product.

See the guide for the rest of the SDK usage.

How Do I Contribute?

We want to make contributing to this project as easy and transparent as possible. Please refer to the Contribution Guidelines.

Other Parse Projects

These are other official libraries we made that can help you create your Parse app.

License

Copyright (c) 2015-present, Parse, LLC.
All rights reserved.

This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.

As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.

  • 我一直致力于通过RTSP显示直播视频的Android应用程序。 假设我有一个通过H264包一个运作良好的RTSP服务器,并查看我们应该连接到rtsp://1.2.3.4:5555/streamvlc-android-sdk - 无法查看RTSP实时视频 于是,我就使用本机的MediaPlayer \ VideoView流,但没有运气(视频是2后卡住播放-3秒,所以我装mrmaffen的VLC-An

  • 最近下了个google的vr sdk,下载地址:https://github.com/googlevr/gvr-android-sdk,因为没有开源,所以只能拿java反编译去看,幸好大部分代码都能看到(除了native的),一边看官方文档一边看代码,下面记录下之间遇到的一些问题: 1、编出来老是xml错误:首先看libraries/native/README.md,按照其中步骤操作。我用的是vi

  • 我的皮棉失败了: The SDK platform-tools version (26.0.2) is too old to check APIs compiled with API 27; please update 但据我所知26.0.2仍然是最新的平台工具: ⋊> ~ sdkmanager --list | grep platform | grep tools 14:32:26 Warnin

  • I setup ParseServer and Android SDK successfully and I can send and retrieve Objects to and from my database. Now I want to use LiveQuery, I integrated the SDK and followed the tutorial (https://githu

  • 我正在开发使用Parse SDK的应用程序。它在一年前工作,但现在它不工作和崩溃。 另外我在Android Studio 2.2.3上进行调试,我可以调试应用程序,但是当我生成apk文件并将它安装到手机上时,应用程序崩溃了。 当我在android studio 2.3.3上调试时,它崩溃了,无法调试它。解析Android SDK问题 这里是崩溃 FATAL EXCEPTION: main Proc

  • 微信公众号关联网页获取位置信息,可以参照《微信公众平台技术文档》-> 微信JS-SDK说明文档,官方链接地址:https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115 步骤一:绑定域名 先登录微信公众平台进入“公众号设置”的“功能设置”里填写“JS接口安全域名”。注:该域名不包括端口号,并且必须是备案过的域名。 备注:登录后

 相关资料
  • Parse SDK for Android 可以让你从 Android app 进入到强大的 Parse 云平台。

  • Parse SDK for iOS/OS X 可以让你从 iOS 或者 Mac OS X 平台访问强大的 Parse 云平台。

  • parse() 方法 解析一个日期时间字符串,并返回 1970/1/1 午夜距离该日期时间的毫秒数。 语法: Date.parse( dateString ) 参数说明: dateString -- 表示日期和时间的字符串 返回值: 指定的日期和时间据 1970/1/1 午夜( GMT 时间 )之间的毫秒数。 说明: Date.parse() 是 Date 对象的静态方法。 一般采用 Dat

  • 描述 (Description) 它通过传递响应对象返回集合的数据,并以JSON格式表示数据。 语法 (Syntax) collection.parse(response, options) 参数 (Parameters) response - 它将模型属性数组返回到集合。 options - 它包含true作为表示JSON格式数据的选项。 例子 (Example) <!DOCTYPE html

  • 描述 (Description) 它由服务器使用,并通过传递响应对象返回模型的数据,并以JSON格式表示数据。 语法 (Syntax) model.parse(response,options) 参数 (Parameters) response - 使用响应原始对象传递,并返回要在模型上设置的属性。 options - 它包含true作为表示JSON格式数据的选项。 例子 (Example) <

  • import "text/template/parse" Package parse builds parse trees for templates as defined by text/template and html/template. Clients should use those packages to construct templates rather than this one