Well, I was wrong, the encryption was not a problem.
I cannot even get the size of the entry. It always returns -1.
I've managed to google out that it's because the size is written after the entry....
Type: Posts; User: goodguy
Well, I was wrong, the encryption was not a problem.
I cannot even get the size of the entry. It always returns -1.
I've managed to google out that it's because the size is written after the entry....
Yeah, I did it..
I seem to have found the problem, it's my overtiredness. I forgot the XML file is XOR encrypted, that's why it can't read it
Hi,
I've spent many hours trying to find a solution to this problem, but all in vain.
Here's the deal:
I have a ZipInputStream, which I've even managed to get a ZipEntry from.
I can get the size...
I've just found the problem myself.
It was the question mark in my request string.
This request:
String request = "post_var=1";
will work as a charm
Hi,
I'm having problems forming an http request in java.
Here's what I do:
I've got a simple php (java.php) file on my apache server, here's it's code:
<?php
$post_var =...
If your purpuse is to understand the principles of OOP, I'd recommend you to start it off with ActionScript 3. It's syntax is very similar to Java but it's much easier to understand if you never...
I found what the problem was. Such a stupid blunder of mine :D
I had to set up look and feel before creating a button:
package differenttests;
import java.awt.Point;
import...
I tried it. It looks like this:
http://s57.radikal.ru/i157/1104/0b/baaf93e640e2.jpg
With this code:
package differenttests;
import java.awt.Point;
import javax.swing.JButton;
import...
Hi,
I'm trying to create a simple JFrame with a button on it, but I want this button to look like a native system one.
Here's the code
package tests;
import java.awt.Button;
import...
Thanks :)
But I suppose it will be something like a standard player, which doesn't support any major video formats.
Maybe there's some non-android specific Java video encoders for DivX or XviD?...
Hi,
I'm not writing any video players right now, it's just a pure curiosity :)
So, what if I want to create one for Android, how can I find codecs for it?
And how do I use them in my Java code?...
Hi all,
I'm still trying to understand the logic of Java, and it feels like I'm getting stuck more and more :confused:
Right now I wanna create a JFrame and add just one button to it. If I...
Very good reply.
As I'm just a beginner in Java, and I didn't get used to using any of these approaches, I'll follow your advice and try to get myself used to doing everything the right way :)
Isn't there a way to check what type of object it is?
If I do it in AS3 I typically use something like this:
if (myArray[0] is MovieClip) {
trace("I found a movie clip object");
}...
Hi all,
I've found how to make content assist appear automatically when, e.g. I type the name of some class instance. It will show all public methods it contains and so on. But I want it to show...
Ah, I got it now. Thanks a lot!
Seems like I couldn't get it at first 'cause I got use to programming in ActionScript 3 which can push any types of object into the same array, so there's no need...
Ok, but what if you just extend guessinggame without any abstract methods, and just create those methods from scratch in normal and test game classes? Wouldn't it do the same job?
Hi, first of all I'd like to wish a Merry Christmas and a Happy New Year to all who celebrates these holidays.
And now, to my question.
I'm watching video tutorials from bucky, and I just can't...
When I first installed Java to Program Files, it worked fine. But then I've read a recommendation (in one book) to install it into the root directory of disk C. I thought I would be a piece of cake...
Thanks for the reply :)
But dash before jar didn't help either.
The problem's still there
I had a problem with path to jdk (which looked similar to this) when I first installed Eclipse,...
Hey Everyone who reads this.
I'm kind of new to Java, and right now I'm learning nuts and bolts of compilation and running apps process.
So here's the problem. I have JRE and jdk1.6.0_20...