mirror of
https://github.com/ethauvin/android-about-box.git
synced 2025-04-25 10:47:10 -07:00
Added AboutBox library source code. Implemented IAnalytic and IDialog interfaces for custom usage.
This commit is contained in:
parent
8a88eb2217
commit
8b28ebfb79
56 changed files with 1296 additions and 0 deletions
|
@ -0,0 +1,49 @@
|
|||
package com.eggheadgames.aboutbox;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class AboutConfig {
|
||||
|
||||
public enum BuildType {AMAZON, GOOGLE}
|
||||
|
||||
private static AboutConfig aboutConfig;
|
||||
|
||||
public static AboutConfig getInstance() {
|
||||
if (aboutConfig == null) {
|
||||
aboutConfig = new AboutConfig();
|
||||
}
|
||||
return aboutConfig;
|
||||
}
|
||||
|
||||
// general info
|
||||
public String appName;
|
||||
public int appIcon;
|
||||
public String version;
|
||||
public String aboutLabelTitle;
|
||||
public String logUiEventName;
|
||||
public String facebookUserName;
|
||||
public String twitterUserName;
|
||||
public String webHomePage;
|
||||
public String appPublisher;
|
||||
public String companyHtmlPath;
|
||||
public String privacyHtmlPath;
|
||||
public String acknowledgmentHtmlPath;
|
||||
public BuildType buildType;
|
||||
|
||||
public Context context;
|
||||
|
||||
// custom analytics and dialog
|
||||
public IAnalytic analytics;
|
||||
public IDialog dialog;
|
||||
|
||||
// email
|
||||
public String emailAddress;
|
||||
public String emailSubject;
|
||||
public String emailBody;
|
||||
|
||||
// share
|
||||
public String shareMessageTitle;
|
||||
public String shareMessage;
|
||||
public String sharingTitle;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue