Pages

Friday, May 13, 2016

Minecraft 1 7 2 The Update that Changed the World Updated! Free Direct Download for PC

minecraft
Minecraft Screenshot

Minecraft 1.7.4

Thanks to: TeamExtreme for the Launcher

 

  Click here to view new version: 1.7.4

 

 


First, you will need to install Java Runtime Environment. Click here to download.


Update: Pre-release 1.7.2 has been released to address some serious crashes, including the inability to start on some Linux computers.
It feels like we’ve been working on this for a year now, with more than half a million lines of code changed over 1,104 commits we’ve been working extremely hard on this update. We’re calling this one “The update that changed the world”, because it really has in two different ways; there’s over twice the amount of ingame biomes, and we’ve overhauled lots of the code preparing for the plugin API.
Here’s a list of cool things that may be coming your way on Friday, if the pre-release goes well!

Read More..

Android Developers Backstage Episode 9 Design

Tor and Chet make a startling break with ancient tradition and talk to a real, live designer in this episode: Christian Robertson from the Android User Experience team. Tune in to hear about the Roboto font that Christian created and about font design in general, plus design tips for layout, visual rhythm, and other Android designities.

Design: Its the new Develop.

Relevant links:
Android Design: https://developer.android.com/design/index.html
Android Style Guide: http://developer.android.com/design/style/index.html
Android Asset Studio: http://romannurik.github.io/AndroidAssetStudio/
Roboto: http://www.google.com/fonts/specimen/Roboto

Christian: https://plus.google.com/110879635926653430880/posts
Tor: google.com/+TorNorbye
Chet: google.com/+ChetHaase

Subscribe to the podcast in your favorite player or at http://feeds.feedburner.com/blogspot/AndroidDevelopersBackstage
Or just download the mp3 directly: http://storage.googleapis.com/androiddevelopers/android_developers_backstage/Android%20Developers%20Backstage%20Ep9%20Design.mp3
Read More..

Simple ListView Android Developer Tutorial Part 16

From exploring the various concepts related to fundamentals and to locations and maps, I would like to look at a few UI elements.


One of the simple views is a List View. In this post, I will explore a very simple list view using all the defaults provided by Android SDK and introduce you to a customized list view in the next blog article.

A List View, by name means being able to display a list of items in an order one below the other. For creating such a view, the first thing we have to do is extend the ‘ListActivity’ (android.app.ListActivity) instead of the normal Activity class.

So, here is how the class declaration should look:

public class MyListView extends ListActivity {
The ListActivity class provides a way of binding a source of data (an array or a cursor) to a ListView object through a ListAdapter.

In android, we all know that views are defined declaratively in XML files. It is the same here too. So, if we were to create our own custom ListView, we would have a declaration of this type:

<ListView android_id="@id/android:list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#000fff"
android:layout_weight="2"
android:drawSelectorOnTop="false">
</ListView>

However, if no ListView is declared, the ListActivity picks up a default ListView which fills the screen. So, in our example we will not declare any list view.

There is one more thing we need to define and that is how each row in the list should show up. This again, there are some defaults available which have names such as simple_list_item_1, simple_list_item_2, and two_line_list_item. So, in our example, I do not declare the layout for the rows but I will be using one of the defaults provided. So, in effect, I have not declared any layout – I am using the default screen layout and row layout.

Now, that we have the layouts out of our way, what else do we need for a List View. Of course, the list of data that needs to be displayed. Just to keep it simple, I will use an array of data for the same. So, here it is:

static final String[] PENS = new String[]{
"MONT Blanc",
"Gucci",
"Parker",
"Sailor",
"Porsche Design",
"Rotring",
"Sheaffer",
"Waterman"
};

Now, how do I bind this data to the default views described earlier? This is aided by a ListAdapter interface hosted by the ListActivity class that we have extended.

We need to use the setListAdapter(..) method of the ListActivity class to bid the two (data and view). Android provides many implementations of the ListAdapter. We will use the simple ArrayAdapter.

What does the ArrayAdapter expect?

It expects the context object, the row layout and the data in an array.

So here it is:

setListAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1, PENS));
With this we are done in creating the ListView.

I have added a small piece of code to show we can handle events on selecting an item in the list, by overriding the protected method shown below:

protected void onListItemClick(ListView l, View v, int position, long id) {
super.onListItemClick(l, v, position, id);
Object o = this.getListAdapter().getItem(position);
String pen = o.toString();
Toast.makeText(this, "You have chosen the pen: " + " " + pen, Toast.LENGTH_LONG).show();
}

This toasts a message with the item selected.

The complete code is downloadable here.

Read More..

Plague Inc MOD for Android

Plague Inc MOD for Android


Can you infect the world? Plague Inc. is a unique mix of high strategy and terrifyingly realistic simulation.

Your pathogen has just infected 'Patient Zero'. Now you must bring about the end of human history by evolving a deadly, global Plague whilst adapting against everything humanity can do to defend itself.

Read More..

Android Developers Blog Can I use this Intent

We all know that the loose coupling provided by Android through intents is one of its most powerful features. It makes it possible for us to mix and match the use of activities between various applications as though they all belong to one.

