質問編集履歴

3

コードの更新

2016/11/24 03:50

投稿

hide09090909
hide09090909

スコア68

test CHANGED
File without changes
test CHANGED
@@ -86,11 +86,17 @@
86
86
 
87
87
  -->
88
88
 
89
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
89
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.apache.cordova" >
90
90
 
91
- package="org.apache.cordova" >
91
+
92
92
 
93
93
  </manifest>
94
+
95
+
96
+
97
+
98
+
99
+
94
100
 
95
101
 
96
102
 
@@ -108,15 +114,25 @@
108
114
 
109
115
  <?xml version='1.0' encoding='utf-8'?>
110
116
 
111
- <manifest android:hardwareAccelerated="true" android:versionCode="10000" android:versionName="1.0.0" package="com.mse.android.wifimulticast" xmlns:android="http://schemas.android.com/apk/res/android">
117
+
118
+
119
+ <manifest xmlns:tools="http://schemas.android.com/tools"
120
+
121
+ android:hardwareAccelerated="true" android:versionCode="10000" android:versionName="1.0.0" package="com.mse.android.wifimulticast" xmlns:android="http://schemas.android.com/apk/res/android">
112
122
 
113
123
  <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
114
124
 
115
125
  <uses-permission android:name="android.permission.INTERNET" />
116
126
 
127
+
128
+
117
- <application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:supportsRtl="true">
129
+ <application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:supportsRtl="true" tools:replace="android:icon,android:label>
130
+
131
+
118
132
 
119
133
  <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
134
+
135
+
120
136
 
121
137
  <intent-filter android:label="@string/launcher_name">
122
138
 
@@ -126,16 +142,40 @@
126
142
 
127
143
  </intent-filter>
128
144
 
145
+
146
+
129
147
  </activity>
130
148
 
131
149
  </application>
132
150
 
151
+
152
+
133
- <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" />
153
+ <uses-sdk android:minSdkVersion="17" android:targetSdkVersion="23" />
154
+
155
+
134
156
 
135
157
  </manifest>
136
158
 
137
159
 
138
160
 
161
+ ```
162
+
163
+
164
+
165
+ ```strings.xml
166
+
167
+ <?xml version='1.0' encoding='utf-8'?>
168
+
169
+ <resources>
170
+
171
+ <string name="app_name">Live</string>
172
+
173
+ <string name="launcher_name">@string/app_name</string>
174
+
175
+ <string name="activity_name">@string/launcher_name</string>
176
+
177
+ </resources>
178
+
139
179
 
140
180
 
141
181
  ```

2

コードの更新

2016/11/24 03:50

投稿

hide09090909
hide09090909

スコア68

test CHANGED
File without changes
test CHANGED
@@ -88,13 +88,15 @@
88
88
 
89
89
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
90
90
 
91
- package="org.apache.cordova" android:versionName="1.0" android:versionCode="1">
91
+ package="org.apache.cordova" >
92
92
 
93
- <!-- <uses-sdk android:minSdkVersion="14" />-->
93
+ </manifest>
94
94
 
95
95
 
96
96
 
97
- </manifest>
97
+
98
+
99
+
98
100
 
99
101
 
100
102
 
@@ -106,13 +108,13 @@
106
108
 
107
109
  <?xml version='1.0' encoding='utf-8'?>
108
110
 
109
- <manifest android:hardwareAccelerated="true" android:versionCode="10000" android:versionName="1.0.0" package="com.mse.android.wifimulticast" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
111
+ <manifest android:hardwareAccelerated="true" android:versionCode="10000" android:versionName="1.0.0" package="com.mse.android.wifimulticast" xmlns:android="http://schemas.android.com/apk/res/android">
110
112
 
111
113
  <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
112
114
 
113
115
  <uses-permission android:name="android.permission.INTERNET" />
114
116
 
115
- <application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:supportsRtl="true" tools:replace="android:label">
117
+ <application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:supportsRtl="true">
116
118
 
117
119
  <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
118
120
 
@@ -134,4 +136,6 @@
134
136
 
135
137
 
136
138
 
139
+
140
+
137
141
  ```

1

Manifest\.xmlを記述しました

2016/11/24 01:31

投稿

hide09090909
hide09090909

スコア68

test CHANGED
File without changes
test CHANGED
@@ -41,3 +41,97 @@
41
41
  上記2つを皆様にお伺いしたいです。
42
42
 
43
43
  よろしくお願い致します。
44
+
45
+
46
+
47
+ ```ライブラリ側Manifest.xml
48
+
49
+
50
+
51
+ <?xml version="1.0" encoding="utf-8"?>
52
+
53
+ <!--
54
+
55
+ Licensed to the Apache Software Foundation (ASF) under one
56
+
57
+ or more contributor license agreements. See the NOTICE file
58
+
59
+ distributed with this work for additional information
60
+
61
+ regarding copyright ownership. The ASF licenses this file
62
+
63
+ to you under the Apache License, Version 2.0 (the
64
+
65
+ "License"); you may not use this file except in compliance
66
+
67
+ with the License. You may obtain a copy of the License at
68
+
69
+
70
+
71
+ http://www.apache.org/licenses/LICENSE-2.0
72
+
73
+
74
+
75
+ Unless required by applicable law or agreed to in writing,
76
+
77
+ software distributed under the License is distributed on an
78
+
79
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
80
+
81
+ KIND, either express or implied. See the License for the
82
+
83
+ specific language governing permissions and limitations
84
+
85
+ under the License.
86
+
87
+ -->
88
+
89
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
90
+
91
+ package="org.apache.cordova" android:versionName="1.0" android:versionCode="1">
92
+
93
+ <!-- <uses-sdk android:minSdkVersion="14" />-->
94
+
95
+
96
+
97
+ </manifest>
98
+
99
+
100
+
101
+ ```
102
+
103
+
104
+
105
+ ```App側Manifest.xml
106
+
107
+ <?xml version='1.0' encoding='utf-8'?>
108
+
109
+ <manifest android:hardwareAccelerated="true" android:versionCode="10000" android:versionName="1.0.0" package="com.mse.android.wifimulticast" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
110
+
111
+ <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
112
+
113
+ <uses-permission android:name="android.permission.INTERNET" />
114
+
115
+ <application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:supportsRtl="true" tools:replace="android:label">
116
+
117
+ <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
118
+
119
+ <intent-filter android:label="@string/launcher_name">
120
+
121
+ <action android:name="android.intent.action.MAIN" />
122
+
123
+ <category android:name="android.intent.category.LAUNCHER" />
124
+
125
+ </intent-filter>
126
+
127
+ </activity>
128
+
129
+ </application>
130
+
131
+ <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" />
132
+
133
+ </manifest>
134
+
135
+
136
+
137
+ ```