Bitstopr Forum - Busiest Online Entertainment Forum

Bitstopr Forum - Busiest Online Entertainment Forum


Android Development Tutorials : Part 4

Posted: 10 Apr 2012 09:50 AM PDT

Assets


While the res index contains arranged principles which are known to the Android platform, the resources index can be used to shop any type of information. You accessibility this information via the AssetsManager which you can accessibility the getAssets() technique.

AssetsManager allows to study an resources as InputStream with the open() technique.




Activities and Layouts

The program for Activities is determined via templates. The structure describes the included Opinions (widgets) and their properties.

A structure can be identified via Java code or via XML. In most cases the structure is determined as an XML computer file.

XML based templates are identified via a resource computer file in the /res/layout directory. This computer file identifies the ViewGroups, Opinions, their relationship and their features for this specific structure.

If a View needs to be accessed via Java code, you have to give the View a unique ID via the android:id attribute. To assign a new ID to a View use @+id/yourvalue. The following shows an example in which a Button gets the "button1" ID assigned.




Interpreting templates via XML is usually the recommended way as this divides the development sense from the structure description. It also allows the description of different templates for different gadgets. You can also mix both techniques.

Facebook Buys Photo Apps Instagram for $1 Billion

Posted: 10 Apr 2012 08:30 AM PDT

The latest new about Facebook is they bought Instagram Photo apps for $1 billion dollar. It's the biggest sign of the growing web bubble. But they are a question arise everywhere around the world. Why Facebook bought Instagram??? What is the reason. The main thing spinning everyone's mind is "Why?????".

Instagram has 30 million user where facebook has 850 million users. So I think there is no need for Facebook to buy Instagram for only 30 million user. Because If Facebook closed their eyes for a year, their user automatically reach 100 million in this growing web world. On the other hand, the revenue of Instagram is not good enough. So again a big question arise,


"Why Facebook bought Instagram???"


Dental X-rays link to brain tumours

Posted: 10 Apr 2012 12:45 AM PDT

Frequent dental X-rays may significantly increase the risk of non-malignant brain tumours, say researchers.Over a lifetime, having dental X-rays can double or triple the chances of developing meningioma tumours, a study has found. The tumours grow in the outer membrane covering the brain. In one case, involving X-rays on children, a five-fold increase in risk was seen.However, the likelihood of developing a brain tumour at all is very small. Meningiomas, which account for about one in five primary brain tumours, affect two or three in every 100,000 people in the UK each year. The tumours are slow growing, often causing no symptoms, and usually benign.Scientists in the US looked at the self-reported dental histories of 1,433 patients diagnosed with meningioma tumours. They were compared with a "control group" of 1,350 matched individuals who were free of the disease.The tumour patients were consistently more likely to have been exposed to dental X-rays. One of the most common procedures is the "bitewing" X-ray which uses an X-ray film clenched between the teeth in a tab of plastic or cardboard.Bitewing X-rays check for decay between the teeth and can also expose bone loss caused by severe gum disease. Over a lifetime, patients with meningioma were between 1.4 and 1.9 times more likely than controls to have undergone bitewing X-rays on a yearly or more frequent basis.The findings appear in an early online edition of the journal Cancer, published by the American Cancer Society.British cancer expert Dr Paul Pharoah, from Cambridge University, said the study was "carefully designed and well conducted". He added: "The authors report that dental X-rays are associated with a small relative increase in risk of disease of approximately 50% or 1.5-fold. This finding is statistically significant. However, as the disease is rare, the increase in absolute risk is tiny - the lifetime risk increasing from 15 in every 10,000 people to 22 in 10,000."Professor Damien Walmsley, scientific adviser to the British Dental Association, said: "Regulations governing the use of X-rays in the UK are considerably more stringent than in the US. Dentists in the UK are only permitted to take X-rays where these are absolutely necessary. This means that fewer X-rays are taken in dental practice and modern equipment has reduced exposure to radiation to extremely low levels."Responding to the study, a Department of Health spokesman said: "Patient safety is a priority and the UK has stringent safeguards in place covering the use of dental X-rays. All X-ray exposures must be clinically justified.

মন্তব্যসমূহ