I work in the power industry and we use written procedures for everything from removing old equipment and installing, testing, commissioning new equipment to opening/closing high voltage breakers. All of these testing forms, commissioning forms etc are all in physical paper copies. Most can be found within the online application BOX but often new procedures ..

Read more

I am trying to work with an API and at this time unable to build the MainActivity.kt without finding errors. Anyone see anything at this point? I am very new to programing and working with Android and Kotlin. Source: Android..

Read more

I am trying to get screen recording work from a foreground service, with media recorder calling this method: @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) private void startRecording(int resultCode, Intent data) { Log.v(TAG, "Starting recording…"); MediaProjectionManager mProjectionManager = (MediaProjectionManager) getApplicationContext().getSystemService (Context.MEDIA_PROJECTION_SERVICE); mMediaRecorder = new MediaRecorder(); mMediaRecorder.setOnErrorListener(this::onRecorderError); mMediaRecorder.setOnInfoListener(this::onRecorderInfo); DisplayMetrics metrics = new DisplayMetrics(); WindowManager wm = (WindowManager) getApplicationContext().getSystemService(WINDOW_SERVICE); wm.getDefaultDisplay().getRealMetrics(metrics); int ..

Read more

guys, need some advice here. i have two entities @Entity( tableName = ShopEntityContracts.TABLE_NAME, foreignKeys = [ ForeignKey( entity = Address::class, parentColumns = [AddressContracts.Columns.ADDRESS_ID], childColumns = [ShopEntityContracts.Columns.SHOP_ADDRESS])]) data class Shop( @PrimaryKey(autoGenerate = true) @ColumnInfo(name = ShopEntityContracts.Columns.SHOP_ID) val shopId: Long, @ColumnInfo(name = ShopEntityContracts.Columns.SHOP_NAME) val shopName: String, @ColumnInfo(name = ShopEntityContracts.Columns.SHOP_ADDRESS) val shopAddress: Long) @Entity(tableName = AddressContracts.ADDRESS_TABLE_NAME, indices = ..

Read more