Реклама показывается только незарегистрированным пользователям. Вход или Регистрация

webOS 3.0 SDK - набор разработчика для webOS 3.0

Программирование для webOS, инструменты разработки, документация, обмен опытом

Re: Enyo SDK для webOS

Сообщение alone » 09 апр 2011, 08:52

Кто там говорил, что хрюша не поддерживается? :)
Скачал, установил, все отлично работает на Windows XP.

п.с. Кстати, кто знает новые клавиши управления в эмуляторе TouchPad (webOS 3.0)? Старые из 1.X и 2.x почему-то не работают..
alone

 
Сообщения: 202
Зарегистрирован: 07 ноя 2010, 23:35
Благодарил (а): 1 раз.
Поблагодарили: 14 раз.
Планшет: HP TouchPad Wi-Fi 16Gb

Re: Enyo SDK для webOS

Спонсор » 09 апр 2011, 08:52

Реклама показывается только незарегистрированным пользователям. Войти или Зарегистрироваться
Спонсор

 
Сообщения: 100
Зарегистрирован: 15 июл 2014, 18:43
Благодарил (а): 0 раз.
Поблагодарили: 0 раз.

Re: Enyo SDK для webOS 3.0

Сообщение alone » 09 апр 2011, 12:58

Китайцы уже выложили SDK в онлайне, поэтому могу поделиться ссылкой ;)
alone

 
Сообщения: 202
Зарегистрирован: 07 ноя 2010, 23:35
Благодарил (а): 1 раз.
Поблагодарили: 14 раз.
Планшет: HP TouchPad Wi-Fi 16Gb

Re: Enyo SDK для webOS 3.0

Сообщение Palmfan » 09 апр 2011, 15:36

alone писал(а):Китайцы уже выложили SDK в онлайне, поэтому могу поделиться ссылкой ;)

Отписался в личку. Тоже есть желание попробовать.
Palmfan

 
Сообщения: 1581
Зарегистрирован: 30 окт 2010, 21:51
Благодарил (а): 35 раз.
Поблагодарили: 125 раз.

Re: Enyo SDK для webOS 3.0

Сообщение Dnam » 13 апр 2011, 23:13

Секрет Полишинеля. На Precenral'е слили всю инфу по SDK 3.0.
Кому нужно, webOS SDK 3.0 можно скачать здесь: http://u.115.com/file/f110044ec6
http://www.rayfile.com/zh-cn/files/5ece ... 5c55db73d/
Dnam

 
Сообщения: 131
Зарегистрирован: 20 ноя 2010, 06:04
Благодарил (а): 2 раз.
Поблагодарили: 3 раз.

Re: Enyo SDK для webOS 3.0

Сообщение alone » 16 апр 2011, 10:59

Вышел webOS 3.0 SDK beta 2. Для тех, у кого есть доступ, качаем по старой ссылке. У кого еще нет - регаемся в программе или ждем китайцев :).
alone

 
Сообщения: 202
Зарегистрирован: 07 ноя 2010, 23:35
Благодарил (а): 1 раз.
Поблагодарили: 14 раз.
Планшет: HP TouchPad Wi-Fi 16Gb

webOS SDK 3.0 Beta 3

Сообщение alone » 04 май 2011, 08:25

Уже можно скачать webOS SDK 3.0 Beta 3:

Release Notes - webOS SDK 3.0 Beta 3

webOS 3.0 SDK is a major update, providing developers with a wealth of new features across the software platform. In addition to the changes detailed in the release notes from Beta 1 and Beta 2, the Beta 3 release includes the following:
Enyo Framework

Improved Keyboard Support

The keyboard may now be displayed below application content, thus resizing it (default); or it can be displayed on top of application content. To set this new keyboard mode, use the following API:
Код: Выделить всё
enyo.keyboard.setResizesWindow(false)


In addition, a new system for keeping the cursor in view has been added to Enyo. The text cursor should now always be visible when the keyboard is displayed. This system is implemented via enyo.Scroller. It is possible to construct an app that cannot keep the text cursor in view (i.e., by not using a scroller where needed), but this should be uncommon.
Tools and Installers

Emulator

The 3.0 Emulator image now only supports TouchPad screen resolutions. To test smaller screen resolutions, please use a 2.1 Emulator image.

When starting the "Palm webOS Emulator" application on Windows, if you do not have any other emulator images installed (i.e.:from a previous SDK installation) then the emulator selection list may draw incorrectly and the "Start Emulator" button may be missing.Either double-click the emulator ("SDK 3.0...") to start it, or resize the "Palm webOS Emulator" window slightly to force it to draw properly.
Plugin Development Kit

The PDK now includes a new sample application, FileTree, as well as an updated version of ShapeSpin, rewritten using the Enyo framework.
Code Samples

Data

Updated browser app id so that launching it from the Ajax Get example works properly on the Emulator.
Media

Updated video object code to include CSS styling, which is required currently to display a video object on device.
New Samples

    CrossAppLaunch - Demonstrates launching another third-party app and passing it launch parameters.

    CrossAppTarget - Demonstrates how to process launch parameters.

    EnyoKeyManager - Demonstrates using the Key Manager.
Documentation

The documentation set includes new articles covering webOS Printing and the noWindow field from appinfo.json.

Also, updates have been made to the TouchPad Design Guidelines document and the Enyo Tutorial, which now reflects the renaming of several controls in Enyo 0.9.
Known Issues and Limitations

Code Samples

BadFont

    On Mac OS X, the "BadFont" sample application works in the Emulator but not on the device. The Mac build script, packageit.sh, always runs the buildit_for_emulator.sh script. You may create a device build by changing this to use buildit_for_device.sh.

    On Windows, "BadFont" works on the device, but not in the Emulator. The Windows build script, packageit.cmd, defaults to creating a device build. You may create an Emulator build by specifying emulator as a command-line argument.
Documentation

File download links may not work in all browsers. If you experience problems with file downloads, refer to the instructions for locating the file(s) in your local machine's directory structure.



Index of /wp-content/uploads/private/early_access_3.0b3_build625 Name Last modified Size Description

Parent Directory -
3.0b1_release-notes.html 28-Apr-2011 00:13 30K
3.0b2_release-notes.html 02-May-2011 21:50 16K
3.0b3_release-notes.html 28-Apr-2011 00:11 3.9K
Eclipse_Update_Site-hud1-625.zip 27-Apr-2011 22:29 1.8M
HP_webOS_SDK-Win-3.0.0-625-x64.exe 27-Apr-2011 22:36 202M
HP_webOS_SDK-Win-3.0.0-625-x86.exe 27-Apr-2011 22:39 198M
Palm_webOS_SDK.3.0.0.625.dmg 27-Apr-2011 22:47 310M
WebOS_TouchPad_Design_Guidelines-2011_04_24.pdf 02-May-2011 23:25 1.4M
docs-sdk.zip 27-Apr-2011 22:29 12M
enyo-preview-0.9.zip 27-Apr-2011 22:50 7.9M
palm-novacom_1.0.73_amd64.deb 27-Apr-2011 22:39 53K
palm-novacom_1.0.73_i386.deb 27-Apr-2011 22:39 47K
palm-sdk_3.0.0-svn438416-pho625_i386.deb 27-Apr-2011 22:42 181M
webOS_TouchPad_Wireframe_Stencil-2011_03_28_Watermarked.pdf 28-Apr-2011 00:14 2.2M
webOS_Touchpad_Wireframe_Stencil-2011_03_28.ai 28-Apr-2011 00:14 1.9M


Линки на скачку все там же: https://developer.palm.com/distribution ... 97&t=13171
alone

 
Сообщения: 202
Зарегистрирован: 07 ноя 2010, 23:35
Благодарил (а): 1 раз.
Поблагодарили: 14 раз.
Планшет: HP TouchPad Wi-Fi 16Gb

HP webOS SDK 3.0 Beta 4

Сообщение alone » 18 май 2011, 22:04

Если кто еще не в курсе, уже пора скачивать webOS SDK 3.0 Beta 4 :)

Что нового:

Release Notes - webOS SDK 3.0 Beta 4


