Archive for Februar 2013

Ubuntu für Galaxy Nexus


Gute Nachricht für Besitzer eines Galaxy Nexus, die vielleicht Freude am Frickeln haben. Bereits im Februar will man bei Canonical Ubuntu für Smartphones veröffentlichen, erst einmal für das Samsung Galaxy Nexus.
Ubuntu-on-phones-product-image
Dass Ubuntu für das Samsung Galaxy Nexus kommen soll, dass hat man auf der CES 2013 verlauten lassen. Bereits in einigen Wochen soll es soweit sein und wir Spielkinder können das Ganze mal ausprobieren. Ich habe mir Ubuntu für Smartphones mal kurz angeschaut, das ist schon mal was anderes. Wenn es soweit ist, dann werde ich hier sicherlich noch einmal auf das Thema einsteigen, denn ich bin mir sicher, dass dies einige interessieren könnte. Was Ubuntu auf dem Smartphone so können soll, könnt ihr hier lesen. (viavia)
Quelle: http://feedproxy.google.com/~r/stadt-bremerhaven/dqXM/~3/Jrqe5f0znNk/
Montag, 4. Februar 2013
Posted by D3BA
Tag :

Thinstation


Thinstation is a basic and small, yet very powerful, Open Source “thin client” operating system supporting all major connectivity protocols: CitrixICA, NoMachine NX, 2X ThinClient, Microsoft Windows terminal services (RDP, via RDesktop), VMWare View Open clientCendioThinLinc, TarantellaXtelnettn5250VMS terminal and SSH (No special configuration of the application servers is needed to use Thinstation).
Quelle: http://www.thinstation.org/
Posted by D3BA
Tag :

How-To: Create an iPhone Web App



The iPhone OS is pitched as the entire Internet in your pocket…minus Flash. This works most of the time, but what if you just want to design a site or form that looks like a native iPhone App?
This is where iWebKit comes in. iWebKit is a free framework package for creating websites and applications that are optimized for the iPod Touch, iPhone & iPad. The bulk of the framework is CSS3 which can work its magic to makeover any dreadful site and make it look fresh.
I will be covering the web-form aspect of creating an optimized site, but iWebKit has many deeper features that can communicate directly with the OS. Its documentation is excellent, so dig around or check out the demo site on your iPhone to get inspiration.
When designing for the iPhone OS, you should use the iPhone simulator available in the SDK to get an idea of where your design is heading. You can also use Safari to get a pretty close representation, but nothing beats using a real physical device. It’s amazing how cool it feels and you really do get the impression it’s a native application.

Getting Started

Here is what the form looks like on the iPhone before we optimize it.
It’s pretty dull looking, to say the least. Below is the original HTML code being used. We’re going to get Apple-blood running through it and give it a makeover.

01<html><head><title>Test Form</title></head>
02<body>
03  <formmethod="post">
04    Name: <inputtype="text"size="12"maxlength="12"name="name">
05    Password:<inputtype="password"size="12"maxlength="36"name="passw"><br/>
06    Gender:<br />
07    Male:<inputtype="radio"value="Male"name="gender"><br/>
08    Female:<inputtype="radio"value="Female"name="gender"><br/>
09    Favorite Food:<br />
10    Steak:<inputtype="checkbox"value="Steak"name="food[]"><br/>
11    Pizza:<inputtype="checkbox"value="Pizza"name="food[]"><br/>
12    Chicken:<input type="checkbox" value="Chicken" name="food[]"><br />
13    <textarea rows="5" cols="20" name="quote" wrap="physical">Enter your favorite quote!
14
15    Select a Level of Education:<br />
16    <select name="education">
17      <option value="Jr.High">Jr.High</option>
18      <option value="HighSchool">HighSchool</option>
19      <option value="College">College</option>
20    </select><br />
21    <input type="submit" name="" value="Submit" />
22  </form>
23</body>
24</html>

This code needs to be in an HTML file in the same folder as the iWebKit framework. I called it index.html.
The first step is to add these lines between the <head> tags.

1<meta content="yes"name="apple-mobile-web-app-capable" />
2<metacontent="text/html; charset=iso-8859-1"http-equiv="Content-Type" />
3<metacontent="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no"name="viewport" />
4<link href="css/style.css" type="text/css" rel="stylesheet" />
5<script src="javascript/functions.js" type="text/javascript"></script>
6<link rel="apple-touch-icon" href="homescreen.png"/>
7<link href="startup.png" rel="apple-touch-startup-image" />

These lines tell the iPhone browser that this page is designed for it. It also references the CSS, JavaScript and images for the iPhone Home Screen and a startup image.
To create the top title bar we need to enter the following code immediately after the <body> tag.

1<div id="topbar">
2  <div id="title">Test Form</div>
3</div>

If you load up the page in your iPhone simulator browser you will see this bar at the top.
Now we need to start our main content with the following <div> tag.

1<div id="content">

All the form fields will be inside of this <div> and we won’t close it till the end of the form. The first form fields we want are the Name and Password fields.
Replace the original code:

