Page 1 of 1

Simplest contacts app ever?

Posted: Sat Sep 06, 2014 8:19 pm
by CodenStuff
Hello Coders,

This is source-code for a super quick and basic contact list, add your friends name, email and phone number.

It also saves and loads the data using Json.

Image


Is it the simplest contact app ever?

Can you do one with the same features using less code?

Nice challenge for you there :lol:
Contacts.zip

Re: Simplest contacts app ever?

Posted: Sat Sep 06, 2014 8:21 pm
by Dummy1912
cool :)
never knew you can use .json for all kinds of apps

Re: Simplest contacts app ever?

Posted: Sat Sep 06, 2014 8:31 pm
by CodenStuff
Yes Json is a really efficient and easy way of saving/loading data. I started using it in VB about a year ago and its really improved a lot of my projects since then..and the data can easily be transferred and used on web sites and web apps as well.

#comathi posted a good tutorial for VB: viewtopic.php?f=38&t=11520

Re: Simplest contacts app ever?

Posted: Sun Sep 07, 2014 1:11 am
by smashapps
I've made something similar to this but without json, I might use this in a future project thanks #CodenStuff.

Maybe we can keep our contacts online and access our contacts list from mobile, web or desktop.

Re: Simplest contacts app ever?

Posted: Sun Sep 07, 2014 9:22 pm
by Codex
CodenStuff wrote:
Yes Json is a really efficient and easy way of saving/loading data. I started using it in VB about a year ago and its really improved a lot of my projects since then..and the data can easily be transferred and used on web sites and web apps as well.

#comathi posted a good tutorial for VB: viewtopic.php?f=38&t=11520
Json seems like a better choice when it comes to loading data than XML, who else agrees with that statement :P ?

#CodenStuff
smashapps wrote:
I've made something similar to this but without json, I might use this in a future project thanks #CodenStuff.

Maybe we can keep our contacts online and access our contacts list from mobile, web or desktop.
Use #codevoo maybe ? Would be really easy

Re: Simplest contacts app ever?

Posted: Mon Sep 08, 2014 7:43 am
by clanc789
I know nothing about JSON, but is it encrypted? Or like XML freely accessible with notepad or any other text editor for that matter (i.e. the my.settings settings can be changed with notepad without the program detecting the change (only if it is out of bounds (string/char differencee))?

Re: Simplest contacts app ever?

Posted: Mon Sep 08, 2014 10:49 am
by comathi
JSON is freely accessible. It's just another way of formatting data. Instead of having tags like XML and HTML, it uses arrays and dictionaries.

Here's an example of JSON data that would be returned (in plain text) by the Codevoo API:
Code: Select all
[
   {
      "username": "Codevoo",
      "avatar": "http:\/\/www.codevoo.com\/images\/no_avatar.gif",
      "email": "me@email.com",
      "colour": "000"
      "type": "0"
   }
]
As you can see, the data above contains an array (with a single element), each element in this array is a dictionary with itself 5 key-value pairs (username, avatar, email, colour, type).

You can learn more about JSON here: http://en.wikipedia.org/wiki/JSON

Re: Simplest contacts app ever?

Posted: Mon Sep 08, 2014 11:38 am
by clanc789
Thanks Comathi, I'll check that when I'm back home since dislike XML (which is probably because of me rather than XML itself, but either way :P).

Also, the Jack the Ripper killer was identified, but maybe cody has something to do with it as he suggests in his contacts app :O