ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #05417
Re: Features after installing uburntu mobile os to nexus 4
On 11/30/2013 09:22 AM, David Marceau wrote:
> Hi Jupiter,
>
> On 11/30/2013 05:25 AM, jupiter wrote:
>> Hi,
>>
>> I am new to Ubuntu mobile, sorry for asking basic questions.
>>
>> Are the features currently available for Ubuntu on Nexus 4 including
>> Chromium, VLC, bash terminal and USB mount on laptop running on any
>> distributions of Linux to allow file transfer between Nexus 4 and the
>> other Linux hosts (Currently Nexus 4 Android cannot be mounted to the
>> Linux hosts)?
> To get the best experience with your Nexus 4, it is recommended to have
> Ubuntu Saucy version on your desktop for starters.
>
> Everything GNU/Linux that you are used to doing at the terminal can be
> done from the Ubuntu Phone terminal and from adb shell on your desktop
> computer.
>
> File transfer is a piece of cake from your favourite GUI file manager as
> soon as you plug your nexus 4 into your desktop computer. You can also
> do scp, adb pull/push as usual from the terminal. It is actually
> mounted, but the actual descriptor for the mount is VERYLONG so doing a
> straight cp is a bit challenging but doable.
>
>>
>> Can I compile C / C++ or Python applications on Ubuntu desktop and
>> running them on both Ubuntu desktop and mobile on Nexus 4?
> You can compile apps for your phone through ubuntu-sdk. RTFM. It's the
> qtcreator gui that once your nexus 4 is plugged, it recognizes it and
> you can build, install and run on your device directly.
> Build->Ubuntu->Run on device. Build->Run runs the same app on the desktop.
>
> One other recommendation is to get the sources for qtmultimedia in order
> to see their examples for bridging c++ with QML which seems to be
> trendy. I found the camera-app particularly useful as an example.
>
>>
>> Where can I buy a dock system to connect Nexus4, keyboard and mouse
>> (not to use wireless keyboard and wireless mouse)?
>>
> There are no docks with a wired keyboard. Your only option is OTG for a
> wired keyboard/mouse. It should be possible to do OTG. The hardware is
> built for it, but it was not enabled in Android 4.2.2.
> http://www.amazon.co.uk/Fosmon-Adapter-Samsung-Galaxy-Skyrocket/dp/B009HU8ZO2
> http://google-nexus-phone.blogspot.ca/2012/12/nexus-4-does-not-support-otg-connection.html
> This link says that you can't OTG connect to nexus4, but the hardware
> should be able to support it. I understand there was a tweak done in
> Android 4.3 that does turn on the OTG connectivity, but there is no
> reason why it couldn't be backported into Android 4.2.2 & Ubuntu Phone
> if it's not there. Once primary reason for wanting usb otg is to dock
> and wire up a classic keyboard to your phone. As it stands, I prefer to
> directly connect the phone to the desktop computer and then adb shell
> access into the nexus 4. As a developer has been adequate. One
> recommendation is to get the terminal to resize to your desktop window
> in order to type in long commands and not have a command wrap on the
> same line when it's too long. Tweak your desktop to include the sd
> alias as described here.
> http://askubuntu.com/questions/372649/while-testing-ubuntu-touch-how-can-i-make-adb-shell-have-the-correct-terminal
>
> One other thing. You might want to dual-boot your phone. I wrote an
> easy to follow recipe here:
> http://askubuntu.com/questions/360585/nexus-4-ubuntu-dual-boot/383371#383371
>
> I hope it helps.
>
> Cheers,
> David Marceau
>
>
>> Thank you.
>>
>> Kind regards,
>>
>> jupiter
>>
>
Follow ups
References