1Name:<input type="text" size="12" maxlength="12" name="name"><br />
2Password:<input type="password" size="12" maxlength="36" name="passw"><br />

With this:

1<ul class="pageitem">
2  <li class="bigfield"><input placeholder="Name" name="name" type="text" /></li>
3  <li class="bigfield"><input placeholder="Password" name="passw" type="password" /></li>
4</ul>

Our Name and Password fields have now been transformed.
The <ul> container represents the white box while the <li> tag is to signify separate sections inside of the white box. You could also put each of these fields in their own <ul> containers and they would look like two separate boxes. To save screen space, I group similar items together. Now lets replace those old fashioned radio buttons from the Gender question.
Replace this:

1Gender:<br />
2Male:<input type="radio" value="Male" name="gender"><br />
3Female:<input type="radio" value="Female" name="gender"><br />

With this:

01<span class="graytitle">Gender</span>
02<ul class="pageitem">
03  <li class="radiobutton">
04    <span class="name">Male</span>
05    <input name="gender" type="radio" value="M" />
06  </li>
07  <li class="radiobutton">
08    <span class="name">Female</span>
09    <input name="gender" type="radio" value="F" />
10  </li>
11</ul>

The radio buttons are changed for the better.
Next up are the checkboxes under the Favorite Food question.
Replace this:

1Favorite Food:<br />
2Steak:<input type="checkbox" value="Steak" name="food[]"><br />
3Pizza:<input type="checkbox" value="Pizza" name="food[]"><br />
4Chicken:<input type="checkbox" value="Chicken" name="food[]"><br />

With this:

01<span class="graytitle">Favorite Foods</span>
02<ul class="pageitem">
03  <li class="checkbox">
04    <span class="name">Steak</span>
05    <input name="steak" type="checkbox" />
06  </li>
07  <li class="checkbox">
08    <span class="name">Pizza</span>
09    <input name="pizza" type="checkbox" />
10  </li>
11  <li class="checkbox">
12    <span class="name">Chicken</span>
13    <input name="chicken" type="checkbox" />
14  </li>
15</ul>

Now instead of check boxes, we get those pretty on/off sliders we’re accustomed to inside the iPhone OS.
The textbox is pretty simple since it just creates a nice white box around the textbox.
Replace:

1<textarea rows="5" cols="20" name="quote" wrap="physical">Enter your favorite quote!</textarea><br />

With this:

1<ul class="pageitem">
2  <li class="textbox">
3    <textarea name="quote" rows="5">Enter your favorite quote!</textarea>
4  </li>
5</ul>

Lets move on to the dropdown menus. Dropdowns always use the iPhone’s built-in method and help create the feeling of a native app.
Replace this:

1Select a Level of Education:<br />
2<select name="education">
3  <option value="Jr.High">Jr.High</option>
4  <option value="HighSchool">HighSchool</option>
5  <option value="College">College</option>
6</select><br />

With this:

01<span class="graytitle">Level of Education</span>
02<ul class="pageitem">
03  <li class="select">
04    <select name="education">
05      <option value="Jr.High">Jr.High</option>
06      <option value="HighSchool">HighSchool</option>
07      <option value="College">College</option>
08    </select>
09    <span class="arrow"></span>
10  </li>
11</ul>

Notice the arrow span class adds the down arrow to the right of the selection box.
As far as the form goes, all that’s left is the Submit button and to close the <div> tag.
Replace this:

1<input name="Submit" type="submit" value="Submit" />

With this:

1<ul class="pageitem">
2  <li class="button">
3    <input name="Submit" type="submit" value="Submit" />
4  </li>
5</ul>

Now close the content <div> tag with the following:

1</div>

Finally, we may want to put a footer at the bottom of our page. It’s nice to also support the iWebKit folks.

1<div id="footer">
2  <a href="http://iwebkit.net">Powered by iWebKit</a>
3</div>

That’s it for the HTML portion. Two nice little touches you can do are for when someone adds the page to their home screen. When browsing the page, click the “+” button and select the Add to Home Screen option. You will see an icon that, by default, is a screenshot of the page. You can customize this by making your own 58×58 pixel image and referring to it in the <head> section. Mine is named homescreen.png and I’ve already included the code at the beginning of the article.
Now when this page is added to the Home Screen, it will look and feel like a native app. Why not have a startup screen displayed while the page loads? iWebKit also has this feature and you simply need a 320×460 pixel image that again, is referenced in the <head> section. I have called mine startup.png.
That’s it, we’re done! iWebKit has many other features that you should check out. You may get some inspiration for an app or at least look good to your boss when you pretty up that old form that’s been around for years. All the files used in this article are also attached for your viewing pleasure along with a short video walkthrough of this tutorial.
Project Files: iwebkit-tutorial-files.zip (94 KB, ZIP)

Quelle: http://gigaom.com/2010/02/12/how-to-create-an-iphone-web-app/
Posted by D3BA
Tag :

- Copyright © 2013 D3BA´s Blog -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -