473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

J2ME-File Connection

I am using MIDlet code to connect to a notepad using FileConnection. i have stored the notepad Custmertxt.txt in CFCard folder. i am able to read this txt file from emulator. but when i installed it to the mobile i got the error saying

javax.microedition.io.ConnectionNotFound Exception: Only absolute file URL's of type <drive>:<path> are supported.

plz help me. thankx in advance.
May 13 '08 #1
1 5355
JosAH
11,448 Expert 8TB
Nobody answered yet so here's my guess: the text of the exception says it all:
the URL you're passing around has the wrong format. Your CLDC JME configuration
can only handle absolute URLs of the form <drive>:<path> so you have to check
there.

kind regards,

Jos
May 14 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: gilgantic | last post by:
I am trying to discover how to download a J2ME application to a physical cell phone after testing using the emulator. How do I do this? Looking at using Sprint and Motorola for now, but any cell...
0
by: j2me | last post by:
hello j2me Just build a homepage of J2ME http://www.geocities.com/helloj2me/ Currently, there are only two very simple MIDlet exercise, will try more soon. You are welcome to visit.
3
by: Oz Mortimer | last post by:
Hi There, Is there any way that I can display an XML page within a J2ME application? Many Thanks Oz.
6
by: Oz Mortimer | last post by:
Hi, Is there any way that I can scroll a canvas - i.e. if there are too many items on the canvas you can still access by pressing down. I know Form does this (apparently) but I need to do it...
0
by: Todd Christy | last post by:
I am building a J2ME application for a BlackBerry handheld device. This application connects to an IIS server via HTTP to execute remote ASPX-based services that collect and return data. We are...
0
by: Dave Rathnow | last post by:
We are looking at using J2ME in a embedded device that will be deployed in an industrial application and I've been doing some research to see how practical J2ME would be for our application. Most...
1
by: Sveta | last post by:
Hi, all! I am new with J2ME. I have application that has form with 2 commands (exit and select). All UI uses are high level API, and it is very important to leave it high-level. This...
1
by: Clay Shirky | last post by:
Can Jython be used to write applications to run in J2ME environments? I ask because Python seems an ideal language for teaching students to write applications for the phone or other mobile devices....
3
by: pei_world | last post by:
I am doing a project with Client/Server. on the server I have C# Windows application on the Client I want to use J2ME, //============ question is if it is possible to make them communication...
2
by: mayankcdac | last post by:
Hi i am a new guy in j2me field i am working in j2me gaming but i want to switch from gaming to application. i am facing some problems to build j2me application can any one give me any source code(...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.