E Vehicle Android General - 6 Flashcards
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
If on the VPN, turn off the VPN and try it again
Between Final Check In and Condition, which one\s use MVVM archeticute?
Final Check In does, Condition does not.
How do you pronounce gennymotion and what is it?
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.
If you are trying to build and you are getting metadata errors that say google in the name, what is a possible solution?
If you are on it, log off of the network (VPN) and retry.
When do the following events happen?
PR Build
Black Duck Scan
CI (Jenkins) Build
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.
What are the steps for using condition via Vehicle Switch Out (VSO)?
Use the open app
Go to Ticket Search
Search for a vehicle
Alternatively:
It may be easier to search by last name “DIAZ”
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?
Search by name using the last name “DIAZ”
In close, you may have to change your location to 0523
When making calls via retrofit and EHI is blocking it. What is something you can try to fix it?
From the tablet, go to any webpage and sign in.
In terms of wear and tear damage in condition, what is claimable and what is not?
If not wear and tear - it is claimable.
If it is wear and tear damage - it is not claimable.
What is the condition and final check in version number for the following?…
DEC2019
JAN202
FEB2020
MARCH2020
DEC2019 = 3.4.0
JAN202 = 3.5.0
FEB2020 = 3.6.0
MARCH2020 = 3.7.0
APRIL2020 = 3.8.0
MAY2020 = 3.9.0
Simply put, what does ProGuard do?
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.
If you have a CI job that is failing due to ProGuard issues, what is a possible solution?
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.
Simply, what is a controllingGroupBranch?
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.
In Condition and Final Check In, what should never be null?
Session
In Condition and Final Check In, should session ever be null?
No
What device uses close and what device uses quickclose?
The tablet uses close and the zerba uses quickclose.
What is the command to checkout a remote branch?
What will happen?
git checkout
This will create a local copy of the remote branch and give it the same name.
What is the shortcut to go to a line in Android Studio / IntelliJ?
cmnd + L
What do we use at enterprise to format our code?
Google formatter
What is the naming convention for tests that we use on the Android Vehicle team?
testMethodName_ExpectedBehavior_WhenCondtionBlahBlah
What does FTE stand for?
Full Time Employee
What is a SME?
Subject Manager Expert
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?
alt + cmnd + t
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?
Tools > Layout Inspector
Why is it a good idea to keep logic out of your activities?
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.
Where in our vehicle apk code is the code for jenkins pipelines?
How do you get to it?
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.