Contact Activities are designed to make it easy for users of your app to get in touch with you. You can decide what contact details to make available, but for the best results, give your users as many choices as possible. Choose from Phone, Email, Website and Address - each is interactive! Users can also easily add your information to their contacts with a single click.
To add a Contact activity to your project: start editing your project and go to the Activities tab. Under 'Your App Activities' click the + Add an Activity button and select Contact from the list.
Now let's take a look at the Contact Activity settings.
The name that you want to give your activity. This will appear on the dashboard and on the Action bar. It can be whatever you want but should probably describe what it is used for. For example "Contact Us".
A few words describing this activity. This text may be displayed on the dashboard as a subtitle when it's Show Subtitle Text setting is enabled.
This is a relative index that controls the order of the activities in your application. The position will effect where your activity is displayed on the dashboard and in the action bar drop down. For more information on this setting please read: How to change the order of the icons on the dashboard.
Whether or not this activity will be included in the app. This may be useful if you're creating different versions of your app that you want to contain different content.
When selected, this activity won't show on the dashboard or any navigation drop-downs. You can still access this activity from an HTML-based activity using it's Activity URL. For more information, refer to the topic Linking to Another Activity.
This is where you can select the icon that will be used to represent this activity on the dashboard. Click the 'Browse' button to select an image file.
This is used for the main heading. It can be your name, your company name or however you'd like to identify yourself. This value is optional.
The contact email address to display. For example, email@example.com. Users can press the icon to the right of the email address to initiate an email message using the end user's chosen email client. This value is optional.
The URL of your personal or company website. For example, http://www.andromo.com. Users can press the icon to the right of the URL to open it in the Android browser. This value is optional.
The street address for you or your company as you would like it to appear. For example:
505 North Michigan Ave,
Chicago, IL 60611
Users can press the icon to the right of the address to show the location on a map. This value is optional.
A map preview of the location that was found for the given street address.
The header image you want to show. When viewed in portrait, this image is shown at the top of the activity filling its width, and is cropped if it exceeds a ratio of approximately 2:1. When viewed in landscape, this image is shown in the upper left hand corner with the text to the right of it. While smaller resolution images are supported, for best results on all device sizes, we recommend using an image with a width of at least 800 pixels, however 1200 pixels is optimal. Click the 'Browse' button to select an image file.
Up to four optional contact telephone numbers for you or your company. A variety of formats are supported, however we recommend you include the country code such as: 1-212-555-1234. Users can press the icon to the right of each displayed telephone number to open it in the phone dialer. Each telephone number is optional.
Each telephone number has a corresponding type label. If one of the available types doesn't describe your number, you can select 'OTHER/CUSTOM' to specify a custom label.
The text for any additional information you'd like to show at
the bottom of the page such as hours of operation, where to park,
etc. This text area also supports the addition of the following
HTML markup tags,
<b>, <i>, <u>.
Text containing URLs, email addresses, and telephone numbers will
also be automatically converted to hyperlinks. The text color used
for this text is the 'Primary Text' color on the 'Styles' tab. This
value is optional.
The unique reference URL for this activity that can be used for linking to it. For an example of it's usage, refer to the topic Linking to Another Activity.