Kapitel 7 Flashcards

1
Q

Woraus bestehen Device applications?

A

User Interface layer, business logic layer, Unwired Server Client Object APIs, Devie platform and third party Frameworks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Welche Programmiersprachen werden bei der Generierung unterstützt?

A

Java für BB (ME) und für Android, C# für Win und Win Mobile, Objective-C für iOS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Wo kann der Code generiert werden?

A

Im UWS über Mobile Application Project rechtsklicken und “Generate Code…” wählen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Welche Typen von Apple Developer Accounts gibt es?

A

Standard Developer und Developer Enterprise

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Was kann ein Apple Standard Developer?

A

Registratino fee applies, Allow deployment over App Store

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Was kann Developer Enterprise?

A

Registration fee applies; Inhouse-Verteilung

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is used when programming iPhone?

A

Tools (Xcode); Frameworks (Foundation, UIKit); Objective-C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Welche Plattformen werden bei iOS untersützt?

A

iPhone 3G; iOS 4.2, iPhone 3G/4iOS iOS 4.2 und 4.3; iPod Touch 3rd/4th gen iOS4.2 und 4.3; iPad iOS 4.2 und iOS 4.5; iPad2 iOS 4.3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

BB-Entwicklung: Welche Dateien müssen aus dem Generated Code wohin kopiert werden?

A

alle .java-Files aus dem \src in den BB Application Development Projects eigenen \src-Ordner (Achtung: nicht den Ordner selber!)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Wozu dienen die Metadaten-Klassen und Object-Manager-Klassen?
Welche Wahlmöglichkeiten gibt es bei der Erstellung?

A

“Generate metadata classes” creates additional classes that describe the attributes and operations of the
generated objects
- Similar to Java Reflection
- The metadata classes are also under the Generated Code folder (\src\namespace\intrnl)

Object manager allows you to retrieve the metadata at runtime

Nur Metadaten, oder Metadaten und Object-Manager sind möglich.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Für Visual Studio: was benötigt man für die Erstellung des nativen Projekts?

A

Project-Type = Smart device project

In the VS Solution Explorer, highlight the project name, right click and select Add Reference….

  • Click the Browse tab to locate and select these .dll files from your system:
    • sup-client.dll (C:\Sybase\UnwiredPlatform\ClientAPI\RBS\WM)
    • iAnywhere.Data.UltraLite.dll (C:\Sybase\UnwiredPlatform\ClientAPI\RBS\WM\Ultralite)

These libraries need to be added to the project:

  • ulnet11.dll
  • mlcrsa11.dll
  • PUtilTRU.dll

For each of the added libraries, set the Copy to Output property to a value of “Copy Always”

  • In WorkSpace Navigator, right click the “Generated Code” folder and select Copy
  • In Visual Studio, paste this folder into the project and delete some files:
    • delete the Dlls folder in the Generated Code
    • Open the src folder and delete the file with the extension “.csproj”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Wie sollte man vorgehen, um Code für verschiedene Plattfomen für das gleiche MBO zu erstellen?

A

Recommend creating separate directories for
each device-platform language generation
- Directory must be created before code is generated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Entwicklung für iOS: Welche beiden Verzeichnisse gibt es?

A

The generated code folder is broken into:

  • Includes (Interface files)
  • Source files (Implementation files)

In addition to the generated code, you MUST copy the iOS Client APIs to your Mac

  • Located at: …Sybase\UnwiredPlatform\ClientAPI\MBS\ObjectiveC
  • Copy the entire contents of the folder into a separate directory on the Mac from the directory containing the generated code
  • Click Xcode’s FileAdd Files to … menu and choose the appropriate SUP Client libraries (libclientrt.a, libMO.a, libSUPObj.a)
    • weitere Kopier-Aktionen ………
  • Auswahl einiger Frameworks, die von Windows herüberkopiert wurden …
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Welche Perspektive sollte man wählen für BlackBerry-Entwicklung und welche Dateien werden benötigt für das native Projekt?

A
  • To develop the user interface for the BlackBerry platform, install the BlackBerry Eclipse plugin
  • Then, you can select the BlackBerry Application Development perspective

Click the Libraries tab and then click the Add External Jars button

  • Navigate to C:\Sybase\Unwired Platform\ClientAPI \ RBS \ BB
  • Select these files:
    • CommonClient.jar
    • sup_client_rim.jar
    • UltraLiteJ.jar

Copy these files from C:\Sybase\Unwired Platform\ClientAPI\RBS\BB:
- CommonClient.cod, sup_client_rim.cod, UltraLiteJ.cod

  • Paste these files to these two directories:
  • C:\BlackBerry_Java_Plugin\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\simulator
  • C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\simulator

Copy all the *.java files from the Unwired WorkSpace project’s Generated code “\src”
folder to the BlackBerry Application Development project’s own “\src” folder
- Do not copy the folder itself!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly