Difference between revisions of "User:Elvispre"

From WebOS-Ports
Jump to navigation Jump to search
 
(66 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
''I am known as corpuscle on GitHub, by the way.''
 +
 +
== Working On ==
 +
* Settings' PIN pad layout (to fit on screen in landscape mode on Nexus 4).
 +
* Clock alarms and system wake up.
 +
* requestedWindowOrientation...
 +
* Improve File Manager app.
 +
* Improve Preware 2.
 +
* ieee802.1x Wi-Fi.
 +
 +
https://software.intel.com/en-us/blogs/2014/12/04/connecting-intelr-edison-to-an-ieee-8021x-enterprise-hotspot-via-connman
 +
 +
Connman and 802.1x is a little tricky as per https://together.jolla.com/question/315/how-to-wpa-8021x-enterprise-eduroam-others-gui-wifi-support-needed-workaround/
 +
 +
https://github.com/webOS-ports/org.webosports.app.firstuse/blob/master/qml/WiFiPage.qml#L222
 +
 +
It requires a config file for 802.1x as per https://kernel.googlesource.com/pub/scm/network/connman/connman/+/master/doc/config-format.txt#L99
 +
 +
* https://communi.github.io/ ?
 +
 +
== Notes ==
 +
 +
<code>adb push ~/code/org.webosports.app.calculator/deploy/org.webosports.app.calculator /usr/palm/applications/org.webosports.app.calculator</code>
 +
 +
<code>adb push ~/code/org.webosports.app.settings/deploy/org.webosports.app.settings /usr/palm/applications/org.webosports.app.settings</code>
 +
 +
<code>adb push ~/code/preware/deploy/org.webosinternals.preware /usr/palm/applications/org.webosinternals.preware</code>
 +
 +
<code>adb push ~/code/core-apps/com.palm.app.clock /usr/palm/applications/com.palm.app.clock</code>
 +
 +
<code>adb shell</code><br>
 +
<code>luna-send -n 1 luna://com.palm.applicationManager/launch '{"id":"org.webosports.app.firstuse"}'</code>
 +
 +
"ApplicationInstaller: switch from ipkg to opkg"
 +
 +
<code>adb shell</code><br>
 +
<code>opkg install /media/internal/somefile.ipk</code>
 +
 +
<code>webos20090606</code> (still) accesses the control of developer mode.
 +
 +
last_kmsg from recovery
 +
 +
== Development ==
 +
See [[Getting Started With Development]].
 +
 +
[[Install Android SDK on Ubuntu 14.04 64-bit]] might be useful before that.
 +
 +
* [http://webchat.freenode.net/?channels=webos-ports WebOS Ports on IRC]
 +
 +
* [http://logs.nslu2-linux.org/livelogs/webos-ports/ WebOS Ports on IRC daily logs]
 +
 +
* [http://jenkins.nas-admin.org/ The LuneOS Jenkins server]
 +
 +
* [http://issues.webos-ports.org/projects Issues tracker]
 +
 +
* [https://tree.taiga.io/ My task management board]
 +
 +
* [https://github.com/ GitHub]
 +
 +
* [https://trello.com/b/TIZXk0xw/luna-next That Luna-Next Trello board]
 +
 +
* [https://github.com/enyojs/enyo/wiki/Dupliforking How to duplifork] on GitHub
 +
Although using <code>git remote set-url https://github.com/...</code> will work better than git@ if you don't have ssh set up properly,
 +
and the initial push command is <code>git push origin master</code>.
 +
 +
Can ask about enyo on #enyojs.
 +
 +
Enyo debugging: http://www.slideshare.net/fpatton/lemke-steve-debugging-palm-dev-day
 +
 +
Also: http://www.openwebosproject.org/docs/developer_reference/config/framework_config/#.VkzeVb9WVrQ
 +
 +
== Enyo FilePicker ==
 +
The FilePicker available to enyo 2 apps via webos-lib
 +
https://github.com/webOS-ports/webos-lib/blob/master/source/FilePicker.js
 +
is an enyo 1 "cross app UI" passed params and mediated by
 +
https://github.com/webOS-ports/webos-lib/blob/master/source/CrossAppUI.js#L14
 +
The FilePicker itself is in luna-systemui.
 +
 +
== Toaster ==
 +
 +
<code>source venv/bin/activate</code>
 +
 
== Overview ==
 
== Overview ==
 
'''What is WebOS Ports?'''
 
'''What is WebOS Ports?'''
Line 24: Line 106:
 
rwhitby August 2012:
 
rwhitby August 2012:
 
<blockquote>LunaCE (formerly UberLunah) is a collection of all the best LunaSysMgr improvements for the ''HP TouchPad'', rolled into a single installation package.</blockquote>
 
<blockquote>LunaCE (formerly UberLunah) is a collection of all the best LunaSysMgr improvements for the ''HP TouchPad'', rolled into a single installation package.</blockquote>
 
== Development ==
 
 
=== Help Develop LuneOS ===
 
==== Build and Install LuneOS ====
 
For an easy life, develop on Linux. Ubuntu 12.04 LTS 64-bit works well.
 
 
The [https://github.com/webos-ports/ source code] is on GitHub so you need a copy of [http://git-scm.com/ git] for a start.
 
 
Instructions for building (or just downloading) and installing an image can be reached by selecting a target device from the [[Devices]] page. Notice that there is a LuneOS VirtualBox [[Emulator]] which you can use instead of a target device.
 
 
==== Build System Overview ====
 
I assume that the build system is based on the [http://www.openwebosproject.org/docs/build_guide Open webOS one].
 
 
Set-up is automated
 
<code>
 
$ wget https://raw.github.com/webOS-ports/webos-ports-setup/testing/Makefile
 
$ make setup-webos-ports
 
</code>
 
(but do follow the proper instructions for your device).
 
 
The build itself is based on the [http://www.openembedded.org/wiki/Main_Page OpenEmbedded] (oe) build framework for embedded Linux and is driven by the [https://www.yoctoproject.org/tools-resources/projects/bitbake BitBake] (bb) build engine (rather than make).
 
 
You bitbake a [http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#recipes "recipe"]. This is a simple text file of metadata with the extension .bb indicating how to fetch, build and install something. The system is very modular. One recipe depends on another and there are hundreds of recipes involved in our build.
 
 
The particularly interesting recipes for our purposes, such as <code>webos-ports-dev-package</code>, are in <code>webos-ports/meta-webos-ports/recipes-core/images</code>.
 
 
[[Repository_Layout|Repository Layout]] might make some sense to you now!
 
 
==== Develop! ====
 
If you have made a worthwhile change, our [[Submitting_Contributions|Submitting Contributions]] instructions tell you how to get it pulled into the main line.
 
 
=== Help Develop the Core LuneOS Applications ===
 
 
=== Develop Applications to Run on LuneOS ===
 

Latest revision as of 11:30, 29 October 2016

I am known as corpuscle on GitHub, by the way.

Working On

  • Settings' PIN pad layout (to fit on screen in landscape mode on Nexus 4).
  • Clock alarms and system wake up.
  • requestedWindowOrientation...
  • Improve File Manager app.
  • Improve Preware 2.
  • ieee802.1x Wi-Fi.

https://software.intel.com/en-us/blogs/2014/12/04/connecting-intelr-edison-to-an-ieee-8021x-enterprise-hotspot-via-connman

Connman and 802.1x is a little tricky as per https://together.jolla.com/question/315/how-to-wpa-8021x-enterprise-eduroam-others-gui-wifi-support-needed-workaround/

https://github.com/webOS-ports/org.webosports.app.firstuse/blob/master/qml/WiFiPage.qml#L222

It requires a config file for 802.1x as per https://kernel.googlesource.com/pub/scm/network/connman/connman/+/master/doc/config-format.txt#L99

Notes

adb push ~/code/org.webosports.app.calculator/deploy/org.webosports.app.calculator /usr/palm/applications/org.webosports.app.calculator

adb push ~/code/org.webosports.app.settings/deploy/org.webosports.app.settings /usr/palm/applications/org.webosports.app.settings

adb push ~/code/preware/deploy/org.webosinternals.preware /usr/palm/applications/org.webosinternals.preware

adb push ~/code/core-apps/com.palm.app.clock /usr/palm/applications/com.palm.app.clock

adb shell
luna-send -n 1 luna://com.palm.applicationManager/launch '{"id":"org.webosports.app.firstuse"}'

"ApplicationInstaller: switch from ipkg to opkg"

adb shell
opkg install /media/internal/somefile.ipk

webos20090606 (still) accesses the control of developer mode.

last_kmsg from recovery

Development

See Getting Started With Development.

Install Android SDK on Ubuntu 14.04 64-bit might be useful before that.

Although using git remote set-url https://github.com/... will work better than git@ if you don't have ssh set up properly, and the initial push command is git push origin master.

Can ask about enyo on #enyojs.

Enyo debugging: http://www.slideshare.net/fpatton/lemke-steve-debugging-palm-dev-day

Also: http://www.openwebosproject.org/docs/developer_reference/config/framework_config/#.VkzeVb9WVrQ

Enyo FilePicker

The FilePicker available to enyo 2 apps via webos-lib https://github.com/webOS-ports/webos-lib/blob/master/source/FilePicker.js is an enyo 1 "cross app UI" passed params and mediated by https://github.com/webOS-ports/webos-lib/blob/master/source/CrossAppUI.js#L14 The FilePicker itself is in luna-systemui.

Toaster

source venv/bin/activate

Overview

What is WebOS Ports?

WebOS Ports is an open source firmware distribution for smartphones and tablet computers based on the Open webOS mobile operating system.

Basically, it is the (Open) webOS "Community Edition" project. You will see some old references to WOCE for that reason.

Read about the supported devices here.

What is Open webOS?

When HP pulled the plug on what was left of Palm, it produced an open source version of the webOS that ran on the HP Touchpad. That is Open webOS. LG, who bought the Palm division off HP, sponsor it now.

We have some cool material on it here.

What is LuneOS?

LuneOS is the name of WebOS Ports' Open webOS. Lune refers to the user interface in legacy webOS, LunaSysMgr.

What is LunaCE?

Luna Community Edition. It is a Touchpad thing.

rwhitby August 2012:

LunaCE (formerly UberLunah) is a collection of all the best LunaSysMgr improvements for the HP TouchPad, rolled into a single installation package.