SlideShare a Scribd company logo
1 of 30
Name :- Rahul Verma
Branch :- CSE 2nd SHIFT
Roll No. :- 115365
Submitted To :- Mr. Jagdeep Singh
Introduction
What is Android?
 • A software platform and operating system for mobile devices

 • Android is a software stack for mobile devices that includes an
   operating system, middleware and key applications. The Android SDK
   provides the tools and APIs necessary to begin developing applications
   on the Android platform using the Java programming language.

 • Based on the Linux kernel

 • Developed by Google and later the Open Handset Alliance (OHA)

 • Allows writing managed code in the Java language

 • Possibility to write applications in other languages and compiling it to
   ARM native code (support of Google? No)

 • Unveiling of the Android platform was announced on 5 November 2007
   with the founding of OHA
2.3 Gingerbread
3.0 Honeycomb
3.1 Honeycomb
3.2 Honeycomb
4.0 Ice Cream Sandwich
Platform
2.1 Hardware

Android is not a single piece of hardware; it's a complete, end-to-end software
platform that can be adapted to work on any number of hardware configurations.
Everything is there, from the bootloader all the way up to the applications.
Platform
2.2 Operating System(s)

• Android uses Linux for its device drivers, memory management, process
  management, and networking.
Platform
2.3 Network Connectivity

It supports wireless communications using:

       GSM mobile-phone technology

       3G

       Edge

       802.11 Wi-Fi networks
Platform
2.4 Security

Android is a multi-process system, in which each application (and parts of the
system) runs in its own process. Most security between applications and the
system is enforced at the process level through standard Linux facilities, such as
user and group IDs that are assigned to applications.

Additional finer-grained security features are provided through a "permission"
mechanism that enforces restrictions on the specific operations that a particular
process can perform, and per-URI permissions for granting ad-hoc access to
specific pieces of data.
Platform
2.5 Performance
Platform
2.6 Future possibilities

• Google Android Sales to Overtake iPhone in 2012
• The OHA is committed to make their vision a reality: to deploy the Android
  platform for every mobile operator, handset manufacturers and developers to
  build innovative devices
• Intel doesn’t want to lose ownership of the netbook market, so they need to
  prepare for anything, including Android
• Fujitsu launched an initiative to offer consulting and engineering expertise to
  help run Android on embedded hardware, which aside from cellphones, mobile
  internet devices, and portable media players, could include GPS devices, thin-
  client computers and set-top boxes.
• More Android devices are coming and some will push the envelope even
  further
Overall evaluation
4.1 Advantages

There are a host of advantages that Google’s Android will derive from being an
open source software. Some of the advantages include:

 • The ability for anyone to customize the Google Android platform
 • The consumer will benefit from having a wide range of mobile applications to
   choose from since the monopoly will be broken by Google Android
 • Men will be able to customize a mobile phones using Google Android platform
   like never before
 • Features like weather details, opening screen, live RSS feeds and even the
   icons on the opening screen will be able to be customized
 • As a result of many mobile phones carrying Google Android, companies will
   come up with such innovative products like the location
 • In addition the entertainment functionalities will be taken a notch higher by
   Google Android being able to offer online real time multiplayer games
C and C++
• C++ is a general-purpose programming language with
  a bias towards systems programming that
  –   is a better C
  –   supports data abstraction
  –   supports object-oriented programming
  –   supports generic programming

                      C:
                              Functions and structs
                              Machine model (basic types and operations)
                              Compilation and linkage model
Missing in C (from a C++ perspective)
•   Classes and member functions
     – Use struct and global functions
•   Derived classes and virtual functions
     – Use struct , global functions, and pointers to functions
     – You can do OOP in C, but not cleanly, and why would you want to?
     – You can do GP in C, but why would you want to?
•   Templates and inline functions
     – Use macros
•   Exceptions
     – Use error-codes, error-return values, etc.
•   Function overloading
     – Give each function a separate name
•   new/delete
     – Use malloc()/free()
•   References
     – Use pointers
•   const in constant expressions
     – Use macros
Have a C programming reference always
with you. Study or check on the go!.
Complete C language programming
reference from cheat sheets and quick
reference cards, to primer language
programming tutorials, complete
reference, code style industry
recommendations, advanced pointer
tutorials and more.

