Rename net/hanshq/hello to com/robust_image_source_identification_on_modern_smartphones/camera

This commit is contained in:
Benjamin Loison 2024-05-02 01:22:43 +02:00
parent aca86e3344
commit e20a0a5403
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8
3 changed files with 6 additions and 6 deletions

View File

@ -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"/>

View File

@ -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

View File

@ -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));
}
}