Difference between revisions of "User:Elvispre"

From WebOS-Ports
Jump to navigation Jump to search
(FilePicker notes)
Line 37: Line 37:
  
 
<code>webos20090606</code> (still) accesses the control of developer mode.
 
<code>webos20090606</code> (still) accesses the control of developer mode.
 
== TZs ==
 
 
http://tinypic.com/r/4tq0q1/8
 
 
https://github.com/webOS-ports/org.webosports.app.firstuse/blob/master/qml/TimeZonePage.qml
 
 
https://raw.githubusercontent.com/webOS-ports/luna-init/webOS-ports/master/src/ext-timezones.json
 
 
Seems https://github.com/openwebos/luna-init/blob/master/src/gen-ext-timezones.py is the culprit a bit
 
 
What's the sequence of importing the timezones into luna-sysservice?
 
 
This one parses the tzdata: https://github.com/openwebos/luna-sysservice/blob/master/Src/TzParser.cpp
 
 
But it seems also ext-timezones.json is used
 
 
https://github.com/openwebos/luna-sysservice/blob/master/Src/TimePrefsHandler.cpp
 
  
 
== Development ==
 
== Development ==
Line 82: Line 64:
  
 
Also: http://www.openwebosproject.org/docs/developer_reference/config/framework_config/#.VkzeVb9WVrQ
 
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.
 +
 +
So far as I can tell, the params do not reach it. I tried putting some logging in here
 +
https://github.com/webOS-ports/luna-systemui/blob/webOS-ports/master/app/FilePicker/FilePickerApp.js#L81
 +
but that (this.log) did not do anything so I have to rely on how the picker behaves (just picks all possible file types all the time).
 +
 +
I would raise an Issue but I don't know what to raise it against.
 +
WebAppManager perhaps?
  
 
== Overview ==
 
== Overview ==

Revision as of 15:30, 31 January 2016

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

Working On

http://wiki.openmoko.org/wiki/Manually_using_Bluetooth

http://superuser.com/questions/373453/802-1x-what-exactly-is-it-regarding-wpa-and-eap

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 ~/dev/org.webosports.app.calculator/deploy/org.webosports.app.calculator /usr/palm/applications/org.webosports.app.calculator

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

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

adb push ~/dev/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.

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.

So far as I can tell, the params do not reach it. I tried putting some logging in here https://github.com/webOS-ports/luna-systemui/blob/webOS-ports/master/app/FilePicker/FilePickerApp.js#L81 but that (this.log) did not do anything so I have to rely on how the picker behaves (just picks all possible file types all the time).

I would raise an Issue but I don't know what to raise it against. WebAppManager perhaps?

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.