Hi,
I'm trying to add a contact to the phone contact list, but apparaently
ContentResolver().insert() is not adding it. (The cursor's count()
method gives the same result). My code is sth like this:
Cursor c = getContentResolver().query(
People.CONTENT_URI, null, null,
Hi,
I'm always getting null as the return uri for
getContentResolver().insert(). Why is this?
ContentValues mv = new ContentValues();
mv.put(People.NAME, foo);
mv.put(People.NUMBER, 54547);
Uri u = getContentResolver().insert(People.CONTENT_URI, mv);
thanks,
Hi ,
I'm trying to parse some XML. I have code something like this:
Element fstNmElmnt = (Element) fstNmElmntLst.item(0);
String phone =
fstNmElmnt.getTextContent();
I also import org.w3c.dom.Element;. But the compiler is complaining
that the method
Hi. I want to modify a field of the People(contact list) content
provider from my code, but I see that all the strings are static
final. Is there a way to do this?
thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
isn't that what i'm doing?
On Apr 28, 6:02 am, Hielko [EMAIL PROTECTED] wrote:
Do what Dan already suggested: extend thedialogclass.
On Apr 28, 11:46 am, scimitar [EMAIL PROTECTED] wrote:
Ok. I have the following code:
Dialogdl = newDialog
as to subclassingDialog, I think you should still do that instead
of what you are doing.
On Apr 28, 3:54 am, scimitar [EMAIL PROTECTED] wrote:
isn't that what i'm doing?
On Apr 28, 6:02 am, Hielko [EMAIL PROTECTED] wrote:
Do what Dan already suggested: extend thedialogclass.
On Apr 28, 11:46 am, scimitar
Hi,
I want my application to pop up a dialog box that asks for some user
input. The user enters the input and clicks a button. Based on the
text that the user has entered, the application then continues it's
operations. How should I implement this?
thanks
application. I think the dx tool will handle converting them
to dalvik. Not sure what the licensing is on doing something like
that. Might want to read it.
On Apr 23, 12:25 pm, scimitar [EMAIL PROTECTED] wrote:
Hi, thanks for your reply. But I really have no choice in this matter.
Using JDBC
Hi,
I have a cursor that gets the contact list stored on the phone:
Cursor c = getContentResolver().query(
People.CONTENT_URI, null, null, null, null);
Now I want to iterate over the contact list, and for each contact
print out the associated number. What's a good way
Hi,
When I try 'import java.rmi.RemoteException;', I get the message:
'The import java.rmi.RemoteException cannot be resolved'. Why is
this? I really need this to make my app communicate with a webservice.
thanks,
--~--~-~--~~~---~--~~
You received this
Hi,
I'm trying to connect to an external mysql database. The code is
something like:
try
{
Class.forName(DBCLASS).newInstance();
}
catch (Exception e)
{
Log.i(DataLayer, unable to load jdbc driver);
}
// Connect to
to be problematic, and even if you do get it to work, a lot
more overhead than using a server. Remember it's a small embedded
device.
On Apr 23, 3:38 am, scimitar [EMAIL PROTECTED] wrote:
Hi,
I'm trying to connect to an external mysqldatabase. The code is
something like:
try
Hi,
is there an example of an android service in the examples provided.
Specifically I'm looking for a service( application component that
runs in the background) that does network upload/download, while the
user is busy doing some other stuff.
thanks,
Hi,
I'm very new to Android, so I'm still trying to figure out the basics.
I want to write an application that needs to communicate with a
database server, and upload it's contact list to the server. In this
regard I have the following questions:
1). Is there a way to associate a phone number
Hi,
I'm very new to Android, so I'm still trying to figure out the basics.
I want to write an application that needs to communicate with a
database server, and upload it's contact list to the server. In this
regard I have the following questions:
1). Is there a way to associate a phone number
15 matches
Mail list logo