E Vehicle Android General - 6 Flashcards

1
Q

What is the solution you should try if your android project doesn’t run and this is the error?:

Cause: unable to find valid certification path to requested target

A

If on the VPN, turn off the VPN and try it again

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Between Final Check In and Condition, which one\s use MVVM archeticute?

A

Final Check In does, Condition does not.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you pronounce gennymotion and what is it?

A

Jenny-Motion.

It is an Android emulator that is an alternative to the one that Android Studio ships with. Many Android developers prefer it over the Android Studio option.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

If you are trying to build and you are getting metadata errors that say google in the name, what is a possible solution?

A

If you are on it, log off of the network (VPN) and retry.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When do the following events happen?

PR Build

Black Duck Scan

CI (Jenkins) Build

A

PR Builder runs when the code it pushed to Bitbucket.

The Black Duck scan is part of the PR Builder, thus it happens when the code is pushed to Bitbucket.

The CI job runs when the PR is merged.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the steps for using condition via Vehicle Switch Out (VSO)?

A

Use the open app

Go to Ticket Search

Search for a vehicle

Alternatively:

It may be easier to search by last name “DIAZ”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the easy way to find a vehicle via open or close?

In close, what should you do if you keep getting an exception while trying to selecting a vehicle?

A

Search by name using the last name “DIAZ”

In close, you may have to change your location to 0523

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When making calls via retrofit and EHI is blocking it. What is something you can try to fix it?

A

From the tablet, go to any webpage and sign in.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In terms of wear and tear damage in condition, what is claimable and what is not?

A

If not wear and tear - it is claimable.

If it is wear and tear damage - it is not claimable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the condition and final check in version number for the following?…

DEC2019

JAN202

FEB2020

MARCH2020

A

DEC2019 = 3.4.0

JAN202 = 3.5.0

FEB2020 = 3.6.0

MARCH2020 = 3.7.0

APRIL2020 = 3.8.0

MAY2020 = 3.9.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Simply put, what does ProGuard do?

A

It “shrinks” your app to make your app as small as possible by using

obfuscation, which shortens the names of your app’s classes and members, and optimization, which applies more aggressive strategies to further reduce the size of your app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

If you have a CI job that is failing due to ProGuard issues, what is a possible solution?

A

In the proguard rules file, add ‘keep’ and/or ‘keep name’ or ‘dont warn’ commands.

This will prevent those files or classes from being “shrunk” by proguard.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Simply, what is a controllingGroupBranch?

A

A controlling group branch is the branch that actually owns the vehicle. This is often times different than the groupbranch where the vehicle is physically at.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In Condition and Final Check In, what should never be null?

A

Session

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In Condition and Final Check In, should session ever be null?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What device uses close and what device uses quickclose?

A

The tablet uses close and the zerba uses quickclose.

17
Q

What is the command to checkout a remote branch?

What will happen?

A

git checkout

This will create a local copy of the remote branch and give it the same name.

18
Q

What is the shortcut to go to a line in Android Studio / IntelliJ?

A

cmnd + L

19
Q

What do we use at enterprise to format our code?

A

Google formatter

20
Q

What is the naming convention for tests that we use on the Android Vehicle team?

A

testMethodName_ExpectedBehavior_WhenCondtionBlahBlah

21
Q

What does FTE stand for?

A

Full Time Employee

22
Q

What is a SME?

A

Subject Manager Expert

23
Q

What is the intelliJ and android studio mac shortcut to surround selected text in a statement such as an if statement, for loop, try/catch, etc?

A

alt + cmnd + t

24
Q

What is the very useful tool in Android Studio that allows you to inspect any layout that is on the screen of your device or emulator?

A

Tools > Layout Inspector

25
Q

Why is it a good idea to keep logic out of your activities?

A

Because the less logic you have in your activities, the easier it is to test it because testing activities is a pain. If your logic is elsewhere, you can test it with a regular unit test.

26
Q

Where in our vehicle apk code is the code for jenkins pipelines?

How do you get to it?

A

It is in pipeline.json

You can get to it by double shifting search for pipeline and to see the file structure you have to change the project pane to be project view.