Use the possibilities the mobile brings
you, allowing to study or check anything
you want on the go. Don't waste time on
transportation, use your mobile and
study and check anything you want
Learn C++ Programming right over your Android phone or tablet with this great
app. Popular videos by Programmers Institute help you to learn C++
programming even if you have never programmed before. You get the basics
form the ground level to get you started and on your way in a step by step
fashion.
Set you phone or tablet by your computer and let this app help you through the
beginning steps. More apps like this are on the way!
Requirements: Android 2.1+
Overview: C4droid is a C
compiler for Android.

Root is not required, but if
you have rooted your device
or have enough internal
memory, you can get C++
support,
Long click save button to "save
as", long click run to run with
arguments.
C4droid already has almost full C
language support, so you don't
need to wait when it will be added.
You can to write your
own applications on the Android
phone, and run them. This app uses
TCC and uClibc, so it has full
support of ANSI C and some
support of ISO C99. C4droid can
be used for educational purposes
or to practice in C language.
Result of compilation (binary) is placed
in
"/data/data/com.n0n3m4.droidc/files/te
mp", because sdcard doesn't have
permission for execution by default.
Some components of C4droid
are LGPL-licensed. You
can download used source
code of TCC and uClibc on
their websites. C4droid
includes Android Terminal
Emulator so you can to run
your application comfortably.
Android Market Description Simple
C/C++ compiler / interpreter for
educational purpose.
some part of C language is implemented,
C++ language support will be done in
some future.
*. No Internet Connection is required to
run the code.
Uses internet connection Once when you
run the app
only for licensing purpose.
*. You don't need to root the phone to
run the app.
Works well on non-rooted devices.
If you have any question about the app
please visit
http://www.dztall.com or e-mail at
dztall96@gmail.com

Keywords : c / c++ interpreter compiler
script android
education code programming language
learning IDE gcc
The Android NDK is a companion tool
to the Android SDK that lets you build
performance-critical portions of your
apps in native code. It provides headers
and libraries that allow you to build
activities, handle user input, use
hardware sensors, access application
resources, and more, when
programming in C or C++. If you write
native code, your applications are still
packaged into an .apk file and they still
run inside of a virtual machine on the
device. The fundamental Android
application model does not change.
The NDK provides:

* A set of tools and build files used to
generate native code libraries from C
and C++ sources
* A way to embed the corresponding
native libraries into an application
package file (.apk) that can be deployed
on Android devices
* A set of native system headers and
libraries that will be supported in all
future versions of the Android platform,
starting from Android 1.5
* Documentation, samples, and
tutorials
Compilation Of C/C++ program in Android

More Related Content

What's hot

Building Apps With Flutter
Building Apps With FlutterBuilding Apps With Flutter
Building Apps With FlutterDavid Onoh
 
Android app Development Prepration Tips
Android app Development Prepration TipsAndroid app Development Prepration Tips
Android app Development Prepration TipsYasmeen Sheikh
 
Native mobile application development with Flutter (Dart)
Native mobile application development with Flutter (Dart)Native mobile application development with Flutter (Dart)
Native mobile application development with Flutter (Dart)Randal Schwartz
 
Flutter dhaval solanki
Flutter   dhaval solankiFlutter   dhaval solanki
Flutter dhaval solankiDhaval Solanki
 
INTRODUCTION TO FLUTTER.pdf
INTRODUCTION TO FLUTTER.pdfINTRODUCTION TO FLUTTER.pdf
INTRODUCTION TO FLUTTER.pdfAdarshMathuri
 
Android AppDevelopment
Android AppDevelopmentAndroid AppDevelopment
Android AppDevelopmentAshraf Ali
 
Android application development
Android application developmentAndroid application development
Android application developmentSteve Smith
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app developmentAbhishekKumar4779
 
12eb50e2-6ffd-41a0-ac74-d6c77b516b5d-150409094316-conversion-gate01
12eb50e2-6ffd-41a0-ac74-d6c77b516b5d-150409094316-conversion-gate0112eb50e2-6ffd-41a0-ac74-d6c77b516b5d-150409094316-conversion-gate01
12eb50e2-6ffd-41a0-ac74-d6c77b516b5d-150409094316-conversion-gate01Ankush Kumar
 
Null safety in dart and flutter , the whole story!
Null safety in dart and flutter , the whole story!Null safety in dart and flutter , the whole story!
Null safety in dart and flutter , the whole story!Ahmed Abu Eldahab
 
Android summer training report
Android summer training reportAndroid summer training report
Android summer training reportShashendra Singh
 
Android study jams 1
Android study jams 1Android study jams 1
Android study jams 1NancyMariaAS
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application DevelopmentRamesh Prasad
 