webOS 3.0 SDK is a major update, providing developers with a wealth of new features across the software platform. In addition to the changes detailed in the release notes from the previous Betas, the Beta 4 release includes the following:
Tools and Installers

Emulator

    As of webOS-SDK 3.0.0.627 (Beta 4), the webOS Emulator now supports VirtualBox 4.0.

    The Emulator should now start up successfully after a clean (first-time) install of the SDK and VirtualBox on Mac OS X.
Enyo Framework

enyo
  • Generalized fetchAppInfo; added fetchFrameworkConfig and fetchRootFrameworkConfig.
  • In Object, route enyo.warn/info/error to corresponding methods in console.* where supported; always pre-concat arguments on webOS devices.
DomNode
  • Improved style-text parser to handle style values that contain ':'.
  • In DomNodeBuilder, added documentation for canGenerate property.
windows
  • In Popup, added throb flag to openPopup() API. This will allow apps to specify when new popups should engage the LED throbber.
  • Should now no longer be able to focus an input outside a popup when it is modal: true.
  • Added docs for clickableWhenLocked, an optional, previously secret dashboard attribute.
  • Added windowShown event back again, now that sysmgr will be supporting it.
globalization (g11n)
  • The formatting part of the check-in was missing in 0.9.
  • Number formatting was broken for many locales because we weren't using the format files that had the number/currency info in them.
  • Number formatter can now format arbitrary monetary amounts in any currency.
  • If the date/time string translations for the current formats locale do not exist, they now default to the translations for the UI locale, and if those don't exist, then to US/English. Before, they were just left undefined, which caused exceptions elsewhere. (In the Calendar app, for example.)
  • Format JSON files for each locale now include information on how to format the hours portion of a time by itself.
  • Reload the enyo internal resource bundle when enyo.g11n.setLocale is called. (If enyo actually exists.)
keyboard
  • Implemented custom system for keeping text cursor in view via enyo.Scroller.
  • New API: Call enyo.keyboard.setResizesWindow(inResizes) to set the keyboard mode so that the keyboard either resizes application content (default) or is displayed on top of it.
SlidingPane
  • resizeHandler calls inherited.
Scroller
  • Fixed effectScrollAccelerated() to use "css-casing" instead of "camel-casing" for the domStyles property.
  • requestAnimationFrame polyfill and integration into ScrollMath.js.
  • ScrollMath frame-based scrolling feature.
  • In VirtualScroller, made pageTop default to 0 instead of -1; -1 causes a problem when the list is hidden or otherwise has 0 height
Group
  • Changed group box CSS to use repeat instead of stretch for the border image.
  • In RowGroup, allow controls to decide how to style their ordering class.
ProgressBar
  • Complete any animation prior to setting a new position.
Slider
  • While dragging, disallow position changes that are not a result of dragging.
  • Make sure change event is called when user clicks to new position and control does not animate.
Addressing
  • Skip failed contact service calls; return all correct results when all contact queries have returned.
  • Use email keyboard for AddressingPopup.
Menu
  • Corrected styling of bottommost item (it no longer has a line under it).
  • Made HelpMenu a subkind of AppMenuItem.
  • Reverted change to MenuItem that called doClick before closing the menu.
Image
  • Since it's an error to set the innerHTML of an <img>, enyo.Image.renderDomContent() now overrides the superclass implementation with a no-op function.
  • In SizeableImage, made update corresponding to the change in sizeableMixin.
ProgressBar
  • Allow layoutKind to be set on client.
  • In ProgressBarItem, changed CSS to use flexible button images.
  • Also in ProgressBarItem, corrected rendering of "100%".
WebView
  • Fixed calculation of content offset.
  • Added getTextCaret API.
  • Added alternate method to reply to <select>.
  • Set page identifier before BrowserServer connection.
  • Reconnect to BrowserServer if BrowserAdapter is reinitialized.
  • Made ignoreMetaTags a property.
  • Refactored maxZoom/minZoom/meta viewport.
  • Don't smartzoom if already the right size.
  • Made smartzoom respect max zoom set by meta viewport.
  • Boxes that don't zoom full screen due to max zoom were not zoomed correctly.
  • Cache freed popup controls.
  • Clear cached popups on new page.
  • In BasicWebView, enable scrolling caret to view.
  • Also in BasicWebView, prevent dragstart.
