|
ACCESS Linux Platform Development Suite 2.4, Release 2 Release Notes
ACCESS Linux Platform Development Suite — Version 2.4, Release 2
Technical Support
Known Issues
Ubuntu 8.04 Support
Simulator
Networking
Camera Support
USB Support
GVM
New Development Tool Features
New Simulator Skin
Sound in the Simulator
Glade
Eclipse
Exchange Manager
Tips
alp-eclipse make Templates
Problem Starting alp-sim the First Time
Reassigning the Home Key Behavior
Samples Template
The make_common File
RTTI and Exception Handling
VMware
ACCESS Linux Platform 2.4, Release 2 Documentation Updates
ACCESS Linux Platform SDK 2.4, Release 2 API Changes
ACCESS Linux Platform Development Suite — Version 2.4 Release 2 ^TOP^
The following sections describe the release information for the ACCESS Linux Platform SDK 2.4 update. This information is current as of the publication date
but may be updated. For the most current information refer to the ACCESS Developer Portal.
Technical Support
If you have access to this download area, you should already be authorized to participate in the developer forums at http://www.accessdevnet.com.
If you are not registered, registration is free at that portal.
Known Issues ^TOP^
Ubuntu 8.04 Support
There is known host-kernel issue that breaks all debugging-related support. This is a
third-party problem. For full details please see:
https://bugs.edge.launchpad.net/mandriva/+bug/230315
http://lkml.org/lkml/2008/7/14/317
The second link has steps for installing a patch on your kernel that ships with Ubuntu
8.04.
Simulator
After selecting a new target, the alp-sim should find the target and boot. However, the alp-sim does not reboot properly after
selecting a new target. The simulator hangs for one minute and 25 seconds to display the error message.
To workaround this issue:
Close alp-sim by selecting menu item Configuration > Quit and relaunch alp-sim.
Networking
Sometimes when running the simulator with the "Create host network bridge" check box selected, networking can fail. When it does two things can happen:
- the host loses network connectivity and/or
- the simulator does not get network connectivity
The work around for this is as follows:
- Reboot your system and do not run
alp-sim. This is not necessary if you have not already tried to run it.
- Uninstall network-manager and network-gnome.
- Run
sudo gedit /etc/network/interface
- Manually configure your eth0 interface. It is typically something like this:
"auto eth0
iface eth0 inet dhcp
hostname svdmoffattlnx.access-company.com"
- Run
sudo ifup eth0
Network Problems May Occur After Closing the Simulator
The work around is:
Run: ifconfig -a
Then if the bridge (for example br0) is still present, run: sudo brctl delbr br0
Camera Support
Camera is not supported on the simulator in this release.
USB Support
USB is not supported on the simulator in this release.
GVM
Sudoku crashes at launch on UML. When you install a Sudoku gvm application (using command line or hotsync installation) and launch Sudoku, the GVM crashes
instead of launching the Sudoku game.
New Development Tool Features ^TOP^
New Simulator Skin
The alp-sim tool includes a new finger touch skin (generic.xml). The old 5-waynavigation skin (5-way-nav.xml)
is still included, but it is not the default.
Sound in the Simulator
Sound and video support has been has been added to the alp-sim tool. You need to set up a PulseAudio serer and configure it to listen to
network connections. The simulator will send its audio to 192.168.3.100 so if you are doing a remote DHCP connect you will not be able to get audio.
Host Setup for Ubuntu 7.10
- Install the following packages using apt-get from the command line or the Synaptic package manager utility:
libasound2-plugins
pulseaudio-esound-compat
pulseaudio-module-gconf
pulseaudio-module-hal
pulseaudio-module-lirc
pulseaudio-module-x11
pulseaudio-module-zeroconf
pulseaudio-utils
paman
padevchooser
paprefs
pavumenter
- Using a text editor, create a file called
/etc/asound.conf and paste in the following text:
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
- Choose the System > Administration > Users and Groups menu item. The Users settings dialog appears.
- Choose Manage Groups.
The Groups settings dialogs appears.
- Scroll all the way to the bottom of the list where you will find:
pulse
pulse-access
pulse-rt
- Highlight each group, one at a time, and choose Properties. Just put a check next to each user that you want to be able to have access to sound.
This should probably be all real (that is not daemons) users on the system.
- Choose the Applications > Sound and Video > Pulse Audio Preferences menu item.
The PulseAudio Preferences dialog appears.

