Posts

[Java] Multi-Dimension Arrays

Image
The arrays you have been using so far have only held one column of data. But you can set up an array to hold more than one column. These are called multi-dimensional arrays. As an example, think of a spreadsheet with rows and columns. If you have 6 rows and 5 columns then your spreadsheet can hold 30 numbers. It might look like this: A multi dimensional array is one that can hold all the values above. You set them up like this: int[ ][ ] aryNumbers = new int[ 6 ][ 5 ]; They are set up in the same way as a normal array, except you have two sets of square brackets. The first set of square brackets is for the rows and the second set of square brackets is for the columns. In the above line of code, we're telling Java to set up an array with 6 rows and 5 columns. To hold values in a multi-dimensional array you have to take care to track the rows and columns. Here's some code to fill the first rows of numbers from our spreadsheet image: aryNu...

[iPhone] How to View iPhone Screen on the Computer

Image
Here are the Steps to View iPhone Screen on to the Computer Install a Package called Veency from Cydia on the iPhone Now Download VNC Viewer from the internet  In the VNC Server Settings box input the ip Address through which the iPhone connects with the Wifi, found in the blue Arrow in the Wifi Section of the iPhone Screen, accept all the security settings and your phone will be viewable on the computer.

[Android] How to get paid apps for Free

Image
Follow the following steps to get Android Paid App for Free: Goto your Android Phones Setting --> Applications  --> Enable Checkbox for Unknown Sources Now tap the Browser icon of your phone and type www.4Shared.com in the address bar and when the page loads click in the search box & type for the application you are looking for. (example: grabatron apk) Hit Download Button when the Download button appears. The Download should start in the notifications center, if its not working check whether you have internet connection or not.

[iOS] Learning iOS as an Android developer

Image
Learning iOS as an Android developer By Guest Contributor February 14, 2013, 7:52 AM PST Takeaway: Android developer Chiu-Ki Chan learned iOS to develop her Heart Collage app on both platforms. Find out her overall impressions of iOS development. As a veteran Android developer, I have always been curious about the iOS platform. Is Objective-C hard to learn? Is it really much easier to make a beautiful UI in iOS? I decided that the best way is to write an app on both platforms and compare. An app that I actually launch, so I experience the whole process, from coding to UI design to distribution. The result is Heart Collage , available on both Apple App Store and Google Play . Here are my thoughts after learning iOS for two months. The setup I wrote an universal app in iOS 6, with auto layout and storyboard. I chose iOS 6 for the new functionalities like UICollectionView and UIActivityViewController. Auto layout and storyboard tr...

[Mac] Bootcamp - Unable to install Windows. Error [The startup disk cannot be partitioned or restored to a single partition]

This is the solution that worked for me, which was told by Apple Care phone agent. 1. Shutdown the Mac 2. Restart it. Hold Command + R. It will take around 5 mins for option screen to display 3. Select Disk Utility 4. Erase the content of Macintosh HD. Ensure you have backed up the drive, before step 1. 5. Once step 4 is completed, close the Disk Utility. It would again take you to the main screen. 6. Select Reinstall Lion OSx. 7. Installation of Lion OSx taken around 60 - 90 mins 8. Once you login into Lion OS, restore the backup from Time Machine 9. Go to Applications ---> Utilities ---> Migration Assistant.app. Select the first 2 check boxes (Users & Applications). I did not select Settings checkbox, since I didnt wanted to overwrite the old settings. 10. Once restore is finished, you are able to use the system as you intended. In my case now, the Boot Camp did not throw me the error "The startup disk cannot be partitioned or restored to single par...

[iPhone] How To Downgrade From iOS 6 To 5.1.1 (Without SHSH Blobs Saved)

Image
Hello my dear user, we all know how the Jailbreak progress is facing a lot of problems especially in Apple’s latest firmwares ( iOS 6 ), and maybe the untethered jailbreak for iOS 6 will be taking a long time to reach on Apple’s devices. We had a great hope in the Dream Jailbreak which said to give us an Untethered jailbreak for iOS 6 but we have found it is fake.. But now and if you are on iOS 6 and wondering how to downgrade to iOS 5.1.1 to enjoy untethered jailbreak but you are afraid you can’t because you haven’t saved your SHSHS blobs ? Well don’t worry we have got for you a solution and we hope it works with you…   NOTE : This guide is only compatible with iPhone 4/ iPhone 3GS/iPod Touch 4G and iPad 3/2…. This is a very easy way to downgrade from iOS 6 back to 5.1.1 without needing to have SHSHS blobs saved on your computer… STEP 1 : Download iOS 5.1.1 for iPhone/iPad and iPod Touch . STEP 2 : Download Redsn0w 0.9.15b1 for Mac/PC users (As This versi...

[iPhone] Manually take iPhone / iPod Touch in and out of DFU mode

How to get your iPhone /iPod Touch into DFU (Device Firmware Update) Mode Connect your iPhone through the USB Cable to the computer and switch it off by holding the power button for more than 5 seconds. Once the iPhone is switched off & connected to the computer, follow the 3 steps given below Press the power button for 3 seconds Without releasing the Power button hold the Home button for another 9 seconds After 9 seconds of holding the Home Button, release the power button but keep holding the home button for another 16 seconds. If you followed the steps properly then the iPhone would be in DFU mode. Have you ever put your phone in DFU mode to restore and keep getting error codes and now your phone is stuck in DFU mode? Well, I was messing around with my phone one day and I "manually" took it out of DFU mode. I think this is a great alternative if one does not wish to load redsn0w or other JB-ing software. Here are the steps to get out of DFU mode: ...