Drawers
  • Removed open and close methods from BasicDrawer.
  • In DividerDrawer, hooked up onOpenAnimationComplete event.
Buttons
  • In CustomButton, set depressed property on init.
  • In IconButton, removed iconClassName (which was not working) and replaced it with an iconIsClassName flag, which makes the icon property accept a CSS class.
  • Added disabled state for ToolButton.
Hybrid
  • Fixed problems with managing lifetime of enyo.Hybrid kind when hiding/showing hybrid objects.
  • Removed the obsolete readyCallbackName property, since that's handled in RemoteAdapter now.
WebService
  • 0 and unknown status were being treated as successful.
PalmService
  • Clarified when onSuccess and onFailure are called for PalmService.js; added property documentation.
ContactsUi
  • Added new contactsui.
  • Contactsui has moved to enyo-lib and now needs its own resource bundle.
DbPages
  • Record request object for pages that are inflight so they may be canceled.
MockDb
  • Allow fake requests to be canceled.
Input
  • Added tabIndex.
  • Added alwaysLooksFocused.
  • (optimization) Eliminated internal spacer control.
DatePicker
  • Added ability to hide various components of the picker. hideDay, hideMonth and hideYear can be toggled dynamically.
Code Samples

CrossAppLaunch


The sample has been altered to cross-app launch the "CrossAppTarget" sample and pass it launch parameters.
CrossAppTarget


The sample has been altered to demonstrate cross-app launch (from the "CrossAppLaunch" sample) and how to process passed-in launch parameters.
New Samples

    BluetoothSPPGPS - Demonstrates the Bluetooth service (Mojo sample port).

    Canvas - Demonstrates basic HTML Canvas functionality.

    PrintSample - Demonstrates the printing API.
Documentation


The documentation set includes new articles covering the following topics:

Layout and Containers
  • Drawers
  • Toolbars
  • Groups
  • Popups

Controls
  • Text Fields
  • Pickers
  • Progress Indicators
  • Scrims
Known Issues and Limitations

PDK


The new toolchain for building PDK apps for the Emulator may not work on Mac OS X 10.5 (Leopard), but should work on Mac OS X 10.6 (Snow Leopard).
Tools and Installers

Emulator

    On Windows, the Emulator resolution list is drawn incorrectly if there is only one choice in the list.

    When scrolling up and down in the "Device Info" application, text becomes overlapped.

    The "Photos & Videos" application renders badly when you drag the right panel over the Libraries panel.
Applications

Browser


When loading http://www.google.com, the virtual keyboard opens automatically (as expected), but the page scrolls so that the search box is no longer in view.
Code Samples

BadFont

    On Mac OS X, the "BadFont" sample application works in the Emulator but not on the device. The Mac build script, packageit.sh, always runs the buildit_for_emulator.sh script. You may create a device build by changing this to use buildit_for_device.sh.

    On Windows, "BadFont" works on the device, but not in the Emulator. The Windows build script, packageit.cmd, defaults to creating a device build. You may create an Emulator build by specifying emulator as a command-line argument.
Documentation


File download links may not work in all browsers. If you experience problems with file downloads, refer to the instructions for locating the file(s) in your local machine's directory structure.



Parent Directory -
3.0b1_release-notes.html 11-May-2011 21:32 30K
3.0b2_release-notes.html 11-May-2011 21:32 16K
3.0b3_release-notes.html 11-May-2011 21:32 3.9K
3.0b4_release-notes.html 11-May-2011 21:23 11K
Eclipse_Update_Site-hud15-627.zip 11-May-2011 17:10 1.8M
HP_webOS_SDK-Win-3.0.0-627-x64.exe 11-May-2011 17:12 199M
HP_webOS_SDK-Win-3.0.0-627-x86.exe 11-May-2011 17:13 196M
Palm_webOS_SDK.3.0.0.627.dmg 11-May-2011 17:17 308M
WebOS_TouchPad_Design_Guidelines-2011_04_24.pdf 11-May-2011 21:32 1.4M
docs-sdk.zip 11-May-2011 21:23 12M
enyo-preview-0.9.zip 11-May-2011 17:50 30M
palm-novacom_1.0.73_amd64.deb 11-May-2011 17:13 53K
palm-novacom_1.0.73_i386.deb 11-May-2011 17:13 47K
palm-sdk_3.0.0-svn446824-pho627_i386.deb 11-May-2011 17:14 179M
webOS_TouchPad_Wireframe_Stencil-2011_03_28_Watermarked.pdf 11-May-2011 21:32 2.2M
webOS_Touchpad_Wireframe_Stencil-2011_03_28.ai 11-May-2011 21:32 1.9M


