Friday, April 25, 2008

java app

spent couple hours going back and forth with Bryan Ito last night and met with him today. he brought his laptop because he was able to connect his i355 to his laptop. I brought mine and tried to connect his phone. It wouldn't work, at least, we can conclude the the problem isn't the phone being java enabled ,not the data cable, not the software. We double ckecked that we had the same versions for iden Java application loader and motorolla usb drivers. We are now guessing that it is a problem with vista since my laptop runs on Vista Business and his runs on xp2000. The java application loaded to my phone using his system and I am having an error in the class. I will trouble shoot this later this weekend . I am also going to try to load the iden jal and the usb drivers on my friends laptop whois running on xp2000 . this will let us know for sure if it is Vista.

note: on the motodev site this driver we are using is suppose to have been upgraded for the sole purpose of interfacing with Vista.

Tuesday, April 22, 2008

Here's what I did:

1)Downloaded the USB drivers from the following site because the data cable I bought uses USB connection.

http://developer.motorola.com/docstools/USB_Drivers/Handset_USB_Driver/

2)Downloaded iDen java application loader. When I use this and click "connect to phone" I get a pop-up error stating "Invalid com port selected" But when I go to preferences theedit box for Com Port doesn't accept any values and when I check connect via USB I get a pop-up error stating I have the wrong version of windows to use USB, but I’m running Windows Vista Business 32-bit.


3) Checked my device manager to make sure phone was connected to laptop. It is listed under Modems.


4) Downloaded Midway from http://developer.motorola.com/docstools/othertools/

And when I run this I get failed but the first time I ran the app I got time expired


5) found this site with info regarding time expired using Midway

https://support.developer.motorola.com/cgi-bin/motodev.cfg/php/enduser/std_adp.php?p_faqid=571&p_created=1170297507&p_sid=SsCf2Y1j&p_accessibility=0&p_lva=571&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PWRmbHQmcF9ncmlkc29ydD0mcF9yb3dfY250PTI5MCZwX3Byb2RzPTAmcF9jYXRzPTAmcF9wdj0mcF9jdj0mcF9zZWFyY2hfdHlwZT1hbnN3ZXJzLnNlYXJjaF9ubCZwX3NjZl9hbmRvcj0mcF9wYWdlPTEmcF9zZWFyY2hfdGV4dD1taWR3YXkgZG9lc24ndCByZWNvZ25pemUgZGV2aWNl&p_li=&p_topview=1

6) Downloaded UID Extraction Tool v2.2 to enable JAL from

http://developer.motorola.com/docstools/othertools/UID22/

And when I run it the bottom left shows no device connected.

7) I sent this information to Bryan Ito.

data cable came in yesterday

the data cable finally came in.
downloaded Net Beans with mobility pack 6.0.1
downloaded iDen java application loader from motorolla site
need to download the iden usb drivers also or phone won't connect at:
http://developer.motorola.com/docstools/USB_Drivers/Handset_USB_Driver/

currently not connecting reading through some documentation for the application loader

Wednesday, April 16, 2008

data cable

tried contacting Brian. went to Sprint store they said they don't carry data cables anymore and that I needed to find them at motorolla or after market company. Never heard back from Brian therefore went online and ordered one. Got priority mail should be here in 2-4 days .

Wednesday, April 9, 2008

netbeans and wireless toolkit

downloaded netbeans and sun wireless toolkit 2.5.2 for CLDC to test and alter Java application.
having problems with netbeans recognizing the application need to download the mobility pack. will do that later tonight

Tuesday, April 8, 2008

PHP mail function

spoke with someone today who suggested using the PHP mail function. here is a tutorial that discusses how to use it.
http://www.nusphere.com/php/web_php_email.htm
It is suppose to be able to handle html as well as plain text and to send attachments but it is suggested to use another application to do that.

java application

I haven't been posting. But have spent a few hours updating java application but have been continuously having hard time with it transferring to the phone again. tried using website of minegames.pcriot.com to transfer. Going to have to breakdown ands buy data cable.
currently running application on Sun Java wireless toolkit for CLDC.
attempted to place java app in public directory on uh sytem using ssh.

able to put trial gps locations into table of sql database using sql querry:

(this is using the standard GPS format created by NMEA)

INSERT INTO `gpslocations` (`GPSLocationID`, `LastUpdate`, `Latitude`, `Longitude`, `speed`, `direction`, `distance`, `gpsTime`, `LocationMethod`) VALUES
(1, '2007-07-17 17:44:37', 47.508464, -122.023040, '40', '356', '2', '9:02pm Tue, Jun 19 07', '327681'),
(2, '2007-07-17 17:49:43', 47.518773, -122.030123, '35', '335', '3', '9:03pm Tue, Jun 19 07', '327681'),
(3, '2007-07-17 17:51:00', 47.526416, -122.036533, '24', '330', '3', '9:04pm Tue, Jun 19 07', '8');