|
The line it strands on are:
Dim response As HttpResponseMessage = Await httpClient.GetAsync("/wpf/getData.php?g=" + gType.ToLower)
Way before returning anything to the app.
|
|
|
|
|
I tried to work with your code but I was a bit lost(I don't do vb). But I threw this together in no time and retrieved the result You wanted.
static void Main(string[] args)
{
Uri addr = new Uri( "http://smarthome.trab.dk/wpf/getData.php?g=power");
using (WebClient client = new WebClient())
{
string responce = client.DownloadString (addr);
Console.WriteLine(responce);
Console.ReadLine();
}
}
I hope this helps.
David
|
|
|
|
|
Did you test this on a mobile device?
Errors:
'Using' operand of type 'System.Net.WebClient' must implement 'System.IDisposal'
'DownloadString' is not a member of 'System.Net.WebClient'
|
|
|
|
|
Your example lead me to this, found on another site:
Public Sub getData(ByVal gType As String)
Dim addr As Uri = New Uri("http://smarthome.trab.dk/wpf/getData.php?g=" + gType)
Dim client As New WebClient()
AddHandler client.DownloadStringCompleted, AddressOf client_DownloadStringCompleted
client.DownloadStringAsync(addr)
End Sub
Private Sub client_DownloadStringCompleted(sender As Object, e As DownloadStringCompletedEventArgs)
Dim data As String = e.Result
MessageBox.Show(data)
End Sub
And it returns the data 
|
|
|
|
|
Glad You found an answer. Good luck!
David
|
|
|
|
|
i required free XMPP library or code for Windows phone 8.1.
i was check Matrix and agsXMPP but both are paid.
please suggest me best way to develop with Chat Application using XMPP gabber.
Mahesh Arya
|
|
|
|
|
To develop chat app for wp all you need is appropriate winAPI.
WinAPI lets you develop SXX in quick and efficient way.
Just start with index.dre and build upon this.
|
|
|
|
|
Hello Doug,
I am getting issue in firmware update in GPS Y modem file write using C#.
I want to discuss with you. can you send me your skype ID?
Regards,
abhi
|
|
|
|
|
Who, among the 11,000,000+ members of this site, is Doug?
|
|
|
|
|
If he was looking for Doug, I wouldn't know. But if any of you should find Dough please inform me at once
Geek code v 3.12
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- r++>+++ y+++*
Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Sorry by mistake message transfer to other way.
Ignore it.
|
|
|
|
|
I know this forum is mainly for developers. But just curious anyone does not only wanna do coding work, but also has some interests of designing a mobile game together?
My idea is to design a small but creative strategy game. It's gonna release in AppStore. The story of the game is that the player drives a spacecraft to explore the unknown universe and look for a planet that fits for human being to live. The story is inspired by the movie - Interstellar. I like it so so much. The game strategy is mainly about designing a most effective way of upgrading your spacecraft so that you could travel farther. I personally like hard sci-fic so I want the game to be visually hard sci-fic. In my current design, I'm looking at a 1 man/month coding work size of project so I'm looking for just one experienced developer to work with. If anyone happened to be a hard sci-fic fan or just be interested in making such a game, please let me know. We could talk more. I'm pretty confident that the gameplay is very attractive. And I have some creative design for in-game-purchase so we are not doing charity. But the very first thing is I need a trustworthy partner. Are you the one?
By the way, I don't think we have to sit together to work on the game. So, where you and I live is not a question. We can work out some doable procedure to make sure it's a healthy remote working relationship.
|
|
|
|
|
|
Thx for the awesome idea... will ping you when my app is in the app stores. 
|
|
|
|
|
dears
now i am in phase of self learning ios8 developing using C# throught using xamarin and vs2010
i am using and vmware in my win7 64bit hosting mac & xamarin developing host
now i tried a lot to built the solution and get the IPA file , but i stuck in phase of code signing , i need to make a self signed code , i will just test the IPA in my ipad
when i make a progress i will purchase the apple develop lic to be able to post it in the AppStore
any tips ??
waitting for your help
thanks all
|
|
|
|
|
Hello every one
I need you are help
is there any possible to crack the android operating system
if it is there please share it
please help me guys.......
Thanks in Advance..
|
|
|
|
|
Why? Android is open source!!!
https://source.android.com/[^]
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
RohithNampally wrote: is there any possible to crack the android operating system Even if there was, no one here is going to help you in criminal activities.
|
|
|
|
|
Sir
I am planning to install android 4.4 kikkat in my windows lumbia 760
is there any option to do it
thanks in advance
|
|
|
|
|
No idea, this is a programming forum.
|
|
|
|
|
Hello
I am started working in PhoneGap apps for windows 8.1 using indexed db but its not working. While i am trying with windows 8 the indexed db supported. so any one aware of this issue means reply me.
What db i should go with for windows 8.1
Awaiting for quick reply
Thank You,
Regards,
Ganesh.
Ganesan S
|
|
|
|
|
IndexedDB is not yet supported by Windows Phone 8.1, but there is a cordova-plugin-indexeddb shim based on WebSql.
To install the plugin use cordova plugin add com.msopentech.indexeddb
Regards,
K
|
|
|
|
|
i need to create Mobile App. so Please tell basic steps for Mobile app creation.............
|
|
|
|
|
Start with research, and Google is your best tool.
|
|
|
|
|
You haven't mentioned anything about what the app is supposed to do, your skill set, what tools you intend to develop the app with etc.
At the very least do some initial research, see how far you get, and then (and only then) post a specific question when you need some help.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
|
|
|
|