Качать отсюда: https://developer.palm.com/distribution ... 97&t=13635
alone

 
Сообщения: 202
Зарегистрирован: 07 ноя 2010, 23:35
Благодарил (а): 1 раз.
Поблагодарили: 14 раз.
Планшет: HP TouchPad Wi-Fi 16Gb

Re: Enyo SDK для webOS 3.0

Сообщение Palmfan » 27 май 2011, 16:58

На конференции webOS Connect в Париже была озвучена инфа о том, что со следующей недели будет снята NDA с Enyo. Что это принесет нам хорошего, кто подскажет?
Palmfan

 
Сообщения: 1581
Зарегистрирован: 30 окт 2010, 21:51
Благодарил (а): 35 раз.
Поблагодарили: 125 раз.

Re: Enyo SDK для webOS 3.0

Сообщение rburakou » 27 май 2011, 23:41

Думаю:
1. близость релиза тачпада
2. возможность писать на enyo всем желающим, а не только тем, кого пустили в early access.
rburakou

 
Сообщения: 99
Зарегистрирован: 08 янв 2011, 14:49
Благодарил (а): 6 раз.
Поблагодарили: 14 раз.

Re: Enyo SDK для webOS 3.0

Сообщение alone » 30 май 2011, 07:09

HP / Palm торопятся успеть к выпуску TouchPad и Pre 3. Уже можно скачать очередную бету webOS SDK 3.0 Beta 5. Список фиксов и нововведений гораздо больше обычного.


Release Notes - webOS SDK 3.0 Beta 5

webOS 3.0 SDK is a major update, providing developers with a wealth of new features across the software platform. In addition to the changes detailed in the release notes from the previous Betas, the Beta 5 release includes the following:

Enyo Framework

In this release, the Enyo framework has been updated from version 0.9 to 0.10. The new version is not 100% backward-compatible with the previous one. For developers who still need access to 0.9 while they update their apps to 0.10, we've kept Enyo 0.9 available as a download from the seeding site in the deprecated folder. For Emulator testing, it is also still included in the HP webOS SDK 3.0.0.631 (Beta 5) Emulator image.

Please be aware that any apps released on the TouchPad will need to be compatible with the changes made in Enyo 0.10, so updating to Enyo 0.10 should be a priority; for most developers, the changes should be straightforward.

A list of significant framework changes follows.

webOS Bridge

The webOS bridge package is now loaded by default. This package allows service calls to be made from desktop browsers to locally attached (USB) devices, using a Java applet and novacom.

The load-time option nobridge is available to disable the bridge. Usage:
Код: Выделить всё
http://localhost/hp/someapp/?nobridge


or
Код: Выделить всё
<script src="../../enyo/0.10/framework/enyo.js" launch="nobridge"type="text/javascript"></script>


Separate multiple flags with ampersand (&), e.g.:
Код: Выделить всё
http://localhost/hp/someapp/?nobridge&debug


Application Events

Before Enyo 0.10, global events such as back or windowRotated were sent to the first constructed component (the 0th component). Now these events are sent to instances of the ApplicationEvents component.

You will not see global events until you update to use an ApplicationEvents component. The change is pretty simple.

Code that used to look like this...
Код: Выделить всё
...windowRotatedHandler: function() {/ handle orientation change}


...should be replaced like so:
Код: Выделить всё
components: [...{kind: "ApplicationEvents", onWindowRotated: "windowRotated"}...],...windowRotated: function(inSender) {/ handle orientation change}


