由于政策违规,我的应用程序被暂停,但从我读过的内容来看,似乎我应该能够重新提交合规版本:
"如果您认为自己的应用符合我们的政策,请再次提交您的应用,我们会审核您的提交内容." (从下面的电子邮件)
"如果您的开发者凭据仍然与Google Play保持良好的信誉,并且您的应用允许,则可以发布该应用程序的新兼容版本." (链接)
但是我该怎么做?从开发人员的控制台看来似乎是不可能的.我对暂停的应用程序无能为力,如果我创建一个新的应用程序,它将不会让我使用相同的名称.
编辑:这是上诉后的电子邮件回复(强调我的):
进一步审核后,您的应用将不会恢复,因为它违反了我们的内容政策的规定.
我们的政策规定:"......"
如果您发布了应用的新版本,请确保其符合我们的政策.您可能需要查看这些资源以获取其他指导:
内容政策:https: //play.google.com/about/developer-content-policy.html#sexual-content
Google Play开发者帮助中心:https: //support.google.com/googleplay/android-developer/answer/4450958
如果您认为自己的应用符合我们的政策,请再次提交您的应用,我们会审核您的提交内容.
我正在为我的笔记应用程序开发小部件.
我想要存档的内容类似于colorNote小部件:
我可以显示简单的小部件来显示我想要的简单消息,但我想要做的是允许用户从笔记列表中选择指定笔记作为小部件的内容.我很难找到相关的资源,如果你知道某个搜索关键字,请告诉我,我会自己做研究.
这个问题的答案表明我们可以在Android上使用可靠而精确的节拍器AudioTrack.我们可以使用MediaPlayer,SoundPool,Thread和Timer为好,但他们总是造成的延迟.AudioTrack我们如何使用自定义音频文件实现相同的效果,而不是使用合成声音?
在清单中使用 adjustPan 会将我的布局推到顶部,并使我的 UI 看起来很可笑。

这是我的 Android 清单:
<activity
android:name=".AddNote"
android:label="@string/title_activity_add_note"
android:windowSoftInputMode="stateVisible|adjustPan">
Run Code Online (Sandbox Code Playgroud)
这是我的 XML 文件:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.dinosaur.cwfei.materialnotes.AddNote">
<include
android:id="@+id/app_bar"
layout="@layout/app_bar_no_spinner" />
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/cardview_margin">
<ScrollView
android:id="@+id/scroll_view"
android:layout_width="fill_parent"
android:layout_height="match_parent"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/activity_vertical_margin"
android:orientation="vertical">
<EditText
android:id="@+id/editTextTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/margin_16"
android:background="@color/transparent"
android:hint="@string/hint_title"
android:textStyle="bold" />
<EditText
android:id="@+id/editTextDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/transparent"
android:hint="@string/hint_note" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginBottom="@dimen/margin_16"
android:layout_marginTop="100dp"
android:background="@color/divider_color" />
</LinearLayout>
</ScrollView>
</android.support.v7.widget.CardView>
</LinearLayout>
Run Code Online (Sandbox Code Playgroud) 我想从范围生成唯一的随机数0 to 999,999.
为了达到这个目的,我试过:
ArrayList<Integer> list = new ArrayList<Integer>();
for (int i = 0; i < 999999; i++) {
list.add(new Integer(i)); // Add numbers from 0 - 999,999 into ArrayList
}
Collections.shuffle(list); // shuffle them
for (int i = 0; i < 10; i++) {
System.out.println(list.get(i)); // printed unique numbers
}
Run Code Online (Sandbox Code Playgroud)
问题是我想要生成的数字越大,花费的时间就越长,对于上述方法,需要花费的时间700ms.
但是,如果我使用Random()生成它们而没有过滤器重复数字,它只需要2ms
for(int i = 0; i<10; i++) {
int digit = 0 + new Random().nextInt((999999 - 0) + 1);
System.out.println(digit);
} …Run Code Online (Sandbox Code Playgroud)