Could it be possible now, which we can develop an Android application having the following requirement for its working steps
Automatic receive the call, then
Play some sound out to the caller, wait for DTMF response, then
Record the caller sound (in the case that they permit, by pressing 1 as DTMF response)
Callee can play back the rec...
When I record video by MediaRecorder, it always records in landscape mode, regardless of real device orientation.
How to force MediaRecorder/Camera use real orientation ?
...
Has anyone tried porting clamav to android??
...
Hi,
I have a spinner with items, populated via ArrayAdapter. I want to change font style for some (not for all) of spinner items, both for spinner's combobox and listbox. I guess that I need to subclass something, but I don't understand what. How can I do that?
Thanks!
...
Hi,
I've an XML file in the assets directory of my test application. I want to access this file from my suite method of the test class.
ie.,
public static TestSuite suite(){
InputStream stream = // Some code which returns the asset
}
Any idea how I can do this? I tried with Resources.Resources.getSystem().getAssets() but no luck ...
I am using a textview to display some text and I would like different parts of the text to be shown in different colours, e.g. first half of the text in red, second in blue. I cant seem to find a way of doing this. I have heard of using Html.fromHtml() but I am not exactly sure how to do it this way.
...
Android 2.2 had come up with a new feature called WifiHotspot.This feature is not available in previous versions.What is importance of this feature. What is meant by WifiHotspot ? Can anyone tell me detailed explanation regarding this feature. Where can I find information about this feature.
Thanks in Advance,
...
Hello, when my Async task is executed it completely crashes the app
Here is the code to the class. It sits inside of my main activity class.
I'm new to threading, so sorry if I've done something ridiculous lol, I don't fully understand it.
EDIT:
private class TeamSearchTask extends AsyncTask<String,Void,Void> {
CharSequence nf...
This is a followup to this post:
http://stackoverflow.com/questions/3897176/findviewbyid-in-a-subclassed-surfaceview-throwing-runtimeexception
Based on Romain Guy's feedback (which I'll accept shortly as it is a solution), I'd like to obtain the calling Activity from within the View, so that I can use it to obtain the desired TextView ...
If I wanted to connect to another device via bluetooth how would I do it?
Nothing I've done seems to work. The phone I'm trying to connect to is non android and has bluetooth on and discoverable.
...
I'm trying to get access to the metadata about podcasts, such as the show notes/description, the show title and the icon image. I'm at least partially using ContentResolver to query for most of the AudioColumns information, but for some reason ALBUM_ART is missing, there seems to be no column for the description, and in general, it's not...
Hi, I have an XMl file like below which I will use to set background for Textview:
row.xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
The above Xml I will set as background for TextView in main.xml as below:
ma...
Hello all. I'm trying to get the name of the file attached to an email on the gmail app? Can anyone point in the direction of getting the file name ? I can get the attachemnt, just don't know how to get the original file name.
...
Google mapview does not load the actual maps in the emulator, just the grid. My overlays are displayed ok. sdk version 2.2. It works fine in a real phone. I use a debug key and trippel checked the manifest. It has been working in earlier projects. I just cant figure it out.. Any ideas, what to check?
...
So I'm writing an Android app which uses a large c++ library. I have everything working so that the java app can call the c++ delegation methods, but I'm finding myself wishing I could log messages from c++ to the Android log. This is easy from java, but I'm at a loss as to how to call a java method from c++. My searches found methods...
I am trying to write a select query from one single table in SQLite DB in my app where data exists.
This is the SQL.table has these columns - id(INTEGER), start_time(INTEGER), category(TEXT)
select category from tuuserid_pref where id = (select max(id) from tuuserid_pref
where start_time < '1242'); by the way I want to bind the value s...
I have pages that users will be accessing that contain iframes. I would like to be able to parse out the source URL for sharing.
...
Hey all, this is briefly what im trying to do:
Im making an Android application that uses C++ libraries compiled from the Android NDK. Some of these C++ libraries create connections and act as servers to report data over a wifi connect (i am not trying to use the phones 3g connection or anything similar). The connection will be created u...
Hi folks,
This might be helpfull for the one or the other:
If the debugger doesn't attach (hang-up of the screen "waiting for debugger), then you probably use the phone device and the emulator at the same time.
Just unplug the phone or close the emulator and everything's fine again.
Cheers, Marc
...
In my OnItemClickListener routine, I want to dismiss the dropdown and replace the entered text with a label prefixing the entered text to confirm the selection. The later part is working but the dropdown stays on the screen until the Tab button is used to move the focus. Is this correct and if so, how can I do this programmatically?
thn...