This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PictureCropContract extends ActivityResultContract<PictureCropContract.CropParam,Bitmap> { | |
static public class CropParam { | |
public Uri uri; | |
// does not work for the sizes I need together with the key return-data = true | |
public int width = 2480; | |
public int height = 3507; | |
} | |
@NonNull | |
@Override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.print.PrintAttributes; | |
import android.view.View; | |
import android.widget.AdapterView; | |
import android.widget.Spinner; | |
import androidx.lifecycle.LifecycleOwner; | |
import androidx.lifecycle.MutableLiveData; | |
import com.google.android.material.textfield.TextInputEditText; | |
import com.google.android.material.textview.MaterialTextView; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VID-1f3a-PID-efe8 ― устанавливается программой LiveSuit для прошивки устройства. он всегда будет показываться с восклицательным знаком! | |
оставляем его в покое ― пусть висит с восклицательным. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="org.zakky.myprintservice" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="19" | |
android:targetSdkVersion="19" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="org.zakky.myprintservice" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="19" | |
android:targetSdkVersion="19" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('BASEPATH') OR exit('No direct script access allowed'); | |
class Migration_ extends CI_Migration { | |
protected $tableName = ''; | |
public function up() { | |
$this->dbforge->add_field(array( | |
'id' => array( | |
'type' => 'int', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------------------------------------------------------------------- | |
// GET & SET | |
// ------------------------------------------------------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------------------------------------------------------------------- | |
// GET & SET | |
// ------------------------------------------------------------------ |