Have not done anything on this for a long time so it is kind of dead :-( This is an android app for Sundsvalls Gatufest (http://www.gatufesten.se). Sundsvall Gatufest established in 1987 and is one of Sweden's top three festivals in terms of visitor numbers. During the first week of July, visiting about 180 000 people Sundsvall Gatufest making the event one of the largest of its kind in Sweden. My English is not the best, hope you understand. This project is created in Netbeans 7 with nbandroid plugin. - List all artist playing on Sundsvalls gatufest. - Add notification when artists play. Default catalogs and files =============================================================================== bin Binaries and script files. build Buld folder (.class files) build/classes NetBeans build folder build/empty NetBeans create this for some reason build/web NetBeans web build folder dist Distributable file for this project (jar, war, ear...) doc This document, help files and other documents. doc/javadoc API documentation in HTML. doc/licence Licenses for everything used in this project. etc Configuration files. lib Jar-files and OS-specific libraries. libs AndroidSdk read this jars and add to project nbproject Settings for NetBeans res Resources file for Android app. src Java source code. sys Static data. (Example images) tmp Temporary files. var Variable data (Example database files). var/log Log files. web Web project source. (jsp, js, css, html...) build.xml Build file for Netbeans manifest.mf Build file for Netbeans Dependencies =============================================================================== Java 1.5 SteelsquidAndroidUtils (http://steelsquid.org/AndroidUtils) Jsoup (http://jsoup.org/) Android SDK (http://developer.android.com/sdk/index.html) Usage =============================================================================== To open this project in netbeans: Download and install Android sdk from http://developer.android.com/sdk/index.html (/opt/android-sdk-linux_x86) Make all files under tools executable Extract to disk and execute tools/android (See http://developer.android.com/sdk/installing.html) Select 'Available Packages' and install Android SDK platform-tools, sdk platform Android 1.6. Select 'Virtual Devices' and 'New'. Set data below and then create AVD: Name: Android_1.6 Target: Android 1.6. SD Card Size: 128MiB SDCard: yes AudioOutput: yes Camera: yes TouchScreen: yes GPS: yes Make all files under platform-tools and platforms/android-4/tools executable In Netbeans 'Update Center' add this plugin: http://kenai.com/projects/nbandroid/downloads/download/updatecenter/updates.xml Then install the Android plugin. (See http://gerry.ws/2009/01/1074/how-to-setup-netbeans-for-android-development.html) Inside Options/Miscellaneous/Android (/opt/android-sdk-linux_x86) Install on Android: The Android apk file is located under the dist directory (dist/SteelsquidGatufestApp.apk) See http://www.brighthub.com/mobile/google-android/articles/37151.aspx Server: The serves is Sundsvall Gatufest homepage. Parsing the html from http://www.gatufesten.se Short description of classes and files =============================================================================== org.steelsquid.pgatufestappp.R This class was automatically generated by the aapt tool from the resource data it found. It should not be modified by hand. org.steelsquid.pgatufestappp.GatufestConnector Read html from server and extract information. org.steelsquid.pgatufestappp.MainActivity main activity. org.steelsquid.pgatufestappp.Artist A artist. org.steelsquid.pgatufestappp.Global Global stuff. /res/drawable Contains all icons /res/layout/main.xml The main layout. /res/values/strings.xml String resources used in the application. /res/values/color.xml Color resources used in the application. /res/values/dimen.xml Dimension resources used in the application. /res/values/style.xml Style resources used in the application. AndroidManifest.xml The manifest presents essential information about the application to the Android system, information the system must have before it can run any of the application's code. ToDo =============================================================================== - ??? Revision history: =============================================================================== > 2011-06-15 1.0 Initial release > 2011-06-18 1.1 Some small changes > 2011-09-16 1.2 New AbstractActivity |