how powerful is Bluetooth programming on Android? is it possible to add new protocols and encryption techniques? or even change in the current protocols? does it support bluetooth 2.1+EDR?
Hi
I recently started using eclipse and an AVD emulator to develop android apps for a droid. Everything is going fine, except when i type in the emulator it returns chinese characters. My location is set to en-us, so not sure what is going on.
Any thoughts?
Does Android come with a way to do Full Text Search?
I know is it not even possible to search contacts by the notes field, being Google the search company, but I would be disappointed if there is no API for that.
Android: How to Add Static row in list view
I have a requirement where i need to add the Static row as first row in list view
Thanks in advance for help..
How to trace the Memory Leaks in Android Development? I am working on eclipse IDE to develop the application. i cant find out how to rectify the memory or window Leaks Exceptions? Any Idea.
Mainly the Window Leaked error raises the Illegal Argument Exception? how to rectify both og this. Please Help.
Hi,
I have a ListView in my android application.
If I flick up/down the ListView, which method will return my 'selected' element in my list View? How about if I use the track ball to navigate up/down my list view, which method will return the index of my selected element?
Thank you.
hello I think the title says it all. I need to accomplish this result in android but it looks like there is no easy fix to my problem. Just to clarify a bit more: if I had to do it in html css I would write something like
<img src="Image URL" style="float:left; margin-right: 5px;" />
got it? ;)
thanks guyz
I want a TextView to have a rounded border. This can be done by using a drawable, specifying a shape in the drawable, and then using the drawable as the background of the TextView. android:background="@layout/border" Also shown here
However, my TextView already has a background color (which is gray) and thus I'm unable to use the above method to set a rounded border.
Is there any other method to do this which allows the background color of the TextView to remain gray and also surrounds it with a rounded border?
Hello I am looking for personalized screen locker for android phones, instead of typing numbers , user can flex fingers in a particular pattern and unlock the screen.
Any pointers/ideas are appreciated.
I am attempting to learn how to develop on the Android platform but do not quite understand the relationship between Activities and Views, because according to the documentation an Activity is link to a UI object that the user can interact with, but if this is the case where does the whole idea of Views come in?
There is probably a very basic explanation but I would appreciate a few pointers all the same. Thanks
hi,
i am trying to improve the layout for my game. the problem is that while i can create a
good layout for one android phone, it doesn't work for another, ie the trackball for MyTouch
is on the right side (landscape mode), but for the MyCliq, the DPad is on the left side. is
there a way to programmatically set the layout based on which phone it is? thanks.
Hi,
If someone asks me the below questions
What an Android Framework is?
What does it do?
How should I answer?
Also what is the role of API's such as Activity Manager, Location Manager etc in the Framework?
Hi.
I need to obtain the velocity of an android device, based on the accelerometer values. I made a code that allows me to get the accelerometer values, and then I calculate the velocity, using the formula:
v = v0 + at. (vector calculation)
My problem is that my velocity only increases and never decreases. I think the problem is that the device never gets an negative acceleration.
Can you help me with this?
I have an android app that periodically, say once a week downloads content from a server in XML. The content is used by the app, different Acitivities use different parts of the content.
My question is a design one, should I save the data in SQlite or just keep it as an XML file, which one would be faster to read?
The app can only use one content piece at a time, which means subsequent XML content downloads replace the old one.
Starter question: My "Hello World" attempt won't run, ("No compatible targets were found"), I think this is bacause I selected the latest version for my project (2.2), and the highest AVD version is 2.0.1. Does this make sense? Can I change my project version (haven't been able to find a way to do this), or do I have to start again? If the versions are not backwards compatible, what is the best version to use for the majority of Android devices out there?
Thanks
I'm trying to build a voip application on a new android device, i use AudioRecorder to read the microphone but I'm getting no valid results, just white noise.
This happen only on this new device(other work well) and this is probably because this device has PTT ability.
Is there some workaround to avoid using AudioRecoder to receive streaming data from the microphone?
Thanks.
supersk.
Is there a way to change the sync settings of a Gmail account programmatically with an Android app? For instance, I'd like to enable/disable syncing of a Gmail account from my app, without the user having to do anything.
I took a look at AccountManager, but that doesn't seem to be the right place to look.
I download the *.ics file successfully from the mail attachment by using
intent-filter.
I need to give an alert at the time of downloading the ics file. How to do this? Please help me to solve.This I am new to android.
I have a large editText that no matter what I try, won't center. I have tried putting it in a horizontal and vertical linear layout and then setting that gravity to center because setting the imageText's gravity to center, it still hugs the left of my activity.
<EditText
android:id="@+id/editText1"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:ems="10"
android:gravity="center"
android:lines="8"
android:maxLines="8"
android:minLines="8" >
</EditText>
And here is what it is doing:
I am first time to write a camera app. At program, I am using setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) and android:screenOrientation="landscape" in Manifest to set the landscape screen.
My problem is when use System.exit() or Intent. The screen will change to portrait automatically. But in my program, it haven't set any screen orientation again.
How can I prevent this problem?
Thanks!!
I have an iPhone application and I am porting it over to Android.
I have a service/controller that spawns new threads to perform some network tasks.
I use performSelectorOnMainThread in my iPhone app. How can I have my Java app do the same or similar thing?
I want to display one dialog box after incoming call, so that I can run my application in background while receiving call.
How to catch that incoming call in android application???