Monday, August 27, 2012

Re: [android-developers] How to send a string using HTTP GET from an android app

Thanks Jason.

I am going away.

I'm not trying to be a smart-ass but have you ever been a newbie and googled ' how to call a method in eclipse' or 'eclipse calling a function'

I understand, now, that this is not a forum for me to be posting on.

Can you suggest a forum for absolute beginners?

Anyway, thanks for the time that you spent on this - I do appreciate your help.

On Monday, 27 August 2012 14:37:00 UTC-4, MagouyaWare wrote:
This is not a forum for programming beginners.  If you are posting on here it is assumed that you have a certain level of programming experience (like being able to call a function, for example).

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, Aug 27, 2012 at 12:35 PM, Justin Anderson <magou...@gmail.com> wrote:
I have googleing on how & where to 'call a method' but none of the results seem to apply or are not specific enough for a newbie like me.

Wow.... I really feel sorry for you, so I'm just going to give you the answer...

Change this:

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
}

to this:

@Override
public void onCreate(Bundle savedInstanceState)
{
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    try
    {
        executeHttpGet();
    }
    catch (Exception e)
    {
         //There was a problem running executeHttpGet() so display some sort of error to the user
    }
}
 
And then I am REALLY recommending that you start with some extremely basic programming tutorials...


Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, Aug 27, 2012 at 12:29 PM, Rob <allan.robe...@gmail.com> wrote:
I have googleing on how & where to 'call a method' but none of the results seem to apply or are not specific enough for a newbie like me.


On Monday, 27 August 2012 14:19:38 UTC-4, TreKing wrote:
On Mon, Aug 27, 2012 at 1:06 PM, Rob <allan.robe...@gmail.com> wrote:
I don't understand...

You wrote a method that does something. In order for that method to actually do it's thing, you have to call it. Justin is suggesting you do that, because currently you are not.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d...@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment