Showing
5 changed files
with
9 additions
and
3 deletions
This diff is collapsed. Click to expand it.
| ... | @@ -27,6 +27,7 @@ | ... | @@ -27,6 +27,7 @@ |
| 27 | android:roundIcon="@mipmap/ic_launcher_round" | 27 | android:roundIcon="@mipmap/ic_launcher_round" |
| 28 | android:supportsRtl="true" | 28 | android:supportsRtl="true" |
| 29 | android:networkSecurityConfig="@xml/network_security_config" | 29 | android:networkSecurityConfig="@xml/network_security_config" |
| 30 | + android:requestLegacyExternalStorage="true" | ||
| 30 | android:theme="@style/AppTheme"> | 31 | android:theme="@style/AppTheme"> |
| 31 | <activity android:name=".LoadingActivity"> | 32 | <activity android:name=".LoadingActivity"> |
| 32 | <intent-filter> | 33 | <intent-filter> | ... | ... |
This diff is collapsed. Click to expand it.
| ... | @@ -18,8 +18,7 @@ public class MainActivity extends AppCompatActivity { | ... | @@ -18,8 +18,7 @@ public class MainActivity extends AppCompatActivity { |
| 18 | super.onCreate(savedInstanceState); | 18 | super.onCreate(savedInstanceState); |
| 19 | setContentView(R.layout.activity_main); | 19 | setContentView(R.layout.activity_main); |
| 20 | 20 | ||
| 21 | - copyFile("/data/data/com.example.dataextraction/databases/", "InnerDatabase.db", "/sdcard/TestLog/InnerDatabase.db"); | 21 | + |
| 22 | - copyFile("/data/data/com.example.dataextraction/databases/", "networkDatabase.db", "/sdcard/TestLog/networkDatabase.db"); | ||
| 23 | } | 22 | } |
| 24 | 23 | ||
| 25 | private void copyFile(String inputPath, String inputFile, String outputPath) { | 24 | private void copyFile(String inputPath, String inputFile, String outputPath) { | ... | ... |
| ... | @@ -2,13 +2,14 @@ | ... | @@ -2,13 +2,14 @@ |
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | android:layout_width="match_parent" | 3 | android:layout_width="match_parent" |
| 4 | android:layout_height="match_parent" | 4 | android:layout_height="match_parent" |
| 5 | + android:layout_gravity="center" | ||
| 5 | xmlns:tools="http://schemas.android.com/tools" | 6 | xmlns:tools="http://schemas.android.com/tools" |
| 6 | android:orientation="vertical"> | 7 | android:orientation="vertical"> |
| 7 | <TextView | 8 | <TextView |
| 8 | android:id="@+id/textView" | 9 | android:id="@+id/textView" |
| 9 | android:layout_width="match_parent" | 10 | android:layout_width="match_parent" |
| 10 | android:layout_height="wrap_content" | 11 | android:layout_height="wrap_content" |
| 11 | - android:text="CapstoneDesign2" /> | 12 | + android:text="스마트폰 내의 데이터를 추출합니다." /> |
| 12 | <ProgressBar | 13 | <ProgressBar |
| 13 | android:id="@+id/simpleProgressBar" | 14 | android:id="@+id/simpleProgressBar" |
| 14 | android:layout_width="match_parent" | 15 | android:layout_width="match_parent" |
| ... | @@ -18,4 +19,9 @@ | ... | @@ -18,4 +19,9 @@ |
| 18 | tools:layout_editor_absoluteY="0dp" | 19 | tools:layout_editor_absoluteY="0dp" |
| 19 | tools:layout_editor_absoluteX="8dp" | 20 | tools:layout_editor_absoluteX="8dp" |
| 20 | android:visibility="visible"/> | 21 | android:visibility="visible"/> |
| 22 | + <TextView | ||
| 23 | + android:id="@+id/textView2" | ||
| 24 | + android:layout_width="match_parent" | ||
| 25 | + android:layout_height="wrap_content" | ||
| 26 | + android:text="추출 로그 : \n\n" /> | ||
| 21 | </LinearLayout> | 27 | </LinearLayout> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment