February 7, 2009

Setup to J2ME - Java for Mobile Phones - Using Eclipse

Get computer ready to code for J2ME and Nokia N95:
1. Install Eclipse Classic
2. Update Java on Computer + Install JDK 5 or 6?
3. Install Wireless Toolkit - MPowerPlayer ( emulator)
4. Install Mobile Tools for Java - plug in for Eclipse to make Midlets
5. Configure MTJ and Eclipse Settings
6. Get hello world running!

Install MPowerPlayer:
A. Under Window Menu > Preferences > J2ME > Device Management --import a wireless toolkit.
B. Under File Menu >New Project> J2ME > midlet --make a new project
C. Set a wireless toolkit for the project (you might have been asked about this when you made the project and can skip) Right (command) Click on the project Properties > J2ME Pick a wireless toolkit for this project.

Install Mobile Tools for Java
A. First see if all the steps before were completed
B. Eclipse > Software Updates > Add website>> http://download.eclipse.org/dsdp/mtj/updates/1.0/stable/
C. Some steps I missed out! Will try to reinstall later! ( come back later to write about it - maybe nothing is missing...)
D. Get the PreProcessing setup ( check installation MTJ link)

Get Examples Running:
A. New project > Java ME > MiDlet Project
B. Give it a name. Check to see if MPowerPlayer is active on the Configuration
C. Press Finish > Then Yes
D. Opens Overview
E. Select Project > New Class
F. Code or Paste Code
G. Save
H. Click Application Descriptor > Choose Midlets ( Menu on the Bottom) > Add > Give name and choose class name ( browse > show all the classes) > Apple + S to Save
I. Control+Click Class > Run As > Emulator Java ME Midlet
J. Export: Mobile Tools for Java > Create Package > Files go to Deployed Folder > filename.jar >> send to phone!

note: if error> Have to do something to the project config file: Application Description > RunTime > Add > Give it a Name +Define Sdk and Device

Eclipse Download ( Classic for Mac)
Mobile Tools for Java
Tutorials 1 | 2
Get Files from CVS

February 6, 2009

Project 1 - ideas

I have several ideas that I would like to propose for this week assignment: 1. Last spring semester I develop I project called Please Do Disturb. Please do disturb is a social experiment, a community based project that aims to encourage social interaction in the context of a building. How many neighbors do you know in the building where you live ? do you interact with them ? The idea of this project came from the "Please don't disturb sign" that normally we see in hostels and subvert it's meaning by creating a visual system that invite people to disturb. I thought that the perfect place for this to occur is a building. Shared by so many people that don't know each other or if do, don't say more than a "Hi!" or " Bye!" .Instead of using the signs posted in the door of each apartment, the idea is that each person when wanted to be disturb, should post a sign in the mailboxes. The mailboxes acts as a "shortcut" for the door, since it is visible to all the persons that lived and that entered in the building. At the time, I design it to be used as stickers (paper) that you put on the mailboxes but I got some critics about the usability of the system. So I want to try to do the same project but with cellphones. Not sure yet if it only SMS or if with MMS. I think that in beginning I'll try to developed it only using sms! Registration: 1. User subscribe online (forms - name, username, phonenumber) 2. Data get store into a DataBase 3. User get a sms on the phone with confirmation message +reminder of email address(for now) he should used to send msg.\ App: 1.User sends via phone notification to be disturb. ( pre/define actions?) 2.Message is store - database ( msg,user, timestamp) 3. User get confirmation msg. 3. Message is broadcasts to other users Questions: What happens when the user wants to reply to a notification? Does the system allows communication btw users or not? Is it just a "notification system or a channel(forum) for communication? 2. Collection of images from the sky. I think that will be very beautiful if people can send pictures or videos (loop's of 30's) of the sky and see a collage of several skies. Questions: Is it just a one way communication? Users just have access to data via a website? What motivate a user to interact and participate? How they will be display? Sequential? or by location? Registration > same system App: 1. user sends image or video 2. get store into a folder and maybe database ( name + time + location) 3. User get sms > "your image/video was received" 4. Image is added to the website 3. City - Public Health - Creating awareness about the amount of trash Since I arrived to NY that is something that completely disgusts me and perturbs me in relation with public health. With the amount of restaurants that the city has and other services, is true, the amount of trash that is created is enormous. I would like to create an application where users can send situations that they think that are dangerous for public health in the city. Trash is one of those situations. The idea is that images are collected from users and somehow voted by all users in order to do really something when one of those situations is so outrageous that something more effective needs to be done, but only when there is agreement by the majority of the community. Still need to think more about this and about the system but the idea behind it is that sometimes we, humans, complain about stuff and we don't agree with a lot of things that are happening on the planet but barely we take any serious action. So when the community of users agree that some deserves to take it further the system itself takes the initiative and for example, fill a complain to an nyc organization that is responsible or call a complain number...take a more drastic attitude - encourage by it's users but doing the "service for them" as a collective action. Question: define better which situation, the mechanism for voting and the complain part. Today I was talking with Diego about it and he is also interesting in exploring this topic. He talked about using the location factor as the one that triggers the automatic action and not the users voting. Once the system starts to see that several pictures are taken in the same location, quarter it means that that area in a alert situation. I think it's an interesting idea. Tomorrow we are going to try to work better in this idea.

January 13, 2009

Google Searchs = carbon footprint of a tea

Performing two Google searches from a desktop computer can generate about the same amount of carbon dioxide as boiling a kettle for a cup of tea, according to new research. Electricity consumption and greenhouse gas emissions caused by computers are an issue that is provoking concern. IT industry generated as much greenhouse gas as the world's airlines - about 2% of global CO2 emissions. A search in google originates requests in more that one server. It goes to several competing against each other. The system minimizes delays but raises energy consumption.
Servers, files, computers, networks, infrastructures...But what is better to be online or watching tv? to be online or driving? Maybe a more active way of being is better that a more passive, no? and about paper? and newspaper carbon footprint? so now we have to turn the web green also? didn't google did that when it was possible to see google in black? ( i don't know if it was google or a mac option....) or why we don't go back in time and use the web as was before...just text, less colors, no animation... why we don't use Mosaic 1.0 again?

December 3, 2008

Final Project - Phase 1 and 2

1. Working with processing network: one client and server exchange colors. On mousePressed nodes sends a color to the other node. When a node receives a msg - color it pulses and change it's current color.




2. Messages are separated from the visual node itself. Each color is a button that when pressed sends it's color to the other node. The nodes are represented by an input and output areas. When a node receives a color message it changes it's input area/zone according with the color that is send.