Multiple instances of ApplicationEvents may be created in an application. Every instance will be notified on a global event and applications are responsible for resolving conflicts.

Here are some other examples of global events:
  • applicationRelaunch
  • windowActivated
  • windowDeactivated
  • windowHidden
  • windowShown
  • windowParamsChange
  • windowRotated
  • openAppMenu
  • closeAppMenu
  • unload

HTML content

    Converted getContent to getInnerHtml in DomNodeBuilder and sub-kinds.

    An HTML content filter has been introduced into contentChanged in DomNodeBuilder; set allowHtml: true to defeat the filter.

    Note that you should not set the content property of a component directly. Doing so will bypass the HTML filter.

Keyboard

Manual keyboard mode has been added. It is off by default. Call enyo.keyboard.setManualMode(true) to enable it and then pass false to restore automatic mode. When manual mode is on, the keyboard will not automatically show or hide, but can be shown or hidden by calling enyo.keyboard.show or enyo.keyboard.hide, respectively. The show method takes an integer specifying the type of keyboard (see the API reference).

AppMenu

    AppMenu now owns an instance of ApplicationEvents and by default will open and close automatically in response to system messages. Set the auto property to false to defeat this feature and restore manual control of the AppMenu.

    AppMenu is now lazy-loaded; if you need to add or disable items, use the onBeforeOpen event as a trigger to make menu modifications.

Repeater and VirtualRepeater
  • For consistency, changed the onGetItem event to onSetupRow.
  • Removed deprecated event onRowIndexChanged.
  • Repeater no longer wraps its items in an extra control.

Logging

    enyo.log, enyo.warn, and enyo.error now exist, and operate identically to this.<log function>.

    If the log level is set to less verbosity (for example: warn is less verbose than log), then enyo.log and this.log will not print.

    Logging Levels have been added, such that the verbosity of logging can be controlled by adding a file framework_config.json with {"logLevel": 99}.

    Log levels can be adjusted on the fly with enyo.logging.setLogLevel(level).

    Log levels are error: 0, warn: 10, log: 20.

    All logging functions will automatically convert objects into JSON strings, and only when these functions are not stomped by the log level setting.

    All logging functions take multiple arguments and process them correctly for each platform. Please use this.log("object:", {foo: 1}) and not this.log("object: " + JSON.stringify({foo: 1})).

JSON

enyo.json.to and enyo.json.from have been removed. Please use enyo.json.stringify and enyo.json.parse instead. These methods will take advantage of the native JSON implementation for better performance, security, and robustness. If you want to pretty-print your JSON objects, you can do it with something like this: enyo.json.stringify(someObject, undefined, 2).

windows

    enyo.windows.activate argument order has changed to be consistent with enyo.windows.openWindow. The inUrl and inName arguments have switched order so that the new API is:
    Код: Выделить всё
    enyo.windows.activate(inUrl, inName, inParams, inAttributes, inWindowInfo)


    enyo.windows.openPopup() now has an additional argument for window attributes, so callers can specify soundClass, etc. The argument order has changed from v0.9 to maintain consistency with the other window APIs:
    Код: Выделить всё
    openPopup(inUrl, inName, inParams, inAttributes, inHeight, throb)

Popup

As a performance enhancement, the contents of all popups have been changed to be created lazily by default. Popup now descends from a new LazyControl kind, which (optionally) defers creation of its components via the lazy: true property. Popup automatically instantiates its contained components before it is opened the first time. This is done by calling the validateComponents method. It is not necessary for you to call this method.

Because of this change, any code referencing popup components will need to be updated.

Instances of Popup should implement the new onBeforeOpen event to effect changes to controls within the popup. onBeforeOpen is fired after the contained components are created, but before the popup is opened, so it is possible to alter the contents of the popup without creating visual artifacts.

Kinds that are based on Popup should defer initialization of sub-components by using the componentsReady method for initialization instead of the create method. Any published properties that need to interact with components should check for the existence of those components before doing so. You can check whether components have been initialized by testing the value of the lazy property (if true, then components are not yet available). You can forcibly ensure that components exist by calling validateComponents.

