Questions tagged as 'java'

0
answers

How to use the "setViewBinder" in my adapter for Listview

How do I use setViewBinder in my adapter? In SimpleCursorAdapter I get: SimpleCursorAdapter adapter = new SimpleCursorAdapter(getActivity().getBaseContext(), R.layout.lista_chamados, cursor, from, to); setListAdapter(adapter); adapte...
asked by 03.01.2015 / 17:37
1
answer

Read inputstream created in another activity

I'm new to programming. I saved an array of strings through FileOutputStream.write() in my MainActivity . I can read the array perfectly through FileInputStream in the Activity itself. To read this array in another Activ...
asked by 04.01.2015 / 21:24
1
answer

My signed apk does not run on my mobile phone

I finished a small application that saves notes and I'm trying to generate the signed apk, but it does not work on my phone. I have already tested generating a signed apk from a new project with just a blank activity and it worked normally o...
asked by 07.01.2015 / 15:10
1
answer

Error when reopening Map in fragment within DrawerList

I'm developing an Android Application and am having a problem navigating between Fragments. I created a drawerList and in it I have some fragments, in one of these fragments I have a map, when initially accessing this fragment, its components...
asked by 08.01.2015 / 14:32
2
answers

Problem with very large URL

I'm trying to pass a URL per GET and the server is returning error 404 because the URL is too large (I'm passing an XML through the URL). I've already tried to add the MaxFieldLength variables with 1677721 and MaxRequestBytes with 1677721 in...
asked by 10.10.2014 / 19:59
0
answers

Java function equivalent to pack ("v", int) in Perl / PHP

I would like to know if there is any function in Java equivalent to the pack("v",numero) function of Perl and PHP. No perl / php: pack("v",numero) = unsigned short (always 16 bit, little endian byte order) In Java: ?     
asked by 05.12.2014 / 17:30
0
answers

Problem installing JasperReport Server 5.6.1 on Windwos 8.1

Good evening! I'm having trouble installing JasperReportServer 5.6.1 on my Windows 8.1 with Java 8. I downloaded JasperReports Server from the jasperReportsServer link. I downloaded the file jasperreports-server-cp-5.6.1-windows-x64-inst...
asked by 04.12.2014 / 02:27
0
answers

Problem with JFormattedTextField when the component goes out of focus it returns the last valid number

I have a problem concerning JFormattedTextField when I add the mask and I type a valid number then delete and do not write anything in the field .. but when the component goes out of focus it returns the last valid number .. Does anyone have any...
asked by 03.12.2014 / 20:57
0
answers

exception in InitialContext jboss

Hello, I'm developing a java project with jboss. I made the following code: connectionFactoryLookupAddress = new String("jms/RemoteConnectionFactory"); destinationLookupAddress = new String("jms/topic/mC"); environment = new Properties(); e...
asked by 22.11.2014 / 13:06
2
answers

Can Class.getResource () only be able to recover files in internal folders that the class is in?

In this class, I need to read *.properties files that are in another folder / project package. The folder structure is this:    util → properties (here are the .properties)       util → server → queries (here is the class that will re...
asked by 05.12.2014 / 18:52