Have not done anything on this for a long time so it is kind of dead :-( This is an android app for Entre Sundsvall (http://www.entresundsvall.nu). Entre carries event information and ticket booking in Sundsvall Sweden. My English is not the best, hope you understand. This project is created in Netbeans 7 with nbandroid plugin. - Activity to search for upcoming events. 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/SteelsquidEntreApp.apk) See http://www.brighthub.com/mobile/google-android/articles/37151.aspx Server: The serves is Entre homepage. Parsing the html from http://www.entresundsvall.nu Short description of classes and files =============================================================================== org.steelsquid.entreapp.Widget The widget. org.steelsquid.entreapp.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.entreapp.EntreConnector Read html from server and extract information. org.steelsquid.entreapp.DetailsActivity List and serach the Entre events. org.steelsquid.entreapp.EntreDialogTask Read event from the entre homepage in background and showing please wait dialog org.steelsquid.entreapp.Event A event. org.steelsquid.entreapp.Global Global stuff. /res/drawable Contains all icons /res/layout/details.xml The DetailsActivity layout. /res/layout/event.xml The event view (shows inside detalis view, @+id/details_content). /res/layout/events.xml The events view (shows inside detalis view, @+id/details_content). /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 =============================================================================== - A widget that alerts about your events next week/in the weekend/evening. - Booking Revision history: =============================================================================== > 2011-04-10 0.6 Initial release > 2011-05-09 0.7 Nothing new in the code but using Netbeans 7 > 2011-09-15 0.8 Newest version of AndroidUtils |