Portable Code Compiler
Portable Code CompilerPortable Code Compiler
Portable Code Compilerijtsrd
 
Creating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for AndroidCreating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for AndroidMotorola Mobility - MOTODEV
 
IRJET - V-IDE: Voice Controlled IDE using Natural Language Processing and...
IRJET -  	  V-IDE: Voice Controlled IDE using Natural Language Processing and...IRJET -  	  V-IDE: Voice Controlled IDE using Natural Language Processing and...
IRJET - V-IDE: Voice Controlled IDE using Natural Language Processing and...IRJET Journal
 
IPhone Web Development With Grails from CodeMash 2009
IPhone Web Development With Grails from CodeMash 2009IPhone Web Development With Grails from CodeMash 2009
IPhone Web Development With Grails from CodeMash 2009Christopher Judd
 

What's hot (20)

Sunil Kumar Sarvepalli
Sunil Kumar SarvepalliSunil Kumar Sarvepalli
Sunil Kumar Sarvepalli
 
Building Apps With Flutter
Building Apps With FlutterBuilding Apps With Flutter
Building Apps With Flutter
 
Android app Development Prepration Tips
Android app Development Prepration TipsAndroid app Development Prepration Tips
Android app Development Prepration Tips
 
Native mobile application development with Flutter (Dart)
Native mobile application development with Flutter (Dart)Native mobile application development with Flutter (Dart)
Native mobile application development with Flutter (Dart)
 
Flutter dhaval solanki
Flutter   dhaval solankiFlutter   dhaval solanki
Flutter dhaval solanki
 
INTRODUCTION TO FLUTTER.pdf
INTRODUCTION TO FLUTTER.pdfINTRODUCTION TO FLUTTER.pdf
INTRODUCTION TO FLUTTER.pdf
 
Android AppDevelopment
Android AppDevelopmentAndroid AppDevelopment
Android AppDevelopment
 
Android application development
Android application developmentAndroid application development
Android application development
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
 
Portfolio
PortfolioPortfolio
Portfolio
 
12eb50e2-6ffd-41a0-ac74-d6c77b516b5d-150409094316-conversion-gate01
12eb50e2-6ffd-41a0-ac74-d6c77b516b5d-150409094316-conversion-gate0112eb50e2-6ffd-41a0-ac74-d6c77b516b5d-150409094316-conversion-gate01
12eb50e2-6ffd-41a0-ac74-d6c77b516b5d-150409094316-conversion-gate01
 
Null safety in dart and flutter , the whole story!
Null safety in dart and flutter , the whole story!Null safety in dart and flutter , the whole story!
Null safety in dart and flutter , the whole story!
 
Android summer training report
Android summer training reportAndroid summer training report
Android summer training report
 
Android study jams 1
Android study jams 1Android study jams 1
Android study jams 1
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
Portable Code Compiler
Portable Code CompilerPortable Code Compiler
Portable Code Compiler
 
Creating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for AndroidCreating Great Apps with MOTODEV Studio for Android
Creating Great Apps with MOTODEV Studio for Android
 
android
androidandroid
android
 
IRJET - V-IDE: Voice Controlled IDE using Natural Language Processing and...
IRJET -  	  V-IDE: Voice Controlled IDE using Natural Language Processing and...IRJET -  	  V-IDE: Voice Controlled IDE using Natural Language Processing and...
IRJET - V-IDE: Voice Controlled IDE using Natural Language Processing and...
 
IPhone Web Development With Grails from CodeMash 2009
IPhone Web Development With Grails from CodeMash 2009IPhone Web Development With Grails from CodeMash 2009
IPhone Web Development With Grails from CodeMash 2009
 

Similar to Compilation Of C/C++ program in Android

Vijay android ppt
Vijay android pptVijay android ppt
Vijay android pptvijaymashre
 
Android Training Course In Chandigarh
Android Training Course In ChandigarhAndroid Training Course In Chandigarh
Android Training Course In ChandigarhExcellence Academy
 
Mobile Application Development powerpoint
Mobile Application Development powerpointMobile Application Development powerpoint
Mobile Application Development powerpointJohnLagman3
 
Introduction to android mobile app development.pptx
Introduction to android mobile app development.pptxIntroduction to android mobile app development.pptx
Introduction to android mobile app development.pptxridzah12
 
Introduction to Android - Seminar
Introduction to Android - SeminarIntroduction to Android - Seminar
Introduction to Android - SeminarAkshay Sharma
 
