How can I implement the fairly new Voice Actions from Google, in Android?
I'm thinking about the possibility to listen to the Listen to action as used by some music application.
Is there a specific broadcast my app must register as a receiver to?
...
My app uses a method that was depreciated since android 2.1 with a different method and I would like to make it work from 1.5 to 2.2. Is there a way for my app to determine which android version the user has and call the correct method based on that? or is there a better way to do this?
...
Hello guys,
I'm starting with android, and the app I'm developing is gonna need custom widgets look (glossy buttons, animated backgrounds etc.),
I've googled for any external libraries to achieve this and did not find anything.
let me guess, the only way to this is by painly extending base view classes and overriding onDraw etc. ?
...
Using the up to date drivers provided from the SDK I installed my DROID 1 onto my Windows XP PC. When I plug the phone into the computer it connects correctly and it displays as "Android Composite ADB Interface" under device manager. A few seconds after plugging it into the computer ADB crashes with the following error:
adb.exe has en...
can we show the dialog when our appliaction/activity startup?
...
What is the correct way to save images in png format, if I want to use it in my Android OpenGL ES application as texture?
Somehow some textures work, and some texture get incorrect vertex mapping. The code is the same, the image is different.
...
Hello,
I tested my app on some Android 2.1 and 2.2 devices. So I think that they support OpenGL ES 1.1
But on some devices I had problems whit my app. I get an unsupported operation exception means the device does not support the GL 11 interface. Is this a hardware problem? Are there some possibilities to avoid this problem?
Thanks,
Mij...
friend's,
I there any possibility to bind the result of Intent class in xml layout,
i'm doing it so for sending mail,i'm using below code for sending mail in
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
sendIntent.putExtra(Intent.EXTRA_EMAIL,
...
Hi i need to copy/move the contains of data/tombstones to sdcard/tombstones
im using below command
mv data/tombstones /sdcard/tombstones
"failed on 'tombstones' - Cross-device link"
but im getting above error.
...
Hai All,
I have a Gallery which Contains text Value such as Movie, Music, Games, Magzine etc., My Problem is, Whenever the User Scrolls the Gallery, I want to get the Postion of the Element.
For Instance,
User Scrolls the Gallery from Movie to Games means then i have to get the Position of Currently Selected Eleme...
Pictures: http://img838.imageshack.us/img838/1402/picse.png
How do I make the layout in Pic. 2 using RelativeLayout ONLY. Below is the xml layout of the first screenshot.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
...
Hi,
How would i be able to get the mimeType from an application.
I am working on an application which filters certain installed applications based on the mimeType.
could someone please help me with this issue ?
thanks alot
...
I have an android application that I want to always be running in landscape mode.
I have the following code implemented to keep the app in landscape mode all the time:
inside my activity in the Application Manifest
android:screenOrientation="landscape"
This seems to launch and keep the application in landscape view for the whole durat...
I am in process of creating some test application "Time Tracker" app like stopwatch so I start app go to Activity where I start time counter and now I need some functionality to send my activity to background or minimize or hide and after some period to call this activity again and stop her counter to get passed time period ....
Friend's I have a problem when click the back button either in device or customised back button in header,it never back to show the list content,it simply shows the blank screen.
For example - -
I have list view - list1,in it's onclick event i move to next listview -list2, and from list2 -onclick event i move to webview there i have ba...
Hi, I want to write a Android Program for Camera that captures pictures. I written code in such a way when I click a button, it should be captured, but noting is happeneing. Button click happens , but control doesnot come to "onPictureTaken". I am pasting my code here:
Activity
package com.andr.sai.camerademo;
import java.io.IOExcepti...
Actually In my application when I press the soft key for long time
I should get the key code for it.By using OnKeyUp and OnkeyDown
I am able to get the key code from the hard keyboard.how can I
get the soft keyboard keycode.
...
I've written an app that updates the users wallpaper periodically. A common feature request is to also be able to update the lockscreen image as well. I was unaware that there even was such a thing as a lockscreen wallpaper, as vanilla Android just displays the same image as you have set on your homescreen, but apparantly HTC's Sense has...
We have written an Android application which sends stack traces to our server, if any occur. Sometimes we get weird stack traces that seem not to be an exception from our application. For example:
java.lang.NullPointerException
at android.widget.FastScroller.scrollTo1(FastScroller.java:306)
at android.widget.FastScroller.onTouchEvent(F...
The problem appears in Android 2.2. It seems cool because it can auto-hide.But I don't like it quite much because the bar is an indicator for "Whether there is more content not present on the widget". Hiding it maybe neat, but may get the users wrong sometimes. In ListView, I find it a fatal bug at all. When there is more content to show...