Tagged Questions
Java (not to be confused with JavaScript) is a class-based, object-oriented, strongly typed, reflective language and runtime environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM) enabling a "write once, run anywhere" (WORA) methodology.
0
votes
0answers
3 views
Widged doesn't show in widget list
I try make some simple widget for application. But it's doesn't work.
In new clear application (without activitys) everything is fine. In my app there is no widget in list.
I think problem is in ...
0
votes
0answers
4 views
How to convert HEXEWKB to Latitude, Longitude (in java)?
I downloaded Street information from the Open Street Map project. This file is basically a CSV with the following fields:
CSV fields
==============================================
1 : id; UniqueId ...
-3
votes
0answers
16 views
Is this the good way to read doc and docx file?
public static String getWords(String input, String out,String outputFileName) throws Exception{
File file = null;
File outFile = null;
BufferedWriter bwr = null;
FileInputStream ...
0
votes
0answers
4 views
Jersey compatible application/atom+xml writer
Are there any Jersey compatible application/atom+xml writer implementations available out there? I tried
<dependency>
<groupId>org.apache.abdera</groupId>
...
0
votes
0answers
9 views
Designtime in Eclipse
I'm using Eclipse with WindowBuilder Pro to create my own control. The control uses a Swing-Timer to update a JLabel with the latest time what lets run the WindowBuilder in trouble / crash. So i want ...
0
votes
0answers
23 views
compareTo with generics for heapSort
For class I had to either implement a BST or a heapSort. I did the BST but figured it would be good to know this too but now I'm stuck. This is my first time working with heaps(and really coding with ...
0
votes
1answer
18 views
Application crash after reopen from home button
i created an application for android. My app uses an Intent Service to communicate with the web server and keeps a cache memory to print data.My problem is that if i press the home button and reopen ...
0
votes
0answers
16 views
Pattern to use with a class that talks with two databases [on hold]
The databases would be similar but the SQL Queries will differ slightly. A database has more columns than the other.
Would Strategy pattern be suited to avoid duplicate code and too much complexity?
...
-3
votes
2answers
36 views
How many ways of creating java object dynamically at run-time without using any framework
I would like to know if there are any other ways of creating java object dynamically beside the follow ways without using any framework.
Code block is as such
Object obj = ...
0
votes
2answers
35 views
Convert Scala to Java
I have a huge Scala code which I want to convert to Java code. Is there any tool that can do this very difficult task for me by just converting the Scala Files?
I have a custom written LDAP client ...
0
votes
1answer
4 views
Capture callback after uploading files using HTML form
I am using GWT to upload files to the Blobstore.
I am using FormElement uploadForm that represents the <form> that is used to upload the file. After the uploadForm.submit() I need to wait on the ...
0
votes
0answers
13 views
How To Use Http Push With Python Server And Android Client
I have a simply Http Server written by Python's BaseHTTPRequestHandler.
With a client written by Java in Android with HttpClient.
And I want to push data from python server to client java:
So I try to ...
0
votes
1answer
16 views
android camera takePicture goes wrong
logcat message remind:
failure delivering result ResultInfo{who = null,request=131073,result=-1,date=null}
fatal exception at com.example.newpingziyi.FindFragment.doPhoto(FindFragment.java:178);
...
0
votes
0answers
9 views
Editing default Dimensions of a ProgressBar(searching an alternative way of doing so)
Currently I'm writing a customized Class of ProgressBar in Android.
It's intent is to be quite more customizable from the appearance, which I already managed.
Although the ProgressBars have different ...
0
votes
0answers
3 views
New to silverlight for arcgis
I am new to using silverlight as a web app for arcserver. My question lies within the functionality of it in regards to setting up analysis tools for online use. For example, is it possible to set ...