← Back to team overview

ubuntu-phone team mailing list archive

Re: Launcher image for homemade apps

 

In the "HUD" you can only close the app on the far left. All other apps are uncloseable.
If you can't close the calculator but have it's icon is on the far left...
... I can't think of a possible solution.

Kind regards
Simon

Am 03.03.2013 12:11, schrieb Andreas Poulsen:
> Thanks a lot
> I've found little workaround that I used to install the newest calculator app on the device. Here is what I did:
> I downloaded the code:
>     $ bzr branch lp:ubuntu-calculator-app
> I copied it to my Nexus 7 device:
>     $ scp -r ubuntu-calendar-app/ phablet@192.168.1.12
> Now, I edited the file "/usr/share/qml-phone-shell/Applications/applications.js" using vim and changed:
> "'calculator-mockapp.desktop': {
>     'name': 'Calculator',
>     'icon': 'calculator',
>     'exec': '/usr/bin/qmlscene /usr/share/demo-mock-apps/calculator.qml',
>     'stage': SideStage
> }," to:
> "'calculator-mockapp.desktop': {
>     'name': 'Calculator',
>     'icon': 'calculator',
>     'exec': '/usr/bin/qmlscene /home/phablet/calculator.qml',
>     'stage': SideStage
> },"
> Now, when i click the calculator icon, it opens the new calculator app. Be aware: You may not edit the name of the app, E.g: from calculator-mockapp.desktop to my-calculator.desktop. This will make the launcher icon unusable. And a little bug: Once I've opened the app, I can't close it. When you slide from bottom edge and up to the magnifying glass, the app doesn't close when I press the "x". Any ideas for workarounds?
> 
> Regards Andreas
> 
> Den 27-02-2013 19:59, Octav14n skrev:
>> No, currently the available (displayed) apps are hardcoded.
>>
>> (here's the code: https://bazaar.launchpad.net/~unity-team/unity/phablet/view/head:/Applications/applications.js )
>>
>>
>> Greetings
>> Simon
>>
>> PS: Sorry Andreas for the double-post, I hit "Send" to fast before ;)
>>
>> Am 27.02.2013 19:53, schrieb Andreas Poulsen:
>>> Hi all
>>> Is it currently possible to install an app on ubuntu phone with a launcher image on the App Lens?
>>> It is somewhat stupid that you have to connect to the phone with a computer to launch your apps.
>>> Regards Andreas
>>>
> 

Attachment: 0x7CA11280.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


References