manifest

Android manifest file breaks after adding a permission

你离开我真会死。 提交于 2019-12-19 10:46:21
问题 I have a really strange problem with an Android project I inherited. I tried adding a permission to it and suddenly a few other permissions break with the red "X" being displayed along with this error: "Permission is only granted to system apps." How could this be if all I did was add a permission? If I don't save the manifest and clean the project, all the red "X" marks go away and it compiles again. Why is this happening? 回答1: In Eclipse, goto Window -> Preferences -> Android -> Lint Error

How to publish a Java Web Start jnlp application without security warnings?

百般思念 提交于 2019-12-19 10:26:24
问题 I have a Java application that is launched from a jnlp file off of a website. I'm trying to get it to run without flashing up a bunch of security warnings before it runs. The program is broken up into about 10 different jar files, 30 or so jar libraries, and a couple native libraries also contained in jar files. I've signed all of the jar files with an official code signing cert (from Verisign), included the jnlp file inside of the jar file that holds the main class, and added permissions and

Visual Studio 2005 security updates and CRT DLL versions in manifest

你。 提交于 2019-12-19 07:21:49
问题 Recent Visual Studio 2005 security updates may be causing problems for us. We build and internally distribute SDKs written in C++. These SDKs are a collection of header files and static libraries only. After installing the security updates our SDKs now depend on the newer versions of the MSVC CRT DLLs. These SDKs are used downstream in projects which produce EXE files. If one of these EXE files is built with a mix of SDKs (some from before the security updates, some from after), then the EXE

What is the proper way to parse the entries of a manifest.mf file in jar?

烂漫一生 提交于 2019-12-19 05:22:11
问题 The manifest.mf contained in many Java jars contains headers which look much like email headers. See example [*] I want something that can parse this format into key value pairs: Map<String, String> manifest = <mystery-parse-function>(new File("manifest.mf")); I have googled around a bit for "parse manifest.mf" "manifest.mf format" etc. and I find plenty of information about the meaning of the headers (e.g. in OSGI bundles, standard Java jars, etc.) but that's not what I'm looking for.

ClickOnce Error: The deployment identity does not match the subscription

半世苍凉 提交于 2019-12-19 05:15:17
问题 I'm using Visual Studio 2008 SP1. I have a Windows Forms application deployed internally using ClickOnce in a shared folder on the local network. The test certificate pfx expires in 2035. I have published the update to the internal shared folder several times. Note that the project is only set to 'Sign the ClickOnce manifests' and does not sign the assembly. Now, I again publish a new version of my application. When users click on their icons to run the application we get this error (it had

What are the differences between “Run as administrator” and a manifest with requireAdministrator?

為{幸葍}努か 提交于 2019-12-19 04:08:17
问题 I've written a program with a manifest that includes requireAdministrator. On Windows 7 systems with UAC enabled, Windows pops up a dialog asking for permissions, as it should. Works great. If a user starts my program by right-clicking it and choosing "Run as administrator", then Windows 7 also pops up a dialog asking for permissions. However, there are some slight differences in how my program operates in some of the more esoteric parts of my program. So what are the differences between "Run

Android change app icon

北城以北 提交于 2019-12-19 03:58:47
问题 I can't really figure out how to change the app's icon that appears when you install the app, the one on the screen that you have to click. What i did: I created a new icon --> new > Image asset (mipmap) I deleted ic_launcher (the default one) I named the new asset like the old icon (ic_launcher) Rebuild Clean project Invalidate cache and restart Installed app nothing. I still have my app with the annoying default mipmap ic_launcher icon. I don't really know what to do more than this.. Can

Is it possible to use a different favicon for browsers that support theme-color?

流过昼夜 提交于 2019-12-18 19:06:15
问题 Is there a way to set a different favicon for browsers that support theme-color, either via the meta tag or manifest.json? I have a jet black theme bar, but a mostly-black favicon for use on desktop browsers. I'd like to have an alternate white favicon for mobile browsers, but I don't want to make the assumption that mobile browser === theme-color support, as that's not always going to be the case. Desktop favicon example: Mobile favicon example: 回答1: The browser's theme is accessible through

Too long line in manifest file while trying to create jar

大兔子大兔子 提交于 2019-12-18 18:56:12
问题 I am getting a too long line error while trying to build a jar. the long line in the manifest file is the Class-Path line as the application uses a lot of third-party libraries. needless to say, I am using Windows :-( and Eclipse Java 1.6 I tried Class-Path: lib or Class-Path: lib/ but they did not work. 回答1: The classpath is too long due to the number of jar files in it. «No line may be longer than 72 bytes (not characters), in its UTF8-encoded form.» [from docs: java 5, java 8; «Line length

C# - do I need manifest files?

我怕爱的太早我们不能终老 提交于 2019-12-18 14:06:09
问题 I am curious whether I need two manifest files that are created when I publish my application. It works when I delete them. In the case they are needed, I have tried to embed (Project>Application>Embed manifest with default setting) them but they are still external. Those are: (appname).exe.manifest and (appname).application . 回答1: The manifest file describes how your application should run. From MSDN: Every assembly, whether static or dynamic, contains a collection of data that describes how