Skip to content

Instantly share code, notes, and snippets.

View RobertApikyan's full-sized avatar

Robert Apikyan RobertApikyan

  • V-Mobile
  • Armenia, Yerevan
View GitHub Profile
{
"homeTab":true,
"userProfile":true,
"userTimeOffs":true,
"userProjects":true,
"userTasks":true,
"userInterviews":true,
"userTimeOffsCalendar":true,
"userContacts":true,
"birthdays":true,
package com.cargoo.android.api.apiClient.retrofit.services
import com.cargoo.android.models.*
import com.cargoo.android.models.chartWidget.ChartWidgetDetails
import com.cargoo.android.models.chartWidget.CompanyWidget
import com.cargoo.android.models.shipment.ShipmentDetailsResponse
import com.cargoo.android.models.shipment.ShipmentResponse
import com.cargoo.android.requestBodies.ApprovedCompanyId
import com.cargoo.android.requestBodies.CompanySingleAccessBody
import com.cargoo.android.requestBodies.EmptySearchBody
{
"isUpdateAvailable":true,
"updateUrl":"updateUrl"
}
package com.cargoo.android.api.apiClient.retrofit.services
import com.cargoo.android.models.*
import com.cargoo.android.models.chartWidget.ChartWidgetDetails
import com.cargoo.android.models.chartWidget.CompanyWidget
import com.cargoo.android.models.shipment.ShipmentDetailsResponse
import com.cargoo.android.models.shipment.ShipmentResponse
import com.cargoo.android.requestBodies.ApprovedCompanyId
import com.cargoo.android.requestBodies.CompanySingleAccessBody
import com.cargoo.android.requestBodies.EmptySearchBody
Wellbe smart watch change log
1.42
1. package name is changed to "com.hfh.wellbe.smartwatch"
2. The apk is signed with the 123456.jks keystore 
1.44
1. User's location provider is now changed from Google Location manager library to native android Location library
2. Added battery check for pedometer and heartbeat functionality, if the battery is less then 20% percent (device is not connected to charger) user will not be abel to use this features, pressing on heart beat or pedometer buttons from menu will show a dialog with this message "This feature is not available when the battery level is less than 20 percent"
3. When the airplane mode is enabled, from emergency screen now we navigate user to launcher's airplane mode settings 
4. Button press animations are changed to ripple effect animation, this will make button press fill more responsive
{
"articles": [
{
"id": 1,
"userName": "Albert Einstein",
"elapsedTimeInHour": 11,
"bookmarked": false,
"userImage": "https://upload.wikimedia.org/wikipedia/commons/e/e9/Albert-einstein-profile-picture-512x512.png.cf.png",
"title": "Theory of relativity",
"description": "Albert Einstein was a German-born theoretical physicist who developed the theory of relativity, one of the two pillars of modern physics. His work is also known for its influence on the philosophy of science.",
package com.hfh.wellbe.smartwatch.receivers
import android.app.AlarmManager
import android.app.PendingIntent
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.net.wifi.WifiManager
import android.os.PowerManager
import android.os.SystemClock
2020-11-02 15:30:27.911 24350-24350/com.systech.unisecuremobilexeng W/MessageQueue: Handler (android.os.Handler) {a34618c} sending message to a Handler on a dead thread
java.lang.IllegalStateException: Handler (android.os.Handler) {a34618c} sending message to a Handler on a dead thread
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:543)
at android.os.Handler.enqueueMessage(Handler.java:643)
at android.os.Handler.sendMessageAtTime(Handler.java:612)
at android.os.Handler.sendMessageDelayed(Handler.java:582)
at android.os.Handler.post(Handler.java:338)
at com.systech.camerax.v1.SingleThreadHandlerExecutor.execute(SingleThreadHandlerExecutor.kt:28)
at com.systech.camerax.v1.OpenGLRenderer$detachOutputSurface$1.attachCompleter(OpenGLRenderer.kt:175)
at com.systech.camerax.v1.OpenGLRenderer$detachOutputSurface$1.attachCompleter(OpenGLRenderer.kt:38)
2020-11-02 16:34:01.651 15500-15500/com.systech.unisecuremobilexeng E/SECSL_V2.AuthView: onError: ImageCapture (Time: 0.181 seconds) failed. Error -> Camera is closed.
androidx.camera.core.ImageCaptureException: Camera is closed.
at androidx.camera.core.ImageCapture$ImageCaptureRequest.lambda$notifyCallbackError$1$ImageCapture$ImageCaptureRequest(ImageCapture.java:2232)
at androidx.camera.core.-$$Lambda$ImageCapture$ImageCaptureRequest$1G7WSvt8TANxhZtOyewefm68pg4.run(lambda)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6776)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Dev-Debug",
"request": "launch",
"type": "dart",