Skip to content

Commit e8471c3

Browse files
author
attdevsupport
committed
Ads Reload Issue Fix and OAuth 3.0 Updates
1 parent ea68403 commit e8471c3

File tree

79 files changed

+9151
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+9151
-0
lines changed

Android/ADS/.classpath

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
4+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
5+
<classpathentry exported="true" kind="lib" path="libs/adsapi.jar"/>
6+
<classpathentry kind="src" path="src"/>
7+
<classpathentry kind="src" path="gen"/>
8+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
9+
<classpathentry kind="output" path="bin/classes"/>
10+
</classpath>

Android/ADS/.project

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>AdsSample</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
</natures>
33+
</projectDescription>

Android/ADS/AndroidManifest.xml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.att.ads.sample"
4+
android:versionCode="1"
5+
android:versionName="1.0" >
6+
7+
<uses-sdk android:minSdkVersion="8"
8+
android:targetSdkVersion="8"/>
9+
<uses-permission android:name="android.permission.INTERNET" />
10+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
11+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
12+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
13+
14+
15+
<application
16+
android:name=".AdsApplication"
17+
android:icon="@drawable/ic_launcher"
18+
android:label="@string/app_name" >
19+
<activity
20+
android:name=".SplashActivity"
21+
android:configChanges="keyboardHidden|orientation"
22+
android:screenOrientation="portrait">
23+
<intent-filter>
24+
<action
25+
android:name="android.intent.action.MAIN" />
26+
<category
27+
android:name="android.intent.category.LAUNCHER" />
28+
</intent-filter>
29+
</activity>
30+
<activity
31+
android:name=".AdsMainActivity"
32+
android:label="@string/app_name"
33+
android:screenOrientation="portrait" >
34+
</activity>
35+
<activity
36+
android:name=".AdsViewActivity"
37+
android:label="@string/app_name" >
38+
</activity>
39+
<activity
40+
android:name=".SettingsViewActivity"
41+
android:label="@string/app_name" >
42+
</activity>
43+
<activity
44+
android:name="com.att.ads.sample.ResponseActivity"
45+
android:label="@string/app_name" >
46+
</activity>
47+
</application>
48+
49+
</manifest>

Android/ADS/README

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Sample Android code for AT&T Speech API.
2+
3+
Please read the documentation for setting up the sample app to run.
4+
5+
1. Need access to ATT developer site and download the sdk zip files from there.
6+
2. Register an application in the developer site and the access and secret key will be generated and that needs to be added to the Sample apps.
7+
8+
Beta Library Version Contains the following Changes:
9+
10+
1. JSON Exception Error(Auth API Spike violation issue handled properly).
11+
2. Key Decryption Issue Fix(Now the library can run on 4.2 and above device also).
12+
3. ADS setReloadPeriod is defaulted to Minimum of 30 seconds(if the application tries to set the reload period less than 30 seconds SDK will override that to 30 seconds).
13+
4. ADS cropped issue(In the application while setting the SetlayoutParams(), use the pixels instead of dp value, i.e px = dp*(dpi/160) or specify the height to webview in dp+(dp/2)).
14+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<!--NewPage-->
3+
<HTML>
4+
<HEAD>
5+
<!-- Generated by javadoc (build 1.6.0_22) on Thu Oct 18 15:48:11 GMT+05:30 2012 -->
6+
<TITLE>
7+
All Classes
8+
</TITLE>
9+
10+
<META NAME="date" CONTENT="2012-10-18">
11+
12+
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13+
14+
15+
</HEAD>
16+
17+
<BODY BGCOLOR="white">
18+
<FONT size="+1" CLASS="FrameHeadingFont">
19+
<B>All Classes</B></FONT>
20+
<BR>
21+
22+
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
23+
<TR>
24+
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="com/att/ads/sample/AdsApplication.html" title="class in com.att.ads.sample" target="classFrame">AdsApplication</A>
25+
<BR>
26+
<A HREF="com/att/ads/sample/AdsEncryptDecrypt.html" title="class in com.att.ads.sample" target="classFrame">AdsEncryptDecrypt</A>
27+
<BR>
28+
<A HREF="com/att/ads/sample/AdsMainActivity.html" title="class in com.att.ads.sample" target="classFrame">AdsMainActivity</A>
29+
<BR>
30+
<A HREF="com/att/ads/sample/AdsViewActivity.html" title="class in com.att.ads.sample" target="classFrame">AdsViewActivity</A>
31+
<BR>
32+
<A HREF="com/att/ads/sample/GPSListener.html" title="class in com.att.ads.sample" target="classFrame">GPSListener</A>
33+
<BR>
34+
<A HREF="com/att/ads/sample/OnLocationInitialized.html" title="interface in com.att.ads.sample" target="classFrame"><I>OnLocationInitialized</I></A>
35+
<BR>
36+
<A HREF="com/att/ads/sample/ResponseActivity.html" title="class in com.att.ads.sample" target="classFrame">ResponseActivity</A>
37+
<BR>
38+
<A HREF="com/att/ads/sample/SettingsViewActivity.html" title="class in com.att.ads.sample" target="classFrame">SettingsViewActivity</A>
39+
<BR>
40+
</FONT></TD>
41+
</TR>
42+
</TABLE>
43+
44+
</BODY>
45+
</HTML>
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<!--NewPage-->
3+
<HTML>
4+
<HEAD>
5+
<!-- Generated by javadoc (build 1.6.0_22) on Thu Oct 18 15:48:11 GMT+05:30 2012 -->
6+
<TITLE>
7+
All Classes
8+
</TITLE>
9+
10+
<META NAME="date" CONTENT="2012-10-18">
11+
12+
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
13+
14+
15+
</HEAD>
16+
17+
<BODY BGCOLOR="white">
18+
<FONT size="+1" CLASS="FrameHeadingFont">
19+
<B>All Classes</B></FONT>
20+
<BR>
21+
22+
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
23+
<TR>
24+
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="com/att/ads/sample/AdsApplication.html" title="class in com.att.ads.sample">AdsApplication</A>
25+
<BR>
26+
<A HREF="com/att/ads/sample/AdsEncryptDecrypt.html" title="class in com.att.ads.sample">AdsEncryptDecrypt</A>
27+
<BR>
28+
<A HREF="com/att/ads/sample/AdsMainActivity.html" title="class in com.att.ads.sample">AdsMainActivity</A>
29+
<BR>
30+
<A HREF="com/att/ads/sample/AdsViewActivity.html" title="class in com.att.ads.sample">AdsViewActivity</A>
31+
<BR>
32+
<A HREF="com/att/ads/sample/GPSListener.html" title="class in com.att.ads.sample">GPSListener</A>
33+
<BR>
34+
<A HREF="com/att/ads/sample/OnLocationInitialized.html" title="interface in com.att.ads.sample"><I>OnLocationInitialized</I></A>
35+
<BR>
36+
<A HREF="com/att/ads/sample/ResponseActivity.html" title="class in com.att.ads.sample">ResponseActivity</A>
37+
<BR>
38+
<A HREF="com/att/ads/sample/SettingsViewActivity.html" title="class in com.att.ads.sample">SettingsViewActivity</A>
39+
<BR>
40+
</FONT></TD>
41+
</TR>
42+
</TABLE>
43+
44+
</BODY>
45+
</HTML>

0 commit comments

Comments
 (0)