Thursday, June 30, 2011

.apk files handling

You've asked for a feature and we have it ready now: it is possible to select .apk file (for example in Files view) and install it on a device. It shares a lot of code with Run action so it wasn't too difficult to implement this.

It is pushed to our autoupdate center so you can get all recently announced changes just by installing udpates.

Sunday, June 26, 2011

More resources recognized in editor

I mentioned it a while ago that we have a code completion support for various XML files used in Android projects. You can find a reference in a features page.

Now this will be more complete as I added first batch of code changes to help you edit resource files. I am working on a support to edit strings, styles, color, drawables, lists and similar. As usually it is commited into our repository and thus accessible from our continuous build and I will push the changes to our autoupdate soon.

Of course this is all limited by the fact that this is my non-profitable spare time project. Features can be added slowly by me or by some donations (thanks Baldur!). You can help too by sending your feedback and sharing the word. Obviously you can use the Donate button on a right bar too. It would be appreciated. Enjoy the plugin.

Friday, June 17, 2011

Project Libraries simpler

Android Library projects allow you to share code or resources in more application. Up to now it was possible to set it up in and work with these libraries in our NetBeans but you had to do all the modifications manually. Of course this raised some questions and apparently was difficult for some users. Now this is much simpler and you can use project customizer to update your project.

There are two sides: some projects can be marked as a library (the checkbox at the top of customizer page will be selected). Application projects can then reference these libraries and the code and resources from the libraries will be included in them. The table shows all libraries references and enables their editing.

Possibly the next step is to add some UI for JAR libraries too to make it more obvious how to use code from external JARs.

Monday, June 13, 2011

Automated selection of target device

As you could see the project customizer contained a UI to enable automatic selection of device when an application is executed. This UI was not functional for a while bit it is fixed now. There were two bug reports related to this topic so I decided this is the right thing to do now.

In the meantime I also played a bit with automation of a build publishing to make it simpler to publish build output to our update center. It will be simpler to make an update in the future.

Thursday, June 2, 2011

Attach debugger

Yet another feature is added to nbandroid - ability to attach debugger to a running process. And once again we have to thank Christian for this functionality.

There are two ways how to activate this. First is to go to Services tab and navigate to a node of a process that you want to debug. Then use Attach debugger action from context menu. The second option is to use Debug | Attach ... menu item from main menu. Android debugger has its own support registered here.

There are few more minor changes in this small update and more will be coming.