org.appcelerator.kroll.annotations
Annotation Type Kroll.onAppCreate


@Documented
@Retention
@Target
public static @interface Kroll.onAppCreate

A special module method that gets called when the application's onCreate is called (before the first Activity is started). Methods with this annotation must be public, static, and accept a single argument of the type TiApplication. Examples:

 @Kroll.onAppCreate
 public static void onAppCreate(TiApplication app)
 {
     // do something with app
 }
 



Copyright © 2010-2012 Appcelerator, Inc. Licensed under the Apache License 2.0