Back to project page android-gear.
The source code is released under:
MIT License
If you think the Android project android-gear listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.androidgear.core.dialog; /*w ww.ja v a 2s .co m*/ import android.app.Activity; public class AndroidDialogFactory extends DialogFactory { private Activity activity; @Override protected Dialog buildInstance() { return new AndroidDialog(activity); } public void setActivity(Activity activity) { this.activity = activity; } }