|
RobCroll wrote: Are you doing this because you prefer C# Yes
RobCroll wrote: you don't want to learn Java? I already know Java (just the language), it's just that a familiar environment will make things easier and require lot less learning.
RobCroll wrote: You'll be making you're life a lot harder than it needs to be if you don't go with the flow. I agree with you. But after exploring MonoDroid, it seems to be wonderful and I was thinking if I can come up with my own Open Source alternative.
|
|
|
|
|
|
|
If you have a proper question then please edit the above and try and explain what your problem is. If you are just expecting someone to provide you with the source code for some program you are interested in then you have come to the wrong place.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hi all,
I have a web service. My coworker provides that to me. It is in the internal network. I have a PDA program (in Windows Mobile 6) which use the web service. Originally it works fine. I can debug the program in VS2008.
One day as we have to test, my coworker and I move to a separate network. His machine IP changes and so does my machine. After changing, I then cannot run my program in debug mode.
It always give this message:
Quote: Invalid URI: The hostname could not be parsed
And it stops at GetResponse statement in the following code:
Public Shared Function CheckURLConnection(ByVal strUrl As String, ByVal networkCredential As NetworkCredential, ByRef strMsg As String) As Boolean
Dim streamReader As StreamReader
Dim webResponse As WebResponse = Nothing
Dim streamResponse As Stream
Dim webRequest As WebRequest
Dim isSucceed As Boolean = False
Try
webRequest = webRequest.Create(strUrl)
webRequest.Credentials = networkCredential
webRequest.Timeout = 60000
webResponse = webRequest.GetResponse
streamResponse = webResponse.GetResponseStream
^^^^^^^^^^^^^^^^^
streamReader = New StreamReader(streamResponse)
And if I run the program without debugging, there is no problem. There is no stopping at webResponse.GetResponseStream! Strange. Please help.
{Edited} The URL is this format: http://10.25.0.52/tems_rfid/TEMS_RFID_WebService.asmx
Of course, I have validated independently I can access using IE!
So the URI, in theory, can be parsed.
{Edited 2} If I create a new PDA program and put the CheckURLConnection() in there, no problem!
|
|
|
|
|
Try to keep the URL in between inverted commas "URL" .
modified 31-Aug-12 8:07am.
|
|
|
|
|
But how would that help me?
At first, I run the program in debug mode in my original network. URL at that time is this:
http://10.25.0.52/tems_rfid/TEMS_RFID_WebService.asmx
And it works!
Later on we have to test out at another network segment. Instead of getting IP address using DHCP, we assign IP address to each device. We also set up the Subnet mask and Default gateway.) Of course that includes my own laptop, my coworker's network (which hosts the web service) and the mobile device. As the IP of the machine hosting the web service changes, I need to update the URL to something like:
http://192.168.0.20/tems_rfid/tems_RFID_WebService.asmx
Afterward, I cannot debug run the program. If I just run the program, there is no problem. Any thoughts?
|
|
|
|
|
Hi;
Can anybody kindly let me know from where i can get "How TO use Web Services in Android"
??
I searched but didnt find any thing which can teach me in good manner.
Thanks in advance.
|
|
|
|
|
web services handle different sites in android like, soap services(.net), Php serivces(.php),json etc.. which one u're looking out for?
|
|
|
|
|
Actually i want to use web service provided by G-Mail, Yahoomail.
I want to learn from basic i.e. for webservice(Any service)
of any webservice provider.
kindly get me out of it??
|
|
|
|
|
and i am using Android in IDE -Ecllipse
|
|
|
|
|
Hi anjaana,
First u need to make sure which web service are you going too use.. for example, try with php services example , .net service example. bcos, every service uses different methods to access web service methods...
i can give u lot of example to carry on..
|
|
|
|
|
sir i want to use Web Service of Face book and Monster,yahoo.
Facebook is in php, But i have no idea about Monster,yahoo.
nd sir on internet i read once that it is not good to use google web service in connection with android>??
Kindly help me in this.
|
|
|
|
|
is there any chat option available.. i could make u clear...
|
|
|
|
|
sir i am on skype..
r u there?
|
|
|
|
|
|
mine is agarg007
i am sending
|
|
|
|
|
I want to build app for android phones so which platform should i choose?
what if i want to upgrade or downgrade from present platform?
|
|
|
|
|
|
The most convenient platform to develop Android apps is Eclipse IDE. however there are several versions of Eclipse. But i prefer to use Eclipse(Juno)
Sahil Mahajan(eMM jAY)
|
|
|
|
|
As mentioned Eclipse if the most popular, the other 2 main players are Motodev Studio and IntelliJ IDEA. I've heard people are also using NetBeans.
Eclipse can run on a number of platforms. I use a Mac but I'm guessing most use Windows.
Eclipse is free and most of the support forums relate to Eclipse.
"You get that on the big jobs."
|
|
|
|
|
|
I would suggest you most convenient platform to develop Android apps is Eclipse IDE. However indigo is the latest version, but i prefer to use Eclipse(Helios)
|
|
|
|
|
i wanna learn adroid app
can u suggest me wich platform to use
and any good tutorial
sry for my english
|
|
|
|
|
Take a look at some of the Android articles[^] here on CodeProject.
One of these days I'm going to think of a really clever signature.
|
|
|
|