Giter Club home page Giter Club logo

android-sample's Introduction

Instabug Sample

An in-depth journey depicting all the ways to use Instabug Android SDK.

For more information about Instabug check our website.

Usage

Using Instabug is as easy as "Get ready, Get set, Go".

  1. Determining which Instabug flavour to use (Getting ready)

    • If your minSdkVersion is 14+:

      Use instabug flavour

    • If your minSdkVersion is 10+:

      • If you're using Google support libraries (com.android.support:*):

        Use instabugcompat flavour

      • If you're using ActionBarSherlock:

        Use instabugabs flavour

  2. Adding Instabug to your dependencies (Getting set)

    Grab your desired flavour via Gradle:

        compile 'com.instabug.library:instabug:2.3'

    or

        compile 'com.instabug.library:instabugcompat:2.3'

    or

        compile 'com.instabug.library:instabugabs:2.3'

    or via Maven: (if you're that kind of person :bowtie:)

        <dependency>
          <groupId>com.instabug.library</groupId>
          <artifactId>instabug</artifactId>
          <version>2.3</version>
        </dependency>

    or

        <dependency>
          <groupId>com.instabug.library</groupId>
          <artifactId>instabugcompat</artifactId>
          <version>2.3</version>
        </dependency>

    or

        <dependency>
          <groupId>com.instabug.library</groupId>
          <artifactId>instabugabs</artifactId>
          <version>2.3</version>
        </dependency>
  3. Using Instabug (Good to go!)

    • Initializing Instabug:

      In your Application class add the following:

              @Override
              public void onCreate() {
                  super.onCreate();
                  // ...
                  new Instabug.Builder(this, "<YOUR_APP_TOKEN>")
                          .setInvocationEvent(IBGInvocationEvent.IBGInvocationEventFloatingButton)
                          .build();
                  // ...
              }
      
    • Extending Instabug Activities:

      ONLY if your minSdkVersion is 10+ should you extend Instabug*Activity

      • If you're using instabugcompat:
        • InstabugAppCompatActivity: extends android.support.v7.app.AppCompatActivity
        • InstabugActionBarActivity: extends android.support.v7.app.ActionBarActivity
        • InstabugActivity: extends android.app.activity
        • InstabugFragmentActivity: extends android.support.v4.app.FragmentActivity
        • InstabugExpandableListActivity: extends android.app.ExpandableListActivity
        • InstabugListActivity: extends android.app.ListActivity
        • InstabugPreferenceActivity: extends android.preference.PreferenceActivity
      • If you're using instabugabs:
        • InstabugSherlockActivity: extends com.actionbarsherlock.app.SherlockActivity
        • InstabugSherlockFragmentActivity: extends com.actionbarsherlock.app.SherlockFragmentActivity
        • InstabugSherlockExpandableListActivity: extends com.actionbarsherlock.app.SherlockExpandableListActivity
        • InstabugSherlockListActivity: extends com.actionbarsherlock.app.SherlockListActivity
        • InstabugSherlockPreferenceActivity: extends com.actionbarsherlock.app.SherlockPreferenceActivity

For technical documentation and FAQs check the wiki

License

Copyright 2012 Instabug, Inc.

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.

android-sample's People

Contributors

mzsoliman avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.