Archive | Android Dev

Tags: , , ,

App Inventor for Android Launched

Posted on 13 July 2010 by Hatem Ben Yacoub

Google have just announced App Inventor, a new tool in Google Labs that makes it easy for anyone – programmers and non-programmers, professionals and students – to create mobile applications for Android-powered devices.

App inventor will not only make Application development for Android easier, but it will even change the way people use their mobile phones. We have previously mentioned that Google Android is targeting developers, and today we are discovering that it’s trying to make application development easier even for non-programmers.

No other mobile platform will be able to compete with Google on this side. The only negative point for Android remain the differences/incompatibilities between versions, especially that we started already talking about Android 3 – Gingerbread.

From App inventor website :

To use App Inventor, you do not need to be a developer. App Inventor requires NO programming knowledge. This is because instead of writing code, you visually design the way the app looks and use blocks to specify the app’s behavior.

App inventor screenshot

An online development environment will definitely make a revolution for the Android platform, even if you will say that applications will be limited in features compared to advanced programming capabilities.

With App Inventor you can create location-aware applications, for example to help you remember where you parked your car, an app that shows the location of your friends or colleagues at a concert or conference, or your own custom tour app of your school, workplace, or a museum. Or simply apps that use the phone features of an Android phone such texting, camera, sensors, … etc. But if you are more familiar with webservices you will be able even to interact with your favorite websites such Amazon and Twitter… etc.

App Inventor  gallery already include apps such :

DROIDMuni : displays schedules for the San Francisco transit system. After the user selects from one of the transits lines and choosing a direction and particular stop, the application will display the lines next arrival times. Once the user has retrieved the desired arrival times, they are able to set up to four favorites which are saved and stored based on their unique e-mail address. Using the DroidMuni remind feature, the user can set a reminder to be notified when a bus is a specified number of minutes away.

ParkIt : allows users to locate their car on their Android phone. After clicking the “Park It” button, the app stores the users car’s location until the “Find It” Button is clicked. The “Find It” button displays the user’s current location, and the user’s car’s location using latitude and longitude. When the user clicks “Show On Map”, GoogleMaps is activated, and the route to the car is displayed.

Drum Kit : allows the user to hit seven different parts of a full, labeled drum kit and hear each drum’s respective sound. This app allows the user not only to learn more about the drums (i.e. the names and sounds of the drums), but also to have fun and create their own beat.

Super Hero Game : a fantastic Quiz game that tests the users true Super Hero Knowledge. Each screen shows a different character from a superhero world and asks a question pertaining to that picture. The user types in the answer and clicks submit. The program responds with a RIGHT or WRONG and the user is prompted to go on to the next question. The question will change as well as the picture. If the user wants to quit at any time they can GIVE UP and the program closes.

Where’s Speedo : allows a user and a users friends or family find each other. The app detects the user’s location and sends it to the users friends or family using the app. The app allows the user to view the location of another user on a map. It also allows the user to set how often the app sends his/her location.

I think we should expect more amazing apps from this magical inventor ! Behind the app inventor a research work conducted in MIT including the Open Blocks Java library used by the blocks editor, Open Blocks visual programming which is closely related to the Scratch programming language, and Kawa Language Framework and Kawa’s dialect of the Scheme programming language used to translates the visual blocks language for implementation on Android.

App inventor is still invitation only, and you can complete this form to get an invitation when available.

Comments (0)

Tags: , , , ,

PHP for Android Project Launched

Posted on 13 July 2010 by Hatem Ben Yacoub

irontec have just launched an open source project to bring PHP to Android platform. PHP for Android project (PFA) aims to make PHP development in Android not only possible but also feasable providing tools and documentation. The project already have an APK which provides PHP support to Android Scripting Environment (ASE). To get started you can follow the screencast below :

APK and source code both available at http://phpforandroid.net. Minimum requirement to get PHP for Android running is Android 1.5 phone or emulator. There is even an unofficial ASE build with PHP 5.3 support included. Now Rasmus can get an Android phone and start scripting on mobile.

Comments (0)

Tags: , , , ,

Google Introduce Scripting on Android

Posted on 10 June 2009 by Hatem Ben Yacoub

Google Open Source Blog announced on Monday a new revolutinary solution that brings scripting to Android devices ! Now you can edit and execute scripts and interactive interpreters directly on the Android device, with access on to many of the APIs available in Android such :

  • Handle intents
  • Start activities
  • Make phone calls
  • Send text messages
  • Scan bar codes
  • Poll location and sensor data
  • Use text-to-speech (TTS)
  • And more

Scripts can be run interactively in a terminal, started as a long running service, or started via Locale. Python, Lua and BeanShell are currently supported, and we’re planning to add Ruby and JavaScript support, as well.

Scripting manager

Scripting manager context menu

Running Android Script

Android Scripting Environment is not available in Market, but you can download the latest APK from project page http://code.google.com/p/android-scripting, you can find also documentation and sample usage. ASE group is available here http://groups.google.com/group/android-scripting

Google have always encouraged developers to make applications for Android, now with ASE  they encourage even users to become developers using scripting like Python and Lua … even if you are not developer you can simply get a demo code, customize it and you are done !

Comments (0)

Android 1.5 Available for Developers

Posted on 15 April 2009 by Hatem Ben Yacoub

