Using webhook in flutter - java

I want to use webhooks in flutter. There is a website that I want to get live data from and listen to new events or data whenever they come, for example stocks live chart or like so. I searched almost everywhere and I looked here and also here but I did not find what I wanted. Can you provide an example (with code) of using webhook in flutter or show me how can I achieve what I want? I'm really confused about this and how can I use it for my application.

You can use github to implement web hooks...
Check this documentation for more information

Related

Updating RecyclerView by new set of data after publishing the app

I have a question that I would appreciate any on to answer.
my question is:
Is there any way to update some data like adding some videos, sales, values...etc in a recycle view after publishing the app in a google play without updating the app it self in the play store?
I actually don't have a clue on how to do this..
if there's any samples or websites on answering this question please share it with us.
thanks in advance
I can see a possibility but it's dirty, you can have one endpoint (/recycler), this endpoint can send you different type of data (movies, book and such), your application calls this endpoint and upon the result you parse it into one of your class that will populate your recyclerview.
I don't think you'll find any samples about it as it's not what people tends to do.
Well, if the data you want to update is writen in you code, I believe you can't update this without update the app itself.
It seems like you need a space on you app where you want to update it easily.
You should provide a backend to your app and consume the API to get all the info you need (with this, you will not need update the app itself on the store)
If you, like me, have no skills at backend development, give a chance to firebase:
https://firebase.google.com/
It will make easy to create a backend to your app. You'll need to update your app only once ( to make it work with firebase). After this, all you'll need to do is update you firebase, the app will get all new info from there

Instagram Third Party api

Actually i wanted to make a clone of instagram and show user feed in another way and change the language of app for my own country , but there are several problems with standard instagram api
1.you cannot have user feed
2.you should become live to have user data
i guess some of apps use another api which is based on web version and i think this api fetch data from instagram webVersion or maybe official app,
i searched for a private api and i didn't found something suitable for my Task
i hope you guys could help me to find another instagram api for my job
it's better to be based on java or android
Thanks

Making an android app for a website

I'm trying to make an app for website that I DO NOT OWN OR HAVE ACCESS TO ITS DB.
The website is a forum community website and I wish make an app that can list the menu and the posts in a UI suited for mobile.
Also I am trying to see if I add real time notice function that will let the thread poster know when there is a new comment/post to his or her thread. (Website does not support this function)
Do you guys think I can achieve this through Jsoup or would I need other utilities too?
Also I am quite a beginner in java so the app cannot be too complicated.
Thanks.
It means that you want to write your own web browser! You need to call the Url get what it returns, parse it and show it... also you need to implement RSS to specific pages.. It means app need to call this url regularly and check if any changes or comments... Its do-able but wont really be efficient or bug-free... I wouldnt recommend it but as i sad do-able

Google Web Toolkit auto refresh grid

I implementing an application that has a grid in it and everytime someone changes something on this grid it automaticaly updates the grid for others who has the grid opened (something like what the google docs does).
I tried implementing this using gwt-rpc sending a request every 2 seconds and if there is something new the application just send what has changed. But I had some bad results when uploaded to the GAE server.
So I decided to analyze the google docs implementation and a saw that it keeps a open connection for almost one minute and send some new information everytime someones changes something. I would like to know if it's possible to do something like this on GWT. I'm trying to do it now using the request factory but I think I'll face the same problems.
Any ideas?
Since you use GAE you might want to look at Channel API.
There is also gwt-gae-channel, which is a GWT wrapper around Channel API's javascript client.
You might check out what the GWT folks gave to say about using push technology with GWT

How easy/difficult it is to create app to send text field to sql for Android?

I have basic knowledge of Java but have never developed for Android.
A friend asked me for an app that seems easy enough to develop but I would need some help for Android.
All the app needs to do is send a text field (for example license plate number) to a predetermined SQL Server database.
Is this easy in Android as it sounds?
Thanks in advance. Cheers.
Darko.
That should be easy, but does it need to be a full-blown Android application for that?
Sounds like a simple webpage with an input-field and a submit button would do the job as well.
If you're familiar with using databases from Java the task is very simple. Just write the code that sends a string to a database. The exact same code you would use on a desktop Java application will do.
The rest is a matter of defining your user interface and obtaining the string. There is a good basic tutorial you can use on the Android developers web site: http://developer.android.com/guide/tutorials/notepad/index.html.
The number of code lines in the whole application will be in the range of a couple of dozens.
It sounds like you want the license plate information stored in a separate server, but if you also wanted to store some information on the device itself there is a simple Notepad tutorial provided by the Android Developers site that explains how to setup and utilize an SQLite database on the device. This by no means would replace the functionality of a server, but is another Android feature that is at your disposal.

Categories