[android-beginners] Re: How to use built in email application to send email from my application

2010-03-17 Thread Gulfam
Hi Satish Check this working for me: public void launchEmailActivity(){ final Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); emailIntent .setType(plain/text); emailIntent .putExtra(android.content.Intent.EXTRA_EMAIL, new

[android-beginners] how to implement facebook login integration with my android app ???

2010-03-17 Thread wahib
hello experts ! I have posted this problem twice previously and doing it once again. kinldy help me out if any1 has been successful implementing facebok login facility in its app. I tried with fb- connect api but its not working on my end .. just stuck !! :S regards, wahib -- You received this

[android-beginners] Re: Importing a class from another project in Eclipse. Application fails to run with ClassNotFoundException

2010-03-17 Thread Dan Liew
Thanks for the reply. Yes my activity is listed in the manifest file. It's definitely a problem with using 'RectangleDrawer' which is in another project because if I remove all references to that class from 'HelloAndroid' then it will run without errors. On Mar 16, 6:10 pm, brucko

[android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-17 Thread KC Dev Android 06
Any suggestions? On Mar 16, 4:45 pm, KC Dev Android 06 kc.dev.android...@googlemail.com wrote: Hi, as the title says, is it possible to do so? in the examples found herehttp://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4 It seems that HttpClient only accepts a String as

Re: [android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-17 Thread Chris Ross
You probably want to look at HttpPost or HttpPut, which implement HttpRequest, which is an available parameter to the execute() method in the HttpClient interface. Not 100% sure what you're trying to do, but that's the path of investigation I'd suggest. - Chris On

[android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-17 Thread KC Dev Android 06
What im trying to do is simply send a xml file that i have created into a http server. The way i understand http is that the request and any kind of data ie a name value pair such as a username can be added and included in the actual url string. my question is, how do you go about constructing a

Re: [android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-17 Thread Chris Ross
You can send parameters encoded in the url of an HTTP GET operation, but I wouldn't suggest using anything long. I would suggest using an HTTP POST operation, or if you actually want to treat it as a file, rather than a blob of XML data, an HTTP PUT. Most any web server software will know

[android-beginners] Re: Audio Processing

2010-03-17 Thread Kingcrowley
thanks for the reply. I was looking for help to design/make an application that does some/all of those things. Anyone have any advice or experience in making Audio Processing on Android? On Mar 17, 12:46 am, BobG bobgard...@aol.com wrote: Hit the icon labeled 'market' on the front of the

Re: [android-beginners] What will happen to my activity incase of incoming phone call

2010-03-17 Thread TreKing
On Fri, Mar 12, 2010 at 1:09 AM, Pria pri...@gmail.com wrote: I want to know that what will happen to my activity incase of an incoming phone call? The exact same thing that will happen if any other app is started over your app.

[android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-17 Thread KC Dev Android 06
The server basically expects the contacts stored on a android device in an xml file. So in a HTTP get operation i can send any parameters i want be in a xml file, string, int etc? On Mar 17, 2:44 pm, Chris Ross cross+goo...@distal.com wrote:   You can send parameters encoded in the url of an

[android-beginners] Email Accounts

2010-03-17 Thread Ali Asghar
Is there any way that i can access the email accounts that are saved in the default email client of android. Basically i want to access the inbox and display their mails without asking for username and password. Does AccountManager class thats available in android version 2 answer my query? and

Re: [android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-17 Thread Chris Ross
But, do you know exactly what sort of HTTP operation is expected by the server, and how it expects the xml file to be encoded and transmitted? If you do not know these answers, very precisely, you won't know how to code you client. As for HTTP and your second question, see

Re: [android-beginners] Email Accounts

2010-03-17 Thread Mark Murphy
Ali Asghar wrote: Is there any way that i can access the email accounts that are saved in the default email client of android. The email applications are not part of the official SDK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer

[android-beginners] Re: Prevent uninstallation of app?

2010-03-17 Thread Kitzy
In theory... how many users use a single cell phone? Even if I let someone else use my phone, I don't have a way to let my phone know that it should currently be in different-user-mode. If the user has downloaded a tool ti help with keeping the programs in order, and that program uninstalls your

[android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-17 Thread KC Dev Android 06
i dont know specificaly from the server guys but they said most likely all i need from them is a http url. They have not indicated how they will export the xml stuff but tbh why should i know such things? my task is to simply send them data in a specific format and that format is a xml file

[android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-17 Thread KC Dev Android 06
damm i just reported one of your posts as spam by accident. mods ignore that request! On Mar 17, 3:22 pm, KC Dev Android 06 kc.dev.android...@googlemail.com wrote: i dont know specificaly from the server guys but they said most likely all i need from them is a http url. They have not indicated

[android-beginners] mapview: what might cause the google logo to show up as a red box?

2010-03-17 Thread Michael Dorin
Seems this is a Cliq issue...but wondering if anybody has any idea how to get rid of it? Basically a red box shows up where the google logo should be on maps. Here is a link to t-mobiles forum for another description.

[android-beginners] Re: Alignment problem of EditText and Button in LinearLayout

2010-03-17 Thread Kitzy
I'm not 100% sure on your problem, but you could simplify thing emenssly by using a RelativeLayout, and that may help you problem at the same time. See: http://developer.android.com/resources/articles/layout-tricks-efficiency.html -Kitzy On Mar 10, 6:24 am, Sven Jacobs sven.jac...@web.de

[android-beginners] Re: What am I missing? arrays.xml help

2010-03-17 Thread Kitzy
What does you errorlog file say? It's the best and fastest way to find a problem. -Kitzy On Mar 16, 5:47 am, Soren soren.wins...@comcast.net wrote: I am just trying to display a list from an array that I have in my arrays.xml. When I try to run it in the emulator, I get a force close message.

Re: [android-beginners] Re: Alignment problem of EditText and Button in LinearLayout

2010-03-17 Thread Luca Bedogni
Also adding layout_gravity to the button could help. On Wed, Mar 17, 2010 at 4:27 PM, Kitzy kitzyk...@gmail.com wrote: I'm not 100% sure on your problem, but you could simplify thing emenssly by using a RelativeLayout, and that may help you problem at the same time. See:

[android-beginners] Re: What will happen to my activity incase of incoming phone call

2010-03-17 Thread Kitzy
When a call comes in, you'r activity will call onPause() when the call ends, it will call onResume(). You can test this in the emulator as well. -Kitzy On Mar 12, 12:09 am, Pria pri...@gmail.com wrote: I want to know that what will happen to my activity incase of an incoming phone call? Will

[android-beginners] Re: Audio Processing

2010-03-17 Thread Kingcrowley
thanks for the reply. I was looking for help to design/make an application that does some/all of those things. Anyone have any advice or experience in making Audio Processing on Android? On Mar 17, 12:46 am, BobG bobgard...@aol.com wrote: Hit the icon labeled 'market' on the front of the

Re: [android-beginners] Long Press on Options Key - v 2.1

2010-03-17 Thread TreKing
On Wed, Mar 10, 2010 at 9:26 AM, David R. david.b.raistr...@gmail.comwrote: We are trying to figure out the reason why a long press on the Options Key brings up a keyboard. Devices without physical keyboards probably need *some* way to bring up the virtual keyboard at any time like one would

[android-beginners] How to know the size of a file in adb shell prompt

2010-03-17 Thread rocky84 rocky84
*Hello all, i want to extract the size of a file in adb shell using some perl utility. this works fine for me as below in windows but does not work in adb shell prompt (#) i used this function in windows stat($filename); can anybody please let me know how can i get file size in #prompt? regds

[android-beginners] Re: Serial Data Transfer via Bluetooth

2010-03-17 Thread BobG
Hi Don. I think you need 2.0 or higher to run the bluetooth chat example.. wish it wasnt so... I have a dev phone 2 (Google Ion? Does it have other names? HTC something? TI something?) with 1.6. Someone know how to use the bt backport examples? What dir do I put the jar file in? -- You received

[android-beginners] using java classes

2010-03-17 Thread Alex Hall
Hi all, As an exercise, I am trying to add a date field to the database in notepadv2 (the tutorial), and methods to sort or reverse sort notes by date modified. However, I am not getting anywhere after trying to add the Date and DateFormat objects to my application. I have imported java.util.* and

Re: [android-beginners] using java classes

2010-03-17 Thread Mark Murphy
Alex Hall wrote: Hi all, As an exercise, I am trying to add a date field to the database in notepadv2 (the tutorial), and methods to sort or reverse sort notes by date modified. However, I am not getting anywhere after trying to add the Date and DateFormat objects to my application. I have

Re: [android-beginners] using java classes

2010-03-17 Thread Alex Hall
That was it! I really hate it when it is such a glaringly obvious error, yet you cannot see it. Oh well, that is not the first time and I am sure it will not be the last... On 3/17/10, Mark Murphy mmur...@commonsware.com wrote: Alex Hall wrote: Hi all, As an exercise, I am trying to add a date

Re: [android-beginners] mapview: what might cause the google logo to show up as a red box?

2010-03-17 Thread TreKing
On Wed, Mar 17, 2010 at 10:25 AM, Michael Dorin bsddo...@gmail.com wrote: Seems this is a Cliq issue...but wondering if anybody has any idea how to get rid of it? It is a Cliq problem and there does not seem to be anything you can do about it. Here's another forum on the topic:

Re: [android-beginners] Long Press on Options Key - v 2.1

2010-03-17 Thread Adrian Vintu
My Samsung Glaxy has no keyboard and I use this feature to filter in lists. For example, in the Contacts list. BR, Adrian Vintu http://adrianvintu.com On Wed, Mar 17, 2010 at 5:28 PM, TreKing treking...@gmail.com wrote: On Wed, Mar 10, 2010 at 9:26 AM, David R.

[android-beginners] sort order for sqlite query

2010-03-17 Thread Alex Hall
Hi all, I am trying to sort the result set of an sql query, but google is not telling me what I can put in for the sortOrder parameter of mdb.query() Which argument in the list is this sortOrder, and what do I put in there for, say, an ascending sort of the modified column? Thanks! -- Have a

Re: [android-beginners] sort order for sqlite query

2010-03-17 Thread Mark Murphy
Alex Hall wrote: Hi all, I am trying to sort the result set of an sql query, but google is not telling me what I can put in for the sortOrder parameter of mdb.query() Which argument in the list is this sortOrder, and what do I put in there for, say, an ascending sort of the modified column?

Re: [android-beginners] sort order for sqlite query

2010-03-17 Thread Alex Hall
Ah, so what about descending, and which argumnts of the query would these (the column name and order) be? On 3/17/10, Mark Murphy mmur...@commonsware.com wrote: Alex Hall wrote: Hi all, I am trying to sort the result set of an sql query, but google is not telling me what I can put in for the

[android-beginners] Re: Serial Data Transfer via Bluetooth

2010-03-17 Thread DonFrench
Then we are out of my comfort zone. You might check this site though, http://www.amarino-toolkit.net/documentation.html. According to Bonifaz Kaufmann, the developer of Amarino, they are communicating via Bluetooth SPP with the following devices, all pre 2.0. * HTC Dream (aka T-Mobile G1,

[android-beginners] Re: Audio Processing

2010-03-17 Thread Kingcrowley
Well you can use the NDK for android which is C/C++ or iPhone development is in a C-based language Objective C On Mar 17, 6:59 pm, BobG bobgard...@aol.com wrote: I consider myself an Expert doing digital signal acquisition and processing on microcontrollers an PCs in c. Last few weeks I've

[android-beginners] Re: Having trouble with the first hurdle: new AVDs

2010-03-17 Thread davemac
Are you sure that the Java JDK is installed? Go here to get it if you need to: http://developer.apple.com/java/download/ It's a good idea to set JAVA_HOME in your .profile (or .bashrc) as well as add $JAVA_HOME/bin and the Android SDK tools folder to your PATH. Something like this: export

[android-beginners] Re: Android SDK Setup.exe error - GetTempFileName failed. The directory name is invalid

2010-03-17 Thread davemac
Just a guess here, but did you unzip your files into the top-level directory of your C: drive? Try creating a C:\android_install folder, or something like that to hold your files. Then try it again. - dave On Mar 10, 2:51 pm, dmagnum dsnyde...@yahoo.com wrote: I downloaded

[android-beginners] Terminal type text output for debugging?

2010-03-17 Thread BobG
I notice when I use setText to output some text to a textview it defaults to the top left. What class acts like a terminal window or stdout? Would be useful for debugging I think. (Old c programmer trying to grok java) -- You received this message because you are subscribed to the Google Groups