24. Mai 2012

I/O Extended: Watch Google I/O and Have Fun!



+GDG Stuttgart+GDG Black Forest, and +shackspace are hosting Google I/O Extended this year!
https://developers.google.com/events/io/io-extended

We are excited to bring a live stream of the keynotes and technical sessions right to you. Come along to hang out and learn with other talented developers and watch Google I/O live.

The venue will be open on June 27th and 28th from 16:00 to late, with the keynote starting around 17:00.

Register at http://ioextended12.eventbrite.com/. Hurry up! ;) Space is limited.
Looking forward to see many of you there!

18. Dezember 2011

MDEdit - Markdown to go

Irgendwie hatte ich das Bedürfnis einen Markdown-Editor zu schreiben ... und das Ergebnis ist nun in erster Inkarnation auf Github zu finden.
Bildschirmfoto 2011 12 18 um 21 46 53
Im oberen Teil kann der Text bearbeitet werden - der untere Teil des Bildschirms zeigt dann einen Live-Preview des gerenderten Dokuments. Die Sourcen gibt es unter https://github.com/pilhuhn/MDEdit.

16. Dezember 2011

Mein Artikel aus "Java Aktuell" ist online

Mein Artikel aus dem iJUG-Magazin Java Aktuell (Ausgabe 1/2012) ist nun auch online als PDF verfügbar. Der Artikel mit dem Titel "Android-Apps fit für die Zukunft machen" zeigt, wie man eine Anwendung, die für Android 2.x geschrieben wurde, auf Android 3+ heben kann. Der Artikel ist quasi aus meinem Vortrag beim Droidcamp Stuttgart entstanden.

7. August 2011

Neue Version von Zwitscher im Markt

So, nachdem ich mein(*) HTC Desire wieder vom Service zurück und auch etwas Zeit gefunden habe, habe ich heute eine neue Version von Zwitscher im Markt veröffentlicht.
Zwitscher ist ein Open Source Client für Twitter und Identi.ca - der Quellcode kann auf GitHub eingesehen werden.
Neue Features:
  • Bessere Kompatibilität zu Honeycomb
  • Unterstützung für URL-Shortener
  • Anzeige von Favoriten und Gesendeten Nachrichten
  • Verbessertes Eintragen von Filtern (siehe auch Liste mit Hin- und Weg...)
  • Es können nun auch große Fotos und Bilder aus dem Album hochgeladen werden.
Leider hat Twitter die Anmeldung bezüglich Direktnachrichten geändert, weswegen der "Directs"-Tab aktuell abgeschaltet ist.
Ich freue mich über Rückmeldungen (und Codebeiträge :-)

*) Meines hatte ein Temperaturproblem und war ewig beim Service, mit dem Ergebnis, dass ich nun eine neue Hauptplatine mit neuer IMEI, Mac etc. habe.

11. Juni 2011

Listen-Preference mit Hin- und weg Funktionalität

Ok, der Titel ist etwas komisch, aber mir fällt einfach kein Name für das ein, was ich da beschreiben möchte.

Veränderbare-Listen-Preference

Während meiner Arbeit an meinem Twitter- und identi.ca-Client Zwitscher kam bei mir der Wunsch auf, in den Preferences Listen von Filter-Ausdrücken zu speichern. In der ersten Version war das eine String-Preference bei der die Ausdrücke durch Komme getrennt waren. Einfach aber wirksam. Für den Benutzer war dies eher mühsam.

So kam der Wunsch auf, eine Liste in den Preferences anzubieten, zu der der Benutzer einfach Werte hinzufügen und auch löschen kann. Leider bietet Android hier erstmal nichts. Dank einger informativer Einträge auf stackoverflow.com war ich dann in der Lage selbst etwas zu schreiben:

 

Bildschirmfoto 2011 06 11 um 12 56 58

Hier kann der Benutzer neue Einträge im Eingabefeld eingeben und durch return hinzufügen. Ein langes Drücken eines Eintrags löscht ihn wieder (evtl. nach Sicherheitsabfrage).

