HELP NEEDED!! application and theme problem in n93...

hey.. i encountered a few problems in my n93 which i just purchased a few days back..
There are 2 major problems that really frustrates me..
first, when i install a theme in the memory card and use it, the theme gets resetted to the default theme(blue one)everytime i off and on the phone..But when i install it to the phone memory everything is fine..
secondly, when i install an application(eg agile msngr) in the memory card, it works fine. Then when i reset my phone(off and on), the application cannot seem to work.. i try to open the application but nth seems to happen.. however i found that if i ejected and inserted the sd card(when the phone is on) the application works..But when i install it to the phone memory the application works fine..
The same also happens to the mobile filmmakers application installed in my memory card..
ive tried to reformat the memory card but everything is still the same.. the problems still occur..
How do i solve this problem??? i do not want to rely on phone memory for all my applications and themes.. the internal memory of 50mb is not enough..
HELP!!

Hello, I have the SAME problem, though I didn't see that installing applications to phone memory they keep working fine.
Of course I also want to have them working on memory card for space reasons.
I have recently (after LONG waiting) updated firmware to 20.0.0.58, but the problem is still there :-(
I am sure that asking Nokia help on-line will cause the usual "contact closest assistance point"....
which firmware version do you have ?

Similar Messages

  • Pls Help! Drag and Drop problem, identical symbols acting differently - same code! WHY?

    In the attached file, I have a series of symbols that have a drag and drop command to change colour at different sections of a bullseye, and that are also text editable (html).
    However, some of the symbols get stuck and will not be moved after moving once or at all, and some get stuck once their text has been edited.
    I have poured over the code and it appears to be the same for each symbol - can anyone explain as to why this is happening?
    I also cannot now edit the text properly on the ipad (it is really fiddly to change between different symbols to edit their text -- is there maybe a better way to do this? A button to change between symbols to then edit their text, can you help with this too?)
    THANK YOU SO MUCH!!!
    File here:
    https://www.dropbox.com/s/g71gnfichjgyehn/NEW%20RISK%20RADAR.zip

    Hi, I think I undertsand what you mean now, so the code is as below, btu I am not sure what a handler is? but some of my risks still get stuck once the text has been changed on them:
    // Use for loop for attr
    // deleted  yepnope since you load with scropt loading
    // added pos for each symbol so we can replace them there.
    document.ontouchmove = function(e) {
            e.preventDefault();
    var risk = ;
    var Pos = [
    {'x':-9,'y':806},
    {'x':27,'y':854},
    {'x':72,'y':894},
    {'x':71,'y':934},
    {'x':231,'y':811},
    {'x':231,'y':853},
    {'x':231,'y':894},
    {'x':231,'y':934},
    {'x':388,'y':811},
    {'x':388,'y':852},
    {'x':388,'y':893},
    {'x':388,'y':934},
    {'x':543,'y':811},
    {'x':543,'y':853},
    {'x':543,'y':893},
    {'x':543,'y':934}
    var myText = ; 
    for (i=0;i<risk.length;i++){
    sym.getSymbol(risk[i]).$(risk[i]).attr("contenteditable",true);
    sym.$('Quadrant_text').attr("contenteditable",true);
    sym.$('Quadrant1_text').attr("contenteditable",true);
    sym.$('Quadrant2_text').attr("contenteditable",true);
    sym.$('Quadrant3_text').attr("contenteditable",true);
    // apply the draggable JQuery UI plugin to the MyDraggableSymbol symbol on your stage
    sym.$('Risk1').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk1").stop("Initial");
      sym.setVariable("symName","Risk1");
    //adding for risk3_orange similarly add for other symbols
    sym.$('Risk1').draggable();
    sym.getSymbol('Risk1').$("Risk1").bind('click tap',function(ev) {
         sym.$('Risk1').draggable('disable');
    }).unbind('dblclick tap',function(ev) {
         sym.$('Risk1').draggable('enable');
    sym.$('Risk2').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk2").stop("Initial");
      sym.setVariable("symName","Risk2");
    //adding for Risk2 similarly add for other symbols
    sym.$('Risk2').draggable();
    sym.getSymbol('Risk2').$("Risk2").bind('click tap',function(ev) {
         sym.$('Risk2').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk2').draggable('enable');
    sym.$('Risk3').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk3").stop("Initial");
      sym.setVariable("symName","Risk3");
    //adding for Risk3 similarly add for other symbols
    sym.$('Risk3').draggable();
    sym.getSymbol('Risk3').$("Risk3").bind('click tap',function(ev) {
         sym.$('Risk3').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk3').draggable('enable');
    sym.$('Risk4').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk4").stop("Initial");
      sym.setVariable("symName","Risk4");
    //adding for Risk4 similarly add for other symbols
    sym.$('Risk4').draggable();
    sym.getSymbol('Risk4').$("Risk4").bind('click tap',function(ev) {
         sym.$('Risk4').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk4').draggable('enable');
    sym.$('Risk5').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk5").stop("Initial");
      sym.setVariable("symName","Risk5");
    //adding for Risk5 similarly add for other symbols
    sym.$('Risk5').draggable();
    sym.getSymbol('Risk5').$("Risk5").bind('click tap',function(ev) {
         sym.$('Risk5').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk5').draggable('enable');
    sym.$('Risk6').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk6").stop("Initial");
      sym.setVariable("symName","Risk6");
    //adding for Risk6 similarly add for other symbols
    sym.$('Risk6').draggable();
    sym.getSymbol('Risk6').$("Risk6").bind('click tap',function(ev) {
         sym.$('Risk6').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk6').draggable('enable');
    sym.$('Risk7').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk7").stop("Initial");
      sym.setVariable("symName","Risk7");
    //adding for Risk7 similarly add for other symbols
    sym.$('Risk7').draggable();
    sym.getSymbol('Risk7').$("Risk7").bind('click tap',function(ev) {
         sym.$('Risk7').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk7').draggable('enable');
    sym.$('Risk8').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk8").stop("Initial");
      sym.setVariable("symName","Risk8");
    //adding for Risk8 similarly add for other symbols
    sym.$('Risk8').draggable();
    sym.getSymbol('Risk8').$("Risk8").bind('click tap',function(ev) {
         sym.$('Risk8').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk8').draggable('enable');
    sym.$('Risk9').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk9").stop("Initial");
      sym.setVariable("symName","Risk9");
    //adding for Risk9 similarly add for other symbols
    sym.$('Risk9').draggable();
    sym.getSymbol('Risk9').$("Risk9").bind('click tap',function(ev) {
         sym.$('Risk9').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk9').draggable('enable');
    sym.$('Risk10').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk10").stop("Initial");
      sym.setVariable("symName","Risk10");
    //adding for Risk10 similarly add for other symbols
    sym.$('Risk10').draggable();
    sym.getSymbol('Risk10').$("Risk10").bind('click tap',function(ev) {
         sym.$('Risk10').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk10').draggable('enable');
    sym.$('Risk11').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk11").stop("Initial");
      sym.setVariable("symName","Risk11");
    //adding for Risk11 similarly add for other symbols
    sym.$('Risk11').draggable();
    sym.getSymbol('Risk11').$("Risk11").bind('click tap',function(ev) {
         sym.$('Risk11').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk11').draggable('enable');
    sym.$('Risk12').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk12").stop("Initial");
      sym.setVariable("symName","Risk12");
    //adding for Risk12 similarly add for other symbols
    sym.$('Risk12').draggable();
    sym.getSymbol('Risk12').$("Risk12").bind('click tap',function(ev) {
         sym.$('Risk12').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk12').draggable('enable');
    sym.$('Risk13').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk13").stop("Initial");
      sym.setVariable("symName","Risk13");
    //adding for Risk13 similarly add for other symbols
    sym.$('Risk13').draggable();
    sym.getSymbol('Risk13').$("Risk13").bind('click tap',function(ev) {
         sym.$('Risk13').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk13').draggable('enable');
    sym.$('Risk14').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk14").stop("Initial");
      sym.setVariable("symName","Risk14");
    //adding for Risk14 similarly add for other symbols
    sym.$('Risk14').draggable();
    sym.getSymbol('Risk14').$("Risk14").bind('click tap',function(ev) {
         sym.$('Risk14').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk14').draggable('enable');
    sym.$('Risk15').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk15").stop("Initial");
      sym.setVariable("symName","Risk15");
    //adding for Risk15 similarly add for other symbols
    sym.$('Risk15').draggable();
    sym.getSymbol('Risk15').$("Risk15").bind('click tap',function(ev) {
         sym.$('Risk15').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk15').draggable('enable');
    sym.$('Risk16').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk16").stop("Initial");
      sym.setVariable("symName","Risk16");
    //adding for Risk16 similarly add for other symbols
    sym.$('Risk16').draggable();
    sym.getSymbol('Risk16').$("Risk16").bind('click tap',function(ev) {
         sym.$('Risk16').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk16').draggable('enable');
    sym.getSymbol("Drop").$('Outer').droppable(
    sym.getSymbol("Drop").$('Middle').droppable(
    sym.getSymbol("Drop").$('Target').droppable(
    sym.$('resetBtn').click(function(){
      sym.$('Quadrant_text').html('Quadrant');
      sym.$('Quadrant1_text').html('Quadrant');
      sym.$('Quadrant2_text').html('Quadrant');
      sym.$('Quadrant3_text').html('Quadrant');
    for (i=0;i<risk.length;i++){
      sym.$(risk[i]).css({"left":Pos[i].x,"top":Pos[i].y,"position":"absolute"})
      sym.getSymbol(risk[i]).stop(0);
      sym.getSymbol(risk[i]).$(risk[i]).html("Challenge");
    But is still doesn't work,
    Subject: Re:  Pls Help! Drag and Drop problem, identical symbols acting differently - same code! WHY?

  • Nokia 808 - can't run applications and themes

    Hi,
    My Nokia 808 says "error 404" and don't run application and themes from the Nokia-shop. Besides that it can't run all these things because "it's not enought memory". How can it be if my Nokia 808 must be empty now?!! I've bought it some days ago only!

    And new thing - error #400...

  • Help needed on online theme creation for mobile phones

    Hello everybody,
    I want to create an web application which will create themes for different mobile phones. In that application end user can upload jpg/gif images of there choice and select the mobile phone make like Nokia and also the model number like 6030. After that they can create their desired theme by clicking on a button and also can download it.
    My main problem is how to convert an image into a mobile phone theme (*.thm or *.nth or *.sis).
    Can anybody give any suggestion on this matter?
    Thanks in advance.
    Tanmoy

    Hi everybody,
    My main problem is how to convert an image into a mobile phone theme (*.thm or *.nth or *.sis).
    Please give me any guideline that I can proceed.
    Help needed.
    Thanks in advance.
    Tanmoy

  • Help needed to track down Problem in tiger with Pioneer DVR-110D

    ok as i stated in another topic i own a Beige G3 AIO that is running OS 9.2.2 and OS X 10.4.8 and i have done allot to this system to get it to run faster and to run properly.
    part of this setup has a Pioneer DVR-110D it there and when i bought it i was running OS 9.2.2 only. at first i could not burn anything with it cause it wasn't supported and when i went to put the system to sleep it would freeze when i would wake it up it never did this before i installed the drive so i knew what was causing it.
    i turned off HDD sleep and the problem was fixed. but i didn't like the ideal of having the hdd running all the time when idle. me and a friend was talking about optical drive issues and he said he found this driver replacement for the apple cd/dvd driver called intech speed tool's 6.0 for OS 9.2.2 and that i should give it a try cause it fixed a few problems for him.
    i downloaded the demo of it and installed it and i turned on hdd sleep and put the system to sleep and woke it back up and the system was running great. so now the wake up freeze problem was cured. but still no burn support. so after a few weeks of posting on here about the problem some one came by and said he knew what the problem was and sent me a modded PioneerCDR authoring support extension. i installed it and rebooted and opened iTunes and iTunes showed Pioneer DVR-110D as the devise to burn to. so i tryed it and behold it burned a audio cd with no problems.
    later i bought a western digital SE 120gb hdd and installed it and partitioned it 3 times a 8gb first partition for OS X a second partition 10gb for OS 9.2.2 and the 3rd partition was the rest of the drives size for shared data and storage. the hdd worked great with no issues so it was time to try OS X on this system cause i was waiting to get a large HDD to do so.
    i figured that the Pioneer drive would not boot the OS X jaguar cd and is a known problem with non apple cd rom drives. so i took out the Pioneer and reinstalled the apple 24x stock cd rom drive. and the jag install cd booted without a hitch. Jag installed and was running so i updated to 10.2.8 and found out the internal screen kept going out and locking the system up. so i searched this forum for the onboard video blackout and came across the terminal work around to get the system to behave itself with having more than 192mb ram installed. i rebooted and all went fine afterward.
    i reinstalled the Pioneer drive and went to testing it all was fine everything mounted on the desktop that i put in the drive. but i lacked the ability to burn with the drive cause still the drive wasn't supported be the system so i searched the forum and came across the program called patchburn. i downloaded it and ran it and patched the driver to support iApps burning with this drive. so i put in a blank cd and went to burn in iTunes it burned flawlessly so i tryed a dvd-r with the finder it to burned flawlessly.
    o loved playing a game planeshift and then they stopped supporting 10.2.8 so i went to buy the tiger install cd's. i already knew the Beige G3 was not a supported version of Os X on this system and you had to use xpostfacto 4 to install tiger on this system. so i did what i had to do to install tiger on the system and selected use old NDRV and selected to install tiger. which installed some files to boot tiger and rebooted yet again the Pionner drive refused to boot the install cd's . i got mad and held down the command option power key's for about 10 seconds and let off. the tiger installer booted and got to where it started to copy the files to the hdd and stalled out and the drive spun down never to spin back up or show signs of life so i powered down the system and removed the pioneer drive and put the stock 24x cdrom in and installed tiger.
    after tiger was installed i shut down the system and installed the pioneer drive. and powered back on and it was in verbose mode showing what was going on one part showed that the Pioneer drive was detected but had no kernel dependencies and continued to boot. i went to repair the permitions when the onboard video went blank and the system locked up. i rembered that 10.2.8 did the same thing so i tried the 10.2.8 screen blackout fix in 10.4 and rebooted. the onboard video didnt come on but since i had a ATI Radeon 7000 i could work around in tiger to update to 10.4.7 at the time. i first repaired permitions and then ran software update and updated everything and rebooted. the onboard video came back on allong with the ATI Radeon 7000 which being used as boot video device and shown the gray apple logo with the spinning pin wheel at the bottom.
    so far tiger was running great so i put a disk in the drive and nothing it didn't mount anything so i ejected it with the button on front of the drive and tryed a dvd movie and got the same nothing as with the cd. so i rebooted with the dvd in the drive al behold tiger mounted the dvd but as soon as i would try to do anything with it the drive would stop and i would have to reboot the system to gain the drive back so i can repair permissions. and never tryed to use the drive again
    10.4.8 update came out i updated to it using software update and rebooted. the update went flawless so i thought to myself what if the pioneer drive worked now. so i put a cd in the drive and it mounted the disk. then i ejected it with amazement and put a dvd in and it to mounted. so i tryed to play the dvd and it played the dvd to the end of the movie. i took out the dvd and rebooted. i tryed to put the dvd back in but it didnt mount. which ****** me off as to why it was just working and now its not.
    i rebooted and the dvd mounted as soon as the desktop showed up so i tried to play it but this time it only played for about 10-13 minutes before the drive stopped spinning which made dvd player stop responding which made me have to force quit the dvd player and try to restart which gave me a kernel panic. so i forced restarted (got a forum to send to apple to report the KP so i did) and the dvd mounted once again as soon as the desktop showed so i ejected the dvd and put a audio cd in and it mounted and i played the hole cd. so i ejected that and put a blank cd in and treed to burn and it got to 30% and then the drive spun down and made the disk utility stop responding. so i forced quit disk utility and rebooted. once it rebooted nothing popped up so i pressed the eject button on the drive and the cd r came out.
    the OS X 10.4.8 update made the drive more stable but still wont burn anything. some times it will still not mount anything, some time it will not play anything, and still fails to copy files over to the hdd. so now im left to believe its a driver issue some where since this drive worked so flawlessly in jaguar and OS 9 but fails to work properly in tiger.
    i looked in the extensions in ASP in 10.4.8 and there is a few extensions showing errors. i made a list of them to show
    PatchedAppleNVRAM:
    Version: 3.0
    Last Modified: 8/9/05 6:07 PM
    Location: /System/Library/Extensions/PatchedAppleNVRAM.kext
    kext Version: 3.0
    Load Address: 0x4db000
    Valid: Yes
    Authentic: Yes
    Dependencies: Incomplete
    Dependency Errors:
    com.macsales.iokit.OpenOldWorldNVRAM: No valid version of this dependency can be found
    Integrity: Unknown
    OpenPMUNVRAMController:
    Version: 2.0
    Last Modified: 8/9/05 6:08 PM
    Location: /System/Library/Extensions/OpenPMUNVRAMController.kext
    kext Version: 2.0
    Load Address: 0x63a000
    Valid: Yes
    Authentic: Yes
    Dependencies: Incomplete
    Dependency Errors:
    com.macsales.iokit.OpenOldWorldNVRAM: No valid version of this dependency can be found
    Integrity: Unknown
    GossamerDeviceTreeUpdater:
    Version: 3.0
    Last Modified: 8/9/05 6:07 PM
    Location: /System/Library/Extensions/GossamerDeviceTreeUpdater.kext
    kext Version: 3.0
    Load Address: 0x63d000
    Valid: Yes
    Authentic: Yes
    Dependencies: Incomplete
    Dependency Errors:
    com.macsales.iokit.OpenPMUNVRAMController: No valid version of this dependency can be found
    Integrity: Unknown
    that is the list of extensions that are reporting some sort of errors. at first i was figuring it was a problem with the driver for the Pioneer drive but my friend brought over his digital audio G4 which was also running 10.4.8. and we decided to try the drive in his Mac to see if there was any problems. it mounted everything we threw in it. it played dvd's great and played audio cd's great, it copied files over to the hdd without fail. it even burned a flawless cd. ok now the ideal of the driver for the drive was thrown out the window. so it has to be something else causing the problem. either a driver for a part on the motherboard or what i have no clue.
    im just wondering what driver it would be causing a problem not allowing the Pioneer drive to work properly. cause its not the drive being bad cause it worked flawlessly in OS 9.2.2 and jaguar and in tiger in my friends digital audio G4
    im just wondering if anyone might know what could be done to fix this problem cause i know it can be fixed but i don't know where to begin or how. so i ask you how could i begin to fix this
    thank you all for baring with me and reading all this. i know i wrote allot but i had to explain what was going on before i could ask for help so you could better understand what was going on. i have already updated the firmware to the latest with no change the firmware use to be the old 1.11

    yea i have along time ago and also made a update to xlr8's drive database. cause i fixed the problems with the drive in OS 9.2.2 (AKA no burn support with the built in burning app or iTunes, now have full support for burning with the finder burn and iTunes thanks to a edited PioneerCDR authoring support extension that someone edited for me. found out that the Apple CD/DVD driver extension was at fault for the locking up on wake up with hdd sleep enabled that started when i installed the Pioneer drive. fixed with intech CD/DVD speedtools 6.0).
    When i did the first report on the drive database on xlr8yourmac i reported what problems i was having in OS 9.2.2 and i think i reported that i had no problems in jaguar, and was trying to obtain a driver or something to try to get it to work. but to no avail at first. after i fixed the problems i did a update report
    in jaguar the drive had no problems but no burn support. installed patchburn and the drive worked 100% in jag no problems what so ever. im thinking it has somthing to do with one or all of the extensions with errors but i can be wrong.
    i just wonder where ryan has been on the forums in OWC's site. cause i would like to submit my crash log panic log and the extensions with errors so he could help track down the problems to see if it cant be fixed. but ive tried emailing him but no replay's. and his last reply on the OWC forums was back in desember 2005 a few day's over a year
    i know it isnt the drive cause it worked flawlessly in tiger 10.4.8 on my friends Digital Audio but i know why it worked fine cause it has the proper files for the DA to work cause its a supported system. i would like to try to help to get xpostfacto to work better on the Beige G3 system
    in tiger if it is something to do with xpostfacto

  • HELP, NEED APPLICATION F

    I have sound blaster audigy sb0090 with sb394 (color jack) but my cd is missing, so i need driver and other application file like AudioHQ, Surround Mixer etc.
    where i can download or maybe somebody would email me, please help.
    email: [email protected]
    thanx alot

    Suresh,
    This belongs in the JDev/ADF forum {forum:id=83} Have you read through the "Securing your ADF application" chapter in the Fusion Developer's Guide?
    John

  • Help Downloading Applications and Games

    I'm new to Blackberry, so sorry if this question seems a little basic.
    I'm trying to download some applications and games to my BB using the Application Loader. When I go through the process and click on the finish button, I get the message:
    The following modules could not be loaded because their digital signatures were invalid.
    J2X_EL_en_RIM_v220.cod
    I'm highlighting the alx file as instructed, but I keep getting this response, as if I'm selecting the cod file.
    Can anyone help decipher what's going on?
    Thanks in advance.

    then i am afraid u have to repair ur phone by using this.
    this will delete all phone data, contacts etc,..
    so i'll suggest back up ur files..ok/.
    http://dl-www.sonyericsson.com/cws/download/1/110/61/1309763183/Update_Service_Setup-2.11.7.13.exe

  • Webdynpro Application and RFC problem

    Hi all,
    I have a webdynpro application that has a model with a RFC that allow users store a file into the disk, but when I try to run the application and pressed the button that make the call to the RFC I get the following error:
    Exception condition "NO BATCH" raised, error key: RFC_ERROR_SYSTEM_FAILURE
    Does anyone know anything about this error?..Please help me!
    Thanks in advance,
    Jesus.

    Looks like you are calling an RFC function module  which has an exception call NO_BATCH.  There is probably a line of code in the function module like this.
    if sy-batch = 'X'.
    raise NO_BATCH.
    endif.
    In this case, I don't think that you can call this function module.
    Regards,
    Rich Heilman

  • Need HELP with objects and classes problem (program compiles)

    Alright guys, it is a homework problem but I have definitely put in the work. I believe I have everything right except for the toString method in my Line class. The program compiles and runs but I am not getting the right outcome and I am missing parts. I will post my problems after the code. I will post the assignment (sorry, its long) also. If anyone could help I would appreciate it. It is due on Monday so I am strapped for time.
    Assignment:
    -There are two ways to uniquely determine a line represented by the equation y=ax+b, where a is the slope and b is the yIntercept.
    a)two diffrent points
    b)a point and a slope
    !!!write a program that consists of three classes:
    1)Point class: all data MUST be private
    a)MUST contain the following methods:
    a1)public Point(double x, double y)
    a2)public double x ()
    a3public double y ()
    a4)public String toString () : that returns the point in the format "(x,y)"
    2)Line class: all data MUST be private
    b)MUST contain the following methods:
    b1)public Line (Point point1, Point point2)
    b2)public Line (Point point1, double slope)
    b3)public String toString() : that returns the a text description for the line is y=ax+b format
    3)Point2Line class
    c1)reads the coordinates of a point and a slope and displays the line equation
    c2)reads the coordinates of another point (if the same points, prompt the user to change points) and displays the line equation
    ***I will worry about the user input later, right now I am using set coordinates
    What is expected when the program is ran: example
    please input x coordinate of the 1st point: 5
    please input y coordinate of the 1st point: -4
    please input slope: -2
    the equation of the 1st line is: y = -2.0x+6.0
    please input x coordinate of the 2nd point: 5
    please input y coordinate of the 2nd point: -4
    it needs to be a diffrent point from (5.0,-4.0)
    please input x coordinate of the 2nd point: -1
    please input y coordinate of the 2nd point: 2
    the equation of the 2nd line is: y = -1.0x +1.0
    CODE::
    public class Point{
         private double x = 0;
         private double y = 0;
         public Point(){
         public Point(double x, double y){
              this.x = x;
              this.y = y;
         public double getX(){
              return x;
         public double setX(){
              return this.x;
         public double getY(){
              return y;
         public double setY(){
              return this.y;
         public String toString(){
              return "The point is " + this.x + ", " + this.y;
    public class Line
         private double x = 0;
         private double y = 0;
         private double m = 0;
         private double x2 = 0;
         private double y2 = 0;
         public Line()
         public Line (Point point1, Point point2)
              this.x = point1.getX();
              this.y = point1.getY();
              this.x2 = point2.getX();
              this.y2 = point2.getY();
              this.m = slope(point1, point2);
         public Line (Point point1, double slope)
              this.x = point1.getX();
              this.y = point1.getY();
         public double slope(Point point1, Point point2)//finds slope
              double m1 = (point1.getY() - point2.getY())/(point1.getX() - point2.getX());
              return m1;
         public String toString()
              double temp = this.x- this.x2;
              return this.y + " = " +temp + "" + "(" + this.m + ")" + " " + "+ " + this.y2;
              //y-y1=m(x-x1)
    public class Point2Line
         public static void main(String[]args)
              Point p = new Point(3, -3);
              Point x = new Point(10, 7);
              Line l = new Line(p, x);
              System.out.println(l.toString());
    }My problems:
    I dont have the right outcome due to I don't know how to set up the toString in the Line class.
    I don't know where to put if statements for if the points are the same and you need to prompt the user to put in a different 2nd point
    I don't know where to put in if statements for the special cases such as if the line the user puts in is a horizontal or vertical line (such as x=4.7 or y=3.4)
    Edited by: ta.barber on Apr 20, 2008 9:44 AM
    Edited by: ta.barber on Apr 20, 2008 9:46 AM
    Edited by: ta.barber on Apr 20, 2008 10:04 AM

    Sorry guys, I was just trying to be thorough with the assignment. Its not that if the number is valid, its that you cannot put in the same coordinated twice.
    public class Line
         private double x = 0;
         private double y = 0;
         private double m = 0;
         private double x2 = 0;
         private double y2 = 0;
         public Line()
         public Line (Point point1, Point point2)
              this.x = point1.getX();
              this.y = point1.getY();
              this.x2 = point2.getX();
              this.y2 = point2.getY();
              this.m = slope(point1, point2);
         public Line (Point point1, double slope)
              this.x = point1.getX();
              this.y = point1.getY();
         public double slope(Point point1, Point point2)//finds slope
              double m1 = (point1.getY() - point2.getY())/(point1.getX() - point2.getX());
              return m1;
         public String toString()
              double temp = this.x- this.x2;
              return this.y + " = " +temp + "" + "(" + this.m + ")" + " " + "+ " + this.y2;
              //y-y1=m(x-x1)
    public class Point2Line
         public static void main(String[]args)
              Point p = new Point(3, -3);
              Point x = new Point(10, 7);
              Line l = new Line(p, x);
              System.out.println(l.toString());
    }The problem is in these lines of code.
    public double slope(Point point1, Point point2) //if this method finds the slope than how would i use the the two coordinates plus "m1" to
              double m1 = (point1.getY() - point2.getY())/(point1.getX() - point2.getX());
              return m1;
         public String toString()
              double temp = this.x- this.x2;
              return this.y + " = " +temp + "" + "(" + this.m + ")" + " " + "+ " + this.y2;
              //y-y1=m(x-x1)
         }if slope method finds the slope than how would i use the the two coordinates + "m1" to create a the line in toString?

  • Help needed, Oracle and PreparedStatement setNull for VARCHAR problem

    Using the JDBC drivers included with JDK 1.3, I am encountering a strange problem when trying use a PreparedStatement with a NULL parameter in a VARCHAR column. When running the code below (user_id is an integer and login is a nullable varchar) the program will simply wait and wait and wait.
    import java.sql.*;
    public class OracleNullTest {
         public static void main(String [] args) {
              try {
              String odbcName = args[0];
              String dbUserName = args[1];
              String dbPassword = args[2];
              int id = Integer.parseInt(args[3]);
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              Connection con = DriverManager.getConnection("jdbc:odbc:"+odbcName, dbUserName, dbPassword);
              PreparedStatement ps = con.prepareStatement("Insert into junk(user_id, login) values(?,?)");
              ps.setInt(1,id);
              ps.setNull(2,Types.VARCHAR);
              ps.executeUpdate();
              ps.close();
              con.close();
              } catch (Exception e) { e.printStackTrace(); }
    If I change the 'ps.setNull(...)' to 'ps.setString(2,"test")' things work fine. Furthermore, I've changed the VARCHAR column to a TIMESTAMP and setting it to null works fine. The above code works fine on DB2 and SQL Server so only Oracle is anatagonizing me.
    Any insight or help is greatly appreciated.

    The ODBC driver has nothing to do with java. What you are using in java is a JDBC driver.
    Various microsoft products install a ODBC Oracle driver. Oracle also provides a driver that is installed with the Oracle Client install.
    I have seen reports that suggest the MS driver as good as the Oracle driver, consequently that could be source of your problem.

  • Need help solving listener and Oracle problems with Mac OS X 10.4 "Tiger"

    I have Oracle 10g working on Mac OS X 10.4 "Tiger" except for the listener and Oracle net 8 configuration. I have not been able to get the Oracle listener to work with my built in Mac Airport wireless network card or built in ethernet card. I keep getting the errors
    connection refused cannot start listener. Can anyone offer help?
    Thanks
    Ben
    [email protected]

    Hi Ben,
    how does your listener.ora look like ?
    Mine is:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ronald-g4-eth)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ronald-g4-wifi)(PORT = 1521))
    and listens to the ethernet and airport address.
    When do you get the problems ?
    regards,
    Ronald
    http://ronr.nl/unix-dba

  • Need help Flex Application and Dataservices

    Hi,
    Is that possible to have two servers
    in 1 i will host my flex application
    in the 2nd i will host the data service application. ie my
    flex application talks to the remote object sitting in another
    server
    Thanks in advance..

    Can I change a Video object to to Camera object, If yes, How do??
    nsOutGoing.attachCamera(video as Camera);// it does not work rightly
    thanks

  • Help needed: JSP and portal parameter problem

    When entered following url in the browser, portlet does display parameters name=sandra,age=26 and address=london
    http://portaldev.bank.com/portal/page?_pageid=12,56291&_dad=portal30_dev2&_schema=PORTAL30&name=Sandra&age=26&address=london
    Following jsp is used to display parameters.
    <%@page language="java" import="java.util.*, oracle.portal.provider.v2.render.PortletRenderRequest, oracle.portal.provider.v2.http.HttpCommonConstants"%>
    <HTML>
    <HEAD>
    <TITLE>
    Snoop Page
    </TITLE>
    </HEAD>
    <BODY>
    <B>Snoop Page</B>
    <TABLE border=1>
    <%
         PortletRenderRequest prr = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
         String name=null;
         String value =null;
         for(Enumeration e = prr.getParameterNames(); e.hasMoreElements(); )
         name = (String)e.nextElement();
         value = request.getParameter(name);
         System.out.println("name:--->"+name+" value----->"+value);
         %>
         <TR>     
         <TD><%=name%></TD><TD><%=value%></TD>
         </TR>
         <%
         %>
    </TABLE>
    </BODY>
    </HTML>
    Thanks

    with these unqualified (not prefixed to be specific to this portlet instance) parameter names, you will have to update your provider.xml file to set the <passAllUrlParams> to true.
    There is a little info in this doc http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/PRIMER.PORTLET.PARAMETERS.EVENTS.HTML

  • Help needed with a layout problem

    I'm trying to build a JTabbedPane where each tab has a grid of buttons. The number of buttons is variable, and I'd like the buttons to flow sort of like with FlowLayout, with four columns. I need all the buttons to be the same size, even across tabs. I tried GridLayout, which doesn't work when I have too few buttons to fill a row. It fails in different ways, depending on how I set things up. If I try to set the layout to GridLayout(0, 4) (four columns), then if one tab has one row and another has two, the buttons on the one-row tab expand vertically to the height of the two-row tab. If I try GridLayout(2,4), then if a tab has only one button, it expands horizontally to the maximum width of any of the tabs. (It also has the further problem that if the maximum number of buttons on any tab is 6, they are placed in a 2x3 array; I'm trying to get them to be 4 buttons on the first row and 2 on the second.)
    I'm hoping there's a standard layout manager that can do the job, but I'm not too familiar with the Swing manager classes. Can I get what I want without writing my own layout manager?
    Thanks,
    Ted Hopp
    [email protected]

    I didn't think it was specifically a Swing question.Well, its either Swing or AWT, people who develop GUIs are the ones who are going to have experience using layout managers.
    but if someone can point the way to how to do this with GridBagLayout, nested containersSince you finished reading the tutorial, what have you tried? You've explained your problems using a single layout manager, so what problems are you having using nested layout managers?
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • Applications and Background problem!

    hello.
    I have Mac OS version 10.5.4.
    Processor: 2GHz Intel Core 2 Duo
    memory: 1 GB 667 MHz DDR2 SDRAM
    Recently i had firefox and wanted to get my safari browser back so i put the original Mac OS disk in to install the bundled software to get safari back!
    All was good, safari was back but since then many applications like iphoto wont open as soon as i click launch ill get this message:
    I could keep clicking re-launch all day but the same message comes up every time and never opens.
    Also i can't change my background on my desktop, i get this message:
    I don't actually know what's happened obviously but this has started since i did this 'bundled software' thing. Iphoto is not the only application by the way, Front row and a few others don't work which is annoying!
    Any help?
    Message was edited by: saville10

    Create a new account, name it "test" and see how your apps work in that User acct? (That will tell if your problem is systemwide or limited to your User acct.) This account is just for test, do nothing further with it.
    Open System Preferences >> Accounts >> "+" make it an admin account.
    If the problem is present in the test account also, then it is systemwide. In this case try repairing this with the 10.5.4 Combo Update . This is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before.
    Remember to Verify Disk before update and repair permissions after update from /Applications/Utilities/Disk Utility.
    If the problem does not appear in the test account try starting in "Safe Mode" (It will take a bit more time to startup because it runs a directory check first).
    If that works go to System Preferences >> Accounts >> Login Items and remove them. Boot normally and test. If there are still problems, go to ~(yourHome)/Library/Contextual Menu Items and move whatever is there to the desktop. Then do the same with /Library/Contextual Menu Items. Lastly, try moving /Users/Home)/Library/Fonts to your desktop and restarting.
    Log out/in or restart, if that sorts it start putting items back one at a time until you find the culprit.
    Let us know.
    -mj

Maybe you are looking for