| Reply | « Previous Thread | Next Thread » |
|
Hi all,
I was wondering if there is any substantial difference in what way the S40 phones handle the filesystem as the S60 does. I have to create a certain file in a special memory card, which the memory card's hardware will recognise and use after the memory card is unplugged and plugged again. In both S40 and S60 I have successfully created the file, but in the S40 the memory cards underlying hardware doesn't seem to be able to find the file, while in the S60, it does! This leaves me wondering what is the difference when you create a file on a S40 vs a S60 device? I create the file like this: Code:
FileConnection fc = ((FileConnection)Connector.open(url);
fc.create();
OutputStream os_file = fc.openOutputStream();
os_file.write(dat_out_temp, 0, 2048); //actually fill 2k in there,
//all of it is 0x00
os_file.close();
fc.close();
Frank |
|
You should be able to find the file. Try:
1. Check the connection URL if it is proper or not. 2. Go to file manager and check if file is actually created or not. 3. Turn off the phone (which will flush file system data to memory card) and then remove memory card. |
| arpit2agrawal |
| View Public Profile |
| Find all posts by arpit2agrawal |
|
Thank you for your reply arpit2agrawal!
Yes, I can find the file. I can create the file without a problem. But somehow the file created in S40 is different from the file created on a S60! I guess this difference is inside the implementation of the JSR in the S40 OS by Nokia. Maybe I should try to ask the Nokia people? Thank you, Frank |
|
Quote:
Have u checkout the suite settings in app manager. thanks, jitu_goldie.. KEEP TRYING.. |
| jitu_goldie |
| View Public Profile |
| Find all posts by jitu_goldie |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| JSR 180 (SIP) not supported on s60 5th edition !!! | jcaradec | Mobile Java Networking & Messaging & Security | 4 | 2009-03-12 09:00 |
| Python for S60 1.9.0 released | tvijayan | Python | 48 | 2009-01-27 16:39 |
| Blank Page in S60 but working in S40 | ravisashank | Mobile Java Tools & SDKs | 7 | 2008-12-10 12:40 |
| Network config differences S40 / S60 | ipxlittle | Mobile Java Networking & Messaging & Security | 3 | 2008-01-15 23:38 |
| How to detect if phone is s40 or s60? (s40 and middlebutton related) | JDoe | Mobile Java General | 2 | 2007-07-19 19:43 |