EzDevInfo.com

application-development interview questions

Top application-development frequently asked interview questions

Gradle in Ubuntu for Launchpad

It appears that Ubuntu doesn't have new versions of Gradle in their repositories for some reason. I need it for a project that will be build by Launchpad.

What should I do about this?


Source: (StackOverflow)

Has anyone who took part in the App Showdown gotten the promised t-shirt? [closed]

The title says all. On the contest site http://developer.ubuntu.com/showdown/ there's statement "Every submitted app also gets an Ubuntu T-Shirt!". I haven't received anything so far.

----------------EDIT-------------

Just received Ubuntu t-shirt! Thanks @David Planella!


Source: (StackOverflow)

Advertisements

What advantages does Ubuntu have over Windows as an environment for programming?

Why is writing a program in text files or via the terminal a better option (as I read) than using IDE(s) like Visual Studio on Windows? Do the features an IDE provides exist there (eg. showing compilation errors) or is it a manual process?


Source: (StackOverflow)

How do I develop an Ubuntu application in HTML and JS?

I am developing an app and I think HTML and JavaScript are better for the future, but I cannot find any tutorials (I need the app to use the system theme).

Are there bindings for Unity, message menu and notification, couchdb and so on?


Source: (StackOverflow)

Why no library files installed for google test?

The libgtest-dev package seems only install header files to the system, but not the static and dynamic libraries which should be installed under /usr/lib.

Is it a bug?


Source: (StackOverflow)

How do I develop .NET apps on Ubuntu?

at college we use Microsoft .NET for developing applications. I recently switched to Ubuntu and would like to know similar tools for making apps on/for ubuntu.


Source: (StackOverflow)

How can I publish my project code online so someone can help me with it?

My local project has some code that is not working, and I'd like to show it to someone to have a look at and possibly give me a hand with it. This isn't a short snippet or a single file; there are multiple files and directories involved.

How can I best publish my code?


Source: (StackOverflow)

What are Click packages?

I noticed that Ubuntu SDK recently had some updates and it installed a program named "Click". I would like to know what they are and how to use them.

Also, would they make Debian packaging easier?


Source: (StackOverflow)

Is there any API Document Browser like Dash on Ubuntu?

I've seen my friend enjoy using Dash, in which you could look up all kinds of language document, Java, c#, Android, Javascript, JQuery, etc. That makes life much much more easier!! Does Anyone knows if there's alternative on Ubuntu? I search desperately but no

Dash: Code snippet manager and Cocoa documentation browser.


Source: (StackOverflow)

When to use gconf vs dconf?

Both gconf and dconf editors are available. Given the change to dconf should we still be using gconf at all? Do changes in gconf actually do anything when running 11.10?


Source: (StackOverflow)

How can I install Qt 5.x on 12.04 LTS?

If you want to develop with QML 2.0 and Qt5, the base packages don't seem to exist in repository for 12.04. What PPA should I add? Is it a binary installer? a compile the toolkit yourself?

Those aren't separate questions, they're just possible tracks to an answer.

I'm asking because if you want to develop for Ubuntu Phone, but still have a rock solid LTS development box, this seems the appropriate path.

How can I install Qt 5.x on 12.04 LTS?


Source: (StackOverflow)

How to use Qt Creator with Python?

I want to use Qt for developing Ubuntu desktop, phone and tablet applications but I don't want to learn a new programming language (C++, JavaScript). Is it possible to write Qt application in Python utilizing Qt-Creator as IDE?


Source: (StackOverflow)

Installing gtk development environment

Not new to Ubuntu or programming but I am new to programming in C and gtk. Have been using Quickly for the odd program. I want to play around with C and gtk.

What gtk packages do I need to install to have a working development environment with C?


Source: (StackOverflow)

How to start an app with "Always On Top" set?

There are a couple of applications that I find myself marking as "Always on Top" every time I use them, so I wonder if there is a way to automatically set them as so, whatever way I start them (menu, shell, gnome-do)?


Source: (StackOverflow)

How to develop a System Indicator for Unity?

This is not a duplicate of How to create Unity indicators?. I'm looking for system indicator not application indicator.

Backgound:

From these two questions:

I learned that there are two types of indicators:

All application indicators are handled/showed by indicator-application (a system one). System indicators are showed directly by Unity panel.

Both questions are about adding/removing indicators from login & lock screen. The first was a straight forward setup (when dealing with system indicators). The second was a tough setup (when dealing with app indicators), which needs modifying the source of panel service (unity package) for lock screen and the source of unity-greeter for login screen.

As the case of sysmonitor, to me that was workaround. The best solution is to implement a system indicator instead of an application one.

Topic:

  • Is there a unified API for system indicators (Preferably: Python then C/C++)? Please, reference to the official documentations.

  • Most system indicators are written using Vala programming language. Could any one write small demo for a system indicator using Python or C?

Update:

I found few links that may give a push:

  • In Application Indicators project page, They listed links to AppIndicator-0.3 API (C & Python) used for application indicators.

    They listed also Indicate-0.7 API (C & Python). What is this? Well, it is a DBus messaging channel between Desktop Applications.

  • On other hand, in System Indicators project page, they mentioned:

    System Indicator APIs

    • Messaging Menu using libindicate.
    • Sound Menu using libunity.
    • Date/Time Indicator using Evolution-Data-Server

    They seem listing Data API not Indicator Development API like for Evolution-Data-Server. But not sure about libindicate & libunity. Did any one work with these two libraries?

    Try apt-cache rdepends libunity9 libindicator7 libindicator3-7 to see which indicator is relaying these libraries.

Update2: This to keep interested users updated.

From what I have collected till now, here is the order of possible solutions:

  1. libindicator3-7 (high, Many indicators depend on it)

    I found some test examples in the source, some dummy indicators that I have tried, could be installed in /usr/lib/indicators3/7/, they are shared lib .so. I could get them displayed in Login & Regular Session but Not in Lock Screen.

    However there are some test indicator services, which seems like Unity system ones. I haven't tried them yet.

  2. libindicator7

    From same source as libindicator3-7, from rdepends:

    mate-indicator-applet
    lxpanel-indicator-applet-plugin
    

    It seems to be used to make container for indicators in panels.

  3. libunity9 (low)

    No research yet


Source: (StackOverflow)