package com.example.helpstackexample;

import android.app.Application;

import com.tenmiles.helpstack.HSHelpStack;
import com.tenmiles.helpstack.gears.HSZendeskGear;



public class HSApplication extends Application{

	HSHelpStack helpStack;

	@Override
	public void onCreate() {
		super.onCreate();

		helpStack = HSHelpStack.getInstance(this);

//		HSEmailGear emailGear = new HSEmailGear( "example@happyfox.com",R.xml.articles);
//		helpStack.setGear(emailGear);


		/* Uncomment the following to use the Happyfox gear with appropriate support email address */
		//		HSHappyfoxGear happyfoxGear = new HSHappyfoxGear("https://example.happyfox.com", 
		//				"<Your API Key>",
		//				"<Your Auth Code>", 
		//				"<Category ID>", "<Priority ID>");
		//		helpStack.setGear(happyfoxGear);

		HSZendeskGear zenDeskGear = new HSZendeskGear(
				"https://2robots1.zendesk.com/",
				"anirudh24seven@gmail.com",
				"WIgGdsweOaIlM1Ml50D9g3ejkFIFvBbKtlVF5MCK");
		helpStack.setGear(zenDeskGear);

//		HSDeskGear deskGear = new HSDeskGear(
//				"https://2robots2.desk.com/",
//				"anirudh.24seven@gmail.com",
//				"anirudh.24seven@gmail.com",
//				"Temppassword123$");
//		helpStack.setGear(deskGear);
	}
}

@@ -108,16 +108,65 @@
 pStack;%0A
+import com.tenmiles.helpstack.gears.HSEmailGear;%0A
 import c
@@ -208,16 +208,16 @@
 skGear;%0A
-
 %0A%0A%0Apubli
@@ -385,26 +385,24 @@
 nce(this);%0A%0A
-//
 %09%09HSEmailGea
@@ -472,18 +472,16 @@
 icles);%0A
-//
 %09%09helpSt
@@ -832,418 +832,8 @@
 );%0A%0A
-%09%09HSZendeskGear zenDeskGear = new HSZendeskGear(%0A%09%09%09%09%22https://2robots1.zendesk.com/%22,%0A%09%09%09%09%22anirudh24seven@gmail.com%22,%0A%09%09%09%09%22WIgGdsweOaIlM1Ml50D9g3ejkFIFvBbKtlVF5MCK%22);%0A%09%09helpStack.setGear(zenDeskGear);%0A%0A//%09%09HSDeskGear deskGear = new HSDeskGear(%0A//%09%09%09%09%22https://2robots2.desk.com/%22,%0A//%09%09%09%09%22anirudh.24seven@gmail.com%22,%0A//%09%09%09%09%22anirudh.24seven@gmail.com%22,%0A//%09%09%09%09%22Temppassword123$%22);%0A//%09%09helpStack.setGear(deskGear);%0A
 %09%7D%0A%7D

Change default HSApplication