Finally, it's possible to revert to the previous, non-lazy behavior for any given popup by setting lazy: false.

For more information, see the examples in enyo/support/examples/Layout/Popup/updating-content.

Other Popup changes

    Popups that are modal: true are now closed if dismissWithClick or dismissWithEscape are true; this was not the case previously.

    All popups are now rendered in a singleton control called PopupLayer, which is rendered inside the document body. Previously, popups were rendered in the application node.

    Fixed a bug where modal popups would lose their modal state if a non-modal popup was opened while a modal popup was open.

    Added showKeyboardWhenOpening property. If true, this sets the keyboard to manual mode and opens the keyboard fully before opening the popup.

MenuItem

As a performance enhancement, item chrome is created only if needed (icon or sub-items). Also updated CSS for optimizations. The change should be transparent unless you have customized MenuItem or a control that uses MenuItem, such as ListSelector, PopupList, etc.

ListSelector

As a performance enhancement, ListSelector now uses PopupList, which uses VirtualRepeater. The old ListSelector is now called CustomListSelector.

SearchInput

    The onSearch event has been removed; use onchange for filtering.

    The onCancel event has been added, and should clear your filter.

    SearchInput is now styled to look like a regular input, and can be styled to have no rounded-ness via the "enyo-box-input" class.

    RoundedSearchInput, which looks like the old SearchInput, is now available.

    ToolSearchInput is also now available.

    See support/examples/Theming/onyx/ for more info.

List

DbList now is a VirtualList instead of having a VirtualList. This should be a transparent change, but applications that have referenced the private list component of a DbList will need to be updated.

Carousel

View's owner is now set to be the same as the owner of Carousel. So in 0.10, you can do this:
Код: Выделить всё
components: [{name: "carousel", kind: "Carousel", flex: 1, onGetLeft: "getLeft",onGetRight: "getRight"}],getLeft: function(inSender, inSnap) {...return {kind: "TestView", onclick: "viewClick"};},viewClick: function() {...}


Control
  • Changed "manager" to "container".
  • Changed "createManagedComponent(s)" to "createContainedComponent(s)".

Component

    Removed generic "propertyChanged" method for performance reasons. The property-specific "myPropChanged" methods still work fine, but it's no longer possible to implement a single propertyChanged method to respond to changes for all published properties.

    Removed "forward" pragma (property forwarding mechanism).

Bing Map

The Bing Map control is now in framework/lib/systemui. To use it, add "$enyo-lib/systemui/" to your application's depend.js file.

Input

Added forceFocusEnableKeyboard method, which focuses the input and sets the keyboard to automatic mode.

Hybrid

Added focus method, with support for popping up keyboard for input.

Tools and Installers

Emulator

By default, Mojo apps on TouchPad will run in a 320x480 pixel compatibility mode, with a simulated gesture area onscreen. This beta SDK release is the first one to include compatibility mode, so you should be sure to test your Mojo apps to ensure that they run properly. Please let us know ASAP if you discover any issues with compatibility mode.

If you would prefer that your Mojo app run at full size on TouchPad, you can disable compatibility mode for your app by including the following in your appinfo.json file:
Код: Выделить всё
uiRevision: 2


Note that disabling compatibility mode for your app also removes the simulated gesture area, so if your app depends on gestures, you will need to provide alternative UI elements for navigation in your app when running on TouchPad.

SDK Installer

In this release, version 0.10 of the Enyo framework is installed by the main SDK Installer. The default Enyo installation locations are as follows:

On Windows:
Код: Выделить всё
c:\Program Files\HP webOS\SDK\share\refcode\webos-framework\enyo


On Mac/Linux:
Код: Выделить всё
/opt/PalmSDK/Current/share/refcode/framework/enyo/


Code Samples

Enyo Samples

    All samples have been updated for Enyo 0.10.

    A new sample, "Multitouch", shows how to read the standard raw touch events generated by WebKit through Enyo and print out the X and Y of each touch.

Mojo Samples
  • The "BluetoothSPPGPS" sample has been updated to fix a bug concerning the GPS results output.

Documentation

New Articles

The documentation set includes new articles covering the following topics:

Layout and Containers
  • Dialogs

