Posts by diego.samuel.alves • 76 points
8 posts
-
0
votes1
answer62
viewsA: Sending HTML email in Java project
I advise you to create the entire html page structure and use the style tag to format via css.
-
1
votes1
answer48
viewsA: Error in Method Get on a Collection
Create the Collection by stating the type that will be returned to the phone object without requesting the conversion. public Collection getTelefones() { return telefones; }…
-
1
votes1
answer648
viewsA: Extract data from JSON within JSON that they see from a Web Service serving an Android APP
Try creating a class called Data with the attributes you need to recover and then replace the Jsonobject data attribute with it. public class Dados { public String key; public String time; // criar…
-
0
votes1
answer468
viewsA: Problem with JSF 2 redirection
Try removing the {controller.index()} call and add this code to your web.xml. <welcome-file-list> <welcome-file>index.xhtml</welcome-file> </welcome-file-list>…
-
0
votes2
answers739
viewsA: Problems with Hibernate Lazy
I don’t know how you are doing your query, but use JOIN FETCH on it, so Hibernate will initialize objects that are mapped as lazy. Example HQL: SELECT s FROM State s JOIN FETCH s.city c;…
-
0
votes4
answers1244
viewsA: How to Catch Data with JSON on Android
You can create an object in java exactly like the json that will return in php and use the Gson library to do the conversion.
-
0
votes1
answer204
viewsA: Android Audio Player
Guy implement the following method which is the interface Oncompletionlistener and within it you should call the Mediaplayer with the next song from the list. public void onCompletion(Mediaplayer…
androidanswered diego.samuel.alves 76 -
1
votes1
answer1146
viewsA: Sending Email Via Proxy - Javamail
Make the following changes to your code because Gmail is trying to send with SSL. Change the door to 465. Change the code to: msg.setContent(message,"text/plain"); tr =…