Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5d3b2ae

Browse files
author
Michael Marucheck
committedOct 30, 2012
Renamed JustRequestSample -> GraphApiSample
Test Plan: - Build all samples - Ran GraphApiSample Reviewers: clang, mingfli Reviewed By: clang CC: msdkexp@, platform-diffs@lists Differential Revision: https://phabricator.fb.com/D615480 Task ID: 1822956
1 parent 1f53ed1 commit 5d3b2ae

File tree

20 files changed

+21
-43
lines changed

20 files changed

+21
-43
lines changed
 

‎.idea/compiler.xml

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/modules.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/runConfigurations/SdkTests.xml

-23
This file was deleted.
File renamed without changes.

‎samples/JustRequestSample/.project ‎samples/GraphApiSample/.project

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>JustRequestSample</name>
3+
<name>GraphApiSample</name>
44
<comment></comment>
55
<projects>
66
</projects>

‎samples/JustRequestSample/AndroidManifest.xml ‎samples/GraphApiSample/AndroidManifest.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.facebook.samples.justrequest"
3+
package="com.facebook.samples.graphapi"
44
android:versionCode="1"
55
android:versionName="1.0" >
66

@@ -11,7 +11,7 @@
1111
android:icon="@drawable/icon"
1212
android:label="@string/app_name" >
1313
<activity
14-
android:name=".JustRequestSampleActivity"
14+
android:name=".GraphApiSampleActivity"
1515
android:label="@string/app_name"
1616
android:windowSoftInputMode="adjustResize">
1717
<intent-filter>
File renamed without changes.

‎samples/JustRequestSample/build.xml ‎samples/GraphApiSample/build.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project name="JustRequestSample" default="help">
2+
<project name="GraphApiSample" default="help">
33

44
<!-- The local.properties file is created and updated by the 'android' tool.
55
It contains the path to the SDK. It should *NOT* be checked into
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33

4-
<string name="hello">Hello World, JustRequestSampleActivity!</string>
5-
<string name="app_name">JustRequestSample</string>
4+
<string name="hello">Hello World, GraphApiSampleActivity!</string>
5+
<string name="app_name">GraphApiSample</string>
66
<string name="request">Request</string>
77
<string name="instructions">Login to create a link to fetch account data</string>
88
<string name="logout">Log out</string>
99

10-
</resources>
10+
</resources>

‎samples/JustRequestSample/src/com/facebook/samples/justrequest/JustRequestSampleActivity.java ‎samples/GraphApiSample/src/com/facebook/samples/graphapi/GraphApiSampleActivity.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.facebook.samples.justrequest;
1+
package com.facebook.samples.graphapi;
22

33
import android.app.Activity;
44
import android.app.AlertDialog;
@@ -15,9 +15,9 @@
1515
import java.util.ArrayList;
1616
import java.util.List;
1717

18-
public class JustRequestSampleActivity extends Activity {
18+
public class GraphApiSampleActivity extends Activity {
1919
static final String applicationId = "327064487357152";
20-
static final String PENDING_REQUEST_BUNDLE_KEY = "com.facebook.samples.justrequest:PendingRequest";
20+
static final String PENDING_REQUEST_BUNDLE_KEY = "com.facebook.samples.graphapi:PendingRequest";
2121

2222
Button buttonRequest;
2323
EditText editRequests;
@@ -75,11 +75,11 @@ private void onClickRequest() {
7575
public void call(Session session, SessionState state, Exception exception) {
7676
if (exception != null) {
7777
AlertDialog alertDialog;
78-
alertDialog = new AlertDialog.Builder(JustRequestSampleActivity.this).create();
78+
alertDialog = new AlertDialog.Builder(GraphApiSampleActivity.this).create();
7979
alertDialog.setTitle("Login failed");
8080
alertDialog.setMessage(exception.getMessage());
8181
alertDialog.show();
82-
JustRequestSampleActivity.this.session = createSession();
82+
GraphApiSampleActivity.this.session = createSession();
8383
}
8484
}
8585
};

‎samples/Hackbook/Hackbook.iml

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<module type="JAVA_MODULE" version="4">
3+
<component name="EclipseModuleManager">
4+
<conelement value="com.android.ide.eclipse.adt.LIBRARIES" />
5+
<src_description expected_position="1">
6+
<src_folder value="file://$MODULE_DIR$/src" expected_position="0" />
7+
<src_folder value="file://$MODULE_DIR$/gen" expected_position="1" />
8+
</src_description>
9+
</component>
310
<component name="FacetManager">
411
<facet type="android" name="Android">
512
<configuration>

‎samples/JustRequestSample/com.facebook.samples.justlogin.JustRequestSampleActivity.eml

-5
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.