- (Alternative steps in a terminal on the host machine.)
sudo paprefs
- Select the following checkboxes:
- "Enable network access to local sound devices"
- "Allow other machines in LAN to browse for local sound devices"
- "Don't require authentication" check
- Remove the .pulse-cookie file from your home directory:
rm ~/.pulse-cookie
- Reboot your machine.
Host Setup for Ubuntu 8.04
With Ubuntu 8.04, PulseAudio is already installed, but to configure your server you need to add the padevchooser package to configure PulseAudio. Do the following:
- Install padevchooser using apt-get from the command line or the Synaptic package manager utility.
- Reboot your system.
- Choose the System > Preferences > Run "Pulse Audio Preferences" menu item.
The PulseAudio Preferences dialog appears.
- Select the following checkboxes:
- "Enable network access to local sound devices"
- "Allow other machines in LAN to browse for local sound devices"
- "Don't require authentication" check
Target Setup
For sound to work, you must download and install some codecs. Do the following.
- There is a file called
alp-x86-dbg-dev-EABI-CODECSxxxxxx.tar.gz. (Note that the xxxxx in the file name will be a sequence of digits.)
- Copy the file to
/scratchbox/ALP/rootstrap
- In addition to the normal rootstrap command that is part of the installation, rootstrap the codecs file. This step is done after the rootstrap
of the platform and the goal is to install the codecs.
[sbox: ~] > sb-conf rootstrap \
/scratchbox/ALP/rootstrap/alp-x86-dbg-dev-EABI-CODECSxxxxxx.tar.gz
Glade
The Glade application has been updated to version 3.4.
Eclipse
- If you add a source path while debugging Eclipse displays the
Source Not Found message. To work around this error, close the Source Not Found page,
and then step a couple of lines. The source should open automatically after that.
- When debugging on an ARM target, stepping over
Mapping shared library sections errors does not behave correctly. Set breakpoints if you want to resume
at a certain line.
- The Variables view does not display any global variables. To track global variables, add it to the Eclipse Expressions view.
- The Run to Line does not work. Please use breakpoints instead.
- Watchpoints are not supported.
- ACCESS C/C++ Application Launch Configurations created with the previous versions of the ACCESS Linux Platform Development Suite need to be recreated.
- Based on CDT 4.1 and Eclipse 3.3.1
Exchange Manager ^TOP^
ACCESS Linux Platform now features Exchange Manager 2 with new verbs. Applications using the prior Exchange Manager need to upgrade to use the new verbs.
See the ACCESS Linux Platform Exchange Manager2 Guide, for more information.
Tips ^TOP^
alp-eclipse make Templates
Setting ALP_TRACE in the makefiles or during compilation will determine whether the ALP_TM() macros emit output code. If you wish
to control diagnostic output independent of build type (release or debug), add the following to the project's Makefile to define the macros:
DEFINES=ALP_TRACE=ALP_TRACE_ON
The following suppresses output:
DEFINES=ALP_TRACE=ALP_TRACE_OFF
You can use the ALP_TRACE setting to write debug specific code as in:
#if ALP_TRACE == ALP_TRACE_ON
.
.
.
#endif
Problem Starting alp-sim the First Time
Sometimes the alp-sim tool does not start the first time you run it. If the simulator window does not appear, and instead you see this error:
Xephyr cannot open host display. Is DISPLAY set?
Then you should do the following:
- Select System > Administration > Login Window.
The Login Window Preferrences dialog appears.
- Select the Security tab.
- Uncheck the Deny TCP Connections to Xserver checkbox.
- Dismiss the dialog.
- Restart Gnome by pressing Ctrl-Alt-Backspace.
Reassigning the Home Key Behavior
You can remap the default Home key behavior to bypass the Home Screen and go directly to the launcher application. This is useful during development. You
might even want it to go directly to the application that you are developing.
- From the Simulator's Virtual Console, log in as root with no password.
- Check the current value for the default-primary global setting by typing:
alp_settings --get /alp/appmgr/default-primary
- Normally default-primary is set to
bar:com.access.apps.homescreen:
- Reset the Home application to the desired application bundle. For example to map the Home key to the Application Launcher, type:
alp_settings --set /alp/appmgr/default-primary \
--value "bar:com.access.apps.launcher"
- Restart the
alp-sim tool.
Samples Template
There are several sample applications in the /scratchbox/ALP/samples directory. The Template sample is a barebones application that includes a
recommended baseline Glade defined interface. It uses a different approach to its makefile organization, relying on alp.mk to hide a lot of the other file and build details.
The make_common File
You can include the make_common file in your own Makefile to simplify application building and deployment interaction with Scratchbox. It defines
targets clean, install, and uninstall as well as many of the libraries that you'll need to create an ACCESS Linux Platform application. The sample application
Makefiles show how to organize your make file to use the make_common file.
- Copy
make_common from the /opt/alp-dev/sdk/samples to your project's make directory.
- Include it in your project's Makefile by adding the following line to the end of the file:
include make/make_common
Some of the samples might prefix the include line with a dash character ('-'). Do not do this because it suppresses messages that might arise when the file
cannot be found (this should be corrected in a future version of the sample code).
The alp-eclipse project wizard can generate Makefiles with the settings necessary to build a native application using its own make Include
Templates. You can look at the Template sample.
RTTI and Exception Handling
For C++, we've rebuilt the default stdc++ library to disable RTTI and exception handling for size and efficiency issues. If you want to use these features,
you should rebuild the stdc++ library and link statically against your application.
VMware
It is possible to run Ubuntu and the SDK in a VMware environment such as VMware Player or Fusion. Performance, however, this can be resource intensive,
so it is not recommended for extensive development.
ACCESS Linux Platform Documentation Updates ^TOP^
The following list briefly describes updates to the ACCESS Linux Platform documentation.
- ACCESS Linux Platform Release Notes
- Added updated Release Notes
- ACCESS Linux Platform Application Programming in Java
- Updated screen shots and renamed title and file
- No changes
- ACCESS Linux Platform Content Management Guide
- ACCESS Linux Platform Developer Tools Guide
- Updated simulator and Glade sections
- ACCESS Linux Platform Exchange Manager 2 Guide
- ACCESS Linux Platform Getting Started SDK Guide
- Updated instructions in the SDK Getting Started manual for installing from a CD.
- Updated Getting Started Guide to remove unnecessary information and reand to add a CLI section.
- ACCESS Linux Platform Messaging Guide
- ACCESS Linux Platform HTTP Library Guide
- ACCESS Linux Platform Mobile Web Pages Guide
- ACCESS Linux Platform Multimedia Guide
- ACCESS Linux Platform Networking Guide
- ACCESS Linux Platform Programming Guide
- ACCESS Linux Platform Sync Services Guide
- ACCESS Linux Platform Telephony Guide
- ACCESS Linux Platform UI Widget Reference
- Added chapter on AlpCommandBar and AlpCommandBarButton widgets
- Updated description of Media Selector widget to indicate availability in Glade.
- Added description of timeout property to Dialog Box widget section.
- Added description of align property to Combo Box widget section.
- ACCESS Linux Platform Virtual Phone Guide
- Updated instructions to fix errors
Add as favourites (379) | Quote this article on your site | Views: 5239
Only registered users can write comments. Please login or register. Powered by AkoComment Tweaked Special Edition v.1.4.6 AkoComment © Copyright 2004 by Arthur Konze - www.mamboportal.com All right reserved
|