diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..30aa626 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml index f723953..59edb3e 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 6564d52..94a25f7 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/app/src/main/java/com/example/androidocr/MainActivity.java b/app/src/main/java/com/example/androidocr/MainActivity.java index a7dd9e4..333f767 100644 --- a/app/src/main/java/com/example/androidocr/MainActivity.java +++ b/app/src/main/java/com/example/androidocr/MainActivity.java @@ -88,6 +88,7 @@ public void processImage(){ extractName(OCRresult); extractEmail(OCRresult); extractPhone(OCRresult); + openContacts.setVisibility(View.VISIBLE); } public void extractName(String str){ diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index d41969e..746965e 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -69,6 +69,7 @@