Posts

Showing posts with the label learn android

How Android OS works in smartphones?

Image
Android OS Working in Mobile Platform Android is a lightweight mobile OS made for low SOC architecture, to know how android works in smartphones you can start with top level 5 layered diagram below. Every android distribution consist of these layers namely Application, Framework, Libraries, Runtime, Kernel. Starting at the bottom is the Linux Kernel. Android uses Linux for its device drivers, memory management, process management, and networking. However you will never be programming to this layer directly. The next level up contains the Android native libraries. They are all written in C/C++ internally, but you'll be calling them through Java interfaces. In this layer you can find the Surface Manager (for compositing windows), 2D and 3D graphics, Media codecs (MPEG-4, H.264, MP3, etc.), the SQL database (SQLite), and a native web browser engine (WebKit). Next is the Android runtime, including the Dalvik Virtual Machine. Dalvik runs Dex files, which are con...

What is Difference Between Android and iOS OS Architectures ?

Image
Android VS iOS Architecture To understand difference between Android and iOS OS Architectures you first need to understand they both run on different set of toolchain. Both OS offers different suit of outcomes and still you can compare them because both are mens to run on mobile platform so lets start with direct comparison and nothing else: Android iOS Customisability A lot. Can change almost anything. Limited unless jailbroken Developer Google, Open Handset Alliance Apple Inc. Initial release September 23, 2008 July 29, 2007 Source model Open source Closed, with open source components. OS family Linux OS X, UNIX Widgets Yes No, except in NotificationCenter File transfer Easier than iOS. Using USB port and Android File Transfer desktop app. Photos can be transferred via USB without apps. More difficult. Media files can be transferred using iTunes desktop app. Photos can be transferred out via USB without apps. Available on Many phones and tablets. Major manufac...

Advance Android Programming Topics | Interview Cracker

Image
Special Android Development Topics   " These are some of the useful android dev topics for interview and jobs " Handling Media with Android:    Android provides two main API's for playing sounds. The first one via the SoundPool class and the other one via the MediaPlayer class.   SoundPool can be used for small audio clips. It can repeat sounds and play several sounds simultaneously. The sound files played with SoundPool should not exceed 1 MB.   Android supports different audio streams for different purposes. The phone volume button can be configured to control a specific audio stream, e.g. during a call the volume button allow increase / decrease the caller volume. MediaPlayer is better suited for longer music and movies. Learn More @ Handling Media with Android   C2DM Android:      Android Cloud to Device Messaging (commonly referred to as Cloud to Device Messaging), or C2DM, is a defunct mobile service that was developed by ...

Applications of Firebase

Image
Why and Where I need Firebase? Firebase is a versatile backend with a lot of good uses. use it on everything from blog engines to small realtime games. When building a project, if I desire one of the three following things, I'll typically consider it a good time to use Firebase. I want short development time. It doesn't matter if it's a prototype or something I just want done tonight. If I want it fast, I know I can use Firebase to cut down development time and avoid messing with servers and data storage. I want my data in realtime. Any time I deal with realtime data synchronization in my applications, it slows development down and forces me to draw my focus away from the application. Firebase fixes this and allows me to make anything I want work in realtime without a second thought. This is huge to me. I want my application to scale. This is pretty straight forward. If I want my application to scale well, I can trust that Firebase will handle all my data withou...

Top 16 Mobile App Development Companies in India | App Developers 2017

Image
Top 16 Mobile App Development Companies in India 2017 | Indian Mobile App Developers (iPhone, iOS & Android) Is it a real struggle for you to find an Indian mobile app development company from a pile of thousands or may be more? I know your answer is yes because India is actually a hub of top companies where finding the one is like searching for needle in a haystack. To save you from such a striving task, I collected here a prime list of top mobile app development companies of India. They have made business-growing apps since years and still making them with latest introduced technology. They have precious assets which you call top Indian app developers making apps to interact more and more users towards your business. So, what are you waiting for? Here is the list of Top Mobile app development companies of India 1. OpenXcell OpenXcell is ISO 9001: 2008 certified mobile app development companies located in India and United States. OpenXcell is an expert in deve...

