Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishna Vemulavada
/
vera_2.1_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4c9f3325
authored
Sep 30, 2019
by
Simhachalam ch
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
integrated appcenter analytics
parent
0b9ca7bc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
app/build.gradle
app/src/main/java/com/vsoft/vera/ui/SplashScreen.java
app/build.gradle
View file @
4c9f3325
...
...
@@ -78,6 +78,8 @@ android {
}
dependencies
{
def
appCenterSdkVersion
=
'2.3.0'
implementation
fileTree
(
include:
[
'*.jar'
],
dir:
'libs'
)
implementation
'com.android.volley:volley:1.1.+'
...
...
@@ -85,6 +87,9 @@ dependencies {
exclude
group:
'com.android.support'
}
implementation
"com.microsoft.appcenter:appcenter-analytics:${appCenterSdkVersion}"
implementation
"com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}"
implementation
'com.android.support:design:28.0.0'
implementation
'com.android.support:support-annotations:28.0.0'
implementation
'android.arch.lifecycle:extensions:1.1.1'
...
...
app/src/main/java/com/vsoft/vera/ui/SplashScreen.java
View file @
4c9f3325
...
...
@@ -15,11 +15,15 @@ import com.androidquery.callback.AjaxStatus;
import
com.bumptech.glide.Glide
;
import
com.bumptech.glide.request.target.SimpleTarget
;
import
com.bumptech.glide.request.transition.Transition
;
import
com.microsoft.appcenter.AppCenterService
;
import
com.microsoft.appcenter.analytics.Analytics
;
import
com.vsoft.vera.AppConfig
;
import
com.vsoft.vera.R
;
import
org.json.JSONException
;
import
org.json.JSONObject
;
import
com.microsoft.appcenter.AppCenter
;
import
com.microsoft.appcenter.crashes.Crashes
;
import
butterknife.ButterKnife
;
...
...
@@ -37,6 +41,10 @@ public class SplashScreen extends Activity {
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
// TODO Auto-generated method stub
super
.
onCreate
(
savedInstanceState
);
AppCenter
.
start
(
getApplication
(),
"f7408b15-e0d4-4157-ab67-8bb5ba833bdb"
,
Analytics
.
class
,
Crashes
.
class
);
requestWindowFeature
(
Window
.
FEATURE_NO_TITLE
);
setContentView
(
R
.
layout
.
splash_screen
);
mainLayt
=
(
LinearLayout
)
findViewById
(
R
.
id
.
splash_main_lyt
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment