status = ERROR_NONE;
} else {
Toast.makeText(context, "\8f\91\82«\8d\9e\82Ý\82É\8e¸\94s\82µ\82Ü\82µ\82½" + text,
- Toast.LENGTH_LONG); // TODO
- Debug.d(this, "doExecute"); // TODO
+ Toast.LENGTH_LONG); // TODO\81@#27969
+ Debug.d(this, "doExecute");
status = ERROR_SYSTEM;
}
}
@Override
public void cancel() {
- // TODO Auto-generated method stub
}
switch (status) {
case ERROR_NOT_FOUND:
Toast.makeText(context, "\83m\81[\83g\82ª\82 \82è\82Ü\82¹\82ñ " + noteName, Toast.LENGTH_LONG)
- .show(); // TODO
+ .show(); // TODO\81@#27969
break;
}
}
String content = note.getContent();
- // TODO
+ // TODO\81@#27970
// \8c©\82Â\82©\82ç\82È\82¢\8fê\8d\87
String endTag = "</en-note>";
int pos = content.indexOf(endTag);
-
- // TODO
- // \83^\83O\82ª\8eg\82í\82ê\82Ä\82¢\82é\8fê\8d\87
+ if (pos < 0) {
+ return null;
+ }
StringBuffer sb = new StringBuffer();
sb.append(content.substring(0, pos));
if (title != null) {
UserStore.Client userStore = new UserStore.Client(userStoreProt);
// TODO
+ // http://www.antun.net/tips/api/evernote.html
// expiredTime=time.time()+(authResult.expiration/1000.0-authResult.currentTime/1000.0)
// # expiredTime<time.time() \82È\82ç\94F\8fØ\82µ\92¼\82µ\82Ä\81AauthenticationToken
// \82ð\8eæ\93¾\82µ\92¼\82·\82×\82µ
- // String username = "yuji_k64613";
- // String password = "addhl,de";
String consumerKey = "yuji_k64613";
String consumerSecret = "d5528b4fdb3a7fee";
AuthenticationResult authResult = userStore.authenticate(