hi, i have an app which shows the received messages as a Toast through a BroadcastReceiver. I am presently using the SmsMessage.getOriginatingAddress() method which gives me the number of the sender, how can modify it to get the corresponding name of the sender if stored in the contacts?
...
After installation of Android SDK, there were created .android folder on the E:\ drive. As far as i know this is default folder of Android Virtual Devices for configuration files.
How can I move .android folder to a different location?
(eg. from E:\.android to E:\Android\.android)
...
hi all,
I have One AutocompleTextView and I want to make the virtual keyboard disappear when he hits "DONE" at the AutocompleTextView. So far, the buttons "NEXT"/"DONE" do nothing at all.... Unfortunately I found no resources addressing this problem.
Any suggestions? thanks in advance
...
For my application i make a bluetooth discovery search to list all available bluetooth device in. If I'm in a room with a lot of computers etc, there is a really long list. So I'd like to filter Android phones from the lists.
I read the documentation under:
http://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.h...
Is it possible to pass custom attributes through a ViewStub to the target layout's root element? Like so:
<ViewStub
android:layout="@layout/custom_view"
app:customAttr="12345"
/>
Where custom_view.xml is:
<blah.CustomView ...>
...
</blah.CustomView>
When I try to do that, CustomView.java does not get "ap...
I want to use DrmStore.
Isn't there source that uses DrmStore?
...
After I Bind to a service inside the
onServiceConnected()
method I start a CountDownTimer. The problem is that the timer does not start counting down. I have gone through with the debugger and sure enough it is executing the method that starts the Timer.
If I use a button to start the timer it works! What could I be doing wrong?
...
I'd like to be able to compile an Android app on my desktop, upload it to my phone and launch the app without having to plug in my phone via USB. I want this for 1) convenience when developing and 2) SD card access isn't available when plugged in.
One idea I had was to write an app that would download the app from the computer wirelessl...
<EditText android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_weight="1"
android:id="@+id/name" android:singleLine="true"
android:maxLength="12" android:capitalize="none" android:inputType="text" />
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content" android...
I have a string that contains a xml structure and there are two pieces of data in separate tags that I am after.
xpath has been added since API level 8, and with me being stuck with API level 3 (old phone for you ;-)) I need a way to get the data.
Would using a regular expression commit a huge sin? ;-) The xml isn't that big...
Looki...
Dear,
From where i get Android 1.5 and 1.6 Calendar Source code.
thanks.
...
As questioned elsewhere (http://bit.ly/9Wt3zG) but remains unanswered, the Google Analytics for Android README notes:
(NOTE: do not start the GoogleAnalyticsTracker in your Application onCreate()
method if using referral tracking).
Does anyone know why? Is there a particularly good place to do it? Start it in onResume() and simpl...
Hi!
I need to define the structure of ExpandableListView in xml file manually.
Is there any guide or example of doing this?
Thanks
...
Hi All
This will be my first time signing application using Keytool and Jarsigner.
I run my apk through the market signing process, step by step as it is explained in android official site
http://developer.android.com/intl/fr/guide/publishing/app-signing.html
Signed process finished with success apk created.
Installation of this ...
Hi Guys,
I've got a query, (I'm using rawQuery())
SELECT * FROM <table>
I'm then storing what it returns using a cursor. From their what I want to do is, start at the first row so.. cursor.moveToFirst() then take each column , column by column and store its particular value in a variable. I then want to move onto the next row and d...
Is there a way to get the first visible View out of the ListView in Android?
I can get the data that backs the first View in the Adapter but it seems I can't get the first View in ListView.
I want to change the first visible view after a scroll action finished. I know that I should not save references to the view.
...
Hi,
I couldn't find this question already being asked on this forum.
I am little short on time to search anymore.
I have a multi-column ListView with three TextViews.
I need to have header for each of the column. I am using Android 1.5 SDK.
Can somebody help me here. I can't use addHeaderView since it adds just one view which would con...
Hello,
I'm new to Android programming.
My requirement is to call an HTTP request via HttpClient.
Below is the code :
public class ClientWithResponseHandler {
public final static void main(String[] args) throws Exception {
HttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet("http://www.google.com/"...
I downloaded a file with an app and stored it inside of its internal storage, but the file is set with -rw------- and I want to change those permissions so is it possible? I know that using external storage is an option but I want to know if I can do it with internal storage too. Thanks for the help.
Edit:
If it turns out that I can't c...
hello,
I have a HTML file in a web view.
I want to find the length of the content of that HTML file.
I have tried methods like getContentHeight() at onPageFinished() but
it still giving me "0".
I had also put a thread which start after onPageFinished() and waits
till 10-15 sec but I am still not able to find the Height Please help
me...