0

friends

I want to make a new app like a calculate weight..

1) When user long press on screen i want to calculate weight of that user press weight.

2) when user touch on screen that not calculate weight only calculate long press weight..

Is it possible to get a weight using long press on devices..

i searching on a Google but not getting any output so, i decide to ask that question...

Thanks in advance..

Roadies
  • 3,309
  • 2
  • 30
  • 46
  • What do you mean by `weight`, describe it in some words.. – Amulya Khare Oct 25 '13 at 04:50
  • @AmulyaKhare like a electric weight calculate. When user long press on screen i want to calculate weight how much weight press on screen For Ex :- 1gm ,2gm,etc... – Roadies Oct 25 '13 at 04:54

2 Answers2

1

See there are two types of touches available for mobile phones and mobile phones are distributed among these touches.

1) Capacitive

2) Resistive

Capacitive touchscreen

Capacitive touchscreens work by sensing the conductive properties of an object, usually the skin on your fingertip. A capacitive screen on a mobile phone or smartphone usually has a glass face and doesn't rely on pressure.

Some mobiles with capacitive touch

HTC Desire

Samsung Galaxy S

Samsung Wave

Resistive touchscreen

Resistive touchscreens work on the basis of pressure applied to the screen. A resistive screen consists of a number of layers. When the screen is pressed, the outer later is pushed onto the next layer — the technology senses that pressure is being applied and registers input.

Some mobiles with resistive touch

LG Optimus

LG GW620

Sony Ericsson Vivaz

As you cannot measure pressure in mobiles with capacitive touch . You app idea will not be ideal for all android devices.

Jitender Dev
  • 6,907
  • 2
  • 24
  • 35
0

To detect a touch, the object has to be conductive.

It's all about whether the material used is conductive (not only human touch is copnductive). That's just how capacitive screens works. It isn't possible to detect a touch with e.g. a rock, because that isn't conductive.

This answer also helps you during your research. Also check this one.

Community
  • 1
  • 1
Hardik Joshi
  • 9,477
  • 12
  • 61
  • 113