Hey guys trying to create a GPS application that tracks your movement as you walk, i've successfully created this as a free standing midlet, however when i'm now trying to port it into another one of my midlets i'm getting this error:
java.lang.NoClassDefFoundError: Expected an initialized...
With Bluetooth connections the port number is the UUID, I found the error I had a rogue semi colon on the end of my string and it also doesn't like the blank spaces,
thanks for your time and effort
Can I post J2ME questions here?
I was just wondering can someone help me with my problem.
I'm trying to create my own Bluetooth service, the code is:-
public class createBluetoothService extends Thread
{
public void run()
{
try
{...
Ah yeah thats just my slack eye missing the capital letter :-) thanks
Ah I see about hte microsoft GUID, i'll keep looking, I also found
http://www.famkruithof.net/uuid/uuidgen
and it fails with this UUID aswell, annoying I'll keep looking for some more information on this and find a...
Can I post J2ME questions here?
I was just wondering can someone help me with my problem.
I'm trying to create my own Bluetooth service, the code is:-
public class createBluetoothService extends Thread
{
public void run()
{
try
{...
I know but i can write further program to if statement for different OS's to choose task schedular or cron etc, i am total admin so permissions is not a problem. So is there a way to install if the PPM website fails? Is there another mirror or something i'm not suite sure
Yeah, the module i am showing you uses the windows task scheduler but arranges the task through my perl program. I just can't seem to install the module correctly.
Ah yes i have found win32::TaskScheduler to run this program for me from within perl.
http://search.cpan.org/~unicolet/Win32-TaskScheduler2.0.3/TaskScheduler.pm
However when i normally install my modules I do it myself putting the folders where there supposed to go. The helpfile says to run...
...number base 1}/{year two digits}'}, "\n" ,
$currentdate->{'clocktime'}, "\n \n"; #Prints the current date to *.txt
for $pid (@info) #For all information in the array
{
print LOG $pid->{"Name"}."\n"...
Hey i found the error, I was getting permission denied, because i was attempting to open a directory as a file
My readdir was pulling in all the entries in my /perl/ass folder including subdirectories. And i was then attempting to open one of those subdirectories as a file.
Soon to be fixed :D
I have the code i've put the permissions in but it stills says permission error :S
if ( $date >= $historyformer && $date <= $history ) #if the log equals greater than a week ago but less than 2 weeks ago
{
$hour = $hour - 1;print "hangs up on loop number:- $hour...
Well i've searched the internet an certain books, i can work out that i need to do something like;
$mode = 0700; chmod $mode, "/perl/ass/$folder[$N]";
if ( $date == $month) #if the first line of the log equals the date
{
$oldlocation...
Ah yes its a permission's error, thanks i didnt no about the '$!'
File cannot be moved: Permission denied at temp.pl line 54, <CURRENTLOG> line 1.
hmmm i'm sure i have full access rights on this computer, i'll have to read up on this
Paul
The print line returns >>
old = /perl/ass/03pm01Dec.txt -- new = /perl/ass/1-month-ago/03pm01Dec.txt
did you want to see this or shall i put it in my code? Becuase it stills says the error :(
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.