• Stars
    star
    215
  • Rank 183,925 (Top 4 %)
  • Language
    Java
  • Created about 12 years ago
  • Updated about 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RoboDemo is a ShowCase library for Android to demonstrate to users how a given Activity works.

RoboDemo

RoboDemo is a ShowCase library for Android to demonstrate to users how a given Activity works.

A sample is available in the download area of the repository.

RoboDemo is not maintained anymore. It works but you may find more convenient to use a maintained library in : https://github.com/amlcurran/ShowcaseView

Screenshots

Here is an example (from the sample application) :

Activity under showcase   Activity showcase animation step 1   Activity showcase animation step 2

From left to right :

  1. activity under show case
  2. activity showcase, first step of animation
  3. activity showcase, second & final step of animation

Overview

There are some cases where applications require more complex interactions from users, or new interactions not covered by Android UI Guidelines.

RoboDemo eases creating showcases / explaining / demonstrating of such activities to users. It will display an overlay activity to illustrate the Activity under showcase. The explanations consist of a serie of points to click on and their associated labels. The Activity under showcase is dimmed and the showcase highlights transparent areas to point views or positions users have to click.

Creation of DemoActivity is straightforward, have a look at the sample to put in place RoboDemo in your own app :

  1. create a DemoActivity, using a custom DrawAdapter
  2. in the Activity undershowcase, pass views or coordinates and their associated labels.

RoboDemo has been designed to be convinient.

To learn more, visit RoboDemo Starter Guide and browse RoboDemo Javadocs online.

Customization

RoboDemo can be customized in different ways :

  • using a custom drawable
  • using transparency or not to highlight the areas to click on
  • using custom Paint to render labels, and the area under labels
  • using custom drawable and text locations
  • and some more for sure...

To learn more, visit RoboDemo Starter Guide and browse RoboDemo Javadocs online.

Know limitations

The base class for DemoActivity is based on android.app.Activity. Unfortunately, this can't cover all inheritance cases for projects based on ActionBarSherlock or RoboGuice or a custom Activity base class per project.

In that case, we recommend using all classes from the library as well but rewrite your own DemoActivity changing only its super class.

In the case you use ActionBarSherlock, check the code comments, they will give you hints to support ActionBarSherlock themes.

Modules

  • a library that can be used inside Eclipse (with or without m2e)
  • a sample application

Configuration

  • In maven : just deploy the library in your nexus, and copy sample configuration
  • In Eclipse :
    • Without m2e : unzip the library in the same workspace as your project, and use the library as an android library
    • With m2e : unzip the library in the same workspace as your project, and copy dependencies in the pom.xml file of the sample

License

Copyright 2012 Stéphane NICOLAS

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

History

RoboDemo has been initiated during a project for Octo Technology as we implemented an Activity in which user had to move files in the filesystem. This kind of interaction is finally unusual in android and almost every file explorer app uses its custom workflow to achive it.

We decided to implement some kind of tutorial to explain our idea (basically, inspired from OI File Manager).

We asked a question about it on Stack Over Flow and were redirected to Espiandev / ShowcaseView. We finally decided to use our own solution, and it became a lib in September 2012 : RoboDemo.

Alternative

You can also visit Espiandev / ShowcaseView. This project is mature and clean as well. It provides a "native" feeling of tutorial for apps.

RoboDemo in the News !!

More Repositories

1

robospice

Repo of the Open Source Android library : RoboSpice. RoboSpice is a modular android library that makes writing asynchronous long running tasks easy. It is specialized in network requests, supports caching and offers REST requests out-of-the box using extension modules.
Java
2,946
star
2

Quality-Tools-for-Android

Java
1,266
star
3

toothpick

A scope tree based Dependency Injection (DI) library for Java / Kotlin / Android.
Java
1,123
star
4

boundbox

BoundBox provides an easy way to test an object by accessing all its fields, constructor and methods, public or not. BoundBox breaks encapsulation.
Java
229
star
5

loglifecycle

Logs all lifecycle methods of annotated Activities, Fragments, Services, Views, etc.
Java
206
star
6

reflection-no-reflection

A proof on concept to create an API that is 100% compatible reflection API, but without any reflection. Performance stuff for Android and Java.
Java
130
star
7

ormlite-android-gradle-plugin

A Gradle plugin for Android to generate an ORMLite configuration file and boost DAOs creations.
Java
102
star
8

morpheus

An Android gradle plugin to transform classes via javassist.
Java
80
star
9

afterburner

A library to help other librairies getting rid of boiler plate via byte code manipulation. Works on Android too.
Java
74
star
10

injectextra

Injects everything passed by extra to an activity automatically.
Java
26
star
11

androidstudio4maccheatsheet

Most useful keyboard shortcuts with default keymap in Android Studio.
23
star
12

mimic

Mimicing is, indeed, kind of way to bypass java single inheritance paradigm. It allows to copy all declared fields, constructors and methods in a given class into another class.
Java
19
star
13

activtity-fragment-lambda

Example of how to use lambdas to communicate between Fragments and Activities
Java
17
star
14

injectview

On Android, Injects all views inflated from XML automatically. No boiler plate at all.
Java
17
star
15

injects

This repo is a control center for the injects projects.
9
star
16

injectresource

Inject resources automatically on Android.
Java
8
star
17

javassist-build-plugin-api

A unified API to create class transformers based on javassist during maven and gradle builds.
Java
7
star
18

TypedAdapter

Object Oriented android list view adapter(s) using generics to display given Pojos.
Java
5
star
19

google-guice

A fork of Google Guice to allow RoboGuice to go faster at startup.
Java
3
star
20

zest-android

Sample app to demonstrate roboguice usage + testing
Java
3
star
21

Dependency-Resources-Linearization

Demonstrate that the linearization of the dependency graph that gives to the order of priority to aapt2 when merging resources is hard to grasp for humans and that we can quickly have problems when scaling the number of modules.
Kotlin
3
star
22

MixedServiceLifeCycle-sample

A sample to demonstrate that a mixed life cycle service (both started and bound) is buggy. Built for a common guy ;)
Java
2
star
23

heatControl

Controls a custom micro controller on a heating system
Kotlin
1
star
24

bugs-instant-execution

Sample project to illustrate instant execution bugs in Android projects
Shell
1
star