English 中文(简体)
但如果用户不接受术语,则终止适用
原标题:Button to close application if user does not accept terms
  • 时间:2012-04-12 20:02:17
  •  标签:
  • java
  • android

我在网上搜寻,以解决这一问题。

我说,我是一位新来的人,因此请与我在一起。

我的申请要求用户同意我所创造的一项活动。 我接受并取消纽芬兰语,当时接受的纽芬兰语将数据储存在共同参考书内,以表示接受。

我的问题在于取消纽伦。 如果我使用方言,而不是使用方言,那么它会随着时间的推移而进行罚款;但是,如果我利用取消的国子来结束这一活动,则会进入其他部分。

告诉我,如果用户不接受EULA,那么应该关闭该表的最佳方式是什么。

最佳回答

在您的活动中使用Result,将数据退回到以往的活动中,然后在您以前的活动中使用onActativeResult,以检查用户是否在AcceptCancel,并相应使用finish(>)。

问题回答

杀害复制的最佳方法是:android.os.Process(android.os.Process.Process.myPid()





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签