android-manifest

Error: No resource found that matches the given name (at 'icon' with value '@drawable/search').

Hi, I have added a .png file that i'm trying to access in one of my menu.xml file. However i get this error "Error: No resource found that matches the given name (at 'icon' with value '@drawable/search'" Could you please help me resolve the error? Regards, Dv ...

Enable usb debugging (under settings/applications/development) programmatically from within app

Is it possible to enable usb debugging (under settings/applications/development) programatically from within my app? I was looking at Permission.WRITE_SETTINGS and http://developer.android.com/reference/android/provider/Settings.System.html but couldn't find anything appropriate. ...

How to implement an Android detail notification?

This has probably been asked before, but I can't find a good way of implementing it. I'm trying to write a program that manages a form of messages, and these messages are received from an external data source. This all works. However, the problem comes when I try to notify the user: I would like to have the notification jump directly ...

Take photo using key or motion event by any method

Hi, My aim is to take a photo using the native android camera by using the Key or motion events. But it is not possible. I tried with junit testing. Code for invoking camera **package com.two.camera; import android.app.Activity; import android.content.Intent; import android.os.Bundle; public class CameraTwo extends Activity { ...

I want my Android app to know when another application has been started

I would like my app to do something when another application is opened. The current approach I have taken is to create a broadcast receiver that monitors all android.intent.action.MAIN events, but either I am not doing it correctly or the way I am going about it is incorrect. The section of the manifest looks like this: <receiver an...

Android Launcher label vs. activity title

This question has been asked before - but with no satisfying answer at all! So I'm trying it again. I want to give my application launcher icon (the one that is displayed on the startscreen!) a different, shorter caption. It seems the launcher takes its label from the mainfest section about the main activity's label, as here: <activity...

How can I find why Android market is filtering my app on certain phone

Hi guys, we have an app for Android called OnTheRoad (market://search/?q=pname:eu.inmite.prj.otr.aclient ), but for certain reason, it is not visible if I access Android Market from Vodafone 845 phone (Huawei Joy). The phone has QVGA screen resolution and runs Android 2.1 system. The app is 1.5+ compatible and has enabled support for s...

set wallpaper change during some time for android application

hi..... i can set wallpaper on android mobile but i want to do change wallpaper automatically regarding specific time ............. what i have to do for that.... thanks in advance ...

Is there a max to the number of Activites that can be declared in a manifest?

Hello, I am working on an app that will potentially have dozens of screens a user can access. Not all need to be active at any one time. I have a few main screens that are presented to the user and then depending on what they select, the app will need to present new screens. From what I've read here it seems that the best practice is ...

Facing licensing issue in already published paid app

I am facing the problem in licensing of my old published paid apps. Basically i have paid app which is published by version code 1. I implemented the license code on it, it working fine to me. Licensing server giving the response or allow that you can use it. But once i changed version code from 1 to 2 in manifest file, then licensing se...

AndroidManifest.xml; unable to include external library

I'm following the MapView tutorial on the Android website [2010-08-22 11:12:24 - com.android.ide.eclipse.adt.internal.project.AndroidManifestParser] Parser exception for /MeCercana/AndroidManifest.xml: Open quote is expected for attribute "android:name" associated with an element type "uses-library". [2010-08-22 11:12:24 - MeCercana] ...

customize check box preference

Hello all, I am unable to customize my checkbox , although I have defined the background in the xml preference file, it doesn't pull the file. 1. I am trying to display custom images for checkbox and have defined the selector xml as "android_button.xml" which looks like : <?xml version="1.0" encoding="utf-8"?> <selector xmlns:andro...

Android Intent Filters : How do you use Intent.CATEGORY_BROWSABLE correctly?

I have an intent filter to intercept urls from the browser on my domain. This will give the user the the choice of using the native application or the browser. I have setup the following intent filter as so. <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.catego...

Android Activity Not Found Exception Doesn't Make Sense

Okay well I'm trying to make a Live Wallapper but whenever I click on settings it force closes. Saying the activity is not found which doesn't make any sense because, I have it in the Manifest. This is really starting to bug me as I've been at it for over 2 hours. Logcat:08-28 01:06:49.903: INFO/ActivityManager(1089): Starting activity:...

Creating a landing page similar to twitter app and others

I am wanting to make a reusable 'landing page' activity similar to like the activity when you first launch the official twitter app, facebook, or google io app, etc. Reusable is really the key here I would like for the activity to dynamically populate its gridview with the other activities in the application. Is it possible to parse t...

Get Mail Sent Notification in onActivityResult "Android"

Hi, I am launching a mail activity by //Sending mail final int SENT_MAIL = 1; startActivityForResult(Intent.createChooser(i, "Send mail"),SENT_MAIL); and in onActivityResult(int req, int res,Intent data) i am trying to find the result of email sending, so as to confirm if my mail was sent or was discarded by the use...

Can an ACTION_USER_PRESENT BroadcastReceiver not be registered in the manifest?

Hey all, I see that multiple broadcasts (ACTION_TIME_TICK, for example) cannot be registered in the manifest, the must be explicitly registered via Context.registerReceiver(). I am having trouble with the ACTION_USER_PRESENT broadcast intent. Specifically, I test on the emulator and my application keeps force closing with the error: ...

Adding an intent filter for the default mail app

Hi I've added this intent filter <intent-filter android:label="@string/app_name"> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="text/plain" /> </intent-filter> My app shows up as a target for the intent in the chooser for many apps but no...

User versionName value of AndroidManifest.xml in code

Hi, the AndroidManifest.xml contains the version name of the application, something like android:versionName="1.0" Now the question - is it somehow possible to access this version name in the source code, so that I can display it for example in an About Dialogue? thanks in advance, Martin ...

Android intent-filter pathPattern numeric matching

I'm adding an intent filter to my android application and I want it to catch requests that go http://www.somedomain.com/[numericValue] . I only want to catch it if the path is numeric, but if it has text, I don't care about it. I tried the pathPattern of [0123456789]*, but that didn't work. Is this possible to do? ...