Is it possible to use Java 8 for Android development?

Is it possible to use Java 8 for Android development?

Searching the web, it is not clear if Java 8 is supported for Android development or not.Before I download/setup Java 8, can some one point me at any "official" documentation that says Java 8 is or is not supported for Android development.

Set cookie and get cookie with JavaScript [duplicate]

Set cookie and get cookie with JavaScript [duplicate]

This question already has an answer here: How do I create and read a value from cookie? 14 answers I'm trying to set a cookie depending on which CSS fi

What causes and what are the differences between NoClassDefFoundError and ClassNotFoundException?

What causes and what are the differences between NoClassDefFoundError and ClassNotFoundException?

What is the difference between NoClassDefFoundError and ClassNotFoundException?What causes them to be thrown? How can they be resolved?I often encounter these throwables when modifying existing code to include new jar files.I have hit them

Unsupported major.minor version 52.0 [duplicate]

Unsupported major.minor version 52.0 [duplicate]

This question already has an answer here: How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version 42 answers Pictures:Comman

How to append text to an existing file in Java

How to append text to an existing file in Java

I need to append text repeatedly to an existing file in Java. How do I do that? 1:Are you doing this for logging purposes? If so there are several libraries for this. Two of the most popular are Log4j and Logback.Java 7+If you just need

How do I add files in Git to the path of a former submodule?

How do I add files in Git to the path of a former submodule?

I have a project that used to contain a submodule, at path mysubmodule. I installed the latest Git from source (1.8.3-rc2) and ran git submodule deinit mysubmodule. I then deleted the .gitmodules file and committed the change. I also del

What is the best regular expression to check if a string is a valid URL?

What is the best regular expression to check if a string is a valid URL?

How can I check if a given string is a valid URL address?My knowledge of regular expressions is basic and doesn't allow me to choose from the hundreds of regular expressions I've already seen on the web. 1:I wrote my URL (actually IRI, i

Passing data in the body of a DELETE request

Passing data in the body of a DELETE request

I have two Spring MVC controller methods. Both receive the same data in the request body (in the format of an HTLM POST form: version=3&name=product1&id=2), but one method handles PUT requests and another DELETE:@RequestMapping(value = "aja

Visual Studio 2013 Preview: No Publish To File System?

Visual Studio 2013 Preview: No Publish To File System?

So I've built my project and I want to use the VS2008/2010/2012 "Publish To File System" option in Visual Studio 2013 Preview to push my project to a staging server for testing... but I can't find it anywhere in any of the menus.It's bad en

How to automatically resolve merge conflicts by selecting the remote version in Git?

How to automatically resolve merge conflicts by selecting the remote version in Git?

Is there any way to specify to git to automatically resolve the conflicts for a pack of files by taking the remote version for each of them? For instance, to take the remote version of each files in a certain directory? 1:git-merge seems

Java -classpath option

Java -classpath option

Will the use of -classpath option with java, add to or replace the contents of the CLASSPATH env variable? 1:Using the classpath variable it overrides the CLASSPATH of Environment variable but only for that session. If you restart the ap

__file__ does not exisit in Jupyter Notebook

__file__ does not exisit in Jupyter Notebook

I'm on a Jupyter Notebook server (v4.2.2) with Python 3.4.2 andI want to use the global name __file__, because the notebook will be cloned from other users and in one section I have to run:def __init__(self, trainingSamplesFolder='samples',

unbound class path container error in eclipse?

unbound class path container error in eclipse?

I tried to import my project into ecclipse, but im get following error DescriptionUnbound classpath container: 'JRE System Library [jre1.5.0_16]' in project 'myproject', How i can resolve this error 1:An unbounded classpath container fo

How to upload a generic file into a Jenkins job?

How to upload a generic file into a Jenkins job?

I am trying to find a way to prompt the user to select and upload a generic file from a local machine to a Jenkins job prior to build. The input file that user is going to upload is not necessarily a text or a property file.I am specificall

How to use Querystring with $location.path() in AngularJS

How to use Querystring with $location.path() in AngularJS

I want to redirect user to another page after successful login using query string. If I copy & paste to browser's address bar http://example.com/#/login?ref=/path/to/redirect it works fine. But if I use$location.path("/login?ref=/path/to/re

Laravel - Model Class not found

Laravel - Model Class not found

When starting to work with models I got the following error Class Post not found`. All I did:- Created a Model with the command php artisan make:model- Tried to get all entries from table posts with echo Post::all() I used the followin

Examples of polygons drawn by path vs polygon in SVG

Examples of polygons drawn by path vs polygon in SVG

I would like to learn SVG, and am trying to learn how the same image can be rendered by using either the point (with polygon) or by dynamically by paths (path).I would like a few examples of the SAME polygon (triangle, square, and pentagon

Android Studio using existing android sdk

Android Studio using existing android sdk

I already have the latest android sdk with all platforms/sources/etc downloaded.How can i tell Android Studio to use an existing android sdk without moving it to android-studio\sdk\? 1:Follow this:Open up your project in Android Studio.G

Setting environment variable for CHROME_BIN does not work

Setting environment variable for CHROME_BIN does not work

I'm trying to use Karma for testing my js scripts. In the doc it says I should set the environment variable for CHROME_BIN:I've set it to %programfiles(x86)%"\Google\Chrome\Application\Chrome.exebut when I type %CHROME_BIN% in DOS, it fail

Switch Python Version for Vim & Syntastic

Switch Python Version for Vim & Syntastic

Is it possible to change the python version used by syntastic for syntax checking?As the Issue https://github.com/scrooloose/syntastic/issues/385 indicates I could use virtual-env. But is it also possible just with syntastic or vim command

What are 3 kinds of Binding Contexts for?

What are 3 kinds of Binding Contexts for?

I know that there are 3 different binding contexts or load contexts:LoadLoadFromLoadNeitherWhat are load contexts?What are they for?Why make the assembly loading so complicated?In "LoadNeither", "neither" of what?Thanks in advance...-------

How to use  inside an attribute of ?

How to use inside an attribute of ?

I have JSP code like: " path="email" cssClass="input required email" /> I want to set the title attribute with some tooltip text, supporting i18n. How would I do this?I am looking to do something like this: "/>" path="email" cssCl

Library not loaded: /usr/local/lib/libpq.5.4.dylib while running rake db:create

Library not loaded: /usr/local/lib/libpq.5.4.dylib while running rake db:create

I am working on a rails app.Installed Postgresql using postgresql-9.1.2-1-osx.dmgInstalled pg gem.Then when I executed rake db:creategetting the following error - dlopen(/Users/sathishvc/.rvm/gems/[email protected]/gems/pg-0.

“Input line is too long” error in BAT File

“Input line is too long” error in BAT File

I am having a problem executing a bat file. After some time running I get the "input line is too long" error.The structure of the bat file is simple. There is a main bat file that calls 10 other bat files that are responsible for updating d

Change the root context to other folder in tomcat 6

Change the root context to other folder in tomcat 6

I want to change the context of my deployed web application. Currently it is accessed by the url www.app.mysite.com/dashboard But i want to change it to www.app.mysite.com/application/dashboard I went through post to change the root context