I need to write an app which can observe and manipulate the positions of windows on screen, and I've been told that this requires using Cocoa's Accessibility API.
Unfortunately I'm a Java programmer, and Objective C scares me ;) Is it possible to access this Cocoa API from within Java? I know that back when Apple cared about Java it maintained a "bridge" to cocoa, but I'm not sure if this does what I need.
Oh, and my IDE is Eclipse, in case that is relevant.
While i'm clicking a button in my menu list (for example select all)my application is getting force closed.Why is it so???in eclipse emulator it is working fine,but in phone(i'm using LG620)it's getting force closed,as i've no cable with me,i can't debug it.
I have project Image Gallery website.(I use Eclipse,WAMP)
How to Connecting GWT(front end) with PHP(back end) so that GWT widget can display my database? Please give detail simple example if anyone can.
I'm up and running in Eclipse, have worked through several tutorials and would like to start developing my first marketable app. Is there anyplace I can find a comprehensive list or catalog of what's available on the Android marketplace? I'd hate to waste a lot of development time building an app that has twelve free versions already available.
I'm using Eclipse to write php and naturally I get color coding like all IDEs do.
How do I get the same effect in a blog?
See this example (scroll down to see the code colors), he has full colors, green, red, blue, pretty acceptable I'd say
http://www.tellinya.com/read/2007/06/15/20.html
Is there something that's standalone PHP that can achieve this, or do I need a plugin and install a CMS? I'd prefer standalone I guess if possible.
How to fix corrupted xsd and wsdl files, is there any IDE which can suggest what is wrong? such as eclipse for java code when pressing CTRL + 1 , or where can I find books tutorials to understand formatting of these file types better? thank you
Here is concrete message error I have
[ERROR] 'item' is already defined
line 223 of file:/C:/project/src/main/resources/schema.xsd
[ERROR] (related to above error) the first definition appears here
line 22 of file:/C:/project/src/main/resources/schema.xsd
Is there a better way to get a copy (clone) of a URI than this horrible hack?
import org.eclipse.emf.common.util.URI;
URI cloned = URI.createURI( originalURI.toString() );
Thanks in advance!
I don't have a physical Android device to work with, so all I can use is the emulator. I'm wondering if there's something I could use to make the IO speeds more realistic - How do I slow down disk access to the speed it would be on a physical device?
Also, this may be unrelated, but when I change the speed and latency options in Eclipse ADT DDMS view, I don't notice any change in internet speed on the emulator. Is this a bug?
I have compiled and jarred the various projects in my Java application, generating serialVersionUIDs automatically through Eclipse for all my classes derived from Serializable.
I read the answers to this question, and verified that serialVersionUids are all private static final long.
Nevertheless, I get an error like this when I try to run:
java.io.InvalidClassException: com.acme.product.Widget; local class
incompatible: stream classdesc serialVersionUID = 5226096973188250357, local
class serialVersionUID = -5432967318654384362
What am I missing?
What are the linux developper tools to do the things i do with .NET in my windows environnement :
I would like to port my client server application that runs under winform/nhibernate/sql server.
Language c#
Database SQL server
ORM Nhibernate
Source control SVN / Tortoise
Unit testing Nunit
Continuous integration Cruise Control
Should i go java and eclipse ?
Python and ???
Ruby and ???
Is there some IDE that allow me to manage all these processes under linux ?
I'm having a problem in that whenever I start a emulator, either manually through the command line, or when debugging from Eclipse, it is never recognized by adb, i.e. 'adb devices' will not list it. I have to manually kill and restart adb every time I want to recognize a new emulator. Surely, something is wrong here?
(I'm on Vista 64-bit)
I have developed an App for the Amazon Kindle Fire HD.
While distributing I got a report from amazon that its not running on almost all Kindle devices and a blackscreen is displayed. They send me a logcat log file and I found out that it's not possible to load some assets directly from APK file (accessing via C++ and zlib).
Everything is running fine if I start it via Eclipse.
Any idea whats going wrong?
Thanks!
I would like to ask is there any way change the comment code template in Netbeans PHP 6.8
In eclipse, when I type /** ENTER , it would come out the comment template that I set in the setting, like this:
/**
* Apr 19, 2010 - Shiro
* Description
*
* @return unknown_type
*/
function test()
{
}
by Default Netbeans only will show the parameter in the function.
/**
*
* @param <type> $order_No
* @param <type> $array
*/
in Netbeans is there any possible I could found any customization about this, anyone know where is the setting for this?
Hi,
I am finding a way to write a script that I can generate javadoc for my program's Interfaces only (not for public classes). I have tried Eclipse built-in tool and even JAutodoc tool but have not been successful yet.
Does anyone have some ideas, please?
Thanks.
I'm trying to build a simple spring web application but I get the following error when I run it on Apache Tomcat 6.0
Class Not Found Exception org.springframework.web.servlet.DispatcherServlet
I'm using maven to handle libraries. At first I thought it was maven's fault but it adds spring and other libraries succesfully.
I tried to import "org.springframework.web.servlet.DispatcherServlet" in a source file and my project has the right package and classes.
My development environment :
Ubuntu 10.4
Eclipse IDE
Tomcat 6.0
I'd appreciate any help
I think I have not got the syntax correct for writing a javascript function and calling it to assign its return value to a variable.
My function is:
getObjName(objId){
var objName ="";
$.ajax( {
type : "GET",
url : "Object",
dataType: 'json',
data : "objId="+objId,
success : function(data) {
objName = data;
}
});
return objName;
}
I am trying to call it and assign it to a variable with:
var objName = getObjName(objId);
However Eclipse is telling me that "the function getObjName(any) is undefined"
I am working on eclipse java using swt jface with rcp.
How can i limit the characters in my text box. Like if i want only 4 characters in my text box then what should i do? and what if i want alphanumeric combination . again in certain limit?
Does anyone know of a tool like PowerArchitect or SquirrelSQL or maybe eclipse plugin that lets you also generate jpa/sql queries?
Imagine you choosing your database, or your entity beans, and the modeling would reverse engineer your database/entity model, so that you could visually just choose the columns you wanted to select, and it would generate jpa or sql queries for you.
For instance choosing A.b and X.y would generate something like this:
select a.b, x.y from A a, X x join ......
Modifying the Snake example. An exception was created from the bitmap class. So I debug the original Snake, and found that in TileView there is a function loadTile,
Bitmap bitmap = Bitmap.createBitmap(mTileSize, mTileSize, Bitmap.Config.ARGB_8888);
after the above assignment, the bitmap had -1 for mHeight and mWidth. Then how does the Snake even work? I am just use the Eclipse and the virtual machine, not a real android phone.
In my organization they are thinking about rolling out Eclipse company wide but I prefer using another editor (UltraEdit).
I do not have any good arguments against this except subjective opinions that a developer should get to use whatever he/she wants as long as he's productive enough. This to make the developer a happy employee :-)
Do you guys think its a good policy to force all developers in the same company to use the same IDE? Would there be any technical (dis)advantages of this decision?
Is there a setting or a plugin to display VCS markers on files in the project view ?
Here is what i'm talking about (Subversive/Subclipse on Eclipse):
(I am mainly asking for Subversion).