Tuesday, February 28, 2006

Important Note HTTPRealPlayer

password key should be int[] not string

Monday, February 20, 2006

Assignments

Kimpo, Phillip

1. Entity Relationship Diagram (Feb 20)
- video (filename, category_1, category_2, free_or_ppv, owner, etc., thumbnail?)
- user (etc.)
2. Population of Table (Feb 20)
3. Store and retrieve raw video stream/file by SQL command line (Feb 21)
4. Queries (Feb 21)
5. Correctness of queries by SQL command line(Feb 22)
6. Check webapp connection from Ia to database (Feb 23)

Lucero, Ia

1. JDBConnection (Feb 20)
2. Store and retrieve text information from database (Feb 21)
3. Store and retrieve raw video stream/file from Phillip (Feb 22)
4. Screenflow (Feb 20)
5. Player for HTML (Feb 21)
6. Implementation/Deployment of PKI_Decrypt from Jonas (Feb 22)
7. Implementation/Deployment of AES_Encrypt from Jonas (Feb 22)

Roque, Jonas

1. AES Mobile (Feb 20)
2. PKI Mobile / Server (Feb 21)
3. Player for Other Formats (Feb 21)
4. Post data to web app (Feb 21)
5. TEA Mobile / Server (Feb 21)
6. Servlet (Feb 22)

Saturday, February 18, 2006

J2ME Video Streaming Project

http://www.cs.uofs.edu/~bi/2005f-html/se510/spring/
http://www.ctr.kcl.ac.uk/mwcn2005/Paper/C200545.pdf

Plug-in

http://fobs.sourceforge.net/

Friday, February 17, 2006

Bluetooth

Wednesday, February 15, 2006

Nokia 6630

More J2ME

Saturday, February 11, 2006

Neurons Needed

Finally, at exactly 4:00 AM, I was able to build the rewritten AES code from desktop source program to its mobile counterpart. I was excited because I got rid several problems such as non-existence of java.IO.File in J2ME, midlet user interface refamiliarization, and importantly, elimination of file writing.

Press Run.
Input Username, Phone number, Password. OK
Press Send.
Select file to encrypt and to decrypt. OK
Press Select.

java.lang.OutOfMemoryError!

No!

As of 4:43 AM, after taking a nap, pagkatapos magkasama kahit sa panaginip lamang, I inferred that it was caused by creating array of int whose size is Integer.MAX. Good luck, talaga!

Yes!

It works!

JMF Media Players

Thursday, February 09, 2006

Grabe.

t*ng*n*ng postgres yan.

(good luck sa pag-port sa ibang pc.)

Deadline: February 11, 2006

  • AES Midlet Version
  • RTP Demonstration kahit End-to-End ay both Desktop
  • JavaPhone connects to HAMSTER Web Application
  • MobileHAMSTER and ServerHAMSTER exchange of username and password
  • MediaPlayer in Phone

MMAPI, RTP and WebApp Useful Links

Wednesday, February 08, 2006

Eclipse JDK

DemoHAMSTER - for demonstration purposes

Importing:
  1. Create New Project
  2. Set a Project Name
  3. Create Project from an Existing Source
  4. Browse directory
  5. Next
  6. Add necessary jar files and libraries
  7. Finish
Execution:
  1. Run >> Run...
  2. Create a new SWT Application configuration
  3. Select Main class
  4. Specify arguments separated by white space
  5. Specify working directory (necessary for absolute and relative path of files needed)
  6. Run

Same Mill Bee

Seelvester, a popular cat I suppose and ancestor of Hamster referenced the same source code from these URL's

http://java.sun.com/products/java-media/jmf/2.1.1/solutions/AVTransmit2.java
http://java.sun.com/products/java-media/jmf/2.1.1/solutions/AVReceive2.java

Ma'm Susan once told us these classes work. Yes, I believe so but these works for two desktop PCs. Seelvester Project wasn't able to program the MIDlet version of these RTP Transfer. They only worked on the cryptography in MIDlet.

Mahaba-habang inuman pa ito!

Yey!

Our pet HAMSTER can already

... play WAV audio. (tada!)
... play MIDI audio. (always something there to remind me...)
... play MPG video na rin (over the network pa! http!)

Ew! RTP na!

'c' in Java

Hey, guys! I finally figured how to control that pest, I just imported the class this way:

import javax.microedition.media.control.*;

Imagine! That little 'c' makes a big difference!

Well, I'm continuing exploring the magic of 'c' in Java.

By the way, I got the bigger C in a tutorial. That page should be edited! Er!

Tuesday, February 07, 2006

Sinfinity Webapp Update

The web application has been rewritten from static HTML to JSP, though progress has been halted -- we still haven't obtained the database from the other group.

The webapp has been hosted on Ia's domain, though it seems that JSP capability isn't switched on by default by Filcode. We're contacting them now.

More updates soon.

Can't Control the Video Control, Er

I had already installed both WTK 2.2 and WTK 2.3 thinking that the version caused it. But, no!

I'm not sure if the selected media or device has no video capability. I'm assuming that running the MIDlet in an emulator will go perfectly when emulator is supposed to be "ideal" phone.

The compiler is not happy when it cannot find the class Video Control in javax.microedition.media.Control when it is supposed to be there. The jar is not broken, for sure!

Wah! I'm trying the AudioControl instead!

JMF and J2ME

  • JMF 2.1.1e was installed @ MH215
  • D:\Program Files\JMF2.1.1e
  • J2ME Wireless Toolkit 2.2 was installed @ MH215. Version 2.3 Beta was previously installed but JSR135 (Waahh! 135!) does not work properly. Can't locate Video Control class.
  • C:\WTK22
  • Java Home: D:\Program Files\Java\jdk1.5.0_06

JMF Useful Links

Sunday, February 05, 2006

Web Application Update

  • Apache Tomcat 5.5 was installed @ MH 215
  • D:\Program Files\Apache Software Foundation\Tomcat 5.5
  • admin account created, password can be seen and modified, woohoo!
  • D:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml
  • Sample JSP Examples tested, cool!
  • PostgreSQL 8.1 was installed @ MH 215
  • D:\Program Files\PostgreSQL\8.1
  • user: postgres
  • password hint: [yahoo!]

poor man's key generation

jonas, ito muna gamitin mo for key generation... although we're still deciphering if the generated strings/bytes are valid keys (see last part below; pero nakaspecify naman sa method na 1024-bit ang keysize eh).

Example File: KeyTools.java
Output files: Found here.
Algorithm: DSA (not sure if DH is included by default.)

[public|private][n], where n:
1=whole key instance is written to file
2=key.getEncoded() is written to file, returns byte[]
3=String conversion of (2) is written, returns String

character count of public vs private [n] files in Notepad++:
1=700 vs 594 (doesn't help)
2=471 vs 362
3=732 vs 543