Posts

Showing posts from July, 2015

ANDROID STUDIO: CardView Layout

Image
- ANDROID STUDIO Card View Layout ANDROID STUDIO: CardView Layout 1) Run Android Studio 2) Create a new Android Studio Project 2) Create New Project 3) Update Build.Gradle (Module:App) File 4) Edit Layout File 5) Rebuild Project 6) Card View Layout Done. 1) Run Android Studio 2) Create a new Android Studio Project 2) Create New Project   3) Update Build.Gradle (Module:App) File Edit cardview compile codes in dependencies section: compile 'com.android.support:cardview-v7:21.0.+' 4) Edit Layout File <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"    xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"    android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"    android:paddingRight="@dimen/activity_horizontal_margin"    a...

Solution To: Error Class Not Found Widget.CardView

- Solution To: Error "the following classes could not be found android.support.v7.widget.cardview" - This error may occur if you add a cardview widget in layout file without adding the compile class reference in the build.gradle 1) Add the codes " compile 'com.android.support:cardview-v7:21.0.+' " to the dependencies section of the file build.gradle (module:app) 2) Rebuild your project. -

Solution To: Gradle DSL method not found: 'compile()'

Image
1) Open the file build.gradle (Module:app) 2) Add the following lines to the dependencies section (look at the example above). compile 'com.android.support:cardview-v7:21.0.+' compile 'com.android.support:recyclerview-v7:21.0.+'

HOW TO INSTALL ANDROID STUDIO (MAC)

Image
- HOW TO INSTALL ANDROID STUDIO.docx HOW TO INSTALL ANDROID STUDIO (MAC) 0) Pre-requisite         1) Download Android Studio Installer         2) Run the installer         3) Run Android Studio         4) Download Android SDK and other related tools         0) Pre-requisite You need to install Java JDK first. 1) Download Android Studio Installer Go to  https://developer.android.com/sdk/index.html   Download the Installer for Mac. 2) Run the installer Double-click the file and drag the icon to Applications folder. 3) Run Android Studio Follow the visual steps below. 4) Download Android SDK and other related tools Android Studio will automatically download the ...

10 Typical Programming Features Borrowed By Swift

Image
- 10 Typical Programming Features Borrowed By Swift 1)  Dictionaries (aka hash tables) -- from JavaScript JavaScript programmers have long used square brackets to take in an integer as a traditional array or accept a string that then behaves like a hash table. Now Swift programmers can do the same thing. Apple calls the hash tables "Dictionaries" and offers a clean syntax for initializing them. 2)   Inferred data types -- from functional programming languages Forcing variables to stick to a particular data type is an efficient way for programmers to catch bugs before the code even runs. The compiler checks data types and flags incompatibilities. Of course, in modern programming, no one wants to spend all of those keystrokes specifying data types for every variable. Lately some of the best compilers have started inferring types from the data, which is usually easy to do when a variable is initialized. This began with some of the functional la...

How To Download Xcode DMG

- You can find the DMGs for Xcode and other development tools on https://developer.apple.com/downloads/  (requires Apple ID to login). You must login to have a valid session before downloading anything below. Xcode 6 6.4:  http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/Xcode_6.4/Xcode_6.4.dmg 6.3.2:  http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/Xcode_6.3.2/Xcode_6.3.2.dmg 6.2:  http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/Xcode_6.2/Xcode_6.2.dmg 6.1.1:  https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_6.1.1/xcode_6.1.1.dmg 6.0.1:  https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_6.0.1/xcode_6.0.1.dmg Xcode 5 5.1.1:  https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_5.1.1/xcode_5.1.1.dmg 5.0.2:  https://developer.apple.com/devcenter/download.action?...

Download Xcode 7 For Free

Image
- Xcode 7 beta 4  PRE-RELEASE This release includes the Xcode IDE, Swift 2 compiler, Instruments, Simulator, and latest SDKs for OS X, iOS, and watchOS. Download Xcode 7 beta 4 Xcode 7 beta 4 Release Notes -

Develop and Test iOS on iPhone For Free

Image
- How To Sideload iOS Apps Without Jailbreak Using Xcode 7 For Free By  Paul Morris  | June 16th, 2015 In the immediate aftermath of Apple’s WWDC 2015 keynote, we brought you the news that the Cupertino company now allows  sideloading of iOS apps  without the need for a paid Apple Developer Program account. Installing apps outside the jurisdiction of the App Store, without a jailbreak or a paid developer account, with the use of just Xcode may seem a little convoluted to a large percentage of the populous, but to others it should just be a walk in the park. Follow the relatively simple and easy to understand steps below to get up and running with sideloading iOS apps using the latest beta of Xcode 7, all for free. Step 1: Download and install the latest Xcode 7 beta release from  here . The latest beta can be found in the downloads section of the dedicated Apple Developer Program portal. Step 2: Launch Xcode 7, allow any installation...

What is Google Knowledge Graph?

Image
- Introducing the Knowledge Graph: things, not strings Posted:   Wednesday, May 16, 2012     Cross-posted on the  Inside Search Blog Search is a lot about discovery—the basic human need to learn and broaden your horizons. But searching still requires a lot of hard work by you, the user. So today I’m really excited to launch the Knowledge Graph, which will help you discover new information quickly and easily. Take a query like [taj mahal]. For more than four decades, search has essentially been about matching keywords to queries. To a search engine the words [taj mahal] have been just that—two words. But we all know that [taj mahal] has a much richer meaning. You might think of one of the world’s most beautiful monuments, or a Grammy Award-winning musician, or possibly even a casino in Atlantic City, NJ. Or, depending on when you last ate, the nearest Indian restaurant. It’s why we’ve been working on an intelligent model—in geek-speak, a “graph”—that u...