Knowledge Base: Activities

  • Activity Toolbar

    Toolbar

    Toolbar Mode

    • Global - Use the Global toolbar settings from the Theme tab of your project.
    • Parent - Use the activity's parent dashboard toolbar settings. These settings are defined in the Toolbar section of the the parent dashboard's properties.
    • Custom - Enables the Custom Toolbar Settings section of settings allowing you to customize the toolbar style for the activity.

    Custom Toolbar Settings

    Toolbar Style

    • Standard - Use a standard toolbar with a solid color background. If a feature image is enabled, it will appear "outside" the toolbar, and will scroll beneath it as the activity contents are scrolled.
    • Compact - Use a compact toolbar. A compact toolbar
  • Activity Images

    Images

    The Images section allows you to provide the images to show on the activity and those that will be used to represent it on it's parent dashboard and navigation drawer.

    Background Image (Where Available) The background image is an optional image that can be shown behind the activity's content (only available on some activity types).

    • None - Don't use a background image.
    • Inherit from theme - Use the theme's background image. The theme is specified by the Theme Mode of the activity.
    • Custom - Enables the Custom Background Image Settings section of settings allowing you to upload a background image for the activity.

    Custom Background

  • Activity Theme

    Theme

    Theme Mode

    • Global - Use the project's Global Theme Settings for the activity. These settings are defined on the "Theme" tab of your project.
    • Parent - Use the activity's parent dashboard theme settings. These settings are defined in the Theme section of the the parent dashboard's properties.
    • Custom - Enables the Custom Theme Colors settings allowing you to choose what colors you want to use on this activity.

    Custom Theme Colors The following settings are available when "Custom" Theme Mode is selected:

    Primary Color The primary color you want to use for the activity. The primary color is generally your app's "branding" color. It is used

  • YouTube Activity

    The YouTube Activity allows you to take video content from YouTube and display it in your Android application. For additional information on getting your YouTube IDs please see the Getting YouTube IDs and Creating a YouTube API Key knowledge base articles.

    Error Codes: If you encounter any error messages/codes in your app while testing, please see the YouTube Activity Error Codes section of this article for a description of the error.

    Note: This activity uses the YouTube Data API v3. All applications must register to obtain the proper authorization credentials. See the "YouTube API Key" setting for further details.

    Adding a YouTube Activity

    To add a

  • Website Activity

    The Website activity is used to display the contents of a website in your application. It is one of the simplest activities, yet it's ability to display web content makes it very powerful.

    Adding a Website Activity

    To add a Website 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 Website from the list.

    Now let's take a look at the Website Activity settings. For the purpose of this article we will use the Andromo blog.

    Settings

    The Website activity contains the following settings.

  • Twitter Activity

    The Twitter Activity allows you to display one of three different twitter timelines. You can choose to: display a specific twitter user's timeline, a timeline from a list, or a timeline based on a search of the most recent public tweets.

    Adding a Twitter Activity

    To add a Twitter 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 Twitter from the list.

    Settings

    Activity Name The name that will be given to your activity. This will appear on the dashboard, toolbar, and navigation drawer.

  • Radio Activity

    The Radio activity allows you to play streaming audio from internet radio stations in your application.

    It's similar to the Audio activity, with additional support for SHOUTcast and Icecast streaming audio.

    Example Screenshot

                 

    Adding a Radio Activity

    To add a Radio 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 SHOUTcast Radio from the list.

    Settings

    Activity Name The name for this activity. This will appear on the dashboard, toolbar, and navigation drawer. It can be whatever you

  • RSS/Atom News Feed

    The RSS Feed activity takes existing syndicated content (or web feeds) from the web and displays it in your application in a way that makes it easy for mobile users to browse and read. Web feeds come in two main formats: RSS and ATOM.

    Andromo supports the following feed versions: RSS 9.0, RSS 1.0, RSS 2.0, and Atom 1.0. Many websites publish feeds in one or more of these formats.

    Example Screenshot

             

    What if I don't have any feeds?

    Chances are you have more feeds that you think you do. If you have an online presence; produce

  • Podcast Activity

    The Podcast activity displays an iTunes Podcast RSS 2.0 feed in your app. It supports streaming audio over the network and downloading episodes for playback offline.

    Example Screenshots

    The Podcast activity displays the feed as a list of episodes.

            

    Tapping on an episode takes you to another activity where the summary/description text is shown.

            

    You can long-press on the Play button for additional options.

              

    You can also interact with the episodes directly from the list.

            

    Adding a Podcast Activity

    To add a Podcast activity

  • Photo Gallery Activity

    Photo Gallery Activities allow you to include photos in your app.

    Example Screenshot

                 

    Adding a Photo Gallery Activity

    To add a Photo Gallery 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 Photo Gallery from the list.

    Now let's take a look at the Photo Gallery Activity settings.

    Settings

    Activity Name The name that you want to give your activity. This will appear on the dashboard, toolbar, and navigation drawer. It can be whatever you want but

  • Phone Activity

    The Phone activity is used to display the phone dialer (if available) filled in with a specific telephone number. This allows users to contact you with a single click.

    Adding a Phone Activity

    To add a Phone 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 Phone from the list.

    Now let's take a look at the Phone Activity settings.

    Settings

    Activity Name The name that you want to give your activity. This will appear on the dashboard and navigation drawer. It can be

  • PDF Activity

    The PDF activity is used to quickly and easily embed a PDF document into your Android application. Your PDF document will be opened external to your app (existence of Adobe Reader app recommended).

    Adding a PDF Activity

    To add a PDF 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 PDF from the list.

    Now let's take a look at the PDF Activity settings.

    Settings

    Activity Name The name that you want to give your activity, this will appear on the dashboard and navigation

  • Map Activity

    The Map Activity lets you display your locations on an interactive map. Your users can then see your address, nearby locations, and even get directions and navigation to your business.

    Adding a Map Activity

    To add a Map 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 Map from the list.

    Settings

    Activity Name The name that you want to give your activity. This will appear on the dashboard, toolbar, and navigation drawer. It can be whatever you want but should probably provide a

  • HTML Archive Activity

    The HTML Archive Activity allows you to display web content (HTML files) by storing HTML files within the application so it can be read directly from the device.

    NOTE: For best results, we recommend adding the following HTML 'meta' tag to the document 'head' of each of your HTML files: <head> <meta name="viewport" content="width=device-width, user-scalable=no" /></head>

    You can find detailed information regarding this tag under Using Viewport Metadata in the Android Developers Guide.

    Content can be as simple as a single HTML file, or a complex directory structure of files and related image resources. Once you've composed what you want to show, simply

  • Google Play Activity

    The Google Play activity is used to create an item on the dashboard that points to an application, or list of applications on Google Play. This allows you to do things such as provide easy access to a paid version of your app, or show other apps you've created.

    Adding a Google Play Activity

    To add a Google Play 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 Google Play from the list.

    Now let's take a look at the Google Play Activity settings.

  • Flickr Activity

    The Flickr Gallery Activity allows you to take your photos from flickr and display them in your Android application. For information on creating flickr feed URLs please see the Flickr Services Documentation and the Flickr Photo Feeds knowledge base article. The preferred feed format is rss_200.

    Example Screenshot

                 

    Adding a Flickr Gallery Activity

    To add a Flickr Gallery 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 Flickr from the list.

    Settings

    Activity Name The name that you want to

  • Facebook activity

    The Facebook activity lets you easily embed a mobile-friendly Facebook page into your app.

    Adding a Facebook Activity

    To add a Facebook 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 Facebook from the list.

    Now let's take a look at the Facebook Activity settings.

    Settings

    Activity Name The name that you want to give your activity. This will appear on the dashboard, toolbar, and navigation drawer. It can be whatever you want but should describe what it is.

    Subtitle A few words describing

  • Email Activity

    The Email activity is used to initiate an email message using the end user's chosen email client with a specific email address, and optional subject and text. This allows users to initiate an email with a single click.

    Adding an Email Activity

    To add an Email 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 Email from the list.

    Now let's take a look at the Email Activity settings.

    Settings

    Activity Name The name that you want to give your activity. This will appear

  • Custom Page Activity

    The Custom Page activity allows you to easily create stylish pages with text and graphics. It's perfect for creating pages like 'About Us', 'Biography', 'Contact Information' etc.

    Adding a Custom Page Activity

    To add a Custom Page 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 Custom Page from the list.

    Settings

    The Custom Page activity has the following settings.

    Activity Name The name that you want to give your activity. This will appear on the dashboard, toolbar, and navigation drawer. This can be

  • Contact Activity

    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.

    Example Screenshot

                 

    Adding a Contact Activity

    To add a Contact activity to your project: start editing your project and go to the Activities tab. Under 'Your App