manifest

As of Java 7 update 45, one can no longer lookup manifest information without triggering a warning?

旧巷老猫 提交于 2019-12-14 02:32:32
问题 Unfortunately, the workaround given by Oracle and others here (Java applet manifest - Allow all Caller-Allowable-Codebase) for getting around the 7 update 45 problem does NOT work if your app needs to access its loaded signed jar manifests. In my case, our app does this so as to log the relevant manifest info. With my web start app, everything worked fine and dandy with the "Trusted-Library" attribute that needed to be added for 7u21. With 7u45, removing the "Trusted-Library" attribute and

Android/Cyanogenmod building: remove-project from roomservice.xml

大兔子大兔子 提交于 2019-12-14 02:18:27
问题 I want to remove a device-related project from the roomservice.xml generated by brunching in CM and add a different repo myself. Theoretically (in my localmanifest, called mint.xml), I should just need to <remove-project name="Cyanogenmod/... . But repo sync tells me that remove-project element specifies non-existant project Is that because my local manifest is sourced before the roomservice.xml? The question is a bit related to this one: trouble-with-cyanogenmod-local-manifest Additional

Security warning prompt for Java Applet

柔情痞子 提交于 2019-12-14 02:13:04
问题 Starting from JRE 1.7 update 55, in some circumstances (not always, expecially if i call application by host-name instead of by IP), security warning is always shown, even if i check "Don't show this message again". Manifest is fixed according to the latest directives UPDATE Investigating JRE security log, i've noticed that, where applet works correctly, i've these lines: security: Caricamento certificati di distribuzione da C:\Users\Redturtle\AppData\LocalLow\Sun\Java\Deployment\security

How to properly define Keywords in Microsoft.Diagnostics.Tracing.EventSource?

淺唱寂寞╮ 提交于 2019-12-13 19:58:57
问题 I am using the Microsoft.Diagnostics.Tracing.EventSource nuget package to write events to the eventlog. When defining keywords in my custom class inheriting from EventSource like this: public class Keywords { public const EventKeywords Page = ( EventKeywords ) 0x1; public const EventKeywords DataBase = ( EventKeywords ) 0x2; public const EventKeywords Diagnostic = ( EventKeywords ) 0x4; public const EventKeywords Perf = ( EventKeywords ) 0x8; } I get a manifest file containing the following

Win32 App Compat: Is there a manifest entry to opt my application out of NoExecute?

北城以北 提交于 2019-12-13 17:03:34
问题 Is there an assembly manifest (or perhaps a PE Image flag) to opt-out of (or opt-in to) NoExecute protection? By default, Windows only protects its own binaries with NoExecute protection: But i might want to opt my executable into NX protection. i also might need to indicate to the user that my application is incompatible with NX protection. Rather than forcing the user to manually find, and add me, to a list, i can do it for them: Note: i liken this to my ability to opt-in to running my

Android manifest merger with facebook and firebase libraries

强颜欢笑 提交于 2019-12-13 13:00:03
问题 I've imported in my project 2 libraries (in gradle file): ... /* Firebase UI */ compile 'com.firebaseui:firebase-ui:0.4.0' /* Facebook login */ compile 'com.facebook.android:facebook-android-sdk:4.13.0' but when building my project I have the following error: D:\Android\Projects\quoter\app\src\main\AndroidManifest.xml:68:13-58 Error: Attribute activity#com.facebook.FacebookActivity@theme value=(@style/FirebaseUI.Translucent) from [com.firebaseui:firebase-ui-auth:0.4.0] AndroidManifest.xml:68

Problems trying to use Android Mapview classes

删除回忆录丶 提交于 2019-12-13 05:15:41
问题 I'm a noob to Android so bear with me and apologies if my post is moronic. Basically, I'm trying to add a mapview to the XML which is causing a few problems, the error I'm getting is: 06-30 12:29:04.760: ERROR/AndroidRuntime(320): java.lang.NoClassDefFoundError: package.android.mapclass From what I can tell the error is happening on this call: Intent i = new Intent(oldclass.this, mapclass.class); The mapclass itself is: package package.android; import android.app.Activity; import android

prevent ajax call if application cache is being updated

一个人想着一个人 提交于 2019-12-13 03:43:12
问题 i am writing an offline web application. i have a manifest files for my applicationCache. and i have handlers for appCache events. i want to detect if the files being downloaded are being downloaded for the first time or being updated. because in case they are being updated, i would like prevent my application code from running, since i will refresh the browser after updating my app. my specific problem here is that when the "checking" events gets fired, the applicationCache status is already

Android Namespace Missing

二次信任 提交于 2019-12-13 03:03:46
问题 I have the following in my Android manifest and I am getting an error with the following: <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"> <group gid="media_rw" /> </uses-permission> It is saying "Attribute is missing the Android namespace prefix" The exact same file before I modified it was working just fine. My full manifest is below: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example

Chrome does't recognize my manifest.json when I prompt “Add to homescreen” banner

倾然丶 夕夏残阳落幕 提交于 2019-12-12 18:19:10
问题 I want to create a manifest to launch a "Add t homescreen" banner. However, it seems that chrome does't recognize my manifest file to launch the banner. Here in the application tab in chrome debugger, the fields should be filled with the information from manifest.json The manifest file is declared correctly, because it points to the right file. Here is the manifest.json: 回答1: It seems that the Web App Manifest is not being parsed correctly. You can validate it using the Web Manifest Validator