where is Tizen tutorial?

Discussion and feedback on Construct 2

Post » Sun Oct 06, 2013 3:09 am

@szymek I didn't use "Tizen export" I just exported HTML5 version and modify the project settings (I really hate Eclipse IDE, worse than Xcode or generic notepad) then added build settings to use javascript and created config.xml from scratch using reference from Tizen Docs webpage, it worked and tested on simulator, there is an issue, it won't rotate screen in landscape mode. Then use signature file before to send .wgt in Tizen store.

Anyway, Tizen SDK is very buggy, it won't let me run emulator manager. I will use on my mac.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Sun Oct 06, 2013 3:22 am

@Joannesalfa

if you can paste as-much-as-you-can, then it would be nice :)

on my computer emulator works fine, but as I said: can't import project to Tizen IDE
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Sun Oct 06, 2013 3:33 am

@szymek


1- File > New > Project... (exactly)

2- Wizard window: General > Project

3- Name your project.

4- Save, go to open .project with generic notepad in folder where you created.

5- Copy this on inside of .project:



<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
        <name>Your Project Name Here</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
               <buildCommand>
                        <name>org.eclipse.wst.common.project.facet.core.builder</name>
                        <arguments>
                        </arguments>
               </buildCommand>
               <buildCommand>
                        <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
                        <arguments>
                        </arguments>
               </buildCommand>
               <buildCommand>
                        <name>json.validation.builder</name>
                        <arguments>
                        </arguments>
               </buildCommand>
               <buildCommand>
                        <name>org.tizen.web.jslint.nature.JSLintBuilder</name>
                        <arguments>
                        </arguments>
               </buildCommand>
               <buildCommand>
                        <name>org.tizen.web.css.nature.CSSBuilder</name>
                        <arguments>
                        </arguments>
               </buildCommand>
               <buildCommand>
                        <name>org.eclipse.wst.validation.validationbuilder</name>
                        <arguments>
                        </arguments>
               </buildCommand>
               <buildCommand>
                        <name>org.tizen.web.project.builder.WebBuilder</name>
                        <arguments>
                        </arguments>
               </buildCommand>
        </buildSpec>
        <natures>
               <nature>json.validation.nature</nature>
               <nature>org.tizen.web.jslint.nature.JSLintNature</nature>
               <nature>org.tizen.web.css.nature.CSSNature</nature>
               <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
               <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
               <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
               <nature>org.tizen.web.project.builder.WebNature</nature>
        </natures>
</projectDescription>




6- Save and Go back to Tizen IDE.


7- Select your project in project explorer tab, right click and select "New" > "File"

8- Name "config.xml"

9- Ignore the annoying error window.

10- Open config.xml and paste this:


<?xml version="1.0" encoding="UTF-8"?>

<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets"
version="1.0" viewmodes="fullscreen" id="http://YourDomain.com/YourApp">
     <icon src="icon-114.png"/>
     <content src="index.html"/>
     <name>Your App Name Goes Here</name>
</widget>


11- Drag your C2 files (.html, images, icons) into your project in Projetc explorer tab.

12- Run and Build!




How do you even run emulator manager? I'm using windows 8 64 bitsJoannesalfa2013-10-06 03:34:18
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Sun Oct 06, 2013 4:01 am

@Joannesalfa

thanks!!! :) Will check it soon

I run "Emulator manager" on Win7 64-bit
There "Add new" - add emulator-device name
and then just click this blue "Play" button

it opens window with phone image
at beggining shows black screen with loading info
and after some time it is visible
but of course didn't test with any app yet
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Sun Oct 06, 2013 4:06 am

@szymek no big deal, emulator manager is incompatible with windows 8 version.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Sun Oct 06, 2013 5:42 am

@Joannesalfa

I did exactly like you write (using HTML5 export) and... it works!!! yippie!!!

however

@Ashley even with Browser "Lock orientation to landscape" (triggered on 1st layout, on layout start) it shows portrait on Web Simulatorszymek2013-10-06 06:23:15
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Mon Oct 07, 2013 12:09 am

How are you guys getting past the Stopping (0% scanned). ?
B
6
S
1
G
2
Posts: 26
Reputation: 902

Post » Mon Oct 07, 2013 3:44 am

@Nomad

when I build or run on Web Simulator - it just runs fine
when I try to run on emulator - I got:

step SDB shell handle failed
failed to `step sdb shell handle '/usr/bin/wrt-launcher -l' command` operation
(Return Code:30)sdb execute shell command - sdb time out exception

on Tizen IDE level
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Mon Oct 07, 2013 4:16 am

I was talking about building a .wgt so I can push it to the emulator :)

Edit: well nevermind, looks like I got it deployed but framerate is bad. I guess I'll have to rethink this physics game.Nomad2013-10-07 08:06:54
B
6
S
1
G
2
Posts: 26
Reputation: 902

Post » Mon Oct 07, 2013 7:20 pm

B
41
S
11
G
7
Posts: 514
Reputation: 9,701

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests