Questions tagged [android-manifest]

The manifest presents essential information about the application to the Android system

Every application must have an AndroidManifest.xml file (with precisely that name) in its root directory. The manifest presents essential information about the application to the Android system, information the system must have before application can be installed and run any of the application's code.

See AndroidManifest.xml permissions

6006 questions
2
votes
1 answer

Flutter: AndroidManifest cannot find @xml resource

I have created a flutter app for which I want to implement a home screen widget. For a first try, I am following this tutorial: https://medium.com/@ashishgarg1998/how-to-create-home-screen-app-widgets-in-flutter-ce3458f3638e After copying the code…
2
votes
1 answer

How to properly define 2 main launcher activities in Android

My app has 2 main launcher activities, which both must be shown in the apps system drawer. My question is, what is the correct way to define the intent-filter in the second activity, so it has less priority, and the operating system takes into…
API_1024
  • 479
  • 2
  • 13
2
votes
1 answer

How to check if user has disable internet?

My app needs internet connection so it check if user have connection or not. But it check that only when activity starts so how I can detect if user has no connection after activity is started? HERE IS CODE WHAT I USE TO DETECT CONNECTION WHEN…
Eljas
  • 1,187
  • 4
  • 17
  • 37
2
votes
0 answers

Android: Manifest merger failed with multiple errors, see logs with Braintree

I am getting this error when I add Braintree dependency. Execution failed for task ':vtg:processDevDebugManifest'. Manifest merger failed with multiple errors, see logs Braintree version: app Gradle implementation…
Aanal Shah
  • 1,946
  • 2
  • 20
  • 30
2
votes
1 answer

AndroidManifest.xml file doesn't exist in default MAUI project

I have created the MAUI project according to the getting started guide: Installation Build your first app It is a default project without any changes. Now, I am trying to build my project and I get the next errors: Specified AndroidManifest file…
RredCat
  • 5,259
  • 5
  • 60
  • 100
2
votes
1 answer

Illegal byte sequence zipro W 10-02 23:01:47 10808 9104 Error opening archive T:\my_app\build\app\outputs\flutter-apk\app.apk: I/O error ERROR: dump

I have created this project before and I'm trying to run it again but I am getting the following error(s) : Error Log: Launching lib\main.dart on AOSP on IA Emulator in debug mode... lib\main.dart:1 √ Built…
Mike Osborn
  • 473
  • 1
  • 11
  • 22
2
votes
3 answers

How to restart a service in android?

has anyone know how to restarting a service in android?? i have a service that called when device is booting.. and i have an option.java for saving my configuration.. if i editing a configuration in option.java, then i must restarting my service to…
Michael Frans
  • 613
  • 3
  • 23
  • 49
2
votes
0 answers

Custom URI schema that returns data

Yes, I know that defining custom URI schemata is a bad idea in general. Still, let me ask. If you define a custom schema via a BROWSABLE intent-filter, is there a way to make that schema return data back to the browser? Not necessarily from activity…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
2
votes
1 answer

Completely restart android app including application class

I want to restart the application after the user changes language within the application. I'm starting new intent for MainActivity or as another solution I tried activity.recreate() methods but fragments are not initialized when restarting…
2
votes
1 answer

How to create an alerting alarm on android event in silent mode?

I want to create an anti theft alarm, so when the android device is stolen, it should make a loudly alert. I tried this code, but it does not work. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
Michael Frans
  • 613
  • 3
  • 23
  • 49
2
votes
0 answers

Android 11, packageManager.resolveActivity() returns null

It is using packageManager.resolveActivity to check the activity when receiving FCM notification and preparing the Intent (so there is no startActivity() call directly). It works on other os version but not on android 11, the…
lannyf
  • 9,865
  • 12
  • 70
  • 152
2
votes
0 answers
2
votes
1 answer

Obfuscating Android activity names

Is there any way I can obfuscate the names of my Android activities? I would like to be able to hide them from view, if someone were to attempt to reverse engineer my APK. Of course, I could simply manually rename them all with nonsense names and…
pqn
  • 1,522
  • 3
  • 22
  • 33
2
votes
1 answer

How to delete unnecessary permissions in Android?

Some additional permissions, not coded in Manifest, show up while installing my application on a real device, e.g. I have coded:
Egor
  • 435
  • 5
  • 17
2
votes
0 answers

When is it safe to use the DONT_KILL_APP to disable a component?

I need to programmatically disable a BroadcastReceiver that receives the BOOT_COMPLETED action. The code below solves the problem: packageManager.setComponentEnabledSetting(broadCastReceiverName, PackageManager.COMPONENT_ENABLED_STATE_DISABLED,…
1 2 3
99
100