Last time we covered the basics of Google’s official IDE for Android app development: Android Studio. You can find that article here. Now we will learn about how an Android app is structured and organized, what files interact with each other, and what they do.
Android is a great platform for a beginner developer to make his or her first smartphone app on. Android apps are written in Java, and the graphics are generally written in XML. Android apps are developed in many well-known IDEs (integrated development environments – programs that typically package together a code editor, compiler, debugger, interpreter, build system, version control system, and deployment system, as well as other tools) such as Eclipse, IntelliJ IDEA, and Android Studio. In this article we will cover the basics of Android Studio.
In 2015, we saw Apple relaunch what was the complete overhaul of their former flagship laptop line before making the switch to the Pro/Air series. The new Macbook, which included many new features that were relatively brand new to the laptop world, hit the shelves with its new Intel Atom processor, butterfly keyboard, and beautiful Retina display. This product was praised for its innovation in many areas, but what took the technological world by storm wasn’t any of those features, the display, or even debuting in 3 different finishes. Yes, the big discussion were its ports, or lack thereof.
This Macbook featured a single port, a USB type C port, opposite of the 3.5mm headphone jack on the other side of the computer. This notebook, the smallest and thinnest among its family in the Macbook line, left any other port besides these two off of the case and into the world of adapters. While many were left scratching their heads, Apple was not only selling many of these devices but also was praised for product innovation and debuting the next new type of USB to its devices.
Fast forward to Fall of 2016. Apple’s newest line of Macbook Pro’s are just announced, featured, and released. Amidst the new keyboard previously seen by the lower level Macbook and even the Touch ID touch bar sitting atop the keyboard, again the question brought up is this: What about it’s ports?
Now that Apple has brought the USB type C port to its higher end of Laptops (all of the Macbook Pro line), what can we expect from future devices? Will Apple learn from the likes of Google and Motorola and integrate the newest port to its iPhone and iPad (and iPod?) lines?
What’s next in line for an overhaul among Apple’s core devices is in fact the Macbook Air. Praised as the perfect everyday computer, it really isn’t needed for heavy usage and professional applications, but it is perfect for the average user and student for its longevity on the battery side of things and ease of use and efficiency fit into a small form factor. Featured already are its Magsafe 2 charging port, two USB 3.0 ports and a headphone jack.
We have already seen Magsafe 2, which was the hyped-up successor to the original charging port of the older Macbook Pros/Airs in the Magsafe 1 port, is now phased out on two of three Macbook lines. What is due up next is removing this port on the Air. This would be paving the way for the Air to upgrade to the next level of innovation and include a Type-C port for charging, fitting right in with its brothers in the line-up. While introducing this next port for charging, it is also lightning fast for data, so remove the other USB ports and you got yourself a Macbook Air, with multiple Type C ports and a headphone jack, along with the improvements in display and keyboard that should come with it.
But what does this mean? Is the adapter life going to consume us for the rest of time? That answer we do not know yet, but it is worth thinking about. For Apple and many companies that should follow suit, this is a huge market to breach in customers purchasing different dongles and adapters to hang like winding branches off their laptops. For the likes of HDMI, Thunderbolt, Ethernet, and many other ports very much still necessary in this day and age, will companies phase them out and stick to adapters forever, or will Apple learn from the adapter game and start to integrate these ports back into their devices, using these next models as sort of a “testing phase”?
For now, we’ll see where this brings us for the product releases in the spring and fall of 2017, but something to know is this: USB Type C among Apple devices is here to stay, and there’s no getting around it. Maybe we will see this dominate every device from the iPhone, iPad, Macbooks, and even maybe into desktop computers.
Over the holiday break a new acquisition in technology took place in the Afonso household, we purchased an Amazon Echo Dot. At $50, the price seemed reasonable enough that it was worth a shot to try and get on the cutting edge of smart home technologies. Unfortunately, due to a lack of smart devices in our home, we were unable to use Alexa’s greatly touted integrations with things like the Nest Products or Zigbee based lighting products. However Alexa can be used for much more that controlling a smart home, I’ll speak to some Alexa Skills (the Echo’s version of Applications) that we tried and our experiences with them.
Out-of-the-box, the Echo can be easily configured for integration with a wide array of streaming media services. Built-in are Pandora, Spotify (restricted to premium accounts), iHeartRadio, and Tunein Radio. This makes a the Echo a perfect candidate for the smart radio, as it has a small speaker built-in (low fidelity mono speaker so another speaker is recommended) as well as Bluetooth connectivity to connect to larger and better audio equipment. Built-in news, weather, and sports integration which at setup time needs to be configured using the Amazon Alexa app (available for both iPhone and Android) There is also built-in smart device detection which I was unable to experiment with that detects smart devices and performs a pairing procedure that allows you to perform actions with keywords like (“Turn on, Turn off”) additional smart home skills are needed to perform in-depth control of other smart-devices.
These can be turned on for use with your device by stating “Alexa, enable *insert skill name here*”.
To use any skill, state “Alexa, open *insert skill name here*”.
To use a skill and pass it information, state “Alexa, ask *insert skill name here* to *insert parameter name here*”
Anymote Smart Remote:
After configuring the skill using the Anymote App for iPhone (instructions are openly available), I was able to control my Roku Smart TV device using my voice. Simply stating “Alexa, open Anymote” followed by the remote input you’d like to perform such as “Volume up”, “Home Button”, “Up Button” will interact with the device you’ve configured it with. Overall, a very useful skill for those looking to remote control any of their network connected devices.
This is a shortened version of the classic game show that allows the user to answer questions from a recent airing of the show. Alexa will provide responses with whether the question you provided to the corresponding answer was correct. The performance of this app was superb, and really allows for an interactive experience with Echo.
This is another classic game that allows you to think of any object (limited to a category set) and within 20 Questions, Alexa will aim to guess what you’re thinking of. The interactivity with this app is also superb, and the shock when Alexa get’s those obscure guesses correct is pretty amazing.
This skill is perfectly utilitarian – it allows the user to place a call via the Echo, with a caveat, the call must be completed using an existing phone line and cannot proceed via the Echo. Essentially, once you ask Ooma to place a call it will initiate a three-way call between it’s VOIP service and the phone you choose, thus it’s limited to initiating calls.
This skill is the perfect companion for a commuter, since Alexa has no built-in time estimation for destinations, Drive Time allows you to ask for driving times to favorited locations that the user must configure. There is no search function, and locations must be stated before-hand in the skills settings in order to use them.
Alexa can do some really remarkable things, and at this point due to it being released about 2 years ago (2014), the Skills that have been developed allow functionality to be extended to a variety of platforms and devices. The Echo Dot does beg for a better speaker, but at the $50 price point, it’s expected, and also provides incentive for buying the Dot’s larger brother, just the standard Echo. The overall versatility of the connections on the device (3.5mm output, Bluetooth Connectivity, Wireless Connectivity, and Zigbee via Wi-Fi hub) make it perfect for controlling audio and other devices.
2016 has given us a lot of exciting new technologies to experiment with and be excited for. As time goes by technology is becoming more and more integrated into our every day lives and it does not seem like we will be stopping anytime soon. Here are some highlights from the past year and some amazing things we can expect to get our hands on in the years to come.
That’s right, we’re adding electronic capabilities to the little circles in your eyes. We’ve seen Google Glass, but this goes to a whole other level. Developers are already working on making lenses that can measure your blood sugar, improve your vision and even display images directly on your eye! Imagine watching a movie that only you can see, because it’s inside your face!
Kokoon started out as a Kickstarter that raised over 2 million dollars to fund its sleep sensing headphones. It is the first of its kind, able to help you sleep and monitor when you have fallen asleep to adjust your audio in real time. It’s the insomnia’s dream! You can find more information on the Kokoon here: http://kokoon.io/
Nuzzle is a pet collar with built in GPS tracking to keep your pet safe in case it gets lost. But it does more than that. Using the collar’s companion app, you can monitor your dogs activity and view wellness statistics. Check it out: http://hellonuzzle.com/
Your ears are the perfect place to measure all sorts of important stuff about your body such as your temperature and heart rate. Many companies are working on earbuds that can sit in your ear and keep statistics on these things in real time. This type of technology could save lives, as it could possibly alert you about a heart attack before your heart even knows it.
Thought it couldn’t get crazier than electronic contacts? Think again. Companies like Chaotic Moon and New Deal Design are working on temporary tattoos than can use the electric currents on the surface of your skin to power them up and do all kinds of weird things including open doors. Whether or not these will be as painful as normal tattoos is still a mystery, but we hope not!
Virtual Reality headsets have been around for a while now, but they represent the ultimate form or wearable technology. These headsets are not mainstream yet and are definitely not perfected, but we can expect to be getting access to them within the next couple of years.
Other impressive types of wearable tech have been greatly improved on this year such as smart watches and athletic clothing. We’re even seeing research done on Smart Houses, which can be controlled completely with your Smart Phone, and holographic image displays that don’t require a screen. The future of wearable technology is more exciting than ever, so get your hands on whatever you can and dress to impress!
Despite what the average internet person will tell you, MacBooks are good at what they do. That’s something important to remember in a time where fanboying is such a prevalent issue in the tech consumer base. People seem eager to take sides; binary criticism removing the reality that machines can have both good and bad qualities. MacBooks are good at what they do, and they also have their disadvantages.
One of the things MacBooks aren’t good at (mostly due to their architecture) is playing games. If you’re looking for high-performance gameplay, Windows machines are objectively better for gaming. Despite this, there are plenty of games and workarounds that’ll still enable you to have fun with friends or in your dorm room after a long stressful day even on a MacBook.
Note: I’ll only be listing the methods and games I’ve personally found to work well. There are likely tons of games and methods that work great, but I haven’t tried yet. While I’m aware you can always install Windows via Boot Camp, I’ll only be touching on methods and games that don’t require altering the OS or running a virtual machine. Below is a screenshot of my machine’s specs for reference.
Actually Getting Games
Do you like games? Do you like sales? Do you often fantasize about purchasing AAA games for prices ranging from Big Mac to Five Guys? Steam is the way to go. You can get Steam here, and I highly recommend you do. Steam is great because of its frequent sales, interface, and ability to carry over your purchases between machines easily. A good amount of Steam titles are supported on Mac OS, so if you’ve been previously using a Windows machine and have a huge library, you won’t have to repurchase all of your games if you switch to a new OS. You can also purchase some games off of the App Store, though the selection there is far smaller in comparison.
If you’re planning on playing an FPS on your MacBook, you’re likely going to want a mouse. A mouse is far more accurate and comfortable than a trackpad when it comes to interacting with most game interfaces. However, after plugging in your mouse you might find that it feels…weird. It accelerates and slows itself down sporadically and probably feels like it’s fighting you. No need to worry! This is a simple fix.
First, launch Terminal and enter the following command:
defaults write .GlobalPreferences com.apple.mouse.scaling -1
This will disable Mac OS’s built in scaling and allow you and your mouse to have healthy bonding time without it suddenly deciding to perform an interpretive dance in the style of the plastic bag from American Beauty.
Another bonus piece of advice would be to go to System Preferences > Keyboard > and check the option to use the function keys without having to press the fn key. If you’re playing games that require usage of the function keys, you’ll find it easier to only have to hit one key vs having to take your hand off the mouse to hit two.
Finally, I recommend you keep your system plugged in and on a desk. Just like with most laptops, demanding processes like games can drain the battery faster than Usain Bolt can run across campus and make your laptop hotter than that fire mixtape you made in highschool.
Solo game recommendations
So, you’ve set up your mouse and keyboard, installed steam, and you’ve got some free time to play some games. What now? Well, not every game that is listed as “compatible” with Mac OS actually works well with Mac OS. Some games lag and crash, while others might run at a high frame-rate with no problems. Here are a few games I’ve found work well with my system. (Reminder: Performance may vary)
“h a c k m u d” is a game that is set in a cyberpunk future where you’re a master hacker. This isn’t Watch_Dogs though. You’re not “hacking” by pressing a single button; rather, every single bit of code is typed by you. If you don’t know how to code, the game does an alright job at teaching you the basics of its own language (which is like a simplified mix of HTML and Java). The first hour of the game is spent locked in a server where you’ll have to solve some interesting logic puzzles. Once you escape the server, the game suddenly becomes a fully functional hacking MMO entirely populated by actual players. The game runs well on Mac OS, as it’s almost entirely text-based.
Do you like classic CRPGs? If the answer is yes, you’ll probably love Pillars. It’s a CRPG that fixes a lot of the problems the genre faced during its golden age, while not losing any of its complexity and depth. The game runs well, though do expect a loud and hot system after just a few minutes.
Do you often dream of being a bad-ass ninja in the matrix? SUPERHOT is a game where the central gimmick is that time only moves when you move. More accurately, time moves at a fraction of a second when you aren’t moving your character. This allows for moments where you can dodge bullets like Neo and cut them in half mid-flight with a katana. The game runs great, though your system will quickly get super hot (pun intended).
Enter the Gungeon is a cute little rogue-like bullet hell where your goal is to reach the end of a giant procedurally generated labyrinth while surviving an endless onslaught of adorable little sentient bullets that want to murder you. The game is addictive and runs well, though one common issue I found was that the game will crash on startup unless you disable the steam overlay. It’s a shame though that you can’t enjoy the co-op feature…
…or can you?
Who wants to play alone all the time? This is college, and like a Neil Breen movie, it’s best enjoyed with friends by your side. Here’s a tutorial on how to set up your MacBook for some local gaming fun-time.
First things first, you’re going to want some friends. If you don’t have any friends installed into your life already, I find running “heystrangerwannaplaysomegameswithme.exe” usually helps.
Next, you’re going to want to get one of these. This is an adapter for Xbox 360 controllers, which you should also get a few of here. Plug in the USB adapter into your MacBook. Now, Mac OS and the adapter will stubbornly refuse to work with each other (symbolic of the fanboying thing I mentioned at the beginning of this post), so you’re going to have to teach them the value of teamwork by installing this driver software.
Once you’re all set, you should be able to wirelessly connect the controllers to the adapter and play some video games. One optional adjustment to this process would be to connect your MacBook via HDMI to a larger display so everyone can see the screen without having to huddle around your laptop.
And there you have it! Despite what some very vocal individuals on the internet might tell you, it is possible to enjoy some light gaming on a Macbook. This is the part where I’d normally make some grand statement about how the haters were wrong when they said it couldn’t be done; but alas, that would merely be fueling a war I believe to be pointless in the grand scheme of things. Are we not all gamers? Are we not all stressed with mountains of work and assignments? Are we not all procrastinating when we should be working on said assignments? While our systems may be different, our goals are very much the same. And with that, I hope you find my advice helpful on your quest for good video games.
From time to time, you may find yourself in a situation where Wi-Fi isn’t working for you on your computer whilst on campus. This is a quick and basic guide to helping you getting back online.
Disconnect & Reconnect
This is the easiest method to execute. While holding the Option key, click on the Wi-Fi icon in the Apple Bar. You’ll see something like this:
Click on “Disconnect from eduroam”, and the Wi-Fi icon will dim immediately. Seconds later it will reconnect, provided you are on campus where your computer is picking up eduroam. This will solve the majority of issues that are related to connectivity.
Deleting the Eduroam Profile
This will be a multi-step, but simple process. Begin by opening System Preferences, and click on Profiles button.
In the Profiles menu, select the Eduroam profile, and hit the delete key on your keyboard.
Once the profile is removed, consult this article to set up Eduroam on your laptop. This method will solve a vast majority of authentication related issues, particularly after a password reset.
Rearranging the Order of Preferred Networks
There will be times that your computer, for one reason or another, is configured to connect to the UMASS network over the Eduroam network. Whereas the Eduroam network is secured, and does not require a log in each time you connect, the UMASS network is not secure, and will prompt for log in information, preventing usual network access.
To change this, first open System Preferences, and then click on Network.
Once in the Network menu, hit Advanced.
Hit OK, and close the menu. The computer may prompt you if you wanted to apply the settings – hit Apply.
Gathering information for UMass IT
If any of the methods above did not work, and our consultants are not able to resolve your issue over email, we may ask you for certain technical info, such as BSSID, IP address, and MAC address. Most of the info we ask can be easily retrieved when you click on the Wi-Fi icon while holding the Option key.
Hope this information was helpful!
Among quick fixes for many issues on a Mac are PRAM and SMC resets.
PRAM stands for parameter random access memory, which can contain settings such as speaker volume, screen resolution, startup disk selection, and recent kernel panic information. Performing a PRAM reset can fix a number of issues, such as wifi connectivity, drives not showing up or screens not adjusting properly. To do a PRAM reset, all that has to be done is turning the Mac device on and holding Command + Option + P + R until the machine chimes a second time. This process should be done for a longer amount of time on a Late 2016 MacBook Pro because it doesn’t have a startup chime. However, PRAM resets are actually a thing of the past. Today the majority of Macs in use; ones manufactured after 2008, actually primarily use NVRAM to store many of these settings. A PRAM reset and a NVRAM reset are mostly the same, it resets less volatile ram to default factory settings, fixing a number of potential issues. NVRAM stands for non-volatile random access memory and is reset in the same manner as PRAM is.
SMC stands for system management controller, this is only on Intel-based Macs. SMC resets reset this controller which is a part of the machine that deals with hardware and power management. This system management controller reset can fix problems dealing with the fans, lights, power and system performance.. There are a variety of ways to reset the SMC depending on the kind of Mac you’re working with. A desktop mac, such as a Mac Pro, Mac Mini, or iMac requires disconnecting the power cord from the machine, waiting 15 seconds, plugging it back in, waiting another 15 seconds and then turning the Mac back on. With a Mac laptop with a non-removable battery, shut the Mac down connect the Mac to its power adapter. Hold shift, option and control on the left side, then press the power button, release all keys and then turn the Mac on normally. For Mac laptops manufactured 2008 or before with removable batteries, turn the machine off, disconnect the power cable, remove the battery. Press the power button and hold for 5 seconds. Put the battery back in, reconnect its power cable, and turn the Mac back on.
Whether it’s veterans, amputees, or those born with certain abnormalities, prosthetics have allowed millions to live ordinary lives and do things they never thought possible. The idea of prosthetics is not a new one however. Ever since Greek and Roman times in the B.C era, doctors were attaching wooden stumps to those without legs, arms, toes, etc. However, the technology behind prosthetics has only picked up in the recent 20th and 21st centuries.
But how does it work? When I think of moving my arms or my legs, I am physically able to do so. But what if I had a prosthetic? How in the world do I make this limb-shaped computer actually do stuff? Well the answer is quite impressive actually. This is definitely one of those medical practices that just makes me go “wait, we can do that?”
If you are a healthy individual, you are able to move your limbs due to electrical signals that your brain is sending through nerves towards your muscles. Your muscles receive this electrical signal and either contract or relax. But if I were to amputate, let’s say, everything below your right knee, where would that electrical signal go? The signal would still go along the nerve towards your lower leg, but it would hit a dead end and there would be no response or outcome. In order to make your newly attached prosthetic usable, some rewiring needs to be done inside the body.
Doctors are able to perform what is called targeted muscle reinnervation – in this process, doctors redirect those electrical signals to another muscle in the body; the chest for example. Now, the nerves that once controlled your lower leg, would now contract your chest muscles. You’re probably thinking, how does contracting my chest help the fact that I’m missing part of my leg. This is valuable, because the electrical activity of these chest muscles can be sensed with electrodes and used to provide control signals to a prosthetic limb. The end result is that just by thinking of moving your amputated leg, you cause the prosthetic leg to move instead.
Even outside of the biological aspect of prosthetics, they are truly feats of engineering. Since no two human bodies are physically exactly the same, all prosthetics need to be specifically designed to each patient. A wide variety of materials are used to create the actual limb, including acrylic resin, carbon fiber, thermoplastics, silicone, aluminum, and titanium. To create a life-like appearance, a foam cover can be applied and shaped to match the real limb. A flexible skin-like covering will be applied over the foam to give it the life-like appearance.
Prosthetics have given millions the opportunity to live a normal life and the technologies behind prosthetics is only getting better. Newer technologies allow people to move their prosthetic limbs without having any invasive surgeries or neural rewiring. The future is here, let’s just make sure we don’t all turn into robots.