Category Software Development

How to scale an image in Java

I programmed my own function, based on other examples: /** * Method that scale an image (BufferedImage) into the specified dimensions * @param sbi Source image * @param imageType Image type among BufferedImage.TYPE_… constants (example: TYPE_INT_ARGB) * @param dWidth Image…

Play sound clip from local file in Java

This solution works only for .wav files. Source code: public void playSound() { try { AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(new File(“”).getAbsoluteFile()); Clip clip = AudioSystem.getClip(); clip.open(audioInputStream); clip.start(); } catch(Exception ex) { System.out.println(“Error with playing sound.”); ex.printStackTrace(); } } External References “Playing…

Install Android Studio in Mac

Android Studio is the official Google’s IDE to develop apps for Android, based on IntelliJ.   1. Download file Download latest Android Studio version for Mac (3.2.1 at the time of this article). 2. Install application Double-click on .dmg file…

List of Prototyping and Mockup Apps

This is a non-exhaustive list of prototyping and mockups apps. Balsamiq Commercial, 30-day trial version Web-based. InVision Marvelapp Freemium. Web-based. Moqups Freemium. Web-based. Pencil Project Open source, free. Desktop-based. There is a discontinued web-based version (Mozilla…

DevOps

DevOps, from development operations, is a cultural and organizational movement that emphasizes collaboration and integration between software developers (Dev) and IT operations (Ops) teams. DevOps uses a set of practices and tools to integrate the work of dev and ops…