search/tweets
では一週間以上前のツイートは検索できないので注意
search/universal
は公式のConsumerKey/ConsumerSecretでないと使用できない
当方では一切の責任を負いません
// 前面のアプリのComponentNameだけ取得しています。 | |
// Taskと違ってあまり情報がありませんが。。 | |
public static List<ComponentName> getForegroundAppList(Context context, int size) { | |
List<ComponentName> nameList = new ArrayList<ComponentName>(); | |
// どこかでpermissionを確認します。 | |
if (!checkPermission(context)) | |
return nameList; | |
long time = System.currentTimeMillis(); | |
UsageStatsManager usm = (UsageStatsManager) context.getSystemService("usagestats"); |
更新: | 2024-05-20 |
---|---|
作者: | @voluntas |
バージョン: | 2024.1 |
URL: | https://voluntas.github.io/ |
<?php | |
class RecentStatsCommand extends Command { | |
public function execute($args) { | |
if(isset($args[2])) { | |
$user = $args[2]; | |
} else { | |
$args[2] = $this->getDefaultUser($this->getUser()->id_str); | |
$user = $args[2]; | |
} |
# coding: utf-8 | |
from objc_util import * | |
import console | |
import urllib | |
import dialogs | |
WKWebView = ObjCClass('WKWebView') | |
UIViewController = ObjCClass('UIViewController') | |
UIBarButtonItem = ObjCClass('UIBarButtonItem') | |
NSURLRequest = ObjCClass('NSURLRequest') |
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
Twitter has released the official API v2 endpoint for the bookmark feature. https://twittercommunity.com/t/build-with-bookmarks-on-the-twitter-api-v2/168804/
The following descriptions are or will soon be no longer useful; I suggest using the new official API.