blob: a059cdcabb57fe36ae237d09728d0f4f19e4eb9f (
plain)
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
|
package net.miz_hi.smileessence.command.main;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import net.miz_hi.smileessence.Client;
import net.miz_hi.smileessence.command.MenuCommand;
public class CommandOpenAclog extends MenuCommand
{
private Activity activity;
public CommandOpenAclog(Activity activity)
{
this.activity = activity;
}
@Override
public String getName()
{
return "Aclogを開く";
}
@Override
public void workOnUiThread()
{
String url = "http://aclog.koba789.com/" + Client.getMainAccount().getScreenName() + "/timeline";
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
activity.startActivity(intent);
}
}
|