Rename net/hanshq/hello
to com/robust_image_source_identification_on_modern_smartphones/camera
This commit is contained in:
parent
aca86e3344
commit
e20a0a5403
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="net.hanshq.hello"
|
||||
package="com.robust_image_source_identification_on_modern_smartphones.camera"
|
||||
versionCode="1"
|
||||
versionName="0.1">
|
||||
<uses-sdk android:minSdkVersion="33"/>
|
||||
<application android:label="Hello">
|
||||
<application android:label="Camera">
|
||||
<activity android:name=".MainActivity" android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
|
@ -2,8 +2,8 @@ SDK_FOLDER=/usr/lib/android-sdk
|
||||
PLATFORM=$SDK_FOLDER/platforms/android-33
|
||||
BUILD_TOOLS=$SDK_FOLDER/build-tools/30.0.3
|
||||
|
||||
SOURCE_FOLDER=net/hanshq/hello
|
||||
APP_NAME=Hello
|
||||
SOURCE_FOLDER=com/robust_image_source_identification_on_modern_smartphones/camera
|
||||
APP_NAME=Camera
|
||||
|
||||
mkdir -p build/gen build/apk
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.hanshq.hello;
|
||||
package com.robust_image_source_identification_on_modern_smartphones.camera;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
@ -15,6 +15,6 @@ public class MainActivity extends Activity {
|
||||
TextView text = (TextView)findViewById(R.id.my_text);
|
||||
Context context = getApplicationContext();
|
||||
BatteryManager batteryManager = (BatteryManager)context.getSystemService(Context.BATTERY_SERVICE);
|
||||
text.setText("Hello, worldeee!" + batteryManager.getIntProperty(BatteryManager.BATTERY_PROPERTY_CHARGE_COUNTER));
|
||||
text.setText("Hello, worldg!" + batteryManager.getIntProperty(BatteryManager.BATTERY_PROPERTY_CHARGE_COUNTER));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user