INNER CODE UNIT · Java
TransferLicense
shmykelsa/AAAD · app/src/main/java/com/legs/appsforaa/TransferLicense.java:35
public class TransferLicense extends AppCompatActivity {
private static final int REQUEST_CODE_QR_SCAN = 101;
private static final int REQUEST_CAMERA = 100;
String deviceId;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_transfer_license);
// Get authenticated user ID (should already be authenticated from MainActivity)
deviceId = AuthManager.INSTANCE.getCurrentUid();
if (deviceId == null) {
Toast.makeText(this, "Authentication required. Please restart the app.", Toast.LENGTH_LONG).show();