android-manifest

Keeping the same background across multiple activities in Android and excluding them from activity transitions

冷暖自知 提交于 2019-12-22 21:54:00
问题 I'm working on an Android application at the moment. Basically, I have multiple ViewFlippers which will be used to create sets of 'panels'. For example, I have a ViewFlipper to simulate a home screen environment (multiple panels that can be accessed by swiping left or right), as well as a different ViewFlipper to simulate an application launcher (panels for favorite apps, all apps, settings etc). I've done this by creating each set of panels, or each ViewFlipper in it's own activity, to

How my android app will run on multiple screen resolution devices?

妖精的绣舞 提交于 2019-12-22 14:58:47
问题 I have developed an android application and run it on an HVGA emulator. It's running successfully on any HVGA device i.e. mdpi. But if I try to run on small screen resolution devices i.e QVGA then my buttons are looking as if they go down and dont fit onto the small screen... So how can I run my android application on multiple screen resolution successfully? 回答1: follow these instructions create a folder in yourAppFolder/res/ named layout-small (*more on this subject later) insert in this

Facebook SDK for Unity Android - Incorrect manifest file being generated, can't login

无人久伴 提交于 2019-12-22 11:25:04
问题 Ok, this has taken over a week, but I finally found the cause of why I can't seem to log in to facebook using the Facebook SDK (v4.3.4) with Unity3d (v4.3) on my android devices. Now to figure out how to fix it... ? Symptom: I run the application on the android device. When I press the login button, it opens the permissions prompt from facebook. Then... nothing. The login doesn't complete, and looking through the logs, its clear that the LoginCallback isn't being called. (Although Facebook

Application icon is not visible on android device

﹥>﹥吖頭↗ 提交于 2019-12-22 10:55:00
问题 I am working on a android game. Its working fine but I have one question if I remove below line from my android manifest the my app icon is visible. If I do not remove these lines then my app icon does not visible on my android. <data android:host="mocha" android:path="/RTT/reset" android:scheme="content" /> Here is my original android manifest with which icon is not visible: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="ihpc.mocha.rtt" android:versionCode="1"

Referencing relative path resources from Android NDK manifest file

ⅰ亾dé卋堺 提交于 2019-12-22 10:18:58
问题 I am currently having trouble including resources from the NDK manifest file and I am sure that it is a quick fix error. There are plenty of files that are shared between projects and operating systems in a large library. Therefore, in order to keep the files up to date with other projects and keep from updating each individual project with the latest API each time an update occurs, a whole bunch of native header and source code files need to be referenced with relative paths. Within Eclipse,

Intent Extras of GCMIntentService is not passed

混江龙づ霸主 提交于 2019-12-22 10:16:26
问题 I coded GCMIntentService but called Activity cannot get the Extras. @Override protected void onMessage(Context context, Intent intent) { Intent resultIntent = new Intent(this, MainActivity.class).setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); resultIntent.putExtra("PushType", "test"); // Put String Extra. PendingIntent resultPendingIntent = PendingIntent.getActivity(this, 0, resultIntent, PendingIntent.FLAG_UPDATE_CURRENT); } and called MainActivity is coded as

Can `tools:replace=“android:supportsRtl”` go along with `tools:ignore=“AllowBackup”`?

微笑、不失礼 提交于 2019-12-22 09:26:30
问题 As posted in https://stackoverflow.com/a/39178185/3286489, to solve the error as below Error:Execution failed for task ':app:processProductionDebugManifest'. > Manifest merger failed : Attribute application@supportsRtl value=(false) from AndroidManifest.xml:23:9-36 is also present at [com.mylibrarypackage:mylibrary:1.0.0] AndroidManifest.xml:14:9-35 value=(true). Suggestion: add 'tools:replace="android:supportsRtl"' to <application> element at AndroidManifest.xml:18:5-67:19 to override. We

Broadcast Receiver for ACTION_USER_PRESENT,ACTION_SCREEN_ON,ACTION_BOOT_COMPLETED

穿精又带淫゛_ 提交于 2019-12-22 05:31:18
问题 I am creating a class which uses broadcast receiver. I want to receive the broadcast on unlocking of the phone. But there is some issue. Please help me out. My Manifest.xml is :- <receiver android:name=".MyReciever"> <intent-filter> <intent-filter> <action android:name="android.intent.action.ACTION_USER_PRESENT" /> <action android:name="android.intent.action.ACTION_BOOT_COMPLETED" /> <action android:name="android.intent.action.ACTION_SCREEN_ON" /> </intent-filter> </intent-filter> </receiver>

Read ApplicationManifest of Android Application (apk) using .NET

天大地大妈咪最大 提交于 2019-12-22 05:07:19
问题 I´m working on an application (developed with .NET Framework) that manages Android Application packages (apk) and the program has to read the ApplicationManifest.xml that resides inside the apk. Extracting the Manifest file from the apk is no problem, because I can use standard zip tools to extract all files from an apk. But reading the ApplicationManifest is not possible. I expected that it contains raw XML data, but it's somehow encrypted or encoded. Is there a way using the BCL of the .NET

Read ApplicationManifest of Android Application (apk) using .NET

纵然是瞬间 提交于 2019-12-22 05:07:01
问题 I´m working on an application (developed with .NET Framework) that manages Android Application packages (apk) and the program has to read the ApplicationManifest.xml that resides inside the apk. Extracting the Manifest file from the apk is no problem, because I can use standard zip tools to extract all files from an apk. But reading the ApplicationManifest is not possible. I expected that it contains raw XML data, but it's somehow encrypted or encoded. Is there a way using the BCL of the .NET