Using the Android ActionBar Using the Android action bar (ActionBar) - Tutorial Based on Android 4.4 Copyright © 2009, 2010, 2011, 2012, 2013, 2014 Lars Vogel Using the action bar in Android applications This tutorial describes how to use the action bar in your Android applications. It is based on Eclipse 4.3 (Kepler), Java 1.6 and Android 4.4. 1. 1.1. The action bar (ActionBar) is located at the top of the activity. The action bar is enabled for devices which specify a target SDK of API version 11 or higher. Applications with a target SDK version less than API 11 use the options menu if such a button is present on the device. The following screenshot shows the action bar of the Google+ Android application with interactive items and a navigation bar. 1.3. The action bar has been introduced in Android 3.0. First, you can use the Open Source project called ActionBar Sherlock which allows you to use the action bar on Android devices as of Android 1.6. 2.1. Tip 2.3. 2.4. 3. 3.1. 3.2. 3.3. 3.4.
Developer Tools Before installing Android Studio or the standalone SDK tools, you must agree to the following terms and conditions. This is the Android Software Development Kit License Agreement 1. 1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. 2. 2.1 In order to use the SDK, you must first agree to this License Agreement. 3. 3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. 3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. 4. 5. 6. 7. 8. 9. 12. 13. 14.
JDBC Tutorial JDBC API is a Java API that can access any kind of tabular data, especially data stored in a Relational Database. JDBC works with Java on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. This tutorial is designed for Java programmers with a need to understand the JDBC framework in detail along with its architecture and actual usage. This tutorial will bring you at intermediate level of expertise from where you can take yourself at higher level of expertise. Before proceeding with this tutorial you should have a good understanding of Java programming language. Because you are going to deal with RDBMS, so it is required that you have good understanding on SQL and Database concepts. 1 - JDBC Quick Reference Guide A quick JDBC reference guide for JDBC Programmers. JDBC Quick Reference Guide 2 - JDBC Useful Resources A collection of JDBC Sites, Books and Articles is given at this page. JDBC Useful Resources 3 - Java Tutorials Java Tutorials JDBC Interview Questions
Explore MIT App Inventor | Explore MIT App Inventor The First Lady of the Federal Republic of Nigeria and ITU Child Online Protection Champion, Dame Patience Goodluck Jonathan celebrates the winning team of the just concluded Technovation Challenge in Nigeria. She applauded the feat of these young girls who developed a mobile app to track traffic offenders in Nigeria. The team were also presented to the European parliament(www.witin.org/tc13 External Links icon ) on 25th of April by the Secretary General of ITU, Dr Hamadoun I. Touré; who also presented them with the Tech Needs Girls Awards.
Tutos Android - Tutoriels pour développer des applications Android Eclipse Shortcuts Eclipse Shortcuts - Tutorial Copyright © 2009, 2010, 2011, 2012, 2013 Lars Vogel Eclipse Shortcuts This article lists helpful Eclipse shortcuts. It is based on Eclipse 4.2 (Juno). 1.1. Using shortcuts make a developer more productive. Eclipse supports of course the typical shortcuts, e.g. This description uses the shortcuts based on Windows and Linux. The Ctrl+3 shortcut allows you to perform all available actions in Eclipse. For example you can open a Preference, a Wizard, a view and a Preference page. You can also use Quick Access to search for an opened editor by typing in the name of the resource which the editor shows. The following screenshot shows how you could use Ctrl+3 to open the Wizard to create a new Java class. 3.1. Eclipse provides shortcuts for opening files or Java artifacts. Table 1. 3.2. If you are working in the Java editor you can also use certain shortcuts for faster navigation. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11.
Open Data Kit FluxBB - fast, light, user-friendly PHP forum software VideoView Class Overview Displays a video file. The VideoView class can load images from various sources (such as resources or content providers), takes care of computing its measurement from the video so that it can be used in any layout manager, and provides various display options such as scaling and tinting. Summary Public Constructors Public Methods public void addSubtitleSource (InputStream is, MediaFormat format) Parameters public boolean canPause () public boolean canSeekBackward () public boolean canSeekForward () public void draw (Canvas canvas) public int getAudioSessionId () Get the audio session id for the player used by this VideoView. Returns The audio session, or 0 if there was an error. public int getBufferPercentage () public int getCurrentPosition () public int getDuration () public boolean isPlaying () public void onInitializeAccessibilityEvent (AccessibilityEvent event) Initializes an AccessibilityEvent with information about this View which is the event source. public void seekTo (int msec)
Android External Storage Example - javatpoint Like internal storage, we are able to save or read data from the device external memory such as sdcard. FileInputStream and FileOutputStream classes are used to read and write data into the file. Example of reading and writing data in the android external storage activity_main.xml Drag the 2 edittexts, 2 textviews and 2 buttons from the pallete, now the activity_main.xml file will like this: File: activity_main.xml Provide permission for the external storage You need to provide the WRITE_EXTERNAL_STORAGE permission. File: Activity_Manifest.xml Activity class Let's write the code to write and read data from the android external storage. File: MainActivity.java Collect ODK Collect renders forms into a sequence of input prompts that apply form logic, entry constraints, and repeating sub-structures. Users work through the prompts and can save the submission at any point. Finalized submissions can be sent to (and new forms downloaded from) a server. Installation Please read all the instructions and notes before beginning.You will need an Android device (like the Google Nexus One) to install ODK Collect. Downloading from Google Play From your device's application drawer, choose the Play Store.Search for "ODK" and choose "ODK Collect" from "Open Data Kit".Select that result and click the Install button. Downloading from Web From your device's application drawer, choose Settings, then Applications. Using the Application ODK Collect will appear in your application drawer. Useful Notes The Android emulator is slow and buggy.
www.php-forum.com • Index page PHP coding => General Ask about general coding issues or problems here. Moderators: macek, egami, gesf 9349 Topics 31282 Posts Last post by seandisanti Fri Apr 11, 2014 12:45 am PHP coding => Images images php coding issues or problems here. Moderators: macek, egami, gesf 520 Topics 1547 Posts Last post by nemo8130 Sun Feb 09, 2014 6:48 am PHP coding => Mail the mail() function Moderators: macek, egami, gesf 671 Topics 1979 Posts Last post by seandisanti Sat Apr 05, 2014 10:22 am mySQL & php coding Codes here ! PHP & MySQL Security Security issues related to php and mysql usage. JavaScript Javascript coding .. Free time Bar discussions . Who is online In total there are 7 users online :: 2 registered, 0 hidden and 5 guests (based on users active over the past 4 minutes)Most users ever online was 114 on Tue Sep 03, 2013 3:13 pm Registered users: Bing [Bot], Google [Bot] Legend: Administrators, Global moderators Statistics
eclipse Eclipse est un IDE (environnement de développement intégré) écrit en Java, extensible par des greffons, multi-langages et multi-plates-formes, qui s'intègre particulièrement bien à GNOME. Il est d'abord conçu pour le langage Java mais ses nombreux greffons en font un environnement de développement pour de nombreux autres langages de programmation (C/C++, Python, PHP, Ruby, …). Toutes les fonctions qu'on peut attendre de ce genre de logiciel sont présentes ou existent sous forme de greffons (coloration syntaxique, complétion, debugger, gestion de projets, intégration aux gestionnaires de versions, …). Les versions 4.3 (Kepler) et supérieures autorisent soit l'utilisation de la bibliothèque Gnome GTK 2 soit celle de la bibliothèque GTK 3. Installation par le nouvel outil "Eclipse Installer" Cette solution est à privilégier pour avoir une version à jour Le lancement peut se faire ainsi cd eclipse-installer . Launcher (.desktop) pour eclipse-inst Pour installer en ligne de commande Par exemple: #!
FAQ Eclipse Depuis bien des versions, Eclipse sait nous prévenir, théoriquement, lorsque la limite de sa mémoire allouée est bientôt atteinte. Ceci a le grand avantage d'éviter de perdre ce qui n'a pas encore été sauvegardé (des suites d'un plantage sec), voire de libérer de la mémoire afin de revenir à un niveau moins critique. Pour libérer la mémoire, il y a une première astuce simple qui consiste à fermer des vues, éditeurs ou perspectives. Cependant, en procédant ainsi, on peut également perdre un certain contexte et donc cela peut être potentiellement gênant. Intervient alors la possibilité de provoquer le Garbage Collector (ramasse-miettes), lequel va bien souvent pouvoir nous dépanner, en évitant d'avoir à redémarrer Eclipse. Pour exécuter le Garbage Collector, il faut préalablement avoir activé le moniteur de mémoire, via le menu Window > Preferences > General, puis en cochant la case Show heap status. Voici à quoi ressemble le moniteur de mémoire