XML-Beschreibung

Die xml-Beschreibung in den Preferences sieht wie folgt aus
<de.bsd.zwitscher.preferences.ExpandableListPreference 
android:title="@string/prefs_filter"
  android:summary="@string/prefs_filter_descr"
android:key="filter"
separator=","
askBeforeDelete="true"
hint="@string/addFilterExpression"
/>

Die Attribute sind (die ersten Drei sind Standard Android-Attribute):

  • android:title : Der Titel der Voreinstellung ("Filter")
  • android:summary: Eine Beschreibung der Voreinstellung
  • android:key: Der Schlüssel, um die Voreinstellung später auszulesen ("filter")
  • separator: Zeichen, das zwischen einzelnen Einträgen trennt (Android kennt keine Listen in Preferences, weswegen, man diese selbst in einen entsprechenden String umwandeln muss)
  • askBeforeDelete: Soll vor dem Löschen eine Sicherheitsabfrage gezeigt werden?
  • hint: Text der im Eingabefeld als Hinweis an den Benutzer gezeigt wird ("Add filter expr.").

Nutzung

Genutzt werden kann der Filter-Ausdruck dann wie gewohnt; lediglich die Liste der Einträge muss man von Hand zerpflücken:

private String getFilter() {        
    SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); 
    String exp = prefs.getString("filter",null);
    if (exp==null)    
          return null;        
    String ret=".*(" + exp.replaceAll(",","|") + ").*";

Bei prefs.getString() wird also der Wert des Attributs android:key angegeben, um die Voreinstellung auszulesen. Und die einzelnen Werte sind durch ',' getrennt. Man könnte also auch diese in ein Array umwandeln:

String[] entries = exp.split(",");

Quellen

Die Quellen sind im Zwitscher-Projekt auf GitHub zu finden:

Feedback

Meine Implementierung ist sicher nicht optimal - Feedback ist auf jeden Fall erwünscht.

 

20. Januar 2011

Stuttgart GTUG Stammtisch

Hallo alle zusammen!
Wir veranstalten ab Februar regelmäßig einen Stammtisch. Der GTUG Stammtisch soll zum Austausch rund um Technologie- und Netzthemen dienen und insbesondere Nutzern und Interessenten von Google Technologien einen Plattform bieten.
Der Stammtisch wird immer am 1. Dienstag des Monats stattfinden, der erste Termin ist also der 1. Februar. Wir treffen uns um 19 Uhr in Stuttgart Mitte im Schlesinger.
Eine formale Anmeldung ist nicht nötig. Es wäre aber schön wenn ihr euch bei XingFacebookLinkedIn und/oder Plancast für die Veranstaltung einträgt, damit wir ungefähr abschätzen können für wieviele Leute wir reservieren müssen.

Die Beschreibung/Infos findet ihr auch unter:
http://stuttgart.gtugs.org/events/gtugstammtischfebruar2011

GTUG Stammtisch Februar 2011 bei Xing, Facebook, LinkedIn und Plancast:

14. November 2010

GTUG Bootcamp 2010 in Munich

Here yo will get small overview of "GTUG Bootcamp 2010 in Munich". You can also go directly to picasa gallery to comment pictures there ;) http://picasaweb.google.com/m.kupriyanov/GTUGBootcamp2010InMunich

Stuttgart GTUG [@StuGTUG] goes GTUG BootCamp in Munich #gtugbc



7. November 2010

GTUG Sweet Sunday Hacking in Munich

As the night dawns on Munich, it is time to do a short recap on the "Sweet Sunday Hacking" event by the German GTUGS.
Around 80 developers, mostly German but also from the UK, and even from Russia met at the SAE Institute Location in Munich to have 1337Mate, Coffee, sandwiches, cereals and to do some hacking, socializing and learn about/try out new stuff. Aygul from Stuttgart GTUG put together a hand-picked selection of tweets and pictures from the event which gives a nice impression about the event.

