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
...
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.
...
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 ...
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 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...
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...
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...
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
...
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 ...
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...
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] ...
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...
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...
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:...
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...
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...
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:
...
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...
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
...
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?
...