You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project contains two libraries, `ParseUI-Login` and `ParseUI-Widget`.
8
4
9
-
### Getting Started
10
-
We built several sample apps demonstrating how to use the `ParseLoginUI` library. Before importing
11
-
this library into your app, we recommend that you run these sample apps to become familiar with its
12
-
functionality and customizations. In this section, we describe Android Studio instructions for
13
-
running the sample apps (as a standalone project), and importing the `ParseLoginUI` library into
14
-
your own app. These instructions were last tested on Android Studio 1.1.0.
5
+
The `ParseUI-Login` library is used for building login and signup flows with the Parse Android SDK. You can easily configure the look and feel of the login screens by either specifying XML configurations or constructing an Intent in code.
15
6
16
-
#### Running Sample Projects
17
-
To run our sample apps, you need to import this repo as a standalone Gradle project:
7
+
The `ParseUI-Widget` library provides several useful UI widgets which integrate with `ParseObject` seamlessly.
18
8
19
-
1. Clone this repository onto your machine.
20
-
2. Import this repository's project with Android Studio (File > Import Project > `ParseUI-Android` folder). The project has Maven dependencies on the Facebook SDK and the Bolts framework. Android Studio automatically resolves these via Gradle.
21
-
3. Specify the following in `res/values/strings.xml` of each sample project:
22
-
* <code>parse_app_id</code> and <code>parse_client_key</code>
23
-
* <code>facebook_app_id</code>
24
-
* <code>twitter_consumer_key</code> and <code>twitter_consumer_secret</code>
25
-
4. Build (Tools > Android > Sync Project with Gradle Files) and run the sample apps using Android Studio.
26
9
27
-
#### Importing into Your App
10
+
##Import to your project
28
11
1. Clone this repository onto your machine.
29
12
2. Configure Parse SDK by following this [tutorial](https://www.parse.com/apps/quickstart#parse_data/mobile/android/native/existing).
30
-
3. Import `ParseLoginUI` as a module into your app's Android Studio Project
13
+
3. Import `ParseUI-Login` and `ParseUI-Widget` as modules into your app's Android Studio Project
31
14
* File > Import Module in Android Studio
32
-
* In the New Module pop-up, set the source directory to the `ParseUI-Android/ParseLoginUI` folder within the cloned repo.
33
-
15
+
* In the New Module pop-up, set the source directory to the `ParseUI-Android/ParseUI-Login` and `ParseUI-Android/ParseUI-Widget` folder within the cloned repo.
34
16
4. Add the following to the `dependencies` section of your app's build.gradle.
35
17
36
-
// Module dependency on ParseLoginUI library sources
37
-
compile project(':ParseLoginUI')
38
-
39
-
// Uncomment if using Facebook Login (optional Maven dependency)
5. Add the following to your `AndroidManifest.xml` within the `<application></application>` section. You can see a complete example in our [sample app](https://github.com/ParsePlatform/ParseUI-Android/blob/master/ParseLoginSampleBasic/src/main/AndroidManifest.xml).
44
-
45
-
<activity
46
-
android:name="com.parse.ui.ParseLoginActivity"
47
-
android:label="@string/app_name"
48
-
android:launchMode="singleTop">
49
-
<!-- For more options, see https://www.parse.com/docs/android_guide#ui-login -->
For an example of setting up Facebook and Twitter integrations, please see `AndroidManfest.xml` and `res/values/strings.xml` in our [sample app](https://github.com/ParsePlatform/ParseUI-Android/blob/master/ParseLoginSampleBasic).
28
+
## Usage
29
+
Please check the tutorial in our [wiki](https://github.com/ParsePlatform/ParseUI-Android/wiki);
64
30
65
31
## Documentation
66
32
For complete details about this library project, please see our [documentation](https://www.parse.com/docs/android/guide#user-interface-parseloginui) on the Parse website.
67
-
We'll discuss some highlights here.
68
-
69
-
To start the login flow from your own activity, you launch the `ParseLoginActivity` with two lines of code:
0 commit comments