Click here to Skip to main content
15,885,141 members
Everything / Eclipse

Eclipse

Eclipse

Great Reads

by Jan Dolinay
Article on setting up Eclipse to build programs for Arduino Uno.
by Garvit Arya
It is a personalized web Browser that can open a certain website directly.
by Yildirim Kocdag
This article helps you develop, test and deploy a custom comment check in policy for Eclipse IDE and Microsoft TFS. A plug-in should be written for comment checkin policy development
by Intel
A Fast, Flexible, And Scalable Path To Commercial IoT Solutions

Latest Articles

by Matthew_Heusser
In this post, you will learn a bit about the various components that make up Selenium WebDriver.
by Andrea Flesca
Activiti in Action is a great book, but I had some problems in performing the two simple exercises of the first chapter due (IMHO) to the lack of some information
by James A. Brannan
Introduction AWS SQS Message Queues are a way to exchange messages between applications. Senders, send data objects to a queue and receivers, receive objects from a queue.
by James A. Brannan
Exploring AWS KMS to encrypt and decrypt data via the AWS Java 2 SDK

All Articles

Sort by Score

Eclipse 

7 Jan 2013 by WebMaster
You can define event for each button.Another way, you can do like this:private OnClickListener mListener = new OnClickListener() { @Override public void onClick(View v) { Button btn = (Button)v; // if btn is startButton1 if (btn.getId() == R.id.startButton1)...
23 Jun 2015 by Jan Dolinay
Article on setting up Eclipse to build programs for Arduino Uno.
18 Apr 2014 by Garvit Arya
It is a personalized web Browser that can open a certain website directly.
2 Feb 2015 by Yildirim Kocdag
This article helps you develop, test and deploy a custom comment check in policy for Eclipse IDE and Microsoft TFS. A plug-in should be written for comment checkin policy development
2 Jan 2014 by Frugge
Hi,I have the exact same problem. :DIt seems, that the weight parameter in a TableRow is just not considered when adding the row to a TableLayout in code.In a static XML-layout-file it works.Update 1I found the solution here!The key sentence is "A widget must have the...
25 Aug 2015 by Intel
A Fast, Flexible, And Scalable Path To Commercial IoT Solutions
23 Jan 2012 by CPallini
Java hasn't structs, it has classes. See, for instance here[^].Java hasn't global variables either, see, for instance, here[^].
1 Jun 2015 by Android on Intel
This article introduces Android Studio (Beta), the new Android integrated development environment (IDE), which will eventually replace the Eclipse ADT Bundle.
8 Oct 2015 by Intel
This article covers and expands upon the material from the Hands-on Lab Intel® Internet of Things (IoT) Developer Kit SFTL005 presented at the Intel® Developer Forum 2015
14 Oct 2016 by Afzaal Ahmad Zeeshan
First of all, I noticed that you are trying to use nested functions in Java, sadly, they are not at all supported in the Java language. public Test1() {public static void test (int num1,int num2,int num3) {You need to terminate the constructor, and then start another function. There is a...
1 Aug 2011 by #realJSOP
Isn't google compatible with Linux?
26 Aug 2012 by Espen Harlinn
Eclipse CDT uses the MinGW GNU C++ compiler, and the eBUS SDK probably doesn't support this.C++ Development using eclipse IDE– Starters guide[^]You will proably need to make new import libraries and edit the headers yourself.HOWTO Create an Import Library for a DLL using...
7 Jan 2013 by TorstenH.
new OnClickListener() { startButton2.setOnClickListener(new OnClickListener() { // some code }}THAT will never work.When you declare such a OnClickListener, you declare an anonymous class. That one is defined. If there is no directly accessable method onClick(View v), the...
4 Mar 2013 by Prasad_Kulkarni
Refer:Get start form here[^]also checkBuilding Web Apps in WebView[^]
21 Sep 2013 by Richard MacCutchan
You would be better making the C++ code into a DLL and using the Java Native Interface[^] to access it.
23 Jun 2014 by Xiao Ling
You have to initialize the imageView in onCreate:public class MainActivity extends Activity { ImageView imgView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ...
10 Dec 2014 by matthias-hahn
The Intel® Internet of Things (IoT) Developer Kit (dev kit) is a complete solution for creating and testing applications targeted for Intel® IoT platforms like the Intel® Galileo board.
8 May 2015 by Intel
This guide explains how to install the Eclipse IDE on Windows, OS X, or Linux.
12 Jan 2016 by John Jiyang Hou
An algorithm to determine if a point is inside a 3D convex polygon for a given polygon vertices in Java
19 Apr 2017 by Intel
In Part 2 we will explore how to configure an integrated development environment (IDE) to build the C++ code example, and provide a code walkthrough based on the AlexNet deep learning topology.
19 Apr 2017 by Intel
The Developer's Introduction to Intel MKL-DNN tutorial series examines Intel MKL-DNN from a developer’s perspective. Part 1 identifies informative resources and gives detailed instructions on how to install and build the library components.
13 Feb 2018 by Intel
Intel just released Intel® System Studio 2018, an all-in-one, cross-platform, comprehensive tool suite for system and IoT device application development.
10 Sep 2018 by Richard MacCutchan
Your main method is not defined correctly. See Lesson: A Closer Look at the "Hello World!" Application (The Java™ Tutorials > Getting Started)[^].
25 Jan 2019 by Priyanka Sabharwal81
Basic understanding of how to write/use the Apache-tika facade function and debug it in Eclipse
25 Mar 2019 by James A. Brannan
In this tutorial, we create a simple Rest application using POST.
26 Mar 2019 by James A. Brannan
How to convert a List of Strings to a List of Integers using the MapReduce programming paradigm
26 Jan 2020 by Shao Voon Wong
Your / should be in front of the end tag. ADSM
24 Apr 2020 by OriginalGriff
Just to add to Greg's reply, if you don't understand a line of code, break it down: ++freq[1 + rand.nextInt(4)]; Becomes int index = 1 + rand.nextInt(4); ++freq[index]; Becomes int randomValue = rand.nextInt(4);int index = 1 + randomValue;...
26 Mar 2019 by James A. Brannan
Spring Rest Using Spring Boot
5 Jul 2011 by TorstenH.
...by downloading the correct Eclipse. It's called Eclipse RCP[^].
18 Jul 2011 by Espen Harlinn
If I remember correctly Derby[^] uses JavaCC.Best regardsEspen Harlinn
1 Aug 2011 by Maximilien
Toolchains : I'd use the one toolchain that is the default (if one is available); or what is installed on your machine (i.e. if you have gcc/g++ , I would assume the default toolchain will be that.In any case, when one wants to be able to program multi-platform, one has 2 development path :...
1 Sep 2011 by _Ares!!!
Hi!I need help. I try to extend button class. Everything is ok, but if I add anonymous type I have an error in design mode! Code snippet below:public class ExtDatePicker extends Button { private int mYear; private int mMonth; private int mDay; private View view = new...
20 Sep 2011 by Muhammad Raza Khan
Please help me as I'm new in refactoring field. I want to know the complete process how to implement a new refactoring in eclipse using existing libraries. Kindly some self programme will be preffered for help.
20 Sep 2011 by Member 8254551
I have to develop an application, which implements an windows API for CAN Device and test a System wich is connected wich and CANUSB with the host PC.I can use C++ or C#.The application must be run on both Linux and Windows PC.Questions:Is this possible?Which enviroment can i use...
21 Sep 2011 by Sergey Alexandrovich Kryukov
Absolutely possible. The most smooth way I know is using Mono on Linux.See:http://en.wikipedia.org/wiki/Mono_%28software%29[^],http://www.mono-project.com/[^].Mono provides good implementation of CLR and very tight compatibility with .NET. It implements all the standard library and...
7 Oct 2011 by Espen Harlinn
The answer is Yes :)Try looking at:Eclipse Team CVS tutorial[^]andEclipse CVS Howto[^]Best regardsEspen Harlinn
25 Oct 2011 by Rajeshram009
Hi,I think,it has two option...one u put the java file in form action(as )other one is sendredirect()....Thanks...
6 Nov 2011 by epanjohura
Now I know I was really dumb :SThe needed file has to be in the same folder as the project p.e.:current directory: C:\xy\xz\xx\.absolute path of file: C:\xy\xz\xx\file.txtrelative path of file: .\file.txtorabsolute path of file: C:\xy\xz\file.txtrelative path of file:...
18 Nov 2011 by Richard MacCutchan
Did you read this[^]?
30 Dec 2011 by Rajesh Anuhya
hi OM.., When you call the device profiles(Send SMS, Read/write Ph memory) this ask for the conformation. because your application is not TRUSTED. For this , you have add certification to your application., i done a similar kind of project 1 year back. That time client purchased...
2 Jan 2012 by jschell
I would suspect that is a device specific question.However what exactly do intend to do with the data if the app that uses it no longer exists?Regardless it might be possible to copy the data files from the expected location to some other location before removing the app. Naturally the...
16 Feb 2012 by Mein Nam
When I run this on as a Java application it comes up with the warning "Selection does not contain a main type". Can someone tell me what's wrong? And does it look like it would run after the error no longer appears?package com.ajaxwoot;public class Camcorder { int...
16 Feb 2012 by TorstenH.
This is the complete code right?Then you're missing the main method, which is needed as the entry point to your coding:public class Camcorder{ public static void main(String[] args) { Camcorder oComcorder = new Camcorder(); Camcorder.record(); }// rest of your code...
23 Feb 2012 by Omparkash
Hello sirI have new hand on android and I have built my sms application on J2ME in which i send sms to a number but in case receving sms it is Received on a port like 5000, now I wish to port this application on android pl tell me that there is a way to receive sms on a port in android I...
26 Feb 2012 by Chandrakantt
You can follow following steps in your loopchar FileName[1024] = {0};for(i = 0; i
29 May 2012 by Dirk C De Winnaar
Unfortunately the emulator does not support USB connections... According to emulator documentation, its limitations are:No support for placing or receiving actual phone calls, but you can simulate phone calls (placed and received) through the emulator console.No support for USB...
26 Aug 2012 by Chaitalee Thakar
Go to Values->string.xml Link String Go to layout->main.xml ------android:text = "@string/linkname"/>
27 Aug 2012 by TorstenH.
you are placing a JPanel on your JFrame - therefor the JPanel is in front of the JFrame. So you need to change the JPanels color:// line 15ff@Overrideprotected void paintComponent(Graphics g) { this.setBackground(Color.BLACK); //now blackthe subtracted value (here 400, you...
29 Aug 2012 by stib_markc
Hi,I am creating a GraphGUI. I have attached 2 panels a GraphPanel(for graph sheet) and a COntrolPanel(for button controls). I placed two buttons a 'sine' and 'cosine' which should display it's corresponding wave on GraphPanel upon clicking them. Right now I am doing event handling for my GUI...
29 Aug 2012 by Nagy Vilmos
The comparison in the if statement is wrong, you want to know if the item in the listener array can be cast to a GraphListener. This works:if (GraphListener.class.isAssignableFrom(listeners[i].getClass())) {
31 Aug 2012 by stib_markc
I have built a GUI on which I want to show sine and cosine graphs.The code for drawing the graph is :while(x1
30 Aug 2012 by stib_markc
Just adding phases solved my problem, it has been a long time since I used trigonometry or the"ALL SILVER TEA CUPS" idiom. For sine wave I have added a phase of PI/2 and for cosine wave I have added a phase of (1.5)*PI.
25 Oct 2012 by TorstenH.
Your value exRate is "0" and therefor the calculated value from getEuro() is also always 0.The first request "Enter dollar value (Q to quit):" should not be outside of the loop. I think you can probably delete it, the loop should do it (but needs some more work too).
21 Nov 2012 by AndroidVivek
I am making app where I have to from android BT(Bluetooth) to BT printerI can print the page and text file but i am not getting print in manner as in the text file ..This is my code to print..import java.io.OutputStream;import java.lang.reflect.Method;import...
26 Nov 2012 by Sergey Alexandrovich Kryukov
Not true. It actually does something: first iteration of the loop is always executed, at least one "insert a" outputs to console (if one is available; it depends on project configuration), others depend on what value for a you are entering. Of course, the code makes little to no sense —...
2 Dec 2012 by Mosch Dev.
Hi, I am trying to change the background image of a view onclick, here is the code:public class ScreenChanger extends Activity{ private ImageButton imagebutton; private ImageButton imagebuttonRED; private ImageButton imagebuttonBLUE; private ImageButton...
7 Dec 2012 by AndroidVivek
Its easy just when you are making emulator you can make changes in emulike increase heap sizeso check thisgo to edit emulatorin that in bottom side you will see RAMin that row click on second column and change 1024..
17 Dec 2012 by AdityaMhatre
I am trying to make a game. I need to place two-three images at some particular location on a background ImageView. I cant seem to get it. I am using FrameLayout. here it is.... How it is : http://i46.tinypic.com/246udqw.png How I want : http://i45.tinypic.com/feiatx.pngHere is the XML :...
7 Feb 2013 by TorstenH.
you know that there is a SQLite in Android inculded?Lars Vogel has a pretty neat tutorial for working with that:http://www.vogella.com/articles/AndroidSQLite/article.html[^]
4 Mar 2013 by Azziet
Read from start...check http://developer.android.comcheck these linkshttp://developer.android.com/guide/webapps/webview.html[^]and http://developer.android.com/guide/webapps/best-practices.html[^]
25 Mar 2013 by Ruslan Zasukhin
Starting with 14 Feb of 2013 year you can enjoy by a Valentina Studio 5.x http://www.valentina-db.com/valentina-studio-overview * it is FREE * It works natively (!) on all 3 os: linux, mac and windows * it works with mySQL as well as with SQLite, PostgreSQL and Valentina...
26 Mar 2013 by Dhruvin Sukhadiya
Here may some solution you should TRY...1. http://www.eclipse.org/forums/index.php/m/1006769/[^]2. http://www.youtube.com/watch?v=DPiOD5V74nk[^]3. http://stackoverflow.com/questions/10585135/eclipse-failed-to-load-jni-shared-library[^]
1 Apr 2013 by Melih Mucuk
Checking location services are enabled or disabled on android phone.
23 Jun 2013 by TorstenH.
Is that a calculator?Please use Gridlayout for that - the Flowlayout will change when you resize the Window.A Visual Guide to Layout Managers[^] @ oracle.comI'd also recommend to OOP the returning code for the buttons - make a function that you pass the label text as an argument....
31 Jul 2013 by TorstenH.
Check This:http://www.vogella.com/tutorials.html[^]Pretty good stuff. Bookmark it please.
7 Aug 2013 by Fredrik Bornander
It works great, and is often much more convenient to use than the emulator.Plug it in to your computer. Most devices will just show up in Eclipse, but depending on the device you've got you might have to set it into a particular mode.Also, make sure you enable debugging in developer...
12 Sep 2013 by pasztorpisti
You have to install an usb driver for the device. Unfortunately USB drivers for android devices haven't been standardised so manufacturers usually roll their own. Try to download an usb driver from the homepage of the manufacturer for your device. Sometimes you have to download the google...
19 Sep 2013 by ridoy
You could do a search in Google for that to get a possible solution.Ok,let's see these:Building and Running from Eclipse with ADT[^]How to run app on Android Device using Eclipse?[^]Android Tutorial #1: How To Make an App and Run It In The Emulator [^]How do I run an Android emulator...
19 Sep 2013 by sp_suresh
1. First Build your application 2. Create AVD for your application 3. Right click on project and select Run As Android application and select AVD
20 Sep 2013 by Fredrik Bornander
Try customizing you perspective by using the Window menu.Click Customize perspectiveCommand Groups AvailabilityAndroid SDK and AVD ManagerHope this helps,Fredrik
20 Sep 2013 by ridoy
You need to do something like:Button myButton = new Button(this);myButton.setText("Click Me!");LinearLayout ln = (LinearLayout)findViewById(R.id.buttonlayout);LayoutParams lp = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);ln.addView(myButton, lp);
20 Sep 2013 by sp_suresh
For that please refer this which will guide step by step creationhttp://developer.android.com/training/basics/firstapp/index.html[^]
21 Sep 2013 by 23741
I did this once using Glassfish (java side) to a WCF service.Mind you this was web server to web server using soap 1.2 and that's probably overkill for your requirement.What type of IPC (interprocess communications) is available from a java process to a windows process? I realize java...
21 Sep 2013 by pasztorpisti
1. Don't use scanner when transferring data between an InputStream and an OutputStream. There is no need for any kind of conversion. Read binary byte array and write the same.2. When redirecting program stdin its a good practice to close the input of the program when you don't want to send...
12 Dec 2013 by E.F. Nijboer
You must also change the type in the layout (found in res\layout). It is XML and there the actual control is defined as Button and needs to be changed to ImageButton. Good luck!
18 Dec 2013 by Nagy Vilmos
Make sure the LWJGL jar is in the CLASSPATH when you run your project and I believe there is also a DLL it uses that must be in the system path.
30 Dec 2013 by Shanalal Kasim
Hi,I am beginner in android development. In my application I was creating tablerow dynamically. I want to equally divide the table layout height to table rows. But its not working...I am creating 9 rows each row contains 9 TextViewMy xml is...
20 Feb 2014 by CPallini
This very page: "Get the Android SDK"[^] explains it all very well.
26 Apr 2014 by Peter Leow
As the name suggests, it is 'intent'-ion to do something by passing message from one activity to another. Read more: what-is-intent-in-android[^]
9 May 2014 by OriginalGriff
How the heck do you expect us to be able to do that? :laugh:There are two major reasons why we can't:1) We don't know you. We have no idea of your skills, abilities, coding level, the languages you can use, your experience, interests or anything else - much less what you would consider...
23 Jun 2014 by mathiazhagan01
Just try this... imgView.setImageResource(object[i]); // i is index
24 Jun 2014 by CPallini
Google is your friend:"Console input in Java"[^]."Sorting strings in Java"[^].
26 Jun 2014 by ridoy
Try it in your phone rather than emulator. And pick an @Override of your mWeb.setWebViewClient(new WebViewClient(){} . Hope it will work correctly.
2 Jul 2014 by Kornfeld Eliyahu Peter
You have to push all your task into an array of tasks upon creation. At the point where you want to wait to them add call to Task.WaitAll[^] method...
21 Sep 2014 by Fredrik Bornander
You need to make sure the second argument passed to Log.e isn't null.One way to do that would be to inspect e.getMessage() and log something else if it is null;try { Socket s = new Socket(IPAddress,PORT);} catch(Exception e){ String message = e.getMessage() == null ? e.toString() :...
26 Nov 2014 by Richard MacCutchan
I would suggest you go to http://download.oracle.com/javase/tutorial/index.html[^] to learn Java. Then take a look at some of the excellent tutorials on Android at http://www.codeproject.com/KB/android/#Android+Tutorial+Contest[^]. You also need to spend time learning how to debug or diagnose...
19 Feb 2015 by REX ST JOHN
This guide explains how to connect to your Intel IoT Platform using the Eclipse IDE on Windows*, OS X*, or Linux*.
31 Mar 2015 by Avinash6474
Hi All,I had created an application using phonegap. I had added geolocation plugin in application cordova plugin add org.apache.cordova.geolocationI can able to see the plug in added in project. Now I have created a location.html page in which I am using geolocation plugin...
5 Apr 2015 by Abhinav S
"java directory listing" gave me a number of search results -Listing the Directory Contents : Files « File Input Output « Java[^]Java.io.File.list() Method[^]List the names of all files in a particular directory [^]
13 Apr 2015 by Intel
The new Intel® IoT Developer Kit v1.0 software components are available now for immediate download on the Software Downloads page (as of March 5, 2015).
4 Jun 2015 by Sergey Alexandrovich Kryukov
This is not really related to Eclipse, which is just the IDE. Please learn the working with shared libraries, for example, here: http://www.cprogramming.com/tutorial/shared-libraries-linux-gcc.html[^].—SA
15 Jul 2015 by Intel
This guide contains steps to create, build, and debug applications for the generic microcontroller unit (MCU) on an Intel® Edison board using the MCU SDK.
12 Aug 2015 by Intel
Set Up Serial Terminal on the Intel® Galileo Board for Windows
16 Dec 2015 by Intel
This document provides general overview of the Intel® System Studio for Microcontrollers, information how to use it for developing and debugging your applications for the Intel® QuarkTM microcontroller D1000 on Linux platforms from the command line and from Eclipse IDE, gives a list of compiler opti
19 Jan 2016 by Richard MacCutchan
SQLite is already part of the standard Android packages, in both Android Studio and eclipse. See Handling Input and Storage on Android[^] for a sample application.
2 Feb 2016 by John Jiyang Hou
A Base62 encoding algorithm with a special prefixed code for utilizing Base64 schema in Java