133
votes
1answer
27k views

Get application version programatically in android

Is there a way to get the android app version from code? Is it possible to do so?
42
votes
8answers
18k views

Android Framework?

Are there any frameworks out there which make it even more easy than it is to build Android applications and would you be interested in one?
33
votes
6answers
10k views

Creating Windows Metro style apps with Java?

I know how to create small desktop applications in Java. I want to know, can I make Windows Metro style apps in Java? Because on the web only C++/C/C#/JavaScript etc. are mentioned. If yes can you ...
10
votes
3answers
6k views

Various android logcat errors

I am working on a very simple application in Android. I made a splash screen, main menu and a page with radio buttons and a button (which plays a sound depending on a radiobutton checked). The ...
10
votes
3answers
663 views

Windows 8 Store certification for a Windows Desktop App written in Java

I have a program that is written in Java and is wrapped by an installer. It requires Java 1.7. If I run the certification with "Windows App Certification" it passes with one warning for the case Java ...
9
votes
2answers
1k views

Rotate image without shrinking on Android

I need to create a compass on an app i am working on. So i tried to create a new view called CompassView which basically extends imageview, shows a bitmap that has east west north south pointed on it, ...
9
votes
2answers
239 views

Problem in Running Java Application in Non JDK/ Non JRE installed system

I am working in a java application. It is desktop application for Windows Operating System. I am creating a installer for my application. My application works fine for the system where jdk is ...
8
votes
3answers
39k views

How can I edit a .jar file? [duplicate]

Possible Duplicate: Modifying a file inside a jar So I have a jar file with one .class file on it. I just need to change some words in the file. What program should I use? I want this to ...
8
votes
3answers
2k views

an EAR (Java EE) application which listen to a socket request

I want to build a Java EE application (EAR) which not only provides web service(WAR) or direct JMS request (EJB), but I would like to also accept the socket request (e.g. UDP packet). I have tried ...
8
votes
4answers
534 views

java web app profiler like this

Read an article on http://code.google.com/p/mvc-mini-profiler/ Any open-source profiler available like this for java web apps? Anyone started to port this one to Java environment? Thanks.
7
votes
1answer
4k views

Joda-Time: DateTime, DateMidnight and LocalDate usage

Joda-Time library includes different datetime classes DateTime - Immutable replacement for JDK Calendar DateMidnight - Immutable class representing a date where the time is forced to ...
7
votes
10answers
7k views

Java based web framework alternatives

I'm trying to pick a web framework that is Java based to start a new project and so far I'm having a bit of trouble deciding. I have been using plain GWT and I have to say that is very good, the ...
6
votes
7answers
499 views

Java Habits for main method

I write code primarily for personal use, but I'm considering releasing an application (scientific simulation/visualization) that I originally developed for personal use. One of my habits is to use a ...
6
votes
5answers
9k views

How to Launch Home Screen Programmatically in Android

I want to launch home screen of Android with my application. The main target is to show all of apps to user when he/she presses a specialized key. Actually, the way is not important. Any idea to do ...
6
votes
4answers
6k views

How do I run JUnit tests from inside my java application?

Is it possible to run JUnit tests from inside my java application? Are there test frameworks I can use (such as JUnit.jar?), or am I force to find the test files, invoke the methods and track the ...

1 2 3 4 5 57
15 30 50 per page