+ All Categories
Home > Documents > EESTEC Android Workshops - 103 The Internet and JSON

EESTEC Android Workshops - 103 The Internet and JSON

Date post: 18-Jul-2015
Category:
Upload: antonis-kalipetis
View: 219 times
Download: 0 times
Share this document with a friend
Popular Tags:
8
EESTEC Android Workshops 103 - The Internet and JSON
Transcript
Page 1: EESTEC Android Workshops - 103 The Internet and JSON

EESTEC Android Workshops

103 - The Internet and JSON

Page 2: EESTEC Android Workshops - 103 The Internet and JSON

The Internet

Page 3: EESTEC Android Workshops - 103 The Internet and JSON

Making Calls to a Server

Create a client

Create a request

Add parameters

Execute

Page 4: EESTEC Android Workshops - 103 The Internet and JSON

A task is a must!

Page 5: EESTEC Android Workshops - 103 The Internet and JSON

Javascript Object Notation

Has small footprint

Can be processed fast

Is object friendly

Page 6: EESTEC Android Workshops - 103 The Internet and JSON

How does it look like?

Objects are in brackets and Arrays are in square brackets

Types are evaluated dynamically, they are not

declared

Page 7: EESTEC Android Workshops - 103 The Internet and JSON

How to handle them in Android?

Using the class JSON, of course!

Page 8: EESTEC Android Workshops - 103 The Internet and JSON

NetworkHelperLet’s create a class, just to help us make calls!


Recommended