使用LVL检查Android许可证-将代码放入run()方法或其他地方

使用LVL检查Android许可证-将代码放入run()方法或其他地方,android,Android,我计划在我的新付费应用程序中使用Android许可证验证库(LVL) 我正在使用SDK中提供的示例代码。是否需要将当前在onCreate()方法中的代码移动到此run()方法: 谢谢。非常感谢您的帮助。请查看LVL上的IO会话 private void displayResult(final String result) { mHandler.post(new Runnable() { public void run() { ***// Move

我计划在我的新付费应用程序中使用Android许可证验证库(LVL)

我正在使用SDK中提供的示例代码。是否需要将当前在onCreate()方法中的代码移动到此run()方法:


谢谢。非常感谢您的帮助。

请查看LVL上的IO会话

private void displayResult(final String result) {
    mHandler.post(new Runnable() {
        public void run() {
            ***// Move code that was in onCreate() here????***
        }
    });
}