forked from mschoch/Android-Couchbase-Callback
-
Notifications
You must be signed in to change notification settings - Fork 11
/
PhotoShare.java
55 lines (47 loc) · 1.36 KB
/
PhotoShare.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.docomoinnovations.couchbase.photoshare;
import com.couchbase.callback.AndroidCouchbaseCallback;
/**
* This is the main activity for your application.
*
* You can safely refactor the class name and package to meet your needs.
*
*/
public class PhotoShare extends AndroidCouchbaseCallback {
/**
* Override this method to do additional work upon startup
*/
// @Override
// public void onCreate(Bundle savedInstanceState) {
// super.onCreate(savedInstanceState);
// }
/**
* Override this method to do additional work after Couchbase has started
*/
// @Override
// protected void couchbaseStarted(String host, int port) {
//
// }
/**
* Override this method to disable the splash screen
*/
@Override
protected boolean showSplashScreen() {
return false;
}
/**
* Override this method to change the drawable used in the splash screen
*/
// @Override
// protected int getSplashScreenDrawable() {
// return R.drawable.mySplashScreen;
// }
/**
* After you've deployed your couchapp you can override this method to
* directly return the name of your database, instead of using the
* default logic to look for databases in the assets folder
*/
// @Override
// protected String getDatabaseName() {
// return "mydatabase";
// }
}