0
Q:

What is the proper way of setting up an Android-powered device for app development? 

Answer:



Q:

What are the features added in iOS 9 ?

Answer

  • Intelligent Search and Siri- Intelligent Search is an excellent mechanism to learn user habits and act on that information- open apps before we need them, make recommendations on places we might like and guide us through our daily lives to make sure we’re where we need to be at the right time.
    Siri is a personal assistant to the users, able to create contextual reminders and search through photos and videos in new ways. Swiping right from the home screen also brings up a new screen that houses “Siri Suggestions,” putting favorite contacts and apps right on your fingertips, along with nearby restaurant and location information and important news.

  • Deeper search capabilities can show results like sports scores, videos, and content from third-party apps, and you can even do simple conversions and calculations using the search tools on your iPhone or iPad.

  • Many of the built-in apps have been updated.
    ✓ Notes includes new checklists and sketching features
    ✓ Maps now offers transit directions
    ✓ Mail allows for file attachments
    ✓ Apple Pay is being improved with the addition of store credit cards and loyalty cards
    ✓ Leading “Passbook” to be renamed to “Wallet” in iOS 9.

  • San Francisco font, wireless CarPlay support

  • An optional iCloud Drive app, built-in two-factor authentication and optional longer passwords for better security.

  • Performance improvements

Report Error

View answer Workspace Report Error Discuss

8 91
Q:

What JSON framework is supported by iOS (iPhone OS) ?

Answer

  • SBJson framework is supported by iOS.

  • It is a JSON parser and generator for Objective-C (Objective-C is the primary programming language you use when writing software for OS X and iOS. It is a superset of the C-programming language and provides object-oriented capabilities and a dynamic runtime).

  • SBJson provides flexible API's and additional control that makes JSON handling easy.

Report Error

View answer Workspace Report Error Discuss

8 111
Q:

Where can you define the icon for your Activity ?

Answer

Icon for an Activity is defined in the manifest file.


Code


<activity android:icon="@drawable/app_icon" android:name=".MyTestActivity"></activity>


...

Report Error

View answer Workspace Report Error Discuss

1 114
Q:

Why cannot you run standard Java byte code on Android ?

Answer

Android uses Dalvik Virtual Machine (DVM) which requires a special bytecode. We need to convert Java class files into Dalvik Executable files using an Android tool called "dx". In normal circumstances, developers will not be using this tool directly and build tools will care for the generation of DVM compatible files.

Report Error

View answer Workspace Report Error Discuss

1 116
Q:

What are intents, shared preference in android ?

Answer

An Android Intent is an abstract description of an operation to be performed. It can be used with startActivity to launch an Activity, broadcastIntent to send it to any interested BroadcastReceiver components, and startService(Intent) or bindService(Intent, ServiceConnection, int) to communicate with a background Service.The intent itself, an Intent object, is a passive data structure holding an abstract description of an operation to be performed.
Android provides many ways of storing data of an application. One of this way is called Shared Preferences. Shared Preferences allow you to save and retrieve data in the form of key,value pair.


In order to use shared preferences, you have to call a method getSharedPreferences() that returns a SharedPreference instance pointing to the file that contains the values of preferences.

Report Error

View answer Workspace Report Error Discuss

3 179