Introduction to Android - Seminar
Introduction to Android - SeminarIntroduction to Android - Seminar
Introduction to Android - SeminarAkshay Sharma
 
An introduction on Android OS, its working and android development
An introduction on Android OS, its working and android developmentAn introduction on Android OS, its working and android development
An introduction on Android OS, its working and android developmentSanskar Saraf
 
Android 130923124440-phpapp01
Android 130923124440-phpapp01Android 130923124440-phpapp01
Android 130923124440-phpapp01rajesh kumar
 
An introduction on Android OS, its working and android development
An introduction on Android OS, its working and android developmentAn introduction on Android OS, its working and android development
An introduction on Android OS, its working and android developmentSanskar Saraf
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfNomanKhan869872
 

Similar to Compilation Of C/C++ program in Android (20)

Vijay android ppt
Vijay android pptVijay android ppt
Vijay android ppt
 
Android Training Course In Chandigarh
Android Training Course In ChandigarhAndroid Training Course In Chandigarh
Android Training Course In Chandigarh
 
Android
AndroidAndroid
Android
 
Android 1
Android 1 Android 1
Android 1
 
Android presentation
Android presentationAndroid presentation
Android presentation
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Mobile Application Development powerpoint
Mobile Application Development powerpointMobile Application Development powerpoint
Mobile Application Development powerpoint
 
Introduction to android mobile app development.pptx
Introduction to android mobile app development.pptxIntroduction to android mobile app development.pptx
Introduction to android mobile app development.pptx
 
Android 1
Android 1 Android 1
Android 1
 
Introduction to Android - Seminar
Introduction to Android - SeminarIntroduction to Android - Seminar
Introduction to Android - Seminar
 
Introduction to Android - Seminar
Introduction to Android - SeminarIntroduction to Android - Seminar
Introduction to Android - Seminar
 
An introduction on Android OS, its working and android development
An introduction on Android OS, its working and android developmentAn introduction on Android OS, its working and android development
An introduction on Android OS, its working and android development
 
Android technology
Android technology Android technology
Android technology
 
Android 130923124440-phpapp01
Android 130923124440-phpapp01Android 130923124440-phpapp01
Android 130923124440-phpapp01
 
Aandroid
AandroidAandroid
Aandroid
 
An introduction on Android OS, its working and android development
An introduction on Android OS, its working and android developmentAn introduction on Android OS, its working and android development
An introduction on Android OS, its working and android development
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdf
 
Android
AndroidAndroid
Android
 
Android ppt
Android ppt Android ppt
Android ppt
 
Android Applications
Android ApplicationsAndroid Applications
Android Applications
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 