However, when I want to invoke another application that has published an intent filter, I cannot always assume that the other application is available on the phone. So, I need to check its availability and then only enable the feature to call it.

This is very well explained in the link: Android Developers Blog: Can I use this Intent?

Read More..

Thursday, May 12, 2016

Hello Android

Now we’re going to explore our first Android application which will be the famous Hello World application. We are going to explain the structure of an Android application and some of the basic concepts wee must understand
  1. Open Eclipse and select from the menu File>New>Android Project, you’ll see a window like this.
  2. Now there are several fields that appear here they are:
    Project Name: The Eclipse project name, the name of the folder that will hold the project files.
    Application Name:The name of the application that will appear on the phone.
    Package Name: The package name space, it sould be in the form of [abc].[xyz].
    Create Activity: the name of the basic activity class of your application. it’s optional to create.
    Min SDK Version: the minimum API level required by the application. You see in the Build Target list there is a list of the available SDK versions to use for the application and in front of each one the corresponding API level. You must ensure that you application API level is supported b the device.
  3. Press Finish then press run and choose run as Android Application, the emulator will start, wait until the main screen appears, unlock by pressing the menu button then you should see something like this

    Notice: the emulator may take a long time to boot so please be patient.
  4. Now go to the package explorer on the left bar of eclipse to your project


    folder navigate to src/[PackageName]/HelloAndroid.java this is the main activity class of your application. It should be like this:
    package mina.android.helloandroid;

    import android.app.Activity;
    import android.os.Bundle;

    public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    }
    }

  5. We will explain what each line in this code means later but now let’s understand what each folder in our project contains.
  6. The project contains the following folders



    Folder Name

    Description

    Required

    src

    Contains all the source code (class files) for the project

    Yes

    gen

    Contains the R.java class file

    Generated automatically

    Android 1.5

    Its name changes according to the sdk version you use (1.5 here). Contains the Android API class files packed in android.jar files

    Generated automatically

    assets

    You can place any external resources (text files,images,…) in this folder. It’s much like the res file except it’s more like the file system where you put files that you want to access them as raw bytes


    no

    res

    Contains resources for the application

    Yes

    drawable

    Contains the images required for you application. You can add your own image files to this folder

    No

    Layout

    Contains the main.xml file that defines the view that construct the User Interface of the application

    No

    Values

    Contains other resources that can be used for your application such as string resources, styles or colors

    No

  7. So that was a quick look on the android project structure, in this post we will take a deeper look on the hello Android application.

Read More..

Free Folder Lock

Semua orang memiliki beberapa file dan folder yang kita anggap pribadi. Mereka bisa apa saja dari dokumen bisnis kami untuk foto-foto teman-teman dan keluarga. Kita tidak ingin orang lain menggunakan komputer kita untuk mengetahui tentang file pribadi.Windows tidak menawarkan cara untuk melindungi informasi pribadi kita, kebanyakan dari kita takut ketika file ini ditemukan oleh orang yang tidak diinginkan.Kunci jendela folderTentunya, Anda dapat menyimpan informasi ini dalam folder tersembunyi. Satu-satunya masalah adalah bahwa siapa pun dapat dengan mudah mencari isi folder tersembunyi menggunakan Windows Search itu sendiri.Satu-satunya solusi yang layak adalah menyimpan konten ini dalam folder yang dilindungi sandi sehingga hanya orang-orang mengetahui password folder dapat mengaksesnya. Ada banyak program penguncian folder yang tersedia online tapi masalahnya adalah bahwa sebagian besar yang baik dibayar. Bahkan jika Anda berhasil mendapatkan satu gratis baik, Anda akan melihat curiga ketika orang melihat folder loker dalam daftar program yang diinstal Anda.

Jika Anda juga menemukan diri Anda dalam situasi yang sama, Anda dapat mencoba Folder Protector, pelindung password untuk folder Windows yang tidak hanya gratis, tetapi juga makna portabel yang tidak perlu diinstal. Cukup klik pada file exe dan program akan mulai berjalan. Saya telah menciptakan program ini didasarkan pada saran dan permintaan fitur yang saya terima melalui email selama dua tahun terakhir.Folder ProtectorFolder Protector menawarkan setiap pengguna folder yang dilindungi yang hanya bisa dibuka dengan memasukkan password di FolderProtector. Tidak seperti program keamanan yang paling, Folder Protector dalam ukuran kecil (hampir 58KB) dan tidak menunjukkan folder yang melindungi. Hal ini memberikan keuntungan tambahan bahwa orang yang tidak tahu password tidak memiliki target untuk mencoba dan hack cara mereka ke. Sebagai perangkat lunak yang portabel, Anda dapat menyembunyikan atau bahkan menghapusnya setelah melindungi folder Anda dan tidak ada yang akan memiliki petunjuk bahwa itu digunakan. Kemudian setiap kali Anda perlu untuk mengakses file yang dilindungi, Anda dapat kembali men-download program dari halaman ini, masukkan password dan mengakses file yang dilindungi Anda.

Read More..