|
Hello
i have a web service which uploaded in my host.
now i wants to call it in a B4A.
this webservice returns only string "Hllo world".
but when i call it by bellow commands of B4A, it return all html codes of page.
why?
code in B4A :
Dim job1 As HttpJob
job1.Initialize("", Me)
job1.Download("http://www.agrp.somee.com/MYServices2.asmx?op=HelloWorld")
Wait For (job1) JobDone(job1 As HttpJob)
If job1.Success Then
a=job1.GetString
Msgbox(a,a)
End If
job1.Release
Thanks
|
|
|
|
|
I have a requirement where the user needs to enter a report, very structured, pick this, select that enter a value and it looks up related info etc.
The point is that the device will NOT be connected to the internet and will not have phone service (think fishing boat in the middle of the ocean), I think this rules out a web application as it will require a local database.
The app should be both android and apple accessible. Synching the databases to a central server should be trivial.
What platform would service this requirement.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Ionic with Angular comes to mind...
|
|
|
|
|
Does not seem to give any benefits over Xamarin forms, as I have a visual studio and WPF background I am going with that, thanks for the input.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Good Day All
i have images in a Listview ,i tried this on a normal Listview and also Telerik , it behaves the same. The Tab event is not fired consistently sometimes when i tap the images they dont respond to the Tap.
Here is my xaml
<telerikDataControls:RadListView Grid.Row="1" x:Name="lstfun" BackgroundColor="Transparent">
<telerikDataControls:RadListView.ItemTemplate>
<DataTemplate>
<telerikListView:ListViewTemplateCell>
<telerikListView:ListViewTemplateCell.View>
<Grid Padding="8,0,8,10" RowSpacing="0">
<Grid Padding="1" BackgroundColor="#e1e1e3" RowSpacing="0">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="53" />
</Grid.RowDefinitions>
<Grid Grid.Row="0" Padding="0" BackgroundColor="#e4e4e4">
<StackLayout>
<Label Text="{Binding FUN_NAME}" FontFamily="Ubuntu" FontSize="14" TextColor="#9e9ea0" />
<Image Source="HeaderBackground.png" HeightRequest="100" Aspect="AspectFill"/>
<Label Text="{Binding DESCRIPTION}" FontFamily="Ubuntu-Medium" FontSize="14" TextColor="#3c3947" />
</StackLayout>
</Grid>
<Grid Grid.Row="1" BackgroundColor="#ffffff" RowSpacing="0">
<Grid RowSpacing="0">
<Grid.RowDefinitions>
<RowDefinition Height="15" />
<RowDefinition Height="4" />
<RowDefinition Height="15" />
</Grid.RowDefinitions>
<pre>
<StackLayout Padding="-25,12,0,0" Spacing="-100" Orientation="Horizontal">
<StackLayout Orientation="Vertical" >
<Image Source="chat.png" InputTransparent="false" HorizontalOptions="Center" HeightRequest="35" WidthRequest="150" >
<Image.GestureRecognizers>
<TapGestureRecognizer NumberOfTapsRequired="1" Tapped="TapGestureRecognizer_Tapped_4"/>
</Image.GestureRecognizers>
</Image>
</StackLayout>
<StackLayout Orientation="Vertical">
<Image Source="love.png" x:Name="imglike" InputTransparent="false" HorizontalOptions="Center" HeightRequest="35" WidthRequest="150" >
<Image.GestureRecognizers>
<TapGestureRecognizer NumberOfTapsRequired="1" Tapped="TapGestureRecognizer_Tapped" />
</Image.GestureRecognizers>
</Image>
</StackLayout>
<StackLayout Orientation="Vertical">
<Image x:Name="imgfunin" Source="funin.png" InputTransparent="false" HorizontalOptions="Center" HeightRequest="35" WidthRequest="150" >
<Image.GestureRecognizers>
<TapGestureRecognizer NumberOfTapsRequired="1" Tapped="TapGestureRecognizer_Tapped_1"/>
</Image.GestureRecognizers>
</Image>
</StackLayout>
<StackLayout Orientation="Vertical">
<Image Source="Fakenews.png" InputTransparent="false" HorizontalOptions="Center" HeightRequest="35" WidthRequest="150" >
<Image.GestureRecognizers>
<TapGestureRecognizer NumberOfTapsRequired="1" Tapped="TapGestureRecognizer_Tapped_2" />
</Image.GestureRecognizers>
</Image>
</StackLayout>
<StackLayout Orientation="Vertical">
<Image Source="share.png" HorizontalOptions="Center" InputTransparent="false" HeightRequest="35" WidthRequest="150" >
<Image.GestureRecognizers>
<TapGestureRecognizer NumberOfTapsRequired="1" Tapped="TapGestureRecognizer_Tapped_3" />
</Image.GestureRecognizers>
</Image>
</StackLayout>
</StackLayout>
</Grid>
</Grid>
</Grid>
</Grid>
</telerikListView:ListViewTemplateCell.View>
</telerikListView:ListViewTemplateCell>
</DataTemplate>
</telerikDataControls:RadListView.ItemTemplate>
</telerikDataControls:RadListView></pre>
and the event handlers for my images TapGestureRecognizer_Tapped
<pre>private void TapGestureRecognizer_Tapped(object sender, EventArgs e)
{
DisplayAlert("", "Like Tabbed", "Ok");
}
private void TapGestureRecognizer_Tapped_1(object sender, EventArgs e)
{
DisplayAlert("", "Funin", "Ok");
}
private void TapGestureRecognizer_Tapped_2(object sender, EventArgs e)
{
DisplayAlert("", "Fake News Tabbed","Ok");
}
private void TapGestureRecognizer_Tapped_3(object sender, EventArgs e)
{
DisplayAlert("", "Shareout Tabbed", "Ok");
}
private void TapGestureRecognizer_Tapped_4(object sender, EventArgs e)
{
DisplayAlert("", "Comment Tabbed", "Ok");
}</pre>
Thanks
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vimalsoft.com
vuyiswa[at]vimalsoft.com
|
|
|
|
|
any one help me code of prayer five time in android studio?
|
|
|
|
|
It doesn't quite work like that.
We do not do your work for you.
If you want someone to write your code, you have to pay - I suggest you go to Freelancer.com and ask there.
But be aware: you get what you pay for. Pay peanuts, get monkeys.
The idea of "development" is as the word suggests: "The systematic use of scientific and technical knowledge to meet specific objectives or requirements." BusinessDictionary.com[^]
That's not the same thing as "have a quick google and give up if I can't find exactly the right code".
So either pay someone to do it, or learn how to write it yourself. We aren't here to do it for you.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Although I had the idea of doing the same thing, in order to force my systems to prevent me from using them during the prayer time. But, somehow I could not finish it at all.
Anyhow, the best approach to solving this problem is using the Android Alarm system. Set an alarm in the device, and it will remind you, you can do that programmatically. Unlikely it is that your Android will know when it is the prayer time for you. So you will have to feed it yourself. Since we are able to do this programmatically, we can utilize an API or a service provider that gives the prayer time for a certain location. Then you can blend the time with the location APIs in Android, and receive the information about that time.
Lastly, just make sure to follow the time and offer the prayer. Good luck!
Schedule repeating alarms | Android Developers
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
I just have a quick question about designing a ride sharing app. When you program an app how close to the copyright laws can you get. I know Uber's algorithms have copyrights and so do Lyft's. So how hard is it to program a ride sharing app without getting sued. Has anyone encountered this? I guess I would have to hire a copyright attorney. Any advice would be great.
|
|
|
|
|
ericbruhaha wrote: I guess I would have to hire a copyright attorney. Exactly. This is a technical forum, not a legal one.
|
|
|
|
|
the first thing to do is to contact your legal attorney, then you find a way of incorporating the information provided by your attorney into the app.
|
|
|
|
|
The chance of you duplicating their systems and violating copyright laws is near zero, unless you own some of their code. It's also not like you're not allowed to use a for-loop since it occurs in their code.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Hi Eddy, So are you telling me that if I duplicate an app in my own code then I have nothing to worry about. Meaning I just do the design in a similar way. I'm assuming that is exactly what Lyft did to Uber. Am I correct in thinking this way?
|
|
|
|
|
Not just the app, but everything, including graphics for the buttons. Then no, you don't have to worry.
Swap your idea with other software, and ask the question again; someone built a [database server|chat application|space game] and you want to build one too. Copyright means you're not allowed to sell their code as if it is yours, doesn't mean you're not allowed to build games.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Great! Thanks for the information
|
|
|
|
|
You're welcome.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Good Day All
i have a ListView that is defined in a Xamarin Form. i want this ListView to be updated with the Data from the DB every 5 seconds. In a Non Mobile environment , we have a Windows Service , which is a long running Service. but now i search i came across a Service. but now i see this is implemented differently on each platform. Most examples i get are examples where one is binding the Control in Android Project. WhatUp if my Data binding is done in Xamarin Form (Standard Class) .
1) Can i kindly have the example link or code that refresh any control from a Service that runs in Intervals
2) Update the control that is hosting in a PLC or Standard Class
Thanks
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vimalsoft.com
vuyiswa[at]vimalsoft.com
|
|
|
|
|
Service itself is a concept that is tied to Android platform, you will not find the same concept (check how Service s run, and on which thread), and every platform (iOS, Windows) has its own implementation and best practices for a Service, that is why Xamarin.Forms itself does not have any such library or object. You can however always create your own service that utilize thread pool threads, and runs a job at an interval.
Now what you want is a service that services for data, and displays it in the ListView . This has 2 parts, one is the background service that retrieves the data from Windows Service (might it be an API or something that you have!) and the other part is that feeds the data to the UI. This can be solved, if you write a service component, that reads the data inside the Page . This way your Page will have the data that needs to be shown. Now, the last phase of displaying the data can be done using ObservableCollection<T> , this will automatically map the elements to your ListView. See this for an example of how this can be done, ListView Data Sources - Xamarin | Microsoft Docs
So, to wrap, you need to create a (most likely DI based) Service, that will create either a platform dependant or Xamarin.Forms dependant service, and that service should return the data to your Page (an asynchronous API will help even better, enabling your page to refresh only when the data is available without the need of setting a timer and checking for updates), and then lastly bind the data to the page.
How to add background service in Xamarin forms — Xamarin Community Forums
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Thanks for your valuable advice. I used SignalR and it worked for me.
|
|
|
|
|
I am trying to make little app with html javascript with database websql in my computer i have some problem when to send the data from websql to my server is there anybody can help me give a sample app write in javascript and the php also.
thank you
|
|
|
|
|
Does this have something to do with mobile devices?
And if you want sample code then you need to search for it. Use Google or go to the CodeProject Articles section.
|
|
|
|
|
This is my first ever attempt at Xamarin Forms. I followed this Quick Start
When I run it i get the error
DEP3321: To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.16299.0 or higher. You currently are running version 10.0.15063.1155. Please update your OS, or change your deployment target to a device with the appropriate version.
I found this SO post about this very error. When I try the fixes it produces a bunch of compatibility errors.
When I open the project's Properties the Targeting area shows:
Target: Universal Windows
Target Version: Windows 10 Fall Creators Update (10.0; Build 16299)
Min Version: Windows 10 Fall Creators Update (10.0; Build 16299)
I am developing on Windows 10 Enterprise Version 1703 (OS Build 15063.1155)
I'm pretty clueless here. I've been Googling this but the answers seem to involve updating the OS
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
What is the best way to integrate cryptocurrency price checker into web page?
|
|
|
|
|
Hey! The website already exists or you will create it, and do you have any examples of what kind of price checker you would like to integrate, because I have created an web version of crypto tracking app
|
|
|
|
|
No I am creating it from 0 point right now, I have checked some ideas from my possible competitors. The thing is I want integrate real time charts that would e visually attractive
|
|
|
|