Controls
  • Buttons
  • HtmlContent
  • Images
  • Menus

Events and Objects
  • ApplicationEvents

Services
  • BasicService and Service
  • WebService

Globalization
  • Globalization

Tutorial

The Enyo Tutorial has been updated for version 0.10 of the framework.

Known Issues and Limitations

PDK

The x86 PDK toolchain (for Emulator builds) does not work on Mac OS X 10.5 (Leopard).

Tools and Installers

Emulator

    Compatibility mode: Apps running in compatibility mode are currently rotated 90 degrees relative to the orientation of the Emulator's system UI (i.e., system status bar and virtual keyboard). You can still use the F6-F9 keys to rotate the Emulator, but be aware that an application running in compatibility mode will observe an orientation that does not match the Emulator's system UI orientation. This issue is further complicated by the fact that the Emulator window itself does not rotate when rotating the HP webOS Emulator image running inside it. This should not impact the actual function of most apps, even though they may seem visually unusual.

    The Enyo "WebView" sample (in the more-examples folder) only renders the upper part of the WebView in the Emulator. A similar issue may occur in the Browser app the first time you browse to a specific site.

    On Mac and Linux, no wallpaper is displayed when the "Screen & Lock" application is opened for the first time.

    On Windows, the Emulator resolution list is drawn incorrectly if there is only one choice in the list. If this happens, you can start the emulator by double-clicking the one choice in the list, or resize the window slightly and everything will re-draw correctly.

Code Samples

BadFont

    On Mac OS X, the "BadFont" sample application works in the Emulator but not on the device. The Mac build script, packageit.sh, always runs the buildit_for_emulator.sh script. You may create a device build by changing this to use buildit_for_device.sh.

    On Windows, "BadFont" works on the device, but not in the Emulator. The Windows build script, packageit.cmd, defaults to creating a device build. You may create an Emulator build by specifying emulator as a command-line argument.

Media

Launching the native video app to play a video is currently not working properly. This is being investigated.

Documentation

File download links may not work in all browsers. If you experience problems with file downloads, refer to the instructions for locating the file(s) in your local machine's directory structure.



Код: Выделить всё
   Parent Directory       -
   3.0b1_release-notes.html   25-May-2011 21:26    30K
   3.0b2_release-notes.html   25-May-2011 21:26    16K
   3.0b3_release-notes.html   25-May-2011 21:26    3.9K
   3.0b4_release-notes.html   25-May-2011 21:26    11K
   3.0b5_release-notes.html   25-May-2011 21:19    18K
   Eclipse_Update_Site-hud15-631.zip   25-May-2011 19:47    1.8M
   HP_webOS_SDK-Win-3.0.0-631-x64.exe   25-May-2011 19:51    237M
   HP_webOS_SDK-Win-3.0.0-631-x86.exe   25-May-2011 19:55    233M
   Palm_webOS_SDK.3.0.0.631.dmg   25-May-2011 20:04    345M
   WebOS_TouchPad_Design_Guidelines-2011_04_24.pdf   25-May-2011 21:27    1.4M
   deprecated/   25-May-2011 21:27    -
   docs-sdk-3.0b5.zip   25-May-2011 21:37    12M
   palm-novacom_1.0.73_amd64.deb   25-May-2011 19:55    53K
   palm-novacom_1.0.73_i386.deb   25-May-2011 19:55    47K
   palm-sdk_3.0.0-svn456155-pho631_i386.deb   25-May-2011 19:58    216M
   webOS_TouchPad_Wireframe_Stencil-2011_03_28_Watermarked.pdf   25-May-2011 21:27    2.2M
   webOS_Touchpad_Wireframe_Stencil-2011_03_28.ai   25-May-2011 21:27    1.9M


Скачать как обычно можно тут: https://developer.palm.com/distribution ... 97&t=14139
alone

 
Сообщения: 202
Зарегистрирован: 07 ноя 2010, 23:35
Благодарил (а): 1 раз.
Поблагодарили: 14 раз.
Планшет: HP TouchPad Wi-Fi 16Gb

Пред.След.

Вернуться в Разработка и создание программ для LG webOS



 


  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение