I don't work with android all the time, sometimes I am working with a server/client app and I need to check the console output of both. What I used to be able to do was pressing the little blue monitor button on the console view to toggle between the two. But now it also have other 3 irremovable consoles(DDMS, OpenGL Trace View, Android) that I don't use, not even when developing for android. What I want to know is how to permanently remove those 3 console views. I don't want to have separated eclipse installations nor having to install/uninstall plugins whenever I am not developing for android.
I am prepared to delete/modify plugin source files, however I don't even know what I would be looking for
You don't have to modify .
1)Go to "windows->open perspective" and choose it for yourself
2) Or go to windows->show perspective select as it suits you.
Related
I have Xamarin project based on ASP.NET Web API which is my 2nd sub-project in the same solution. I couldnt find similar problem anywhere so I think that sadly I have to run two Visual Studios which would like to to avoid.
What I want to accomplish is to debug API and android app in same time in one Visual Studio window. Is it even possible?
Example of manual test:
1. Android button click sends request to api.
2. API business logic has break point to check it.
3. Android app gets data from the API.
You can have multiple startup projects in Visual Studio. Here's how to do it in Visual Studio 2015 (from MSDN):
In the Solution Explorer, select the solution (the very top node). Right-click the node to get the context menu.
Select Properties. The Solution Property Pages dialog box opens.
Expand the Common Properties node, and click Startup Project.
Click Multiple Startup Projects and set the appropriate actions. For more information, see NIB How to: Modify Project Properties and Configuration Settings.
You can also start debugging the Android app normally and launch the Web API project later on by right clicking it on the Solution Explorer and clicking Debug > Start New Instance.
When I run my Android application in Eclipse on my machine, it automatically sets up a LogCat filter for my application, and only shows lines that are relevant to it.
However, running the same application on another PC (which happens to have Eclipse 'Mars') running on it, it just has one filter saying 'All messages (no filters)'.
Is there a setting somewhere to turn this on?
And incidentally, I know that I can set up a filter manually, but I liked the functionality that I had before, so I just want to turn that back on.
Regardless of what IDE you use I would recommend you take a look at pidcat.
From the repo:
Colored logcat script which only shows log entries for a specific application package.
You do need a bash terminal.
I will also recommend you move your project over to Android Studio.
I am starting doing my first steps in the Android Apps development and I hope to get some guidance from some experts.
I have installed Eclipse successfully and created an App that is merely streaming one shoutcast radio station.
The big issues started in the moment I wanted to create the second Radio App to play a second different radio station.
The second App is somehow identical to the first, with only change being that it points to a different shoutcast http link...and it has also some different icons/logo.
I had many problems understanding how to duplicate the Radio App with Eclipse and be allowed to save it. Anyway now I believe this is solved but the copy and paste job is probably what has originated a second problem.
== The issue: Now, after having completed the Second "Radio App", my Sony smartphone asks me if I want to UPDATE the First Radio App I successfully installed, rather than letting me install the second.
So, obviously even if I changed the name of the App in many lines, there must be something that makes my phone see the second App as a duplicate and a potential update to the first radio app.
In fact it is a second and different App and I need to install both of them and even a third App for a third radio station!
What am I doing wrong?
In your app manifest tag, there is a package attribute. This value is your app's unique identifier. If it is the same, it is treated as the same app.
See: manifest
In Eclipse (latest current version), right click on the project from "Package Explorer" (left side of the panel), from the opening menu' select "Android Tools" and select "Rename Application Package". You will be asked for the new package name. You can't change the "structure" of it.
Eclipse will warn/inform you about the change that is going to apply.
Eclipse will change the name of the package everywhere is needed, accordingly. Doing the same manually, most likely you will face ugly results and spend more time.
Okay here's the deal:
I want to download the full source of the MMS/SMS application that ships with Android phones. I want to be able to modify it, and add a little custom functionality to it.
I am developing using Eclipse, and I'm on Windows 7. I have noticed that there is now a Git for Windows, but I am pretty lost in it and not sure how to integrate everything with Eclipse.
Basically, I want to just get it to the point where I have all the source code visible in Eclipse and be able to see the app run JUST like the built-in texting/MMS app that is already on my phone. Then I'll know that I can modify it and proceed.
Any ideas?
Thanks!
There's a mirror of the SMS/MMS app on GitHub here. Just import that to Eclipse and customise away.
Unless you want to customize and use it only on your own phone (without publishing), this is not a good idea. This is because it uses classes that are hidden from the sdk. By default you won't even be able to build the apk via eclipse, but there is a way. The reason why this is a bad idea is that the hidden apis are not guaranteed to remain the same through different api-levels and your app can stop working with the next android update, and might also not work on previous api-levels. In-fact your app might not even work on selected phones running the same api-level.
I'm a .NET developer but I like JAVA so in my free time I play around with that. I don't normally use Eclipse but I installed the ADT eclipse plugin and Andriod SDK and I started learning and I made a new project with a TableLayout and it kinda looks good, and it runs ok on the emulator.
However... there a few things that drive me absolutely catatonic and perhaps I am doing something wrong so please help me out.
Firstly, if I change the main.xml file in whatever way, even by adding what is supposedly a correct parameter, it will start freaking out and will generate an error that just says "error" without specifying what that is, it will then generate a main.out.xml and then report an error that the main.out.xml is empty. It later won't let me delete that and will start generating a main.out.out.xml and so forth, even after I correct that original xml that caused the error.
The only way to get things going is to delete the bin folder, restart Eclipse, delete all the out xml files and then sometimes it will run the application or some other times it will start generating those 'out' files again and the loop goes on.
That way it takes hours to run a simple app even one without errors that used to run before.
Surely that was NOT how they intended it to work, is it??
Also.. there is no "Rebuild" button that will flush all files out automatically, or is it hidden somewhere? I am tired of manually deleting those automatically generated files and the build folder and all those out.xml files.
Also, while I'm at it, I also want to point out that the designer view sometimes disappears and there is nothing on earth that will bring it back, the only way is to create a new project and copy the main.xml to it and then it shows up again. Another bug?
I have the latest eclipse version:
Version: Indigo Service Release 2
Build id: 20120216-1857
If you have any clues how to get this to work, I will appreciate it!
Many thanks in advance
When you click the Run button with an XML file selected, Eclipse is running an XSL Transformation on that XML and producing the .out.xml file as the result. This is a feature of the Eclipse Web Tools feature, which you'll have if you installed the Eclipse for Java EE Developers package (it may be included in other packages, too).
As others have said above in the comments, to run your Android app, select the Project, right-click, and choose Run As > Android App. Once you've done that once, it will create a Launch Configuration that you can launch from the Run or Debug toolbar buttons (pressing the small down-arrow on the Run or Debug buttons brings up a list of Launch Configurations that you can select from, as well as an option to manage them).
There is a Preference that will make Eclipse always launch the last thing you ran or debugged, instead of trying to be smart about what is currently selected. Open the Preferences and navigate to Run/Debug > Launching; there you'll find the option under Launch Operation at the bottom of the window.