It is a good thing to place your files in a managed way but what if you are like me and just place your files wherever you find some space.Well, i am not that much scattered person , i place my files in sort of managed way, not completely. But files keep accumulated at one place and after sometimes it becomes quite difficult for me to search some specific file, at the last what i remember only the extension type or sometimes name of the file if it is a movie!!
So, what to do? 
There is a particular command only for these kind of scenarios and that is ---- find

If you completely forget the location of file:

find / -name '*Total Recall*'
    
But i am not sure about movie name it could be saved as "total recall".So, i will use-

find / -iname '*Total Recall*'

*iname makes the search case-insensitive.

 Now, what if you know the destination folder of file:

I actually keep my movies in different folder, so if i am sure about the folder then i just have to search in that particular folder with the help of find command.In the given example i am mounting different drive other than the home.In this case i will write something like this--

find /media/MyStuffs/ -iname '*Total Recall*' 



If your files are in home folder-

find Downloads -name '*.pdf*'



What if you  know only the size of your file:

In this case, you will write something like this-


find / -size +700M

 This will search for the files larger than 700 Megabytes.


In this post i am going to cover how to give your android phone an ubuntu's touch and feel.The most banal method is by using some launcher.Well, i am not an exception and i am also going to use the same method.The main problem is that there are so many launcher apps available in google play to make you fuzzy.So, you have to choose the right one.I already tried so many apps and i found this something special...

1.First of all download this app- Go Ubuntu Launcher Ex Theme


2.It is an extended version of Go Launcher so you should have Go Launcher installed in your android phone.This is the only prerequisite.

3.Wait a minute, if you just want to get a feel of this app then i am going to cover all the features here.At the end of the post if you find this app interesting, you know what you have to do..

4.So, i am starting from the main screen.The color and ubuntu icon are enough to make you feel that your phone has now an ubuntu soul.


5.If you tap on the little ubuntu icon, you will be able to see your widgets in some different dress while your screen will have some additional features like recent, all, running etc.


6.If you tap on the dotted icon,located in the right bar, you will be able to see some options like this.


Sorting:-
There are 3 options to sort your apps.You can select any one of these according to your convenience.


New Folder:-
 
-First, select what files you want to put in your new folder, i named my new folder as 'New 1'.


-Just click 'ok' and you will be able to see your newly created folder in your menu.

Hide app:-

You can select list of apps and make them invisble.

 
 App Manager:-
It will give you details about app updation and app memeory consumption.



-You can also search your favorite app by using the search option which is located in the right bar of the screen,just tap on it and you will be greeted with a beautiful screen.


-With the help of the Recent, you can see what apps you have used recently and also clear all your history by janitor.



-The process of migration of your app from one screen to another is same as we do but the cute graphics make this little bit interesting.



That's it!! I hope, you guys will like this post..


First of all, you should have an Ubuntu One account.For creating an Ubuntu One account, you just have to click on the Ubuntu One icon.It is in your launcher.



You will be given 5gb of free space.You will have an Ubuntu One folder under the Home folder.Now, whatever you will put into it, you can easily access it from any corner of the world.But what if i have an android phone and i want to access all my shared files which are under Ubuntu one??

This is what i am going to cover here..

1. Go to Android Market and download this app- Ubuntu One Files


After the downloading and installation is finished, open it.You will be greeted with a beautiful interface.

2. As you can see, you will have two options here.You can Sign in or you can create your account.Well, i already have one so i am just signing in.

3. After signing in, you will be able to see your already shared files( these files i have shared through my laptop, though i am opening this app first time but because i am accessing the same Ubuntu folder, i am able to access all my files).



4. So, if you haven't saved any file earlier then you can do it with the help of this app also.And you will be able to access the shared files on your Ubuntu.

5. To upload any file, just tap the '+' icon at the right corner of the main page.You will be able to see a lot of options there.


6. I have chosen to upload an image, so i just tap on 'Add image'.Now, it will open your phone's gallery where the images are located, you just have to tap on the specific image to upload it on the cloud.

7. If the uploading is started, you will be notified like this.

 8. To see the uploading status, just see at your notification bar.

9. When your file will be uploaded, you will be notified like this.

Your file is successfully uploaded on Ubuntu One!!

Question: Will it be available under the Ubuntu One folder in My pc?

Answer: For the availability under your pc's Ubuntu One folder, the file must have to be downloaded and this will only be happening when you are connected to internet. Take an example of my case, i uploaded this image when i was at office.So, when i came back to home and connected my laptop to internet, That image got automatically downloaded to my laptop's Ubuntu One folder.


So, this is how you can create a link between your Ubuntu Os and your android phone.

Happy SynCing guys!!

