Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design2
/
2011104505
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박정현
2020-06-13 14:27:05 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
01b07e89db20d6a1b4d6e323f98f408b0a135c92
01b07e89
1 parent
52abafe2
코드 수정
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
talktalkspeak2/app/src/main/AndroidManifest.xml
talktalkspeak2/app/src/main/java/com/example/talktalkspeak/MainActivity.java
talktalkspeak2/app/src/main/AndroidManifest.xml
View file @
01b07e8
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.example.talktalkspeak"
>
<uses-permission
android:name=
"android.permission.BLUETOOTH"
/>
<uses-permission
android:name=
"android.permission.RECEIVE_SMS"
/>
<uses-permission
android:name=
"android.permission.BLUETOOTH_ADMIN"
/>
<application
android:allowBackup=
"true"
...
...
@@ -12,10 +15,10 @@
android:supportsRtl=
"true"
android:theme=
"@style/AppTheme"
>
<activity
android:name=
".MainActivity"
>
<activity
android:name=
"
com.example.talktalkspeak
.MainActivity"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
...
...
talktalkspeak2/app/src/main/java/com/example/talktalkspeak/MainActivity.java
View file @
01b07e8
...
...
@@ -203,7 +203,7 @@ public class MainActivity extends AppCompatActivity implements TextToSpeech.OnIn
registerReceiver
(
this
.
kakaoReceiver
,
new
IntentFilter
(
"android.service.notification.NotificationListenerService"
));
setSeekBar
();
if
(!
permissionGrantred
())
{
startActivity
(
new
Intent
(
"android.setting.ACTION_NOTIFICATION_LISTENER_SETTINGS"
));
startActivity
(
new
Intent
(
"android.setting
s
.ACTION_NOTIFICATION_LISTENER_SETTINGS"
));
}
}
...
...
Please
register
or
login
to post a comment