[android-beginners] Re: ant scripts to build apk file and load it in a emulator?

2010-07-20 Thread jrichards1...@googlemail.com
any sugegstions? -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginne

[android-beginners] ant scripts to build apk file and load it in a emulator?

2010-07-19 Thread jrichards1...@googlemail.com
Hi. i am trying to create a build.xml script that cleans, builds and creates a apk file of a Junit android test project that i have created. the steps i want to achieve in my build file is this: [list=]clean[/list] [list=]build[/list] [list=]create apk file[/list] [list=]Sign apk file[/list] [li

[android-beginners] Re: LinkedIn Oauth authentication

2010-06-03 Thread jrichards1...@googlemail.com
Any? am i constructing the callback url correctly via the intentFilter example from the link i provided from the first post>? On Jun 2, 9:47 am, "jrichards1...@googlemail.com" wrote: > Any suggestions? im trying to figure out how to construct a URI/URL > that executes my ap

[android-beginners] Re: LinkedIn Oauth authentication

2010-06-02 Thread jrichards1...@googlemail.com
Any suggestions? im trying to figure out how to construct a URI/URL that executes my applications activity from the phones web browser as i got to pass that as a callback url for OAuth authentication. Cheers in advance. On Jun 1, 9:58 am, "jrichards1...@googlemail.com" wrote: > Hi

[android-beginners] LinkedIn Oauth authentication

2010-06-01 Thread jrichards1...@googlemail.com
Hi, i am trying to authenticate a android app using the official java LinkedIn api library i downloaded. I am able to get the request tokens and authenticate tokens but i cant seem to dismiss the LinkedIn authentication web browser and have it returned back to my app along with saving the authentic

[android-beginners] Keyboard blocks the bottom part of my scrollView

2010-05-13 Thread jrichards1...@googlemail.com
Hi. i have created a basic scrollview where inside lies a linearLayout populated with about 5-6 Textviews and EditTextViews. the problem is that say if i wish to enter a text in the bottom half of the scrollview, the keyboard pops up and i cant see what i am typing inside the editTextView. Does a

[android-beginners] Re: Download a file from a URL extremely slow, am I doing it right?

2010-05-04 Thread jrichards1...@googlemail.com
Im having the exact same issues on the emulator. its takes ages just to download a 30k file.. Im trying to download a apk file thats in our apache web server and trying to install it using this: Intent intent = new Intent(); intent.setAction(android.content.Intent.

[android-beginners] Re: listen for changes made in ContactMethod table

2010-04-16 Thread jrichards1...@googlemail.com
Any suggestions please? On Apr 13, 10:50 am, "jrichards1...@googlemail.com" wrote: > Hi. i am trying tolistenout for forchangesmadeinContactMethodtableusing  the > code below: > > mPeopleObserver = new ContactContentObserver(mHandler); > > this.getContentResolv

[android-beginners] listen for changes made in ContactMethod table

2010-04-13 Thread jrichards1...@googlemail.com
Hi. i am trying to listen out for for changes made in ContactMethod table using the code below: mPeopleObserver = new ContactContentObserver(mHandler); this.getContentResolver().registerContentObserver(Contacts.ContactMethods.CONTENT_URI, true, mPeopleObse

[android-beginners] Re: Initializing a custom view via XML

2010-04-13 Thread jrichards1...@googlemail.com
Hi. does anybody have any idea please on how to set the size of my custom view using android:layout_height and android:layout_width? On Apr 5, 7:38 pm, "jrichards1...@googlemail.com" wrote: > As the title says, i am trying to use acustomviewi have created > andinitializingthe

[android-beginners] Re: XML namespace?

2010-04-12 Thread jrichards1...@googlemail.com
Any suggestions? On Apr 11, 7:25 pm, "jrichards1...@googlemail.com" wrote: > Hi, is their anxmlnamespaceor some sort of api that easily allows > me to construct my ownxmlschema? > > I know i could use something like this to do it: > >    xml+= "" + this

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

2010-04-12 Thread jrichards1...@googlemail.com
Easy. construct your xml into a stringBuffer and then dump it on a HttpEntity object and then use that enity object on a HttpPost object and execute that http method. done. On Mar 25, 9:18 am, MobDev wrote: > I'd be interested on how you succeeded with that ? Sending anxml > through a httpPost re

[android-beginners] XML namespace?

2010-04-11 Thread jrichards1...@googlemail.com
Hi, is their an xml namespace or some sort of api that easily allows me to construct my own xml schema? I know i could use something like this to do it: xml += "" + thisCard.CardNumber + ""; xml += ""; But is their an api where i can set the attributes something like xml.AddNode(

[android-beginners] Initializing a custom view via XML

2010-04-05 Thread jrichards1...@googlemail.com
As the title says, i am trying to use a custom view i have created and initializing the size of it using the above xml code snippet located inside my layout folder.: The height and width of my custom view doesnt seem to work. i have to manualy hard code it to adjust and see my custom view using

[android-beginners] Re: How to receive and read an Email

2009-11-09 Thread jrichards1...@googlemail.com
l apps, and I'm not sure which one you intend to interface with. > How about using some simple IMAP client code to check an email account > periodically? Something like this:http://eppleton.sharedhost.de/blog/?p=176 > > On Mon, Nov 9, 2009 at 4:37 PM, jrichards1...@googlemail.com &

[android-beginners] How to receive and read an Email

2009-11-09 Thread jrichards1...@googlemail.com
Hi, i am wondering how its possible to receive incoming emails on an android device. i can send out emails using private void sendEmail(String[] address, String subject, String msg) { Intent send = new Intent(Intent.ACTION_SEND); send.putExtra(Intent.EXTRA_EMAIL, address); send.putExtra(Intent.E

[android-beginners] Junit testing issues

2009-09-08 Thread jrichards1...@googlemail.com
Hi, i am having two issues when doing Junit testing on my code. the first issue is i cant seem to unit test a private method or class and was wondering if its possible to do so. the second issue is that i have setup a seperate android project for doing all the testing and have just added the main