i thought if u acquire system service, e.g. VibratorService service = context.getSystemService(Context.VIBRATOR_SERVICE); //(pseudo code) if the service returns null, meaning the underlying system does not have this service supported. Or am I under the wrong impression?
On Sun, Nov 29, 2009 at 12:45 PM, Edward Falk <[email protected]> wrote: > > > > And yeh, no Google APIs like maps ect. > > The lack of vibrator was the biggest annoyance to me. I *really* wish > Java had an "#ifdef"-like construct. I wish there was a way to say > "I'd like this feature, but I can live without it" somewhere in the > code or in the manifest. > > -- > > You received this message because you are subscribed to the Google Groups > "Android Discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<android-discuss%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/android-discuss?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en.
