V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  hotspotvm  ›  全部回复第 11 页 / 共 34 页
回复总数  674
1 ... 7  8  9  10  11  12  13  14  15  16 ... 34  
❮ ❯
2024 年 1 月 23 日
回复了 cdoco 创建的主题 › Markdown › Markdown 语法详解
```java
public class Example {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
```
2024 年 1 月 23 日
回复了 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);
}
}


```
2024 年 1 月 9 日
回复了 letuslinux 创建的主题 › 推广 › 35 岁搞副业,踩了大坑!(顺便送一波爱媛果冻橙)
分子
2023 年 10 月 16 日
回复了 gordon96 创建的主题 › 生活 › 感觉心好累
上班十一年了,心真的好累。闲起来了还好,停下来真的会垮掉…
2023 年 8 月 24 日
回复了 zzxin 创建的主题 › 推广 › [抽奖+优惠]女朋友做了一款超好用的固体洗发水。
分母+1
2023 年 8 月 2 日
回复了 sommer 创建的主题 › 推广 › 「夜晚限定抽奖」评论送 B 站年度大会员 X 1
分子+1 分母+1
2023 年 7 月 31 日
回复了 o0 创建的主题 › 优惠信息 › [抽奖] 踩楼抽奖送 OneKey Mini
分子+1 分母+1
分子+1 ,分母+1
2023 年 7 月 28 日
回复了 EyebrowsWhite 创建的主题 › 推广 › [抽奖] 评论送两台 OneKey Mini
分母来了
1 ... 7  8  9  10  11  12  13  14  15  16 ... 34  
❮ ❯
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1081 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms · UTC 23:24 · PVG 07:24 · LAX 15:24 · JFK 18:24
♥ Do have faith in what you're doing.