This is my question i want you to use the API hosted at http://212.88.98.116:4050/. This is a simple json API showing some live data. i want to create android program that presents a graphical representation(Bar,line graph) of the data using android java language.Please i need your help just 5 hours from now.
You probably should use a third party library for this.
MPAndroid is quite popural :
http://code.tutsplus.com/tutorials/add-charts-to-your-android-app-using-mpandroidchart--cms-23335
Download the data from your code and use this simple API to create a bar graph.
Related
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
I want to build a local application with interactive maps(ie regional maps with data being displayed when we click on a region). An example pic is given below. I have to embed data like news events and other things as needed in the interactive map. I know a little Java and Python. How should I proceed with my ideas to create my project?enter image description here
Firstly decide for which platform and OS you want to code. If you are going to code for Android or IOS you could simply use the google maps API and add custom markers to it. The same would be sufficient for an Web-Application, while for PC‘s I would not suggest this approach
Maybe I'm just having a hard time wrapping my head around it. I kind of understand how it works from the research I've done, especially this question: How does Codename One work?
But what if I want to intercept incoming texts in Android? How does that affect the iOS app? If I want to use Vimeo's API to upload videos (I have an Android app that does it), will I have to get the source code and add that separately?
Incoming texts can't be intercepted in iOS as far as I know.
For Android you can use intents to intercept incoming texts but that's a bit of a pain you would need to write Android native code for that which you can do with native interfaces in Codename One.
I'm not very familiar with the Vimeo API but if its a REST API then you can pretty much map to it with Codename One's networking API using NetworkManager, ConnectionRequest etc.
Hello I am new to android programming, I haven't started writing the code for my app idea yet but I am in planning and learning the Android OS. I was wondering if there is a way that I could pull data from a site such as a wiki from wikia.com and format it in an android app and how would I go about doing this?
I want to pull data such as the information under the different sections, for example take a band history such as The Beatles, I want to pull the History section, Discography, stuff like that and format it to look good in my app. Is there a way to do this? Thank you in advance.
You have a few options.
APIs
Scraping/reformatting the site
If a website has an API you can simply use that to query the website and get the data you need. If not you'll be forced to download the html and scrape out the relevant information.
Scraping is considered a legal gray and most websites don't appreciate it, especially if you plan on redistributing the content of the site.
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.