[android-beginners] Re: Preparing an "android" session for my Java User Group ...

2008-10-03 Thread sarika

hi,
i have given presentation on Android ,

you can cover following points :

1) Definition of Android
2) Features
3) Architecture
4) Advantages
5) Android Vs J2ME

i prepared power point presentation as well as some notes : you can
prepare presentation with help of notes ":


Definition of android?

Android is an emerging mobile technology

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

For the developer, Android is a new mobile platform based on Java
running on top of a Linux kernel. For now, Java is the only
development language available.  Android has a complete set of
application programming interfaces available for everything from user-
interface components to accessing location information

2 ) FEATURES ;

*  Application framework enabling reuse and replacement of
components
* Dalvik virtual machine optimized for mobile devices
* Integrated browser based on the open source WebKit engine
* Optimized graphics powered by a custom 2D graphics library; 3D
graphics based on the OpenGL ES 1.0 specification (hardware
acceleration optional)
* SQLite for structured data storage
* Media support for common audio, video, and still image formats
(MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)
* GSM Telephony (hardware dependent)
* Bluetooth, EDGE, 3G, and WiFi (hardware dependent)
* Camera, GPS, compass, and accelerometer (hardware dependent)
* Rich development environment including a device emulator, tools
for debugging, memory and performance profiling, and a plugin for the
Eclipse IDE

3) What Benefits Does Android Have?

For the mobile developer, Android has a number of benefits over other
platforms.

Android is an open platform, both in the open source sense and in the
open API sense. Several stock applications, such as the contact
application and the web browser, will be distributed on Android
handsets and are being developed with application interaction in mind.
Google is also providing some core services that are not readily
available on other platforms. Developers will have access to Google
Maps to display location information. A messaging service for peer-to-
peer communication without the use of SMS, as is common on competing
platforms, will also be available. This is another case of enabling
application innovation that either isn't available on other phones or
would be cost-prohibitive to replicate.

The goal is to allow for new and innovative applications that either
can't be done on existing platforms or simply haven't been allowed.
(This openness extends beyond simply providing access to the data on
the handset. Included applications can be customized or even replaced
entirely. For example, a corporation could replace the messaging
application with one that only allowed secure messaging through the
company's servers or a user could replace the included photo viewer
with one of their choosing.)

The Android APIs are extensive and modern. In addition to the typical
APIs for screen drawing, user input, and network access, you'll find
APIs for storage, media, graphics, and even direct hardware access.
Media APIs are available for both playback and recording of audio,
video, and still images. For storage, developers aren't limited to
file-based APIs. SQLite is available for relational data storage, a
preferences API is available for simple setting storage, and
applications can extend the data storage mechanisms available. OpenGL
ES, with optional hardware acceleration, is available for 3D graphics
applications. Lastly, there will be a set of low-level APIs for direct
access to the hardware, such as WiFi or Bluetooth. Most mobile
platforms don't allow low-level access to the hardware, but Android
allows developers to extend the hardware on a given handset. (For
instance, it might be possible to add support for Bluetooth profiles
that weren't provided out-of-the-box.)

Security is essential with such an open development environment.
Therefore, a tight security model is built into Android. Applications
are only granted required permissions (data access, APIs used, and so
forth) at installation time and cannot change their permissions later.
So, an application can't remotely add a new feature to, say, read a
user's location with or without the user's permission. This is a big
step towards preventing malware and easing privacy and safety concerns
for users of the platform.

4) Fast & easy application development

With Android, a developer could build an application that enables
users to view the location of their friends and be alerted when they
are in the vicinity giving them a chance to connect.”


“Android provides access to a wide range of useful libraries and tools
that can be used to build rich applications. For e

[android-beginners] Re: HTTP

2008-10-03 Thread sarika

i got it how to use http connecttion


thanks

On Sep 25, 7:52 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> sarika india wrote:
> > i am working on HTTP conntection for android, but i have not yet
> > worked on HTTP connection code for any language,
> > does anybody know how to do HTTP connection in android?
>
> Use URLConnection, or the Apache HTTPComponents (org.apache.http) built
> into Android.
>
> URLConnection is covered in many Java tutorials.
>
> HTTPComponents are documented onhttp://hc.apache.org. In particular,
> there are examples in the HTTPClient area:
>
> http://hc.apache.org/httpcomponents-client/examples.html
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Warescription: All titles, revisions, & ebook formats, just $35/year
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Storing Data to database

2008-10-03 Thread sarika

yes got it ... its working now


thanks


On Sep 29, 5:00 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> sarika india wrote:
>
> > as i am using following 
>
> > SQLiteDatabase.query(DATABASE_TABLE, new String[] {KEY_ROWID,
> > KEY_HIGHSCORE}, null, null, null, null, null);
>
> > at this point i am getting following errors :
>
> > Caused by : android.database.SQLiteExceptions : no such table
> > highscore :, while compiling
> > SELECT _id ,  highscore FROM highscore
>
> Apparently, you haven't created the table yet.
>
> You may wish to spend some time going over the NotePad tutorial, which
> includes database access if I recall correctly. Or, curl up with a good
> Android book... ;-)
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
>
> Android Training on the Ranch! -- Mar 16-20, 
> 2009http://www.bignerdranch.com/schedule.shtml
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Storing Data to database

2008-09-29 Thread sarika india


as i am using following 

SQLiteDatabase.query(DATABASE_TABLE, new String[] {KEY_ROWID,
KEY_HIGHSCORE}, null, null, null, null, null);


at this point i am getting following errors :

Caused by : android.database.SQLiteExceptions : no such table
highscore :, while compiling
SELECT _id ,  highscore FROM highscore
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Storing Data to database

2008-09-29 Thread sarika india

Hello,

will anybody plz guide me how to store data in database?



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] HTTP

2008-09-24 Thread sarika india

hi,

i am working on HTTP conntection for android, but i have not yet
worked on HTTP connection code for any language,
does anybody know how to do HTTP connection in android?


plz do help me out in this regard

Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] New to android

2008-09-16 Thread sarika india

hello to all,

i am new to android learning step by step







Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---