Why Open Source

Open Source is not a concept, it's thought process.

Keep Watching this Space

This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Keep Watching this Space

This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Blog for open Source lovers

We live in a World of Technology and that tecnoglogy is for All to explore and understand. Period. !!

Showing posts with label Beginners. Show all posts
Showing posts with label Beginners. Show all posts

Monday, February 20, 2017

Beginning Android Development - Must Not Undeclare Prefix

Usually when we start with some development activities, especially for new developers, there are many common errors which we face. They are usually not big issues but they become roadblock for new developers and hence de-motivates them to start development. 

However, if we see the brighter side, they help us in learning system better and troubleshooting them helps us in understanding tool quickly.

One of the most common error users face while starting with Android Application Development with Android Studio is: 

Error:(2) Error parsing XML: must not undeclare prefix


If you see on other websites and blogs, it has been suggested to add below line or make sure you have below lines:

xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"

However, there are chances that above lines are already there and if you look at the exception or error message closely, you will see that it talks about some prefix which is not declared, so try to look for undeclared prefix and remove it. For eg. it could be like:



xmlns:app2="" 
Try removing it and any other similar undeclared prefix and then compile it. You should be able to move ahead and the program should compile.

Cheers !!

Please leave your comments if more solutions are found and if this has been helpful.

Tuesday, November 22, 2016

How to find Even and Odd Number using Java

Although identifying a number as even or odd it's one of the easiest thing to do. However, just for the sake of knowledge and it's implementation with Java is our prime goal here and hence this post. The logic is simple. Any number which when divided by two leaves no remainder is considered as even and the number which leaves a remainder is odd. This is how we implement it using Java.


This Program is self explanatory and implemented in most easiest way. Please go through it and try implementing with your own logic also. We are using the Scanner java object to ask for user inputs continuously to check if the number is even or odd and until user enters 0 which will break the while loop and program exits.

Wednesday, July 15, 2015

Learn Basic Linux Quiz : Part 1




Linux Basic learner quiz covers questions which focuses on improving basic knowledge in open source areas. These are useful for both new and experienced Linux learners. This blog is first in the series and more questions will be shared. you can subscribe to the blog if you want questions directly on mail. Each Question has only one correct answer and explanations are provided along with that. If you see any issues in the questions, please drop a mail to planetopensrc@gmail.com or leave a comment below.

Enjoy the Quiz and do leave your feedback.


Basic Quiz