File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Touchscreen Apps on Android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Touchscreen Apps on Android" Watch "Touchscreen Apps on Android" New topic
Author

Touchscreen Apps on Android

Anup Francis
Ranch Hand

Joined: Jun 17, 2008
Posts: 45
Hi Mark,

Does Android provide api's as such for creating touchscreen applications?
Does the book cover making touchscreen Apps and provide an example of it?

Also, can we test touchscreen apps on ADT plugin for eclipse?


SCJP 5.0, SCWCD 1.4, SCBCD 5.0, SCDJWS 1.4 & 5.0, SCSNI, ICSD for XML, SCEA 5 , ACE: Flex 3.0 and Air, ACE : Flex 4.0
Neerhaj Joshi
Greenhorn

Joined: Mar 02, 2009
Posts: 9
Yes. Android provides APIs for touchscreen apps. I haven't read the book but considering it is based on the SDK 1.1, it should have several relative examples.

Android SDK comes with an emulator which you can use alongwith ADT plugin/Eclipse to test your application.
Imran Mohd
Ranch Hand

Joined: Mar 02, 2009
Posts: 38
By overriding the following method in our Activity Class we can create Touch Events



Cheers,
Mohd Imran (SCJP 1.5)
Anup Francis
Ranch Hand

Joined: Jun 17, 2008
Posts: 45
Oh Ok, So one can create touch events to simulate touching effect on screen.
I was wondering how one can test such apps on eclipse because there is no
real touchscreen interface available.
Thanks for the Info.
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

There are lot of examples bundled with the SDK that touch upon most of the functionality that the device supporting Android OS can offer, including handling TouchEvents. You can start studying those examples for starters.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
Mark L. Murphy
Author
Ranch Hand

Joined: Feb 11, 2009
Posts: 131
Does Android provide api's as such for creating touchscreen applications?


Yes, using the techniques the other folks on this thread pointed out.

Does the book cover making touchscreen Apps and provide an example of it?


No. Eventually, my Advanced Android book will probably cover it, but not until later this year.

Mark Murphy (a Commons Guy)
Author of The Busy Coder's Guide to Android Development http://commonsware.com/Android/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Touchscreen Apps on Android