I am new to android ,and i have drawn a pie chart and when i see it vertically ,its ok,and when i change the view to horizontally i just get the first half of the chart and i want to scroll it down,how to do it.
...
The GPS on my Android phone is on, supported by the fact that :
location_manager.isProviderEnabled(LocationManager.GPS_PROVIDER)
returns true.
Yet, the following line :
Location location = location_manager.getLastKnownLocation(LocationManager.GPS_PROVIDER) ;
returns null.
What could be the reason ?
Thanks.
...
i am new to android ,i dont have idea of layouts,where to refer?
basic of layout desigining,and how to make the form scrollable ,such things etc
Regards
Rakesh shankar.P
...
Hello,
I am developing the android application. which is going to update the content from android to the web(php webservice). Can anyone give me the sample code for my reference.
...
I am detecting gestures on one of my activities - I am using it to navigate through photos. Every time I am doing a gesture, yellow line is being drawn on the screen. Is there any way to set GestureColor as transparent?
...
Im trying to add a phone number to an already existing contact on a Droid-phone. Doing it at the same time as I create a contact is trivial, as the backreference I supply simply is 0 when creating a ContentProviderOperation. But trying to find the backreference through querying for a display name like this does not work:
Cursor rawConta...
On the Emulator with a default mail-app all works fine. But I have no attach when I'am receiving a mail which I've sent from my Hero using a Gmail app. The default Mail app on the hero works fine.
How can I make this code works with Gmail app on Hero?
You can see the code below.
private void startSendIntent() {
Bitmap bitm...
Following on from my Question Here i have found what the problem is but cant seem to fix it.
What appears to be happening is that my Application launches, the user can then press a button to start a background service and the Activity disappears.
The user then makes a call and from here my applications dialog screen appears. In the int...
this android aplication get mobile number to get the device only
...
Hello
I am trying to use internet with the Android emulator, but with no success.
Any ideas?
...
What is the default encoding of android system ?
...
hey,
i am working on data manipulation using sqlite.
how can i insert the datetime value in sqlite
i implemented the below code in my app.
it works,
DateFormat formatter = new SimpleDateFormat("dd MMM yyyy hh:mm:ss");
String temp=property.getFirstChild().getNodeValue();
Date s=formatter.parse(temp.substring(5, temp.length()-5));
Str...
Hello,
I'm writing an application which is able to communicate with my PC.
I have used the Bluetooth functionalities of the SDK 2.1.
I can find devices, get their MAC address, create a RFCOMM socket, but when I start the connection, I get the following error message :
Service discovery failed.
1)Is it because of the UUID which is no...
hi all,
I am staring to learn android, I have done everything as mentioned in the guide, and I tried the hello android example.
but I just can´t open the main.xml file to edit, it give me this error: Could not initialize class java.awt.Font. I am on linus kde.
I don´t what I should do, and please avoid any solutions that use 'sudo'...
Hey guys my first post here... Im trying to write a custom filter to filter the arraylist in my arrayadapter such that my listview is filtered when i click on the button.
For instance when i click on my button
public void onClick(View arg0) {
String abc = "abc";
m_adapter.getFilter().filter(abc);
}
How...
I am able to display multiple overlayItems on Googlemap, now I want to change icon of any specific overlayItem (to show it is currently selected event). I want to do it through navigation buttons (next, previous) as on Google maps.
I am using StateListDrawable to display icons for OverlayItems.
Icon file is
<?xml version="1.0" encodi...
Actually this question applies to any widget that requires data from a remote server.
The answer would be pure speculation, but how do you think the widget gets its data? For those that don't know, the widget shows a history of your friends' latest status updates.
Some answers that I can think of:
The widget polls the API directly
T...
I am downloading an audio from server and inserting it in media gallery. I get the uri of the audio and starts the default audio player with this uri. When the player starts it throws throws exception.
ERROR/AndroidRuntime(564): Uncaught handler: thread album art worker exiting due to uncaught exception
ERROR/AndroidRuntime(564): java.l...
Hi,
Can you please tell me how can my activity detect user pressing HOME key?
Thank you.
...
The javax.xml.transform package is not included in the Android SDK, so how to write a dom doc to a file?
...