Peter Miklosko

Ranch Hand
+ Follow
since May 26, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Peter Miklosko

There is no "Google API 2.3.3" there is Android 2.3.3 and Google Maps. These are two libraries. You need Android 2.3.3 for your project general setup and then you need Google Maps if you wish to do anything with maps.

Why they not imported into Eclipse you have to ask Google people. Above linked deployer is simple way to get hold of other Google Android based libraries that are not provided through Android SDK.
6 years ago
No your project needs both libraries Android and maps.

Did you had look on the github link that I provided? did you actually use it?
6 years ago
Use maven-android-sdk-deployer (https://github.com/mosabua/maven-android-sdk-deployer/) to get necessary dependencies that aren't published along android dependencies
6 years ago
I come across strange issue with Jetty 6.1.11 under Ubuntu 10.04.
We are running our project through Jetty, at work I use Ubuntu 10.04 64bit with 4GB RAM on 2 core Intel processor. This work absolutely fine, from project installation through deployment and running project. However when I tried to run the same project on my home desktop with almost same setup Ubuntu 10.04 64bit, 8GB RAM, 4 core AMD CPU I got errors as bellow. What is most funny is that this same box is running Windows 7 on secondary hard disk and I'm able to run it without any issues....

Anyone has any suggestions? Is this a problem with Jetty or logging with SLF4J

Thank you for suggestion/correction Tim. I would put them in place. Still a greenhorn with Tomcat configs
9 years ago
As it happens I cannot create new folder in root to hold subdomain, hosting restriction. I must create new folder inside public_html and then it will work.

Problem solved
9 years ago
I running my little blog on Tomcat 6 server. My hosting company allows me to set up multiple sub domains. I was trying to do for last few hours, but no luck. Having started with


I added new host to engine as


I tried to also follow Virtual Hosting and Tomcat 1 and 2 (2nd one is currently in place).

I created basic web app structure of WEB-INF (web.xml, classes, lib), index.html and index.jsp. However I'm getting 403

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.



Suggestion???
9 years ago
It must have been tied to some condition as both are valid...
9 years ago
I strongly recommend to avoid roseindia website as it is "bag of chaos" full of stolen code (none of it is associated with book from which it was taken or website) and it is not organized at all.

I have to agree with Aleksandar that Beginning J2ME: From Novice to Professional is good start (he just linked wrong section of the book and didn't provide full name) you will fin there lot of materials, however if you looking for some up-to-date stuff you should pick Kicking Butt with MIDP and MSA: Creating Great Mobile Applications.

To start working on it you need to download either Java ME SDK 3.0 or Sun Java Wireless Toolkit 2.5.2 for CLDC[/code] or visit any mobile manufacturers developer section of site to get custom WTKs ([url=http://developer.sonyericsson.com/site/global/docstools/java/p_java.jsp]Sony Ericsson, Nokia)
9 years ago
I'm little puzzle by the behaviour of my application.

After selecting filter and pressing Delete Filter command, filter get deleted. However else if(c == Alert.DISMISS_COMMAND && isDelete) block doesn't execute init() method and only way I was able thing of refreshing screen was basically forwarding screen to new instance of the same class.
As I said I'm little puzzled as I expected the refresh to happen through call of init() method in similar manner to Swing application.

Can somebody please explain me why the refresh through init() method doesn't work?
9 years ago
Little late in the day , but here is answer.
Curl execution command was wrong
Window version with double quotes

Unix version with single quotes


And in case you interested in forwarding file to doPut() of your servlet use
9 years ago
Not sure as LG documentation is little alien to me, but seem that this model is not fully compliant with some standards (Video and Camera - original guide here )
9 years ago
I need to read XML document submitted to doPost() method ( I do not want to upload it, just read in and pass for further processing). Here is a general code that I use for now to see if file been received.


To test this I use curl utility to pass file to url as


However content of the file is not printed, only new line is added which means process riches sb.append(line + "\n"); command.

Any advice is welcome.
9 years ago