Android许可证检查使用LVL -把你的代码在run()方法或其他地方



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

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

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

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

看看LVL上的IO会话http://www.google.com/events/io/2011/sessions/evading-pirates-and-stopping-vampires-using-license-verification-library-in-app-billing-and-app-engine.html

最新更新