Questions tagged as 'java'

1
answer

Error trying to consume a Web Service Axis

When I try to consume the functionality of a web service, the following exception occurs: org.apache.axis2.AxisFault: Stream write error at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) at org.apache.axis2.descr...
asked by 27.02.2014 / 03:21
1
answer

Simple settings menu with CheckBoxPreference Android

I have a simple settings menu where I have a CheckBoxPreference . I want to set silence mode when the checkBox is checked and normal mode when it is not checked. The sound code I already have, but I'm having trouble getting the value of ch...
asked by 23.02.2014 / 20:27
1
answer

Widget layout is not working [closed]

I wonder why this layout does not appear in my widget: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_...
asked by 20.02.2014 / 00:57
1
answer

Session is closed! Spring + JPA (HIbernate)

I'm trying to make an example of JPA + Spring . But I'm having trouble managing transactions. persistence.xml: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http://java.sun.com/xml/n...
asked by 21.02.2014 / 18:53
2
answers

Is there a way to filter the contacts by "organization" in the contacts calendar of Android, when triggered through another activity?

In an Android application, I want to open the contacts directory from another Activity via Intent , but I would like to see only the contacts that have a specific value in the "Organization" field. Is there a way to specify this in...
asked by 25.03.2014 / 18:04
1
answer

Viewing Flash Video on Android 2.3?

Well I've tried anyway to run flash video on android 2.3 from the 4.0 forward going easy from a webview. Looking in google and on some forums I saw people riding through VideoView. It did not work for me. VideoView videoView = (VideoView) f...
asked by 24.03.2014 / 20:08
1
answer

Encoding in Eclipse EE

I have the following problem: I have a web service in Java using Jetty, it works normally if I request other applications for the server, but my unit tests are returning the coding all wrong. {"message":"Não foi possível criar o usuário. Er...
asked by 25.03.2014 / 01:59
2
answers

Warning Hibernate HHH000444 using Oracle 10g with WildFly 8.0.0 - follow-on locking

When doing some queries on a view using JPA (2.1) with Hibernate , I'm having this warning . Although it's working and just being a warning , it bothers me a little.    WARN org.hibernate.loader.Loader - HHH000444: Encountered request for...
asked by 27.03.2014 / 12:53
1
answer

Generating tables in sql-server with hibernate

I'm migrating a java system, to work with 2 or more databases. I created the tables for firebird using hibernate without many problems. The second bank did not succeed. The SQL Server. Why do microsoft products have to be different? Good ......
asked by 25.04.2014 / 18:21
1
answer

How to detect collisions using Slick2D?

I would like to know how I can detect collisions between objects using slick, do you have any useful examples? I'm playing a simple game where 2 squares are moving on the screen and if the character I'm moving through the keyboard is hit by s...
asked by 29.01.2014 / 21:43