Google Android News Android Forums

PCWorld How-To's and Tips

PCWorld Latest Technology News

Friday, December 10, 2010

Cloud computing and LTE

I have been thinking for a while, what would it be like in 3 or 4 years ahead, and I started noticing that everybody is starting to love the "Cloud", I won't lie, I love it to :D, It is exponentially increasing, some of the ISP's have already started using the cloud, it is a pretty neat concept, for some of you who are not familiar with the cloud: Imagine that you are subscribing to a bank and you are no longer keeping your money under you bed :D, well everybody doesn't now, no body is hiding his money under his bed. Cloud computing simply follows the same concept, If you are worried about the future when your company starts to grow bigger and bigger and so do your network equipments, data centers, IT staff, and the fact that you won't be able to scale anymore or to manage it efficiently, well now you don't have to worry about that anymore, that cloud takes a good care of your "Money" (The bank analogy ). It's is becoming obvious that after about 2 years most of the ISP's and the companies will start using the cloud, now if you think about it, LTE is a fast growing technology as well that is IP based, this means that it will be using the cloud to, now I am starting to think like, OMG :D, it's gonna be amazing, I am already starting to feel it = ), with LTE on board, the telecommunication industry will evolve and the whole world will be connected in a glance = ).

Saturday, June 26, 2010

Adding a view within your ListActivity !!

Well ,

I spent some time trying to find out how to put other views in the same place with a ListActivity and I figured out 2 different ways :-

1st: you can create a new xml file that should contain a listView like this for ex,
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/black">


android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/home" />

android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:drawSelectorOnTop="false" />



and then setContentView("xmlFile");

Here I want to put that image within my ListActivity .

2nd:
you can either use add a header or a footage view.

most importantly do this before setting any adapters ,

ListView lv = getListView();
LayoutInflater inflater = getLayoutInflater();
ViewGroup header = (ViewGroup)inflater.inflate(R.layout.messageinfo, lv, false);
lv.addFooterView(header, null, false);
or
lv.addHeaderView(header,null,false) ;


I hope this helps : ) .

Sunday, June 20, 2010

Changing the background colour or Image of a ListActivity!!

Well ,
I was stuck for like three hours trying to figure out how to change the background of a ListActivity because I have used an adapter with a layout for each item so when I change the background at the layout, only the item's background is changed, but at the end I figured that it was very easy here is how I did it :-

inside your onCreate() preferably before setting any adapters or putting any views, you insert the following line : getListView().setBackgroundResource("your Image"); that did the trick .

Hope it helps!!

Saturday, June 19, 2010

How to Change the Color of an image when Clicked in Android ?

Well ,in advanced mobile applications or normal ones , a developer should communicate with the user using some feed backs so changing the color of an image or label when clicked gives the user the feedback that he has really clicked something, here how it is done :-

In your onClick() method , use the following method :
-setColorFilter("color in hexa" , "mode") , in my case I use
-button.setColorFilter(0x77000000,Mode.SRC_ATOP);

doing this you will change the Colour but if you pressed the back button , you will find it stuck on the colour you changed ,to return things as they were you can either use -setColorFilter(null) or setColorfilter(Color.TRANSPARENT,Mode.SRC_ATOP)

I use setColorFilter(null) and this does the trick for me

Sunday, March 28, 2010

How to be A Networker

Well, Lets say that most of the People have wrong concept of Who is A network Engineer and whose not,in Order to Clarify this Vague concept among people and also to answer the question that almost Most students or young Engineers ask them selves "How to be a Networker ?", I will First Define who is A newtork Engineer.
A Network Engineer is A Guy who takes the best of both worlds (Communications and Computer Science) and merge them into one to get into the "Communter Science " world :D ,so A Network Engineer is like a federal spy, he can get into a room full of aliens and never be exposed, also most people think that some Certifications will make you a network Engineer that easily, well I admit that certifications give you quite a good understanding of IT stuff but not Engineering stuff, anyway lets get to the second Question already.
To be a networker, you have to first categorize which network of networks you want to belong to for ex: computer Networks ? , telecommunication Networks or Just Social Networks :D .. , I hope you get what I mean :D , After you Have decided, you can now dive deep and Put on your seat built to the most adventures trip in your life .