Jump to content

kebo2015

Member
  • Posts

    67
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

kebo2015's Achievements

  1. Alright so I don't know how many people will be able to answer this but I'll give it a shot. So I am using Oracle MAF to play around with phone apps and stuff and I am using HTMLUnit as a library (headless browser). When I use it in the code the IOException causes hiccups in the program. I'm only trying to test stuff out right now and I don't really know why IOException is causing an issue. I've tested only initializing the browser and that works, but as soon as I execute any code with IOException I get errors. The code below is just my test to see if it will work in JDeveloper through an IOS simulator. So far it doesn't work in the simulation, but it does in Eclipse as a command line java program. package mobile; import oracle.adfmf.amx.event.ActionEvent; import com.gargoylesoftware.htmlunit.WebClient; import com.gargoylesoftware.htmlunit.html.HtmlPage; import java.io.IOException; public class hr { public hr() { } //on button click execute this code public void doaction(ActionEvent actionEvent)throws IOException{ //initialize headless browser WebClient webClient = new WebClient(); HtmlPage currentPage; //get url currentPage = webClient.getPage("http://www.google.com/"); String test = currentPage.getTitleText(); //print title of webpage System.out.println(test); } } The error that it is throwing is attached in an image. Also the command line error is below: [SEVERE - oracle.adfmf.framework - Utility - invoke] InvocationTargetException Error: oracle.adfmf.framework.exception.AdfException Let me know if you guys have any insight, it would be much appreciated. Also, I know AdfException works, but I don't know how I could use it with HTMLUnit. Thanks in advance.
  2. Thanks for the pointer, must be something with my phone I'll change it on my comp.
  3. I was wondering if anyone here knows anything on Three.JS if so please help me: I am new to using Three.JS and webgl and I was wondering if there was a way to change elements on a 3d file in real time. I have a file that I need to simulate LEDs changing over a period of time. At first from what I had gathered I thought the simplist way to do it was to make multiple UV images with blender for my sequence and change the MTL file in a loop to point at the different images. The problem with this was was that I couldn't get the OBJ to even show up with the MTL loader. I could only get the OBJ in plain white without MTL loader. So my real issue is, 1) why won't my MTL show my png layer with my OBJ 2) how can I best animate it? Thanks and let me know if you have questions.
  4. I want apple because all my friends imessage and it is hard to communicate. Peer pressure basically... FML.
  5. I have a Nexus 5x right now but it has broken down on me 3 times now, all software issues because of Google.
  6. Should I get a refurbished I Phone 6 right now and then wait for the 8 in September? I'm really done with my Nexus 5X.
  7. USD I obviously don't want to spend 30k like Linus did with 7 gamers 1 cpu. I want to run 3-4 virtual machines with the individual GPUs and one cpu. What Priceline do you think I'm loo Btw guys I managed to do it with VMware its surprisingly good and I think the reason virtual box and hyper-v did not work is because they are standard VGA video cards. The games don't recognize the GPU drivers and just crash. However with VMware there are specific 3d graphics and it worked out fantastic. I can run 9-10 VMs so far on my computer.
  8. Yeah I just got workstation 12 and I can do up to 2gb of video ram but on the computer I am using I have a 960 with 2gb so I'm confused as to whether I can use the 2gb setting. It works fine with 1gb and my tasks but I don't know how they've managed it.
  9. USD I obviously don't want to spend 30k like Linus did with 7 gamers 1 cpu. I want to run 3-4 virtual machines with the individual GPUs and one cpu. What Priceline do you think I'm looking at?
  10. Less than 30k... Lol the cheapest most efficient way I can do this while it still works well enough to run games at very low settings.
×