I'll just want to say my personal two cents about it so consider this blog entry a rather personal one.

The team from Stuttgart GTUG travelled to Munich by train, so the 2,5 hours in the ICE train passed very quickly despite the early hour (we left Stuttgart 5 minutes before 7 in the morning). When we arrived on site, we first got our bootcamp shirts and wi-fi logins, the location was already crowded with developers/gtug members. It provided very handy and despite a lack of room and tables during the "rush hour", the location seemed perfect for the event. The wi-fi connections were stable, though a bit slow, but as development tools had to be installed beforehand, most people were fine with that.
After a short keynote by Nils from Munich GTUG(@kojote) who was the main organizer of the event and the somewhat chaotic pitching process for the projects that we did, everybody tried to fiend a comfy space for the hacking and after some minutes of ant-like running here and there, every free space was filled with groups discussing and coding stuff.
Hungry or thirsty (or both) people could serve themselves anytime with certified organic cereals by myMüsli, mate drinks by 1337mate, coffee by Sonntagmorgen and very #nomnom food later on.

The creative atmosphere was very stimulating so in the evening a lot of teams presented their projects, ideas and experiences.

We are now heading to the party at Niederlassung. There will be other blog posts comming up, so: stay tuned!

[update] Party went on until 4 in the morning. =) [/update]

4. November 2010

Android Tech Talks 2010

On November 2nd, we organized our first big Android Tech Talks event (not counting in the Android Barcamp). It was also our first event in cooperation with the Java User Group Stuttgart (Thanks, guys!). It took place at University of Cooperative Education Stuttgart and 120 attendees listened to 4 talks which covered a big range from an introduction and problem solutions from a beginner, to continuous integration on Android, to Adobe AIR on Android and a talk about cross-plattform development using Appcelerator Titanium and model driven approaches.

A big thanks goes to all attendees, who gave us good feedback which will improve our events, and thanks to Powerflasher who supported us with 3 licences of their Flash/Actionscript IDE "FDT" as well as all speakers for their support.

We'll post some photos soon and we'll also upload the videos that Heiko (@pilhuhn) did.

The slides of all presentation are available online as PDF-files.

Mobile Multi-Plattform Entwicklung - Einblicke, Möglichkeiten und Anregungen (Wolfgang Frank - Arconsis IT Solutions) (will be online, soon)

15. Oktober 2010

Android Workshop

Two members of the Stuttgart GTUG, Benjamin Reimold and Moritz Haarmann, did an android workshop for beginners at the University of Mannheim. The workshop had been organized by the Mannheim Java User Group (thanks to Lars Vogel - @vogella).

The slides are available online at slideshare and can be downloaded and used under a creative commons non-comercial licence.

The workshop also included a short hands-on part which consisted of various small pieces of code. The "Help-Me!"-application that has been programmed by various members of Stuttgart GTUG and other attendees of our Android hackathon in august was demoed, too.
The "help-me" application is available at github, everybody is invited to join us developing it.

22. Juni 2010

How to manage Blinkendroid World Records

If you're reading this, chances are you've seen the video of our blinkendroid world record at the droidcamp stuttgart 2010. We thought about experimenting with blinkendroid for some time already, and the droidcamp seemed like the perfect location. Being at the world record attempt at the droidcamp berlin, gave us some advise on the pitfalls and problems that the guys over at c-base experienced at their first record attempt with 38 devices. We then thought about some ways of managing the record to make it a great experience for all of us.

There were two major problems we had to solve. One was security: If you have 50 cutting-edge devices laying on a table, you need to be able to track which device belongs to who, and be able to control access ( physically ) to the table. We managed to restrict access by building a perimeter of tables around the center table ( see pic ). Of course, this isn't always possible, but performing the experiment at the premises of stuttgart media university put us in the comfortable position of not running out of space or tables. Additionally participants could only participate if they marked their devices with writing their name on a sticker and put it at the back of their device. These two actions are very important, because they establish trust and make all participants comfortable with, temporarily, giving up their devices.

