Posts

Showing posts from 2017

Kotlin - The official language for android development.

Image
Kotlin  Kotlin  is a  statically-typed   programming language  that runs on the  Java Virtual Machine  and also can be compiled to  JavaScript  source code. Its primary development is from a team of  JetBrains  programmers based in  Saint Petersburg , Russia (the name comes from  Kotlin Island , near St. Petersburg). [3]  While not syntax compatible with Java, Kotlin is designed to interoperate with  Java  code and is reliant on Java code from the existing  Java Class Library , such as the  collections framework . Kotlin is similar to Apple's  Swift . History In July 2011 JetBrains unveiled Project Kotlin, a new language for the JVM, which had been under development for a year. [5] JetBrains lead Dmitry Jemerov said that most languages did not have the features they were looking for, with the exception of Scala. However, he cited the slow compile time of Scala as an obvi...

what is traffic?

Image
Traffic Get paid to share your links! The measurement of the amount of users that visit a  Web site . Network traffic  or  data traffic  is the amount of  data  moving across a  network  at a given point of time. Network data is mostly encapsulated in network packets, which provide the load in the network. Network traffic is the main component for network traffic measurement, network traffic control and simulation. The proper organization of network traffic helps in ensuring the quality of service in a given network. Google now processes over 40,000 search queries every second on average ( visualize them here ), which translates to over  3.5 billion searches per day  and  1.2 trillion searches per year  worldwide. The chart below shows the number of searches per year throughout Google's history: When Google was founded in September 1998, it was serving ten thousand search queries per day ...

Ransomware -Wannacry

Image
What is Ransomeware? Ransomware  is a type of  malicious software  that carries out the cryptoviral extortion attack from  cryptovirology  that blocks access to data until a  ransom  is paid and  displays a message  requesting payment to unlock it. Simple ransomware may lock the system in a way which is not difficult for a knowledgeable person to reverse. More advanced malware  encrypts  the victim's files, making them inaccessible, and demands a ransom payment to decrypt them.  The ransomware may also encrypt the computer's  Master File Table  (MFT)  or the entire hard drive.  Thus, ransomware is a denial-of-access attack that prevents computer users from accessing files   since it is  intractable  to decrypt the files without the decryption  key . Ransomware attacks are typically carried out using a  Trojan  that has a payload disguised as a legitimate file. WannaCry ...

Android WebView Example

Image
Android WebView  is used to display web page in android. The web page can be loaded from same application or URL. It is used to display online content in android activity. Get paid to share your links! Android WebView uses webkit engine to display web page. The android.webkit.WebView is the subclass of AbsoluteLayout class. The  loadUrl()  and  loadData()  methods of Android WebView class are used to load and display web page. Let's see the simple code to  display  younfilmmakerz .com web page  using web view. WebView mywebview = (WebView) findViewById(R.id.webView1);   mywebview.loadUrl( "http://www.younfilmmakerz.com/" );   Let's see the simple code to  display HTML web page  using web view. In this case, html file must be located inside the asset directory. WebView mywebview = (WebView) findViewById(R.id.webView1);   mywebview....