Once your Android app is running the compiled App Pile code, make changes as you
normally would with any other Android Stuido project. For your convenience, App
Pile creates a static application class which will help you quickly implement routine
Android functions like sending email, SMS messaging, making phone calls & more!
Below is an overview of these functions. Your static cl ass will be named static_yourAppName.java.
Click here for instructions on uploading your project.
Web View Url
Gets and Sets the web view url used by the Java Class apWebView.java. **Manually
set the value for private static String api_host = "";
Get Example: static_yourAppName.WebViewUrl(); (Returns String) Set Example: static_yourAppName.SetWebViewUrl(String "http://www.apppile.com");
Api Settings
Gets and Sets the api host and auth token used by the Java Class AppPileHttpHelper.java.
Get Example: static_yourAppName.ApiTokenKey(); (Returns String) Get Example: static_yourAppName.GetAuthToken(Context ctx);
(Returns
String)
Set Example: static_yourAppName.SetAuthToken(Context ctx, String
resp.token);
Image Management
Manage your images using cache. Prevent unnecessary web requests.
Get Example: static_yourAppName.AddImage(String userObj.imageUrl,
Bipmap userObj.image); (Returns String) Set Example: static_yourAppName.GetImageByUrl(String userObj.imageUrl);
(Returns Bitmap)
Kvp Store
Get & Set user defined string values by key
Get Example: static_yourAppName.GetFromStore(String "userRolesJson");
(Returns String) Set Example: static_yourAppName.AddToStore(String "userRolesJson",
String userObj.roleJson); (Returns String)
Phone Intent
Open the phone dialer with a preloaded phone number.
Example: static_yourAppName.LaunchPhoneIntent(Context ctx, String
userObj.cell);
Email Intent
Open the email client selector with preloaded email address.
Example: static_yourAppName.LaunchEmailIntent(Context ctx, String
userObj.email);
SMS Messaging
Open the SMS client selector with preloaded phone number.
Example: static_yourAppName.LaunchSmsIntent(Context ctx, String
userObj.cell);
Toast Message
Display toast message in your app.
Example: static_yourAppName.ShowToast(Context ctx, String "Alert",
String "You have a message!");
® 2023 App Pile, Inc
This site does not collect or share any
personal data using cookies or any other means.View Our Cookie Policy