Android mcq questions and answers pdf

Image
Download: 100+ Android Interview Questions and Answers PDF Download: 50+ Android Interview Questions & Answers PDF   Check Tis Out:    Online Practice Test 190 Android App Development MCQs 84 MCQ Android App Development Test 77 Most IMP Android MCQ's For Your Exam [solved]    50+ Android - Solved MCQ's [Topic Wise Sorted] 105 Solved Android Objective Questions   what is AsyncTask in Android?   what is android Alarm Service?   what is Android Adapter View? what are Android Implicit Intents?      

what is AsyncTask in Android?

Image
AsyncTask -> an alternate aproach for using thread and handler togather   It provides methods that replaces behaviour of thread and handler classes.  The important method in AsyncTask class are  1) doInBackground( input )- it is alternate to      run() method of thread. but also has     input type and return type.  2)publishProgress( input )-> it is used as alternate to sendMessage() method of handler. But it can take any data type as input.  3)onProgressUpdate(input) ->this method replace handleMessage() method of Handler.  4)onPostExecute(input) -> recieves whatever is return from doInBackground() as a final value.  5) onPreExecute()-> it executes just before doInBackground(). and used for any initialization AsyncTask requires Types to be declared for Input data, intermediate data and final return type of doInBackground(); Check Tis Out:    Online Practice Test 190 Android App Development MC...

what is android Alarm Service?

Image
AlarmService - it helps to execute your activity/service at perticular time. It is a system service, which can be accessed using AlarmManager class.   Time to execute your code can be set for more than 1 minute. If the time is Fixed datetime like 2nd Sept 2017,5:30am,  Then it  is known as real time clock alarm. If the time is relative to current time like after 2 minute, or after 1 hour. then it is know as elapsed real time alarm.  An intent object is required to be passed to AlarmManager along with timeToExecute to schedule for execution.   PendingIndent is used to represent the intent which execute later on at some other time. Check Tis Out:    Online Practice Test 190 Android App Development MCQs 84 MCQ Android App Development Test 77 Most IMP Android MCQ's For Your Exam [solved]    50+ Android - Solved MCQ's [Topic Wise Sorted] 105 Solved Android Objective Questions   Android mcq questions and answers pdf what is AsyncTas...

what is Android Adapter View?

Image
Android Adapter Views AdapterViews - > are views that can display multiple items. Common adapterViews are dropdownBox, Grid, Lists etc. OptionsMenu-> Every activity can have it's own menu options, which can be activated by selecting from overflow icon(3 dots) on ActionBar of activity  Options for an activity are declared in menu.xml file in res/menu folder ->The syntax to declare menu items is  <menu>   <item     android:title="Help"     android:id="@+id/option_help"        />   <item     android:title="clear"     android:id="@+id/option_clear"        /> </menu> --------------------------------- to display/load menu xml file override    onCreateOptionsItem method in activity code is  {    MenuInflator inf = getMenuInflator();    inf.inflate(R.menu.home_menu, menu);    ...

what are Android Implicit Intents?

Image
Android Implicit Intents-   ----------------- It is used to identify activities whose class name is not available. It helps to access activities with alternate name.    Intent Filter - > holds information to create implicite kind of intent.  It can have following information    1. ACTION - > an String constant that can work as alternate name for activity. ACTION also define type of work actvity can perform. Android API has defined some standard ACTIONS like VIEW, MAIN, PICK, SHARE etc.   2. Category :It put an Activity in a special category, like BROWSABLE (to work as browser), LAUNCHER(to work as first screen of app) 3. Data Type -> Some activities can be assigned to work on specific data type. e.g. Gallery can work on images/audio and videos. Browser screen works on urls. File Manager screen works on file/folder path.  Dialer works on telephone numbers etc..... Check Tis Out:    Online Practice Test 190 Android App D...