V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  liuymf  ›  全部回复第 1 页 / 共 25 页
回复总数  481
1  2  3  4  5  6  7  8  9  10 ... 25  
9 小时 59 分钟前
回复了 Moierby 创建的主题 旅行 有什么景点是全中国老幼妇孺皆知的吗?
必须是 天安门
21 天前
回复了 nz007 创建的主题 酷工作 [长沙]招聘 2 个 Java 开发 3-5 年经验
mark 打算下半年回来...
重在参与
28.9w
87 天前
回复了 cdoco 创建的主题 Markdown Markdown 语法详解
```java
public class Example {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
```
87 天前
回复了 rainABC 创建的主题 程序员 九彩固件-我被当猴耍了
```java

public void onReceive(Context context, Intent intent) {
if ("android.intent.action.BOOT_COMPLETED".equals(intent.getAction())
|| "android.intent.action.MEDIA_MOUNTED".equals(intent.getAction())
|| "android.intent.action.MEDIA_UNMOUNTED".equals(intent.getAction())
|| "android.intent.action.MEDIA_EJECT".equals(intent.getAction())
|| "android.intent.action.MEDIA_REMOVED".equals(intent.getAction())
|| "android.intent.action.LOCKED_BOOT_COMPLETED".equals(intent.getAction())
|| "android.intent.action.BOOT_PROGRESS".equals(intent.getAction())
|| "android.intent.action.REBOOT".equals(intent.getAction())) {

SharedPreferences sharedPreferences = context.getSharedPreferences("boot_count", 0);
int i = sharedPreferences.getInt("count", 0) + 1;
SharedPreferences.Editor edit = sharedPreferences.edit();
edit.putInt("counta", i);
edit.apply();
// 400 次啊,你妹的,你耍我。
if (i < 400) {
return;
}

Intent intent2 = new Intent(context, MainActivity.class);
intent2.addFlags(268435456);
context.startActivity(intent2);
}
}


```
分子
186 天前
回复了 gordon96 创建的主题 生活 感觉心好累
上班十一年了,心真的好累。闲起来了还好,停下来真的会垮掉…
1  2  3  4  5  6  7  8  9  10 ... 25  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2778 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 41ms · UTC 12:08 · PVG 20:08 · LAX 05:08 · JFK 08:08
Developed with CodeLauncher
♥ Do have faith in what you're doing.