Prior to the actual experiment, we advised all of our appr. 100 attendees to turn off all WiFi equipment, like Computers and other devices not participating in the record attempt. We also unpowered all WiFi Routers to minimize interference. In fact, the only WiFi running was the one permanently installed at the HdM, a WiFi that's bridged across several highly reliable Access Points and known to work ( in the part of the building we were located ) for up to 300 people flawlessly. One big plus for us.

After having announced the master plan, we got to the experiment-room, where each participant handed out his or her marked device ( sticker at the back with name written on it ) to the three people standing at the center table. From now on, only those guys were allowed to touch or manipulate the devices, and they were also responsible for returning the devices to their owners by checking the name on the phone with the name on the badge.

We logged all devices on to the blinkendroid server, and honestly, it worked at the first attempt. Unfortunately, all of our HTC Desire phones were unable to discover the server phone automatically using mDNS, so we had to add it manually. Not that big of an issue, but worth noticing.

Here is the whole video of the world record, enjoy:


Next time, let's try 100+ devices. And thanks, again, to all of our great participants who trusted us enough to provide us with devices, and of course, the blinkendroid crew for their amazing, super-nerdy software!

16. Juni 2010

Droidcamp Stuttgart 2010

Diesen Samstag ist es endlich soweit. Nach Monate langem Planen und Organisieren findet zum ersten Mal das DroidCamp Stuttgart an der Hochschule der Medien statt.

Für alle, die davon noch nichts mitbekommen haben: Ein DroidCamp ist ein BarCamp rund um das Thema Mobile Computing mit Schwerpunkt auf der Android Plattform.

Bereits vor dem DroidCamp gibt es am Freitag einen Android Hackathon sowie einen Anfänger-Workshop für Android-Neulinge. Zudem gibt es am Samstag nach dem DroidCamp eine After-Show-Party im Shack - dem Hackerspace in Stuttgart. Zeitpläne für Freitag und Samstag gibt es im Wiki.

Vorläufig schlechte Nachrichten für alle, die noch nicht angemeldet sind: Leider gibt es für das DroidCamp keine freien Plätze mehr. Falls ihr Interesse habt zu kommen und entsprechend flexibel seid, solltet ihr euer Glück aber auf der Warteliste versuchen - erfahrungsgemäß gibt es kurz vor Beginn eines jeden BarCamps noch einige Absagen. An dieser Stelle darf erwähnt werden, dass unsere Community in den letzten 14 Tagen auf fast 200 Mitglieder gewachsen ist und wir uns über diesen enormen Zuspruch, welcher so vorher nicht abzusehen war, sehr freuen.

Dank der kurzfristigen Zusagen zusätzlicher Sponsoren (insbesondere Sony Ericsson, Cortado und Qype) konnten wir die Anzahl der angebotenen Plätze auf 120 Teilnehmer erhöhen. Falls wir nicht noch weitere Geldsponsoren finden (je 100 Euro finanzieren ungefähr drei weitere Plätze), wird es bei dieser Anzahl bleiben.

Gute Nachrichten gibt es für alle, die bereits angemeldet sind: Wir haben Polo Shirts mit aufgesticktem DroidCamp Logo für euch (solange der Vorrat reicht, es lohnt sich also rechtzeitig zu kommen ;)). Zudem haben wir auch zahlreiche Sachspenden, insbesondere von Verlagen, bekommen, so dass wir einiges zu verlosen haben.

This Saturday the time has come. After month of planning and organising it is the first time the DroidCamp Stuttgart will take place at the Stuttgart Media University.

For all who have not heard about yet: A DroidCamp is a BarCamp all about Mobile Computing, especially focusing on the Android platform.

