{"id":9,"date":"2012-09-12T04:48:51","date_gmt":"2012-09-12T04:48:51","guid":{"rendered":"https:\/\/code4reference.com\/?p=9"},"modified":"2012-09-12T04:48:51","modified_gmt":"2012-09-12T04:48:51","slug":"code4referencecode4reference-page-2-of-6-tutorials-on-adroid-java-python-and-how-to-do-articles","status":"publish","type":"post","link":"https:\/\/code4reference.com\/?p=9","title":{"rendered":"Code4ReferenceCode4Reference \u00bb Page 2 of 6 \u00bb Tutorials on Adroid, java, Python and how to do articles"},"content":{"rendered":"<h2><a href=\"http:\/\/code4reference.com\/2012\/08\/read-environment-variable\/\">How to read environment variable in 5 different languages?<\/a><\/h2>\n<p>In code development, be it one or the other requirement, we need to access the environment variable. In this post, the environment variable will be read\/set in 5 different programming languages. C language In C, environment variables can be read and set by getenv() and putevn() methods respectively. The example code is shown below. Java [&#8230;]<\/p>\n<p><a href=\"http:\/\/code4reference.com\/tag\/environment-variable\/\">environment variable<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/java\/\">java<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/programming-language\/\">programming language<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/python-2\/\">python<\/a><\/p>\n<h2><a href=\"http:\/\/code4reference.com\/2012\/08\/gradle-custom-plugin-part-2\/\">Gradle custom plugin (part-2)<\/a><\/h2>\n<p>This tutorial is followup of the gradle custom plugin tutorial part-1. If you haven\u2019t gone through it yet, then I would recommend you to first read it in order to get the better context. In this tutorial we will cover the following topics. Define custom Task class Passing arguments\u00a0to custom plugin task Nested arguments Testing\u00a0the [&#8230;]<\/p>\n<p><a href=\"http:\/\/code4reference.com\/tag\/custom-plugin\/\">custom plugin<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/gradle\/\">gradle<\/a><\/p>\n<h2><a href=\"http:\/\/code4reference.com\/2012\/08\/gradle-custom-plugin-part-1\/\">gradle custom plugin (Part-1)<\/a><\/h2>\n<p>This tutorial describes the way of creating Gradle standalone custom plugin. It covers the following topics Creating task, and using it in Custom plugin Stand alone Custom plugin Short plugin id Customize Gradle setting using settings.gradle Project info : Gradle version : 1.1 OS platform : Ubuntu 12.10 Prerequisite : Basic understanding of Gradle script. [&#8230;]<\/p>\n<p><a href=\"http:\/\/code4reference.com\/tag\/custom-plugin\/\">custom plugin<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/gradle\/\">gradle<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/tutorial\/\">Tutorial<\/a><\/p>\n<h2><a href=\"http:\/\/code4reference.com\/2012\/08\/how-to-install-gradle\/\">how to install gradle<\/a><\/h2>\n<p>Gradle is a simple and yet strong build tool. It is similar to the Ant build tool. It manages the build well and also handles build dependencies. The best part of Gradle is that it is open source project. If you are thinking about installing and giving it a try, then you are at the [&#8230;]<\/p>\n<p><a href=\"http:\/\/code4reference.com\/tag\/gradle\/\">gradle<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/install\/\">install<\/a><\/p>\n<h2><a href=\"http:\/\/code4reference.com\/2012\/08\/copy-paste-intent-html-android\/\">Copy-paste with Intent and support for HTML on Android.<\/a><\/h2>\n<p>Android provides support for copy and paste feature using ClipBoardManager. The developer.android.com provides a brief description along with an image which helps to understand the Copy-paste framework. \u201cTo copy data, an application puts a ClipData object on the ClipboardManager global clipboard. The ClipData contains one or more ClipData.Item objects and one ClipDescription object. To paste [&#8230;]<\/p>\n<p><a href=\"http:\/\/code4reference.com\/tag\/android-jelly-bean\/\">Android jelly bean<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/clipboard\/\">Clipboard<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/copy-paste\/\">copy paste<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/tutorial\/\">Tutorial<\/a><\/p>\n<h2><a href=\"http:\/\/code4reference.com\/2012\/08\/xml-parsing-gradle-script\/\">xml parsing in gradle script<\/a><\/h2>\n<p>Gradle is a great tool for build management. Recently I started using it in my projects. In one of the requirements I had to parse the xml file using gradle. I started looking for help from blog and gradle documents but I hardly found any. I started fiddling around and discovered that it is achievable [&#8230;]<\/p>\n<p><a href=\"http:\/\/code4reference.com\/tag\/gradle\/\">gradle<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/groovy\/\">groovy<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/xml-parsing\/\">xml parsing<\/a>, <a href=\"http:\/\/code4reference.com\/tag\/xmlparser\/\">xmlParser<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to read environment variable in 5 different languages? In code development, be it one or the other requirement, we need to access the environment variable. In this post, the environment variable will be read\/set in 5 different programming languages. C language In C, environment variables can be read and set by getenv() and putevn() [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/code4reference.com\/index.php?rest_route=\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code4reference.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code4reference.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code4reference.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code4reference.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":0,"href":"https:\/\/code4reference.com\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions"}],"wp:attachment":[{"href":"https:\/\/code4reference.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code4reference.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code4reference.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}