Pages

Showing posts with label rule. Show all posts
Showing posts with label rule. Show all posts

Monday, April 25, 2016

City Story Unlimited Money GOLD Android Game Moded


Salam blogger :)
Hai, Pencinta gamemod . kali ini game mod yg dimana kita ngurus kota. yah itung2 ngelatih kita jadi presiden haha. tapi tapi, ini ada mod nya. jadi enjoy and happy aja. oke cek it :

Details Game: 
Name      : City Story
Genre      : Action, Adventure
Platform  : Android 
Requires  : Android 4.1  and up

Modification on Game: 
- Unlimited Gold
- Unlimited Money


Review Modif:



Screenshoot:




Tutorial Instal : 
1. Download game. 
2. Pindahkan Game ke Androidmu.
3. Uniinstal Version originalnya, jika ada.
4. Instal MOD apk & Play
5. Enjoyyy 


|DOWNLOAD|
City Story - Unlimited Money/GOLD[Android Game : Moded]

|Download Original game|
On Playstore

#Salam Blogger
#Semoga bermanfaat :)
#Ask? comment :)
Read More..

Tuesday, March 22, 2016

Content Provider Android Developer Tutorial Part 10


Content Providers are again one of the fundamental building blocks of the Android Platform. So far, we have looked at Activities, Services, which are basic building blocks. We have also looked at intents, notificationsand variations of the same. None of these have dealt with stored data. Content Provider brings us to the concept of how to deal with data stored in the Android mobile esp. if the data has to be shared across applications.

Before we move on to shared data, let us understand the basics of data storage support provided by Android. 

There are 4 ways we can store data:

  • 1.    Preferences
  • 2.    Files
  • 3.    RDBMS (SQLite)
  • 4.    Network

Preferences– Preferences are used to store user preferences for a single application or across applications in a mobile. They are typically name-value pairs accessible to the context.

Files– Files can be stored directly on to the mobile or to extended storage mediums. They are by default not accessible to applications other than the one that created it.

Database(RDBMS) – Android support creation of databases based on SQLite. These are again private to the application that created it.

Network– Android provides API support to store data over the network on to a server, probably
Note that all these are various forms of storing data and most often for a single application. Irrespective of how data is stored, if it has to be shared across applications, Here comes the concept of Content Providers.

Content Providers are the only way to share data across Android applications. They store and retrieve data thus making it accessible to all. Android platform provides default implementations of content providers for data types like audio, video, images, contact information etc.

In the sample I would like to first show how to work with existing content providers like the contact information. We will first view the existing contacts on the phone. We will insert a new contact (hardcoded name and phone number), update the same contact and delete the same contact, in this example. Note that the update and delete will not work till we create a contact through this example.

Introduction to Content Providers:

Irrespective of how the data is stored, Content Providers give a uniform interface to access the data. Data is exposed as a simple table with rows and columns where row is a record and column is a particular data type with a specific meaning. Like a row could be about a single person and the columns could be the person’s first name, number, address, email id etc.

Each record is identified by a unique _ID field which is the key to the record. Each content provider exposes a unique URI that identifies its data set uniquely. This URI is equivalent to a table name in a database. The URI consists of various parts: eg: content://com.colllabera.labs.sai/tasks/123is a unique URI. content:// is a standard prefix. com.collabera.labs.saiis the authority, tasks is the table name, 123 is the unique _ID.

For the native content providers, these unique URIs are declared as constants in an interface. So, in our program we will be using constants like People.CONTENT_URI which internally translates to content://contacts/people

Let us now look at the code to view all the existing contacts:

//Here is the button to click for viewing the contacts
Button view = (Button)findViewById(R.id.viewButton);
//The method / class that gets invoked when the View button is clicked
view.setOnClickListener(new OnClickListener() {
    public void onClick(View v){
       displayContacts();
       Log.i("NativeContentProvider", "Completed Displaying Contact list");
    }
});
//Here is the displayContacts() method
private void displayContacts() {
      String[] columns = new String[] {People.NAME,People.NUMBER};
      Uri mContacts = People.CONTENT_URI;
      Cursor mCur = managedQuery(mContacts, // Contact URI
                  columns,    // Which columns to return
                  null,       // Which rows to return
                  null,       // Where clause parameters
                  null        // Order by clause
                  );
      if (mCur.moveToFirst()) {
            String name = null;
            String phoneNo = null;
            do {
              name = mCur.getString(mCur.getColumnIndex(People.NAME));
              phoneNo = mCur.getString(mCur.getColumnIndex(People.NUMBER));
              Toast.makeText(NativeContentProvider.this, name + " " + phoneNo, Toast.LENGTH_SHORT).show();
            } while (mCur.moveToNext());
      }
}

