android-manifest

Add to menu using addIntentOptions providing multiple intents for a single activity

I want to use addIntentOptions to drive my menus when ever possible. This seems the cleanest way to provide them. Rather than explicitly detailing activities, simply ask for a menu listing all the activities which are available for my data item. So I'm trying to put together a context menu for a ListView. It works great. Only problem is...

Android Content provider

Hi, I want to get a code of content provider which a database is created. I am using the tool which located here tools/sqllite3.exe to check if the database is created. Please let me know the step by step procedure for this thing ... Thanks, -D ...

AndroidManifest does not generate launcher icon

My AndroidManifest.xml file does not create a launcher icon as it should. The XML is as: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.jbrooksuk.iTunesTweet" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/ittico...

Android Manifest Problems

Whenever I run my program, I get this error: 10-11 17:53:12.135: ERROR/AndroidRuntime(403): at android.app.Instrumentation.newApplication(Instrumentation.java:957) 10-11 17:53:12.135: ERROR/AndroidRuntime(403): at android.app.Instrumentation.newApplication(Instrumentation.java:942) 10-11 17:53:12.135: ERROR/AndroidRuntime(403): ...

Titlebar shrinks when I specify a minSdkVersion in AndroidManifest.xml

I am trying to specify the minSDKVersion: <uses-sdk android:minSdkVersion="5" /> Whenever I add this line, my titlebar shrinks a little bit. Not sure why? When this line is not in my manifest, everything is fine. <application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/Theme.DarkGra...

What happens if the minSdkVersion is lower than the targetSdkVersion?

I am getting the warning: Attribute minSdkVersion (3) is lower than the project target API level (8) How will this affect my app? ...

How to decrease the Width and Height of CheckBox in Android.

Hi, Can anyone tell me how to reduce the width and height of CheckBox in order to display very small CheckBox in Android ? Thanks In Advance, ...

All packages that respond to a certain category on Android?

I want to build an Android widget that will update very frequently (5 seconds). This means, I want to only update it when the screen is on and when the home screen is the active Activity. How do I get a list of home apps (or apps that respond to <category android:name="android.intent.category.HOME"/>) In the android API, can I use Int...

Intent_Filter Action won't work in AndroidManifest

Hi, I have an Activity which also has t olisten to a specific broadcast from a self-made service. I have noticed though that when I add that as an action to my Androidmanifest file the app won't actually start whilst debugging. The Activity is also my MAIN activity : <intent-filter> <action android:name="android.intent.action.MAIN" ...

How can i start an animation at the starting of an activity itself?(android)

currently i am invoking the animation.start() inside the touch listener of view.. But i need to invoke it from the time screen is displayed.. pls help me ...

Two searchable.xml activities in one AndroidManifest.xml

I have an Android app which has a few different activities for browsing articles and images downloaded from RSS. I'd like to be able to offer to hook up the search button to the Search dialog, using the a searchable.xml file. I've managed to do this with one search, using: <activity android:name=".search.SearchResultsActivity" ...

Properties for application specific attributes in Andriod

I want to center the application title/label in my android app but I can't find a lot of documentation on how to set that property. I have found a couple of posts saying that I can create a custom title bar and change the theme in my manifest but I just can help think there is a simpler way to just center the title. Thanks in advance. ...

Android Live Wallpaper Interaction with Widgets And Tell Wallpaper where widgets are placed

Is there functionality in teh live Wallpaper for the service to know where widgets are placed on the homescreen and the size of the widgets? For instance If I created a Live Wallpaper that changed based on widget position is that possible? Also I want to make a widget with buttons that manipulate the live wallpaper, would I use the Inte...

android Searchable dictionary results are not being shown in global search

Hello, I have tried to implement the searchable dictionary sample app. Everything seems to be working except when I try to pull the results from global search. I have tried to follow everything that has been described in the docs too. My searchable.xml <searchable xmlns:android="http://schemas.android.com/apk/res/android" andr...

onConfigurationChanged-it's still showing the first layout...

Hi all, I have an activity which handles configuration changes. But now i have to change layout.I tried in onConfigurationChanged callback just to set again the layout and hoping will get the correct layout(land) but it's still showing the first layout for portrait view ( there two layout(same name) are placed in res/ layout and res/...

Editing while Opening Android Manifest File in Eclipse

I found this strange behavior with Eclipse when I try to open the Android Manifest file. Specially when the file was checked out by other user, Eclipse is trying to open the file and do some edits. If it finds that the file is checked out by other user, it displays a message to remove the read only flag. And we have also seen old versio...

Debugging a service

I have written a service with a remote interface and installed it on my PC's Eclipse AVD. I have a client test harness which starts and invokes methods in the service. Initially I had the service installed by a control class and activity, which I have now removed, so that the manifest for the service looks like: <?xml version="1.0" enco...

unable to export .apk from eclipse

Tried to export working android project from eclipse. The screen is frozen at page "Export Android Application". "Next" button is grayed out. Same project runs fine on emulator and HTC as well. Please help. ...