or want to port it to a new target, you need to set up your working environment to build android from source. this setup is more or less the same whether you are building aosp or a project based on it such as cyanogenMoD, seandroid or Ubuntu touch.
If you are new to building Android sources you may want to check out this document and others in the Getting Started section on the Google Documentation Site, as it covers the basics and terminology of aosp building. while Ubuntu touch uses some hel
2013), Nexus 4, and Nexus 5.
On the other hand, Ubuntu Touch only supports Nexus 4 (mako), Nexus 7 (2013) tablets (flo), and Nexus 10 tablets (manta), so unless you have these devices, otherwise, you may not be able to perform these steps safely (it may be able to work, but it is not guaranteed to make your device brick and/or lose all the data .)
First, you need an unlocked device. Since you have a Nexus device, this should not be a problem. You al
. Open the terminal in Ubuntu ".
Type Sudo su to enter the root permission.
• Type sudo add-apt-repository ppa: phablet-team/tools.
• Type sudo apt-get update and wait for completion.
• Type sudo apt-get install phablet-tools Android-tools-adb android-tools-fastboot.
Step 3: Check the mobile phone status. You need to unlock the Nexus device in your hands. Enable "USB debugging" in the developer option to co
Refs:
Https://wiki.ubuntu.com/Touch/Install#Step_1_-_Desktop_Setup
Https://wiki.ubuntu.com/Touch/Building
1) it seems that Ubuntu 12.04 or a later version is required, because adding the source on 10.04 is not successful (or it may be due to the company's network restrictions)
For development you can run any 64-bit desktop version of ubuntu between 12.04 lts and 13.04.
2) basic Android compiling environment. For details, refer to Google's website.
3) Ubuntu Development Environment
sudo add-apt
tortoisegit:http://download.tortoisegit.org/tgit/previews/msysgit:https://msysgit.github.io/Question one:"The program ' repo ' was currently not installed. You can install it by typing:sudo apt-get install Phablet-tools "Workaround: Install Phablet-tools# sudo apt-get install Phablet-tools# sudo apt-get install--fix-missing# sudo apt-get update# sudo apt-get inst
Strange shape of the small screen mobile phone all-powerful era is gone forever. In fact, industry trends in recent years have shown that large-screen handsets, or giant-screen handsets, will dominate for a long time. And now, it is time to sum up the past few years, the face of large screen mobile phones, the designer's dereliction of duty.
How to define a big screen mobile phone?
In fact, simply called the big screen is not particularly accurate, its English name is more image: Phone+table
In the previous example, we could "use the SQLite offline storage API to store the app's settings". We also show how to store the JSON we need in a local file in the example "How to dynamically modify the data in the Listmodel in the QML application and store it in JSON format". In this article, we will use the localstorage provided by Qtquick to store the data we need.
To illustrate the problem, I'll start by creating a template based on the "QtQuick App with QML UI (qmake)". First we revise o
the previous tutorial. You only need to replace the following:
Step 5: Start to install the commands in Ubuntu Touch.
Sudo phablet-flash ubuntu-system -- no-backup
Change
Sudo phablet-flash ubuntu-system -- channel trusty
You can.
Note:
If the image fails to be flushed, the following error occurs:
ERROR: phablet-flash: Installation is taking too long or an error
:
/home/phablet/.cache/com.ubuntu.developer.liu-xiao-guo.readenv
/home/phablet/.config/com.ubuntu.developer.liu-xiao-guo.readenv
/home/phablet/.local/share/com.ubuntu.developer.liu-xiao-guo.readenv
/run/user/32011/confined/com.ubuntu.developer.liu-xiao-guo.readenv
The source code for the entire program can be found in the following addre
see the "Weibo.ubuntu" package information shown above, we can enter the following command:
phablet@ubuntu-phablet:~$ Click Info weibo.ubuntu
Here we can see the information that Manifest.json sees. According to the above method, we can find our corresponding scope ID.
In addition, we can get the application or scope ID by the following method.
The scope ID has been clearly told in this case.
-repository ppa: phablet-team/toolsSudo apt-get updateSudo apt-get install ubuntu-emulator
After installation, you can create and run instances.First, we need to create an instance named 'ubuntu touch' and use the following command to create it:
Sudo ubuntu-emulator create UbuntuTouch
In Ubuntu 12.04, you may see the following error message:
Error while converting ~ /. Local/share/ubuntu-emulator/UbuntuTouch/system. img: Unknown option 'compat'
The sp
Click package on your mobile phone.Start a Terminal. We can run the following command to complete the installation: $ adb push com. ubuntu. developer. liu-xiao-guo.test2_0.1_all.click/tmp $ adb shell "sudo-iu phablet pkcon -- allow-untrusted install-local/tmp/com. ubuntu. developer. liu-xiao-guo.test2_0.1_all.click "we can also directly log on to the phone and then install in the phone: $ adb push *. click/home/p
, decode (lock_date, null, 'unlocked', 'locked') status from t;
USERNAME STATUS
--------------------------------------
SYS unlocked
SYSTEM unlocked
OUTLN unlocked
CSMIG unlocked
SCOTT unlocked
EYGLE
code for our clock application.2) Compile and deploy the clock application first we enter the application's more directory, and enter the following command:After compiling, we can find that there is a file in this directory with the click Extension. It is the installation file that we need. We can start deploying it to our phone. We first enter the following command:$ADB Push Com.ubuntu.clock_3.2.163_armhf.click /home/phablet/This pushes the click F
following command to install the click installation package on your mobile phone or simulator. Note that the name of the click package we produced above contains"
All", Indicating that it is an installation package applicable to both mobile phones and simulators. Open a Terminal and run the following command:
liuxg@liuxg:~/Downloads$ adb push wqqcom-uii.liu-xiao-guo_0.1_all.click /home/phablet
Then, run the following command:
liuxg@liuxg:~/Downlo
For some Ubuntu geek, they sometimes prefer to use the command line to launch apps on the phone and debug our app in this way. We can enter into the shell of the phone in the following ways:
We can find the following pre-installed applications on the phone:
For this application, we can start our application with the following commands:
phablet@ubuntu-phablet:~$ Ubuntu-app-launch Messaging-a
Unity3D game development: quickly creating a popular level system, unity3d Game Development
Dear friends, welcome to my blog. I am Qin Yuanpei and my blog address is blog.csdn.net/qinyuanpei.Today I want to share with you the more popular checkpoints on mobile platforms, the level system is usually used for stand-alone mobile games, such as Angry Birds and defending radish, to organize the game content, players can obtain scores through the unlocked
specified when the lock is created, and in the linuxthreads implementation there is only one lock type attribute __mutexkind, and the different lock types behave differently when attempting to lock an already locked mutex, that is, whether to block the wait. There are three values to choose from: · PTHREAD_MUTEX_TIMED_NP, this is the default value (direct write null is the default value), that is, the normal lock (or fast lock). When a line is Cheng, the remaining thread that requests the lock
This article mainly introduces how to implement the login mask effect in js, and involves related techniques related to javascript operation page element styles. It has some reference value, for more information about how to implement the login mask effect in js, see the example in this article. Share it with you for your reference. The details are as follows:
Mask The first 15 years of life were some teaching levels, which were weak. You still have no way to skip them ". As a beginne
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.