Here we are using the Activity.managedQuery(..)to create and execute a query against the provided URI. The comments against the parameters in the code is self-explanatory. This returns a cursorobject that can be iterated using the two methods moveToFirst()and moveToNext(). For simplicity sake, I have just toasted the contact name and phone number retrieved. An advanced tutorial can start a new activity that can display this in a ListView.

Now, we can move on to creating a new contact. While the button related code will be very similar to the above, let us look at the actual createContact() method.

    private voidcreateContact(String name, String phone) {
      ContentValues contact = new ContentValues();
      contact.put(People.NAME, name);
      insertUri = getContentResolver().insert(People.CONTENT_URI, contact);
      Log.d(getClass().getSimpleName(),insertUri.toString());
      Uri phoneUri = Uri.withAppendedPath(insertUri, People.Phones.CONTENT_DIRECTORY);
      contact.clear();
      contact.put(People.Phones.TYPE, People.TYPE_MOBILE);
      contact.put(People.NUMBER Read More..

Wednesday, March 16, 2016

Rule the Kingdom Mod Gold Diamonds Android Game Moded


Salam blogger :)
Pagi pagi buta sudah update, wushh. bukan, bukan bangun pagi ini. tapi bangun sampe pagi alias begadang haha. oke daripada begadangnya tak menghasilkan apa" mending kita update blog yuk. oke kali ini ane mau share game mod lagi, yaitu game yg bergenre adventur rpg ini yg bernuansa kerajaan, di mana kita adalah pangeran utk meneruskan kerajaan. Disini sedikit banyak kita di ajarkan cara menjadi raja yang baik, dari membantu warga, menyelesaikan dungeon, mengusir monster, dll. oke penasarankan, langsung saja cek it :

Details Game: 
Name      : Rule the Kingdom
Genre      : RPG, Arcade
Platform  : Android 
Requires  : Android 2.2  and up

Modification on Game: 
- Mod Golds
- Mod Diamonds

Review Modif:

Screenshoot:



Tutorial Instal : 
1. Download game. 
2. Pindahkan Game ke Androidmu.
3. Uniinstal Version originalnya, jika ada.
4. Instal MOD apk & Play
5. Enjoyyy 



|DOWNLOAD|
Rule the Kingdom - Mod Gold & Diamonds[Android Game : Moded]

|Download Original game|
On Playstore

#Salam Blogger
#Semoga bermanfaat :)
#Ask? comment :)
Read More..

Thursday, March 20, 2014

One desktop to rule them all Why Chromebook should mop up




With the rise and fall of PC sales worldwide over the last few years , one thing is clear. The shift to a more mobile OS has been a transition not only in large numbers but in getting end users away from their Windows powered OS to something else.

That something else is either iOS or Android, sometimes Windows Phone or Googles Chromebook OS. Whats interesting is that all three (Apple, Google and Microsoft) have all got a finger in each of the pies - however both Windows and Apples OS have been established for quite a while and both have seen a decline in sales (in some form) for desktop over the last 2-4 years - with Microsoft seeing the biggest fall.

Chromebooks have been dominating their sector with increased sales and often listed as the #1 sub $300 laptop on Amazon. You can use the same +Google  services on your phone as you can on the Chromebook, Google Docs, Drive etc all work but it has its draw backs. Namely the inability to find network shares, NAS or SAN devices, these features alone stop me from getting a Chromebook. I absolutely love the idea of the device but it misses the mark a little, or maybe Im missing the point - until Google addresses this issue or finds a way round it then Ill be out of this battle for quite a while. 

Google really have a great opportunity to integrate some of Androids best bits and Chrome, throw in a few extra features and you have a brilliant idea which could grow into a true powerhouse of a desktop, at a price we all can swallow. Mobile has shown us that we can do so much with our handsets, and many features contained in a desktop OS like Apples and Microsofts are unloved or wanted - many dont need to have a "start" button, the masses just want access to email, music, documents, browsing and file access, be it photos or alike. After all how many do you know just use a PC for social media and email ?! I bet its quite high in terms of numbers..

Microsoft will continue to sell a dead horse for a while at least, their newer Metro style is their attempt to match an overall experience across all devices - again misses the mark as the PC will cost you north of $500-$600, and Apple just have a full bloodied desktop OS on a very pricey mac. Which leaves the space that Google are currently operating in - and doing bloody well.

There will always be a need for a PC for those that need one, that will never go away but in terms of where the market is going, unification of mobile and desktop is a good target to aim for.

If Google can get this right, and I mean right now. They could just be able to make the one desktop to rule them all. 






Read More..