Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hds
flexin
android-app
Commits
e3986430
Commit
e3986430
authored
Jan 12, 2018
by
Nastuzzi Samy
Browse files
API popup
Handle given info
parent
9895576a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/fr/utc/simde/jessy/QRCodeReaderActivity.java
View file @
e3986430
...
...
@@ -116,9 +116,9 @@ public class QRCodeReaderActivity extends BaseActivity implements ZXingScannerVi
this
.
scannerView
.
setResultHandler
(
QRCodeReaderActivity
.
this
);
this
.
scannerView
.
startCamera
(
CAMERA_FACING_BACK
);
this
.
scannerView
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
this
.
scannerView
.
setOn
Long
ClickListener
(
new
View
.
On
Long
ClickListener
()
{
@Override
public
void
on
Click
(
View
view
)
{
public
boolean
onLong
Click
(
View
view
)
{
final
LayoutInflater
layoutInflater
=
LayoutInflater
.
from
(
QRCodeReaderActivity
.
this
);
final
View
popupView
=
layoutInflater
.
inflate
(
R
.
layout
.
dialog_tag
,
null
);
final
EditText
inputInfo
=
popupView
.
findViewById
(
R
.
id
.
input_info
);
...
...
@@ -140,6 +140,10 @@ public class QRCodeReaderActivity extends BaseActivity implements ZXingScannerVi
}
})
.
setCancelable
(
true
);
dialog
.
createDialog
(
alertDialogBuilder
,
inputInfo
);
return
false
;
}
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment