Search:

Type: Posts; User: ChristopherLowe

Page 1 of 13 1 2 3 4

Search: Search took 0.39 seconds.

  1. Replies
    16
    Views
    213

    Re: Help with a client server program

    If I may, I'd like to take a step back from the code and talk about server theory. There are a lot of acronyms and paradigms surrounding servers but ultimately they all fall into one of two broad...
  2. Replies
    4
    Views
    66

    Re: Hello developers

    Hi! I'm Chris from Australia. I love to code and am employed to work on GIS Android and iOS apps. jMonkey has been a massive inspiration for me over the years and it's a real pleasure to meet...
  3. Re: Question about good coding practice

    If I understand your problem correctly it looks like a good candidate for a Visitor design pattern.



    public interface IElementVisitor {
    public void visit(Root root);
    public void...
  4. Re: Android: How to deal with App being closed in the background?

    You re-create the Views with a Bundle but your model sounds complex enough to warrant it's own serialization. Kevin's answer is the way to go; serialize in onPause() and deserialize in onResume()
  5. Re: Android: How to deal with App being closed in the background?

    Chances are your app is being destroyed by the OS either because it is in the background for too long or another process needs the resources. The correct way of dealing with this is to re-create...
  6. Replies
    2
    Views
    93

    Re: Java Android Front End help!

    Creating the intent isn't enough. You need to start it.



    startActivity(intent);


    See Building your first app -> Starting another activity for more details.
  7. Replies
    13
    Views
    199

    Re: Getting list of Apps in java

    You are going to have a hard time with that. The operating systems task manager only care about processes. A process can have zero, one or many windowed applications associated with it and in odd...
  8. Re: Distinguish additive + and "connecting +" in system.out.println

    The String documentation explains how the + operator applies to Strings:
  9. [SOLVED] Re: Algorithym to remove unnecessary points

    @Vinvar - Some of your assumptions are incorrect. The first and last points should *never* be culled. They are critical in defining the geometry and removing Point 6 in your example turns it from...
  10. [SOLVED] Re: Algorithym to remove unnecessary points

    My data set was entirely linear point geometry like OP's. The threshold I used was originally hard coded but after field testing we used the rendering time and number of culled points to adjust the...
  11. [SOLVED] Re: Algorithym to remove unnecessary points

    Ah terrific question! One of the best I've seen for a long time. This happens to be very close to me because I've recently be trying to optimise shape files for use on a tablet.

    My solution was...
  12. Re: How split a text looking for values with regular expression

    Do you need to use regular expressions as part of an assignment or learning exercise? If so I'd recommend using an online tool like this to test your regular expression syntax. If not, well there...
  13. [SOLVED] Re: Difference between Interpreter and Compiler

    Not quiet correct. A compiled language turns the source code into native machine code which can be directly executed by the hardware. An interpreted language compiles the source code into something...
  14. Re: How split a text looking for values with regular expression

    You could get away doing this with basic String methods. Use int indexOf(char c) to find the location of the '(' and ')' characters then concatenate two substrings with the bits that come before...
  15. Replies
    13
    Views
    199

    Re: Getting list of Apps in java

    Are you trying to get a list of processes running on the machine? It's not a very Java'ery thing to do because the solution depends on the platform (windows, mac, linux, etc). There is no platform...
  16. [SOLVED] Re: Difference between Interpreter and Compiler

    Welcome to the forums!

    A big part of learning how to program is research and self learning. The good news that the largest library ever created is a google search away. Why don't you do a bit of...
  17. [SOLVED] Re: Incremental change to a java program

    I've used Java web start in the past with great success. The user clicks an icon on the desktop and it checks a website for the latest version and automatically updates when required.
  18. Re: Article: Image Processing Tutorial

    It's possible but in the same order of complexity as facial recognition. You or I can look at an image and read the text. A computer has to be instructed on how to interpret the raw data. It will...
  19. Replies
    6
    Views
    200

    Re: Concurrent Mod Exception

    Fast enumerations like this:


    for (Speler sp1: inschrijving.getSpelers()){

    }

    Create an iterator. Iterators are designed to fail fast when you directly modify a collection while iterating...
  20. Replies
    7
    Views
    201

    Re: importing java librarys

    Just a parting word of advice; use the Android toolset for Android problems where possible. The MediaPlayer may seem complex at first glance but it was designed for Android from the ground up and...
  21. Replies
    7
    Views
    201

    Re: importing java librarys

    rt.jar contains the Java runtime tools (there is no reason to mess around with this jar unless you are doing something funky like writing a bytecode interpreter). As I said before, Android isn't...
  22. Re: How to instal JDK 8 in a drive other than C

    Yes you can install it on D:/ drive.

    If you have Windows XP: Start -> Run -> cmd
    If you have Windows 7: Start -> All programs -> Accesories -> Command Prompt
    If you have Windows 8: Start ->...
  23. Re: How to instal JDK 8 in a drive other than C

    Strange... First thing I would try is a reboot. Then in the command prompt:



    java -version
    javac -version


    To verify the environmental variables are sound.
  24. Replies
    7
    Views
    201

    Re: importing java librarys

    Have you read up on MediaPlayer and SoundPool. They are really excellent classes that will suite 99.9% of problems.



    Prove it..
  25. Re: Article: Image Processing Tutorial

    I'm not sure what you mean by text extraction. Are you referring to stenography or fuzzy interpretation of text inside a raster image? The latter is pretty advanced stuff.
Results 1 to 25 of 309
Page 1 of 13 1 2 3 4