Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Touchscreen Apps on Android

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By overriding the following method in our Activity Class we can create Touch Events

 
Anup Francis
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Author
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic