Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am trying to build an application which needs to read mails of user once authorised. As a starter, I want to know, whether gmail allows third party applications to do so, if yes, how to get started on it.
Does Google allow third party access?
Yes. If you're going to be doing interactive programming using mainstream services, learn to use APIs. The Google API collection allows users to register their applications and sites for a huge variety of their services...including Gmail.
Look here for more details.
How can I get started?
Read the documentation and instructions for overall Google-API usage in the link above, and the separate documentation for the service you want to use.
For Gmail, look here.
I agree with the others its fairly well documented, particularly here would be relevant for you if you intend to get started using the Java API:
Google docs
To run this quickstart, you'll need:
Java 1.7 or greater. Gradle 2.3 or greater. Access to the internet and
a web browser. A Google account with Gmail enabled....
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I am developing one android application in java and i am using neo4j as a database for this app.
Lets, consider i will store the static cypher query in a string. Then after the user clicks on the button, i want to send this query(string) to neo4j server and then execute it on neo4j server and return the result.
My question is that, Is it possible? If yes, how can i do this ? Is there any easy/proper way to do?
Any help will be highly appreciated.
If you want to talk directly to Neo4j, you can use either:
The HTTP API
The Binary Bolt Protocol
If you would rather use middleware, there are many many different options:
Java
.NET
JavaScript
Python
Go
Ruby
PHP
...
When building mobile apps my personal preference is to build a standard API in a middleware server then use HTTPS calls from the app (neo4j-graphql-js has also been awesome for a couple projects), but there are enough stacks that you have the freedom to do it your way.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am looking to develop a chat application in android. I know core java and android well but I dont know java sockets and servlets. Are java sockets and servlets necessary to develop an android chat application?
Which api should I use to develop a chat application in android? What are the java and android concepts needed to develop an android chat application?
If I am to develop a chat applicatioon using Google cloud messaging in android, is knowledge of java sockets and servlets mandatory?
If your goal is to create an instant chat service, I would personally recommend the Sinch SMS API or Smack. However, if you want to use the Google messaging API, you might want to follow a tutorial such as the one here just to get you familiarized with writing the required server integration code (servlet use is explained so prior knowledge is not necessarily mandatory). Its really a matter of preference and comfort so choose whatever you think you will be able to work with. I hope this helps!
And no knowledge of sockets and servlets is not necessarily mandatory depending on what path you choose. Most api's handle this for you.
EDIT: If you don't like the options I've provided, you could try this however I do believe in your case Sinch would be the best approach.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to access data from an oscilloscope (Tektronix DO4034B) connected to my LAN. The oscilloscope has a web-GUI to perform the functions.
My doubt is how I develop a software in Java to perform these same functions in my program, accessing the oscilloscope in the network.
Thanks.
If the oscilloscope publishes a Java API, it will be easy. Download the API and use according to directions.
If the oscilloscope publishes a non-Java API, then it's a matter of binding the Java language to the published API.
If the oscilloscope doesn't publish an API, then you have to make a choice.
Figure out how to set up a service on the oscilloscope, which binds to the internal api, and presents what you desire.
Use a Java web client, Apache's HttpClient comes to mind, and have Java drive a program driven headless web browser.
I'd opt for #2 unless there is some overriding reason to make it integrate with a larger environment better.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am not able to decide which one to go for implementing SIP based voice calling app in android.
Shall i use Android SIP API or go with PJSIP ? which one has successful implementation till now ? Please help
I will try to provide my two cents on this:
Android SIP Stack relays on an old JAIN SIP version plus some extensions (IMS, supporting RTP, etc.). Main problem with this stack is that, in most devices, it only works via WiFi, no 3G or LTE (note that android.net.sip.SipManager contains method isSipWifiOnly to know if this limitation is enabled).
On the other hand, pjsip is quite complete, like they say, it's not a SIP stack but a full multimedia communications library. It's really versatile: you can use a huge number of configuration or just run it as a simple user agent. It works with any kind of data connection (not limited to WiFi).
Now the comparison: In my opinion, pjsip is more complete and versatile but more difficult to integrate with you project (with Android SIP Stack everything remains in the SDK environment while, with pjsip, you would need to use the NDK and a JNI library).
My opinion: If you plan to create a very simple SIP app and you don't mind the WiFi limitation, I think, the best would be using native SIP API but, if you plan to improve it and do something more "interesting", I would strongly recommend pjsip. I've used both JAIN SIP and pjsip and, again, my vote goes for psip. But this is just my opinion.
Hope this helps.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a old LG MG280 cellphone that I'd like to code some simple things for. It has Java support, but I know that it is not simply making a Java ME application. It has to follow some specific specs otherwise the app will not run. Does anyone know what those specs are?
JavaME platforms are made up of a profile and a configuration. Most mobile phones use some combination of the Mobile Information Device Profile (MIDP) and the Connected Limited Device Configuration (CLDC).
The LG MG280 you are interested in uses MIDP-2.0 and CLDC-1.1, which is pretty standard.
To get started with development you'll probably want to be using the Sun Java Wireless Toolkit (frequently abbreviated to SJWT or WTK). Or, if you are a windows user, you can use the (newer) JavaME SDK 3.0. This gives you tools needed to compile/package applications and an emulator which lets you run/debug application on a desktop computer.
There are numerous tutorials available online. Here's a few to get you started:
http://today.java.net/pub/a/today/2005/02/09/j2me1.html
http://developers.sun.com/mobility/midp/articles/wtoolkit/
http://developers.sun.com/mobility/learn/
http://www.developer.com/java/j2me/article.php/1561591
Find out which J2ME profile it has - MIDP etc. Then find an appropriate tutorial, such as this one.