Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
b9270a5a
Commit
b9270a5a
authored
Oct 03, 2022
by
Yujin Seo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
・調査作業
parent
cab49e9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVActivity.java
+6
-6
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLWebViewActivity.java
+9
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVActivity.java
View file @
b9270a5a
...
@@ -950,12 +950,12 @@ public abstract class ABVActivity extends Activity {
...
@@ -950,12 +950,12 @@ public abstract class ABVActivity extends Activity {
Intent
cameraIntent
=
new
Intent
(
MediaStore
.
ACTION_IMAGE_CAPTURE
);
Intent
cameraIntent
=
new
Intent
(
MediaStore
.
ACTION_IMAGE_CAPTURE
);
ContentValues
values
=
new
ContentValues
();
//
ContentValues values = new ContentValues();
values
.
put
(
MediaStore
.
MediaColumns
.
TITLE
,
"New Picture"
);
//
values.put(MediaStore.MediaColumns.TITLE, "New Picture");
values
.
put
(
MediaStore
.
Images
.
ImageColumns
.
DESCRIPTION
,
"From your Camera"
);
//
values.put(MediaStore.Images.ImageColumns.DESCRIPTION, "From your Camera");
imageUri
=
getContentResolver
().
insert
(
//
imageUri = getContentResolver().insert(
MediaStore
.
Images
.
Media
.
EXTERNAL_CONTENT_URI
,
values
);
//
MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);
cameraIntent
.
putExtra
(
MediaStore
.
EXTRA_OUTPUT
,
imageUri
);
//
cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, imageUri);
Intent
[]
intentArray
=
new
Intent
[]{
cameraIntent
};
Intent
[]
intentArray
=
new
Intent
[]{
cameraIntent
};
chooser
.
putExtra
(
Intent
.
EXTRA_INITIAL_INTENTS
,
intentArray
);
chooser
.
putExtra
(
Intent
.
EXTRA_INITIAL_INTENTS
,
intentArray
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLWebViewActivity.java
View file @
b9270a5a
package
jp
.
agentec
.
abook
.
abv
.
ui
.
viewer
.
activity
;
package
jp
.
agentec
.
abook
.
abv
.
ui
.
viewer
.
activity
;
import
android.app.Activity
;
import
android.content.DialogInterface
;
import
android.content.DialogInterface
;
import
android.content.Intent
;
import
android.content.Intent
;
import
android.graphics.Bitmap
;
import
android.net.Uri
;
import
android.net.Uri
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.view.KeyEvent
;
import
android.view.KeyEvent
;
...
@@ -742,6 +744,13 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
...
@@ -742,6 +744,13 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
protected
void
onActivityResult
(
int
requestCode
,
int
resultCode
,
final
Intent
intent
)
{
protected
void
onActivityResult
(
int
requestCode
,
int
resultCode
,
final
Intent
intent
)
{
super
.
onActivityResult
(
requestCode
,
resultCode
,
intent
);
super
.
onActivityResult
(
requestCode
,
resultCode
,
intent
);
if
(
requestCode
==
ABookCommConstants
.
ABOOK_CHECK_TASK_IMAGE
&&
resultCode
==
Activity
.
RESULT_OK
)
{
Object
data
=
intent
.
getExtras
().
get
(
"data"
);
if
(
data
!=
null
)
{
Bitmap
photo
=
(
Bitmap
)
data
;
}
}
if
(
requestCode
==
ABookCommConstants
.
PUSH_MESSAGE_DLG_REQUEST_CODE
)
{
if
(
requestCode
==
ABookCommConstants
.
PUSH_MESSAGE_DLG_REQUEST_CODE
)
{
// プッシュメッセージダイアログのリザルトだった場合
// プッシュメッセージダイアログのリザルトだった場合
if
(
resultCode
==
ABookCommConstants
.
PUSH_MESSAGE_DLG_RESULT
.
OK
&&
!
StringUtil
.
isNullOrEmpty
(
baseActivityName
))
{
if
(
resultCode
==
ABookCommConstants
.
PUSH_MESSAGE_DLG_RESULT
.
OK
&&
!
StringUtil
.
isNullOrEmpty
(
baseActivityName
))
{
...
...
Write
Preview
Markdown
is supported
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