Recently uploaded (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 

Compilation Of C/C++ program in Android

  • 1. Name :- Rahul Verma Branch :- CSE 2nd SHIFT Roll No. :- 115365 Submitted To :- Mr. Jagdeep Singh
  • 2.
  • 3. Introduction What is Android? • A software platform and operating system for mobile devices • Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language. • Based on the Linux kernel • Developed by Google and later the Open Handset Alliance (OHA) • Allows writing managed code in the Java language • Possibility to write applications in other languages and compiling it to ARM native code (support of Google? No) • Unveiling of the Android platform was announced on 5 November 2007 with the founding of OHA
  • 4. 2.3 Gingerbread 3.0 Honeycomb 3.1 Honeycomb 3.2 Honeycomb 4.0 Ice Cream Sandwich
  • 5. Platform 2.1 Hardware Android is not a single piece of hardware; it's a complete, end-to-end software platform that can be adapted to work on any number of hardware configurations. Everything is there, from the bootloader all the way up to the applications.
  • 6. Platform 2.2 Operating System(s) • Android uses Linux for its device drivers, memory management, process management, and networking.
  • 7. Platform 2.3 Network Connectivity It supports wireless communications using:  GSM mobile-phone technology  3G  Edge  802.11 Wi-Fi networks
  • 8. Platform 2.4 Security Android is a multi-process system, in which each application (and parts of the system) runs in its own process. Most security between applications and the system is enforced at the process level through standard Linux facilities, such as user and group IDs that are assigned to applications. Additional finer-grained security features are provided through a "permission" mechanism that enforces restrictions on the specific operations that a particular process can perform, and per-URI permissions for granting ad-hoc access to specific pieces of data.
  • 10. Platform 2.6 Future possibilities • Google Android Sales to Overtake iPhone in 2012 • The OHA is committed to make their vision a reality: to deploy the Android platform for every mobile operator, handset manufacturers and developers to build innovative devices • Intel doesn’t want to lose ownership of the netbook market, so they need to prepare for anything, including Android • Fujitsu launched an initiative to offer consulting and engineering expertise to help run Android on embedded hardware, which aside from cellphones, mobile internet devices, and portable media players, could include GPS devices, thin- client computers and set-top boxes. • More Android devices are coming and some will push the envelope even further
  • 11. Overall evaluation 4.1 Advantages There are a host of advantages that Google’s Android will derive from being an open source software. Some of the advantages include: • The ability for anyone to customize the Google Android platform • The consumer will benefit from having a wide range of mobile applications to choose from since the monopoly will be broken by Google Android • Men will be able to customize a mobile phones using Google Android platform like never before • Features like weather details, opening screen, live RSS feeds and even the icons on the opening screen will be able to be customized • As a result of many mobile phones carrying Google Android, companies will come up with such innovative products like the location • In addition the entertainment functionalities will be taken a notch higher by Google Android being able to offer online real time multiplayer games
  • 12. C and C++ • C++ is a general-purpose programming language with a bias towards systems programming that – is a better C – supports data abstraction – supports object-oriented programming – supports generic programming C:  Functions and structs  Machine model (basic types and operations)  Compilation and linkage model
  • 13. Missing in C (from a C++ perspective) • Classes and member functions – Use struct and global functions • Derived classes and virtual functions – Use struct , global functions, and pointers to functions – You can do OOP in C, but not cleanly, and why would you want to? – You can do GP in C, but why would you want to? • Templates and inline functions – Use macros • Exceptions – Use error-codes, error-return values, etc. • Function overloading – Give each function a separate name • new/delete – Use malloc()/free() • References – Use pointers • const in constant expressions – Use macros
  • 14.
  • 15. Have a C programming reference always with you. Study or check on the go!. Complete C language programming reference from cheat sheets and quick reference cards, to primer language programming tutorials, complete reference, code style industry recommendations, advanced pointer tutorials and more. Use the possibilities the mobile brings you, allowing to study or check anything you want on the go. Don't waste time on transportation, use your mobile and study and check anything you want
  • 16.
  • 17. Learn C++ Programming right over your Android phone or tablet with this great app. Popular videos by Programmers Institute help you to learn C++ programming even if you have never programmed before. You get the basics form the ground level to get you started and on your way in a step by step fashion. Set you phone or tablet by your computer and let this app help you through the beginning steps. More apps like this are on the way!
  • 18.
  • 19.
  • 20. Requirements: Android 2.1+ Overview: C4droid is a C compiler for Android. Root is not required, but if you have rooted your device or have enough internal memory, you can get C++ support,
  • 21. Long click save button to "save as", long click run to run with arguments. C4droid already has almost full C language support, so you don't need to wait when it will be added. You can to write your own applications on the Android phone, and run them. This app uses TCC and uClibc, so it has full support of ANSI C and some support of ISO C99. C4droid can be used for educational purposes or to practice in C language.
  • 22. Result of compilation (binary) is placed in "/data/data/com.n0n3m4.droidc/files/te mp", because sdcard doesn't have permission for execution by default.
  • 23. Some components of C4droid are LGPL-licensed. You can download used source code of TCC and uClibc on their websites. C4droid includes Android Terminal Emulator so you can to run your application comfortably.
  • 24.
  • 25. Android Market Description Simple C/C++ compiler / interpreter for educational purpose. some part of C language is implemented, C++ language support will be done in some future. *. No Internet Connection is required to run the code. Uses internet connection Once when you run the app only for licensing purpose.
  • 26. *. You don't need to root the phone to run the app. Works well on non-rooted devices. If you have any question about the app please visit http://www.dztall.com or e-mail at dztall96@gmail.com Keywords : c / c++ interpreter compiler script android education code programming language learning IDE gcc
  • 27.
  • 28. The Android NDK is a companion tool to the Android SDK that lets you build performance-critical portions of your apps in native code. It provides headers and libraries that allow you to build activities, handle user input, use hardware sensors, access application resources, and more, when programming in C or C++. If you write native code, your applications are still packaged into an .apk file and they still run inside of a virtual machine on the device. The fundamental Android application model does not change.
  • 29. The NDK provides: * A set of tools and build files used to generate native code libraries from C and C++ sources * A way to embed the corresponding native libraries into an application package file (.apk) that can be deployed on Android devices * A set of native system headers and libraries that will be supported in all future versions of the Android platform, starting from Android 1.5 * Documentation, samples, and tutorials