Hi,
Actually in my Archos 5 internet tablet options are there for bluetooth(3G) tethering.
Iam getting mobile symbol manually through wireless controls -> cell phone tethering -> tether click.If enable all the options browsing is possible.Sometimes if switching between wifi to 3G , browser not able to browse something . It doesn't gives ...
Can someone please help me find a list of flags that are needed by PathMeasure.getMatrix()
[http://developer.android.com/reference/android/graphics/PathMeasure.html#getMatrix(float, android.graphics.Matrix, int)][1]
[1]: http://developer.android.com/reference/android/graphics/PathMeasure.html#getMatrix(float, android.graphics.Matrix, i...
Last night, my app was working just fine streaming audio files with the MediaPlayer in my app. I came into work this morning and it wont play any audio file and I havent changed my code at all. here is the error log that it is printing out via LogCat. Also, the audio file still exists and plays fine on anything else.
07-07 09:53:39.559:...
Hi
I have used Searchable Dictionary Example in my application, compiled as 1.6, and used on my Nexus One with 2.1 with no problem.
After updating my cell phone to 2.2., it stopped working when starting to type in the search field.
I cannot debug for some reason (so I cannot provide log errors).
Any ideas?
Ohad
...
so, i've been working on this same stupid thing for a while now. some folks here have helped me get it to the point it is but now i've got to move farther forward... but first, my code:
package com.mhe.test.scan;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
impo...
Hey,
I'm looking to make a service which I can use to make calls to a web based rest api. I've spent a couple of days looking through stackoverflow.com, reading books and looking at articles whilst playing about with some code and I can't get anything which I'm happy with.
Basically I want to start a service on app init then I want to...
Android provides a lot of Intents in the base OS and packages. How do I determine the arguments (that is, Data, Extras, etc.) to send to an Intent? For example, you can open the Settings app to show the Application Info for a particular app using this intent:
String pkgname = "com.example.application"; // whatever the app is
Intent i...
Hi,
I tried to set anchor tag mailto attribute like
<a href='mailto:[email protected]'>[email protected]</a>
in webview. when i run the app on simulator and click on the link it is showing "Unsupported Action .."
How i can set mailto attribute work out in android webview....
Thanks
...
I followed the tutorial here but when I create the project in Eclipse, i get an error "invalid resource directory name. Resource: "drawable-hdpi" path "/HelloAndroid/res" type "Android AAPT Problem"
...
I have a ListView that displays a set of notes, each with varying ammounts of data (i.e. some have a due date, others don't).
Currently, each view in the list is a RelativeLayout containing a TextView for each field, plus two Button and a CheckBox. I then simply hide the unused fields by setting visible false on each one.
This has wor...
I'm using URLConnection to connect to the main server. The server implements digest authentication. If I connect to the server with java library, the connection is successful. But if I use the same code for android, the connection is rejected for the reason - username and password do not match.
Here is the code for my Java project:
imp...
I know that the best to start service is
startService(new Intent(this, MyService.class ));
How can I send my application context also when I am starting a new service?
...
My android app will work for both normal and hdpi device. I don't want to create two sets of images assets for normal and hdpi screen.
So, could I just create image assets for hdpi only, and use them for both normal and hdpi device. Of course, the hdpi images will be auto scaled to fit normal screen devices. Is it OK? How much performa...
I am attempting to put my C++ program onto an Android phone but have run into several problems with the library linking. It seems most of the useful information I find on this topic through google is outdated (motz) or simply does not account for the complexity of my program. I have been able to run simple C programs but fail when attemp...
My Android app needs to retrieve information about a contact (namely, phone number and name.) I wrote some code using getContentResolver().query() In the results, I am seeing that the name is being returned, and other information like when I last contacted that person, but not the phone number. What am I doing wrong?
The code:
Log.w("M...
Hi!
I have the following problem:
My app has a thread that updates the game state. The app needs to make a change to the state of the View object, triggered by this thread.
The documentation for View states that it should only be modified from the UI thread, and that a Handler should be used to place and handle events.
Yet, there is a f...
Hi, I have a TextView .I am using it like a link by using
t2.setMovementMethod(LinkMovementMethod.getInstance())
for this textview in .java files so that it blinks when I clicks, but I want the color of textview to be changed when clicked. I used
t2.setLinkTextColor(0xff0000)
but does not work. my code is as follows:
public cl...
in Don Park's example :http://donpark.org/blog/2009/01/24/android-client-side-oauth
I am confused about step2.
there is such a lane:
OAuthAccessor defaultClient() {
String callbackUrl = "icecondor-android-app:///";
OAuthServiceProvider provider = defaultProvider(ctx);
OAuthConsumer consumer = new OAuthConsumer(callbackUrl, consumerKe...
I'm trying to write an Android widget that shows how much data has been transferred over 3G/WIFI/EDGE but I can't seem to find the API call, even though other widgets do this. Does anyone know what the API calls are to get the data usage?
...
I'm trying to display an image above and below a grid. This is the initial screen with Logo on top, 4 buttons as a grid view then image on the bottom. With my current code the bottom image is not displaying at all. Also I would like to stick the bottom image "bottomboxes" to the bottom of the display.
<ImageView
android:layout_height...