Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Android で、Webkit が使用する Cookie の有効期限が切れているかどうかを確認する方法はありますか? CookieManager.getCookie(url)有効期限がありません。
CookieManager.getCookie(url)
最初に Cookie ( org.apache.http.cookie.Cookie) オブジェクトに Cookie を取得してから、"
isExpired(日付日付)
この Cookie の有効期限が切れている場合に true を返します。
を使用して日付をテストすることもできます
getExpiryDate()
.