我为 imageview
制作了一个transition
,我想在 Android Phone 中的时间播放它,例如 10:00 AM ,那我该怎么做呢?我尝试用 AlarmManager
来做到这一点,但没有用!这不是完成工作,有可能吗?
最佳答案
在 onRecieve 方法中放置以下内容:
Intent scheduledIntent = new Intent(context, YourScheduledActivity.class);
scheduledIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(scheduledIntent);
在 YourScheduledActivity 的 onCreate 方法中,我们进行转换。
关于android - 在 Android 的特定时间开始过渡?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30071716/