As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm trying to create an email application which is depending upon the same function of our android mobile's default email application. How can I get that default email functions source code?
I think what you are looking for is K-9 mail. It looks like you're in luck. it's open source on github: https://github.com/k9mail/k-9
For sake of completeness, the source of the default Email application is available at
http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=summary.
EDIT: Palaniraja suggests the following alternate link, however it does not support the source browsing capability of the discontinued original repository.
https://android.googlesource.com/platform/packages/apps/Email/
However, it will (or at least used to) require a fair amount of adaptation before it can be built with the SDK, as it was originally designed to be built with the platform build system before decisions about APIs available under the SDK were finalized. Unless that has changed, you may be better off working with some other codebase that someone has already adapted for SDK use.
maybe this will help you: http://java.sun.com/developer/onlineTraining/JavaMail/contents.html
i've used that for my own gmail client app.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have to write an automated script in Java to do following
Login to an internal website with userid and password
Once login is complete click on a link which will open another web application and make sure the website is available
Send success / failure email to a specified group
The above job will have to run every day at a specified time to check the site availability. (I can use windows scheduler to schedule this as a job)
Due to network policy I cannot use any site availability websites to check this.
There are lot of Java based test frameworks available in market.
I would appreciate if anyone can point me to the right framework.
Thanks
Selenium Web-Driver Automation framework is the best. It supports multiple langugaes, along with Java. You can check the seleniumorg site http://seleniumhq.org/
For mailing, you can use Java Mail API.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am writing code that often has to work in restricted environment. I sometimes code at home, where it works nicely and the moment I put it to test at work, McAfee or some other firewall blocks it.
Sometimes it is not possible to disable such protection.
I need a test suite for my home development environment where I can simulate all these restrictions without having to install all of them myself (for instance it is my experience that it is very hard/impossible to clean all traces of mcafee once you have installed it). I also need to simulate proxy servers.
I am writing code in Java if it helps.
[EDIT: so some Java library for this would be great]
You could use VMware (or VirtualBox) with different test-setups.
Try node.js. Also have a look at a sample proxy implementation
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Does anyone know if there is a Java library out there to manage configs via NETCONF?
Yes, we offer a NETCONF client library in Java called ConfM here: http://www.tail-f.com/products/confm . I'll be more than happy to provide you with more information if you are interested.
The IETF NETCONF working group maintains a somewhat updated list of NETCONF implementations here:
http://trac.tools.ietf.org/wg/netconf/trac/wiki#NetconfImplementations
I am developing a library for use by Java & netconf Android.
It 's very easy to use.
Was designed to have a future use with YANG modules (RFC6020) but can be used
very well as it is.
It is able to provide a good level of abstraction.
This is the actual home page:
http://code.google.com/p/netconf4android/
Giuseppe Palmeri
We have implemented a netconf library (it is tested with different juniper routers).
http://code.google.com/p/netconf4j/
It works fine enough. We are using it in our projects.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking to write a Java (Groovy actually) web application that will need to talk to both AWS and Eucalyptus clouds for both compute and storage. So we're looking for a Java library that can talk to both.
I know that Eucalyptus is supposed to be AWS API compatible so anything that talks to AWS should be able to talk to Eucalyptus but that has not been my experience. I've found some of the ec2 command line apps that should work with Eucalyptus but simply crash.
Here's what I'm considering so far:
typica
jclouds
Dasein
AWS SDK for Java
Cloud Foundry
Do anyone have experience using any of these to talk to AWS and Eucalyptus? Are there any other similar APIs out there worth looking at?
Thanks
Since your doing Java/Groovy (Grails?) I would suggest adding CloudFoundry to your short list.
You might want to take a look at libcloud's Java version (original version is in Python): https://svn.apache.org/viewvc/incubator/libcloud/sandbox/java/trunk/. Its development seems to go quite fast and the whole thing looks quite promising.
I would suggest that you write up an API for your cloud engines for your needs, and then use a separate implementation for each backend you want. The reason for this - makes it mockable (hence testable).
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm interested in technologies(solutions) that permits Java and .NET interoperate. I have tried the following and it works but I would like to know if there are other solutions:
Sockets
Web Services (Metro)
CORBA (IIOP.NET)
Messaging (QPid)
IKVM
Does anyone know other technologies(solutions) that enable Java and .NET interoperate or best practices for Java and .NET interoperability?
We use Apache ActiveMQ
I've used j-Integra's stuff before on a few projects that served me well
I have been working with JNBridge tools for in-process one-way JAVA Swing UI calling .NET 4.0 back end.
The whole thing performs well but does require discipline in its management. A license fee is required, so is really only a good choice when the 2 languages have to be used together.
Check out JNBridge.
I haven't used it, but I have heard this works: http://jnbridge.com/