hahahha..thanks buddy! On Apr 2, 5:35 pm, Dan Sherman <[email protected]> wrote: > device = getDeviceId() > if (device.equals("00000000")) { > // generate a random number > device = "emulator"+randomNumber; > > } > On Fri, Apr 2, 2010 at 5:09 PM, raqz <[email protected]> wrote: > > Hi, > > > I just used this getDeviceId() to retrieve the unique id of the phone, > > but in the emulator it gives 00000000 when I try to display it. I know > > it makes sense to do that but can I spoof a device id for testing > > purposes. I need to setup about 4 -5 android devices in my emulator to > > check the functionality of the app that I have written, and the entire > > app revolves around the unique id of the mobile device. Please let me > > know. I just feel, maybe it should be there in the DDMS but I am not > > able to figure it out. > > > Thanks, > > Raqeeb > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > > To unsubscribe, reply using "remove me" as the subject.
-- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

