Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Reply
Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: What is the licensing method to use with android apps?

[ Edited ]

dnepr wrote:
TelephonyManager.getDeviceId() should return the unique serial number per my contact.


I haven't a playbook now to test, I have only the simulator, what TelephonyManager.getDeviceId() should return when running on the simulator?

Developer
Posts: 723
Registered: ‎03-12-2009
My Device: Playbook

Re: What is the licensing method to use with android apps?

Not sure, did not ask about the Sim.
Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: What is the licensing method to use with android apps?

can you ask him please?

 

I used this code but this that is really similar to the one suggested by your contact but it returns unset on the simulator, now I don't know if this is a problem of simulator or a problem of real device also.

 

TelephonyManager mTelephonyMgr = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
        pin = mTelephonyMgr.getDeviceId();
Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: What is the licensing method to use with android apps?

dnepr are you here?
have you tried getting the Device ID on a real device?

Developer
Posts: 723
Registered: ‎03-12-2009
My Device: Playbook

Re: What is the licensing method to use with android apps?

I'm sorry, PB port project has been dropped on my side. Just not enough potential at the moment.

I haven't charged up my PB in several weeks.
Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: What is the licensing method to use with android apps?

Ok, thanks anyway developers interest is completely absent, this platform will die soon so

no need to rush developing on.

Highlighted
Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: What is the licensing method to use with android apps?

I can't belive that no developers is interested in licensing android apps on blackberry plugin.