manifest

Sending WM_COPY from a Delphi app. to another process in Windows 7

旧时模样 提交于 2019-12-24 07:32:54
问题 I have a Delphi (BDS 2006) application which sends keystrokes to QuickBooks accounting software to traverse QuickBooks forms (invoices), copy text from the current edit control to the Windows clipboard (to gather data), do some calculations based on the gathered data, and finally write results on the form by sending keystrokes. This application has been developed over a number of years, uses extensive (for me at least) Windows API techniques to identify the foreground window, focused window,

Manifest merger failed with multiple errors after adding material design support

梦想与她 提交于 2019-12-24 06:39:03
问题 My application was working fine before but recently after android pie update I have changed the targetSDKVersion to 28 and added material design support and got this error. Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).

package Kotlin .kt class in a JAR

浪子不回头ぞ 提交于 2019-12-24 02:47:11
问题 How do I build HelloWorld.kt as a JAR so that it runs? thufir@dur:~/kotlin$ thufir@dur:~/kotlin$ kotlinc HelloWorld.kt --include-runtime -d HelloWorld.jar error: invalid argument: --include-runtime info: use -help for more information thufir@dur:~/kotlin$ thufir@dur:~/kotlin$ thufir@dur:~/kotlin$ kotlinc HelloWorld.kt -d HelloWorld.jar WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.intellij.util.text.StringFactory to constructor java

Android custom URI scheme incorrectly encoded when type in browser

房东的猫 提交于 2019-12-24 00:57:10
问题 I am writing my android application, which I want to define a custom URI scheme, so that user can go to my app by typing a URI in browser, like: myapps://cate=1&id=3 I successfully implemented this in my apps, but I discover that for some device, the browser treat the link differently. In my HTC Flyer, it opens my app correctly, but in Samsung Galaxy Ace, the browser translates the link to myapps%3A%2F%2Fcate=1%26id=3, which is encoded, and it just google the "myapps://cate=1&id=3" for me

Exported Activity Permission for AppWidget Configuration Activity

北战南征 提交于 2019-12-24 00:32:39
问题 I'm getting this warning for my AppWidget's configuration activity in the manifest file after I added the android:exported="true" tag. This is what it looks like... <activity android:name=".widgets.WidgetConfigurationActivity" android:theme="@android:style/Theme.Translucent" android:exported="true" > <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> </intent-filter> </activity> The warning I'm getting is "Exported activity does not require permission".

Two shortcut with Two Icons for the same App

回眸只為那壹抹淺笑 提交于 2019-12-23 23:43:28
问题 So , i want to have an additional Shortcut with another Icon for the same App , this additional Shortcut , Visible in App Drawer , should launch a Simple Activity/Service , it is Possible , If yes How ? If Possible , Programmaticly , Does its matter with < application > Tag ? , Thanks 回答1: Of course you can have two or more launcher activities in your application. Just set an intent filter with launch attributes. <activity android:name=".SecondActivity" android:icon="@drawable/ic_second

How to prevent embedded manifest from being used?

吃可爱长大的小学妹 提交于 2019-12-23 20:14:49
问题 I am working on many apps that uses RegFree COM Activation, everything works well except that one of the application is ran using an older technology that uses a JIT-type compiler. To get RegFree COM working, i have to provide a manifest to the launching executable (correct me if i'm wrong) with my dependencies listed. All my other applications are built in-house and i have full control over my manifest (authoring and if i embed it, if i leave it Side-By-Side, etc). But this JIT-compiler (ala

Android permission error

与世无争的帅哥 提交于 2019-12-23 20:05:11
问题 I created an application which enables Bluetooth and discovers other devices. In manifest I have the following: <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> However,on the device there is this exception: 11-20 08:08:47.766: E/AndroidRuntime(9380): FATAL EXCEPTION: main 11-20 08:08:47.766: E/AndroidRuntime(9380): java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10111 nor current process

Error in AndroidManifest.xml “must have a minimum of 2 segments”

三世轮回 提交于 2019-12-23 19:55:46
问题 I tried change my package name like com.project_name but it didn't figure out. What is the real problem in my project? I'm getting the following error: Error in AndroidManifest.XML file "Application package 'AndroidManifest.xml' must have a minimum of 2 segments" AndroidManifest.XML file; <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.rssreader" android:versionCode="2" android:versionName="1.01" > <uses-sdk android

Manifest merger failed with multiple errors, see logs (unity3d, Android Studio 3.2)

北战南征 提交于 2019-12-23 18:55:56
问题 I am trying to add unity3d module as an on demand dynamic delivery module in a native android app. I am getting 'Manifest merger failed with multiple errors' problem while I am trying to build the project.Below I have given code for two manifest files one is for the app module that is module with native android code that I am writing and the other manifest is the manifest generated by unity3d after exporting it as an android studio project. I have added the unity3d android studio project as