go-selfupdate - 使Golang应用程序能够自我更新
2021-08-10 17:20:22 37KB Go开发-工具类
1
ButtonUtils:按钮连击判断 NetworkUtils:获取当前IP,判断WIFI是否可用,获取当前网络连接类型,判断是否有网络连接 ScreenUtils:获取屏幕宽度、高度,判断某个activity是否在前台显示,隐藏软键盘 SoundUtils:播放短音频 TcpUtils:TCP发送十六进制字符串 Udputils:UDP发送十六进制字符串 VersionUtils:获取当前应用版本号,版本名 ToastUtils:Toast显示
2021-05-25 18:05:11 7KB Android 开发 工具类 Utils
/* * JCatalog Project */ package com.hexiang.utils; import java.util.List; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.Properties; import javax.mail.Session; import javax.mail.Transport; import javax.mail.Message; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.hexiang.exception.CatalogException; /** * Utility class to send email. * * @author hexiang */ public class EmailUtil { //the logger for this class private static Log logger = LogFactory.getLog("com.hexiang.util.EmailUtil"); /** * Send email to a single recipient. * * @param smtpHost the SMTP email server address * @param senderAddress the sender email address * @param senderName the sender name * @param receiverAddress the recipient email address * @param sub the subject of the email * @param msg the message content of the email */ public static void sendEmail(String smtpHost, String senderAddress, String senderName, String receiverAddress, String sub, String msg) throws CatalogException { List recipients = new ArrayList(); recipients.add(receiverAddress); sendEmail(smtpHost, senderAddress, senderName, recipients, sub, msg); } /** * Send email to a list of recipients. * * @param smtpHost the SMTP email server address * @param senderAddress the sender email address * @param senderName the sender name * @param recipients a list of receipients email addresses * @param sub the subject of the email * @param msg the message content of the email */ public static void sendEmail(String smtpHost, String senderAddress, String senderName, List recipients, String sub, String msg) throws CatalogException { if (smtpHost == null) { String errMsg = "Could not send email: smtp host address is null"; logger.error(e
1
一些DataBinding相关的工具类。(一句代码实现多类型列表的Adapter)
2021-04-28 21:20:40 117KB Android开发-工具类
1
Base是针对于Android开发封装好一些常用的基类,主要包括通用的Adapter、Activity、Fragment、Dialog等、和一些常用的Util类,只为更简单。
2021-03-30 19:27:46 6.76MB Android开发-工具类
1
pic 反汇编 工具 非常好用,本人反汇编pic16F54,几分钟搞定 pic 反汇编 工具 非常好用,本人反汇编pic16F54,几分钟搞定
2021-02-24 11:08:23 1.11MB pic 反汇编 工具
1
F2823x_RevA_CSP是css3.3补丁! F2823x_RevA_CSP是css3.3补丁! F2823x_RevA_CSP是css3.3补丁! F2823x_RevA_CSP是css3.3补丁!
2021-01-28 02:31:44 4.95MB F2823x_RevA_ css
1
CameraKit 将一个最难的Camera Android API封装成一个高级和易于使用的库
2020-01-22 03:13:34 317KB Android开发-工具类
1
上次发送的注册码已过时!这次再把破解补上!
2020-01-18 03:03:41 4.54MB 开发工具类
1
mp - 一个简单的邮件解析器。目前需要stdin和JSON输出。
2020-01-03 11:39:34 1.19MB Go开发-工具类
1