Already on Friday before the DroidCamp there will be an Android Hackathon as well as a beginners' workshop for those who haven't engaged in Android so far. Additionally we invite you to join the after-show party at Shack – the hacker space in Stuttgart. Schedules for both Friday and Saturday can be found in our website's Wiki.

Bad news for all who have not signed up yet: Unfortunately there are no more seats available for DroidCamp Stuttgart by now. If you're still interested in participating and also are flexible, please try your luck and sign in on our waiting list – according to experience there are always a few cancellations just before the beginning of any BarCamp. At this point it may be mentioned that our community has increased to nearly 200 members in the last few days and we are very glad about this enormous popularity/reception.

Thanks to last-minute promises of extra sponsors (especially Ericsson, Cortado and Qype), we could increase the number of seats offered to 100 attendees. If we do not find additional sponsors, our capacity will remain at this number (each 100 euros finance three more seats).

Good news for all who are already signed in: We have polo shirts with embroidered DroidCamp logos for you (as long as supplies last, so it pays to come in time ;)). Furthermore we also have various donations in kind, particularly from publishing companies, so that we have a lot to raffle off.

17. Februar 2010

GTUG Battle am 5. März 2010 an der HdM Stuttgart

Google veranstaltet im Februar und März zusammen mit den deutschen GTUGs einen GTUG Battle. Die GTUGNA darf bei diesem Event natürlich nicht fehlen und veranstaltet einen Google Chrome Hackathon an der HdM in Stuttgart. Zu unserem Event wird, wenn alles klappt, ein Speaker des Chrome-Teams eine Einführung in Chrome Extensions geben und während des Hackathons für Fragen bereit stehen. Die Gewinner Teams bekommen jeweils alle ein Nexus One geschenkt! Es lohnt sich also mitzumachen!

Shedule:
9.00 - Guests arrive
9.30 - introductory session on chrome extensions and code examples (Thomas Steiner, Google)
10.00 - GTUG Battle explained / Collect ideas / Build Teams
10.30 - Start of Hackathon
12.00 - Lunch
15.00 - Coffee break
18.00 - End of Hackathon

Zeit:
March 5th, 9.00 - 18.00
Eintritt frei.

Ort:
Hochschule der Medien, Nobelstraße 10, Stuttgart
Seminarraum U32

Anmeldung

18. Januar 2010

Kick-Off Meeting am 29. Januar 2010 an der HdM Stuttgart

Am 29. Januar findet in Zusammenarbeit mit der Hochschule der Medien Stuttgart, unser Kick-Off Event unter dem Motto "Google Technology Day" statt. Das vierstündige Event in kleinem Kreis besteht aus 3 Talks (s.u.) und einer anschließenden Lighting Talks Session. Die LTs sollen Euch die Möglichkeit bieten Eure Projekte anderen Entwicklern vorzustellen und um Unterstützung für selbige zu werben! Am Ende werden wir Euch zeigen wie man schnell und unkompliziert ein Nexus One aus UK importieren kann. Außerdem sind genug Pausen eingeplant, damit gutes Networking und der Aufbau neuer Kontakte befördert wird.

Eingeladen ist jeder, der sich für Google, die Technologien interessiert oder einfach nur interessante Menschen aus dem Großraum Stuttgart treffen möchte.

Sessions:
Google Go (Moritz Haarmann)
Android Web Views - HTML as an API (Florian Detig)
Chrome Extensions (Stephan Linzner)
Lightning Talks
5-10 min pro Projekt (je nach Anzahl)
Nexus One import (Howto) 15 min

Zeit:
29. Januar, 2010, 16.00-20.00
Eintritt frei.

Ort:
Hochschule der Medien, Nobelstraße 10, Stuttgart
Hörsaal 11 (Audimax)

Anmeldung

21. November 2009

Welcome to GTUGNA Blog!

This is the blog home for the Google Technology User Group Neckar-Alb (GTUGNa) which aims to cover activities of the GTUGNA team as well as a wide variety of Google technologies.
Stay tuned! :)