Hi friends,

This is my second post on android.
The most basic code that we write while learning a new technology is always “Hello World”.
I am no one to break that convention, lets write Hello World :)

Before moving to interesting code part, there is some pretty boring theory part that you must understand before.

There are mainly four type of application component:

1. Activity:
An activity represents a single screen with user interface.

2. Services:
A service is a component that runs in background to perform long-running operations.

3. Content Providers:
A content provider manages a shared set of application data. You can store your data in file system or Database or on web, and you can access or modify them through content provider.

4. Broadcast Receivers:
BR is a component that responds to system wide announcements.

I copied these lines from the tutorials on Android Developers Site. If you want to know more about these components then you can always refer to those tutorials.

So, back to Hello World:

Our Aim:
To write an application/activity that say “Hello World”

How To:
We will write an activity and then add a TextView to it which will contain the text Hello World.

Where to Test:
Android Virtual Device.

To start a AVD we have to create an AVD first. Open AVD Manager
(Window>>AVD Manager)




Click on New


Enter the Name for the Virtual Device and Target (this will depend on which android version you installed)



Now you can see the device in the list, click on Start and then Launch.


Your Andriod Virtual Device will start


Now, there are two ways to write 'Hello World' one is create purely JAVA code and other is JAVA + XML. First method is highly discouraged as is less flexible, difficult to maintain and can lead to seriously mumbo jumbo kind of code in complex activities :)

We'll look at the first method first (as I believe unless you don't know what is bad, you'll never appreciate the good :) )

I believe that you setup the android development environment. If not than you can refer to my previous post of SETTING UP ANDROID DEVELOPMENT ENVIRONMENT.

Now first start a new Android Project.
File>>New>>Android Project


If you are not able to find the 'Android Project' under 'New' then you can go to
File>>New>>Others
then you can find 'Android Project' in there.


Now enter a name for the project.


Select a Target for the project


Enter the name of the package and click on finish


Eclipse will generate one default activity for you under the name of the package provided by you.
Now when an activity will start the first method which will be called is 'onCreate()', so we will simply override this method.

Now most of the user interface components directly descend from View class, we will use TextView component. So what we have to do is create a new TextView object, pass object of the current activity as context (all activities are context) and then we'll set this view to the activity :)

Check the following code:


The above was the code way of saying hello world :)
Right Click on the project name and
'Run as>>Android Application'
(wait for sometime as android virtual environment take time to start)

Now lets take a look at the more flexible way, in this way we will define the look and feel in a xml which will be under the folder
res>>layout.

First create an xml by name 'helloworld_layout.xml' (you can use any name)



You have to select the proper resource type, check into above pic.

Now you have to open the xml and switch to Graphical Layout view from lower left corner.


Now drag and drop TextView and edit its content by change the value of the Text field from the Properties panel.

Now the difficult part is over :)
Simply go to your class and in onCreate() method remove all lines and write

public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.helloworld_layout);
}

here R is the class that is automatically generated when the application compiles and is used to access resources :)

We are done.
Right Click on the project name and 'Run as>>Android Application' (wait for sometime as android virtual environment take time to start)

If you are facing any problem please comment, I am glad to help :)
Once upon a time, i found an application for windows that fetched the songs' lyrics by itself. Want to see it, go here - MiniLyrics- Fetching Your Songs' Lyrics

For Ubuntu, i am still searching an app like this:(.

But for android, there is an awesome app in android market.I am going to put some light on the awesomeness of this application.

1.Search for this in android market.



2.Just play your favorite song, it will ask you whether you want to play your song with default music player or with TuneWiki, tap on the TuneWiki and you will find lyrics synced with your song.



3.If you just want to find some lyrics, you can do it by writing songs' name in the searchbox.




4.You can also view the top Charts and listen the preview of the songs.



5.And one more thing, you can also see the bio of your favorite singer or band.




There are so many things in this app.So, you guys should give a try to this app if you are not already using it.
There are so many applications in Ubuntu Software Center to make you puzzled about which app to use.I feel the same thing when i open software center to find some new app.Well, it becomes quite easy when you have specific thing in your mind to look for, which doesn't happen in my case.So, how to search for good app..

Let's find out..

1. Go to this link- Best apps in Ubuntu Software Center

2. You can get the list of top paid apps..


3. Best Free apps list is also available...

I found  this at the bottom of the page:-

The lists of top 10 app downloads includes only those applications submitted through My Apps on the Ubuntu App Developer site.

So, all statistics  are right from the Ubuntu sources, not from any third party source.They keep update these lists every month, so you will always have the information about the latest popular app.

Bookmark it guys!!!
© 2015 Techie's House. Designed by Bloggertheme9