Android CupcakeWhile we are all waiting this month for the HTC Magic phone, developers can already get the Android SDK 1.5, commonly known as Cupcake in the development branch. The 1.5 include lots of new features, APIs, and UI enhancements, especially the soft keyboard which will be used for the first on HTC Magic.

Keep your eyes on the Android developers blog in the next days since there will be a series of articles to highlight new APIs and other changes. HTC Magic should be available this month in many countries, we will post more details about availability and features.

User interface refinements

  • System-wide:
    • Refinement of all core UI elements
    • Animated window transitions (off by default)
    • Accelerometer-based application rotations
  • UI polish for:
    • In-call experience
    • Contacts, Call log, and Favorites
    • SMS & MMS
    • Browser
    • Gmail
    • Calendar
    • Email
    • Camera & Gallery
    • Application management

Performance improvements

  • Faster Camera start-up and image capture
  • Much faster acquisition of GPS location (powered by SUPL AGPS)
  • Smoother page scrolling in Browser
  • Speedier GMail conversation list scrolling

New features

  • On-screen soft keyboard
    • Works in both portrait and landscape orientation
    • Support for user installation of 3rd party keyboards
    • User dictionary for custom words
  • Home screen
    • Widgets
      • Bundled home screen widgets include: analog clock, calendar, music player, picture frame, and search
    • Live folders
  • Camera & Gallery
    • Video recording
    • Video playback (MPEG-4 & 3GP formats)
  • Bluetooth
    • Stereo Bluetooth support (A2DP and AVCRP profiles)
    • Auto-pairing
    • Improved handsfree experience
  • Browser
    • Updated with latest Webkit browser & Squirrelfish Javascript engines
    • Copy ‘n paste in browser
    • Search within a page
    • User-selectable text-encoding
    • UI changes include:
      • Unified Go and Search box
      • Tabbed bookmarks/history/most-visited screen
  • Contacts
    • Shows user picture for Favorites
    • Specific date/time stamp for events in call log
    • One-touch access to a contact card from call log event
  • System
    • New Linux kernel (version 2.6.27)
    • SD card filesystem auto-checking and repair
    • SIM Application Toolkit 1.0
  • Google applications
    • View Google Talk friends’ status in Contacts, SMS, MMS, GMail, and Email applications
    • Batch actions such as archive, delete, and label on Gmail messages
    • Upload videos to Youtube
    • Upload photos on Picasa

New APIs and developer tools

  • UI framework
    • Framework for easier background/UI thread interaction
    • New SlidingDrawer widget
    • Horizontal ScrollView widget
  • Home Screen framework
    • APIs for creating secure home screen widgets
    • APIs for populating live folders with custom content
  • Media framework
    • Raw audio recording and playback APIs
    • Interactive MIDI playback engine
    • Video recording APIs for developers (3GP format)
    • Video and photo sharing Intents
    • Media search Intent
  • Input Method framework
    • Text prediction engine
    • Ability to provide downloadable IMEs to users
  • Speech recognition framework
    • Support for using speech recognition libraries via Intent
  • Misc API additions
    • LocationManager – Applications can get location change updates via Intent
    • WebView – Touch start/end/move/cancel DOM event support
    • SensorManager – redesigned sensor APIs
    • GLSurfaceView – convenience framework for creating OpenGL applications
    • Broadcast Intent for app update install succeeded – for smoother app upgrade experience
  • Developer tools
    • Support for multiple versions of Android in a single SDK installation
    • Improved JUnit support in ADT
    • Easier application performance profiling

Download Android SDK 1.5

Comments (0)

Android and Debian, The Missed Story

Posted on 16 January 2009 by Hatem Ben Yacoub

You have probably noticed a slashdotted article today about Debian running on Android ? well, even that the topic sounds quiet familiar to me, I followed the link to see the “bootload” scripts and the video. I was not sure what I was reading, so I have asked Jay Freeman (aka saurik), he is also the guy behind Cyrket – and that’s another story that will be back on it – who made more experiments with Android and Debian, and he confirmed my surprise ! You might find here Jay’s article on running Debian and Android together on the G1, there is even an update posted in G1 hackers on November 2008. Here is the second story :

“For the record, their installation script is itself a little misleading. They make it sound like they are booting Debian on your device, and their custom “bootloader” script even prints out things and seems to take a while to “run” Debian, when its just echoing things, running sleep occasionally (to make it take a while), and then running chroot to give you a prompt on the Debian subfolder.” explained Jay to OHM.

But what we have missed is the first part of the story, so to give back to Ceasar what is Cesar’s here is the missed part. Jay continued :

AndroidFanatic has even other problems. They had another tab you missed called the “market browser” which was just an iframe to Cyrket (a website I developed). When I denied their iframe they decided to go behind me and download the content from their servers (which they then would modify, such as to remove any mention of me or the name Cyrket, and to rewrite links to go back through their script). It was quite flagrant.

I figured out they were doing it again today thanks to the attention on slashdot and blocked them harder, making their website display this notice instead http://www.cyrket.com/fanatic/

We have just checked the time we was writing this article, and noticed that the “Market browser” have been replaced by the “Unofficial Repo”. We have no more comments to put on this story.

More information on running Debian on Android could be found here http://www.saurik.com/id/10

Comments (3)

Advertise Here
Advertise Here