Lib for external plugins and device id

8 views
Skip to first unread message

friedger

unread,
Sep 8, 2010, 1:49:27 PM9/8/10
to Android Analyzer
Hi,

Do you have/have planned a build script for a library that can be used
in external plugins? Is such a lib necessary?
(I just copied a plugin to a new project to see how external plugins
work and wondered whether a lib would help)

Is the device ID necessary? This could be a privacy issue for users...
If not needed I would leave it out. If an identifier is needed then I
would suggest to use some kind of hash of the ID.

Friedger

Friedger Müffke

unread,
Sep 8, 2010, 5:00:38 PM9/8/10
to Android Analyzer
1)
I have added the wiki page and the navigation node to the keyboard plugin.
I have no idea how to guess which hard keys are available.
For now, I am done with the plugin.

2)
Not sure whether these docs have been discussed.
http://source.android.com/compatibility/index.html
Especially, the CTS and the CDD would be a good resource to put on AF.com

Cheers,
Friedger

2010/9/8 friedger <frie...@googlemail.com>:

Android Analyzer

unread,
Sep 9, 2010, 2:21:49 AM9/9/10
to android-...@googlegroups.com, friedger

Hi Friedger,

On 08/09/2010 20:49, friedger wrote:
> Hi,
>
> Do you have/have planned a build script for a library that can be used
> in external plugins? Is such a lib necessary?
> (I just copied a plugin to a new project to see how external plugins
> work and wondered whether a lib would help)
>

By build script do you mean a script that would generate a skeleton for
an external plugin, e.g. copy the aidl files, etc.?

> Is the device ID necessary? This could be a privacy issue for users...
> If not needed I would leave it out. If an identifier is needed then I
> would suggest to use some kind of hash of the ID.
>

We are definitely concerned about privacy, so we use MD5 hash of the
device ID when generating the metadata part of the report (cf.
DeviceReports). Have you seen any place in the code where a real device
ID is being sent?

Thanks,
Sinisha

> Friedger
>


--
Sinisha Djukic

Friedger Müffke

unread,
Sep 10, 2010, 5:25:43 AM9/10/10
to Android Analyzer, android-...@googlegroups.com
>
> By build script do you mean a script that would generate a skeleton for
> an external plugin, e.g. copy the aidl files, etc.?
I was thinking of a script that creates a jar to be included in the
new project. However, a wizzard is much more suitable!

> We are definitely concerned about privacy, so we use MD5 hash of the
> device ID when generating the metadata part of the report (cf.
> DeviceReports). Have you seen any place in the code where a real device
> ID is being sent?

Ok, thanks for the clarification. Maybe the node name should be
changed to device hash, to make it more obvious.

Cheers
Friedger

Sinisha Djukic

unread,
Sep 10, 2010, 5:32:20 AM9/10/10
to android-...@googlegroups.com, Friedger Müffke, Android Analyzer
On 10/09/2010 12:25, Friedger M�ffke wrote:
>> By build script do you mean a script that would generate a skeleton for
>> an external plugin, e.g. copy the aidl files, etc.?
>>
> I was thinking of a script that creates a jar to be included in the
> new project. However, a wizzard is much more suitable!
>

A wizard is definitely the preferred option :) Will put it in the
tracker for someone to pick up


>
>> We are definitely concerned about privacy, so we use MD5 hash of the
>> device ID when generating the metadata part of the report (cf.
>> DeviceReports). Have you seen any place in the code where a real device
>> ID is being sent?
>>
> Ok, thanks for the clarification. Maybe the node name should be
> changed to device hash, to make it more obvious.
>

Yes, perhaps its safer

> Cheers
> Friedger
>

Android Analyzer

unread,
Sep 10, 2010, 5:36:52 AM9/10/10
to android-...@googlegroups.com, Friedger Müffke
On 09/09/2010 00:00, Friedger M�ffke wrote:
> 1)
> I have added the wiki page and the navigation node to the keyboard plugin.
> I have no idea how to guess which hard keys are available.
> For now, I am done with the plugin.
>

Very good, thanks for the contribution!

> 2)
> Not sure whether these docs have been discussed.
> http://source.android.com/compatibility/index.html
> Especially, the CTS and the CDD would be a good resource to put on AF.com
>

Not yet, but we should definitely think about it. Perhaps if we could
use the Analyzer to pull the test APKs from a remote site, executing and
including the results in the report? Will have to take a look at their
test harness on the PC side

kr,
Sinisha

> Cheers,
> Friedger
>
> 2010/9/8 friedger <frie...@googlemail.com>:
>
>> Hi,
>>
>> Do you have/have planned a build script for a library that can be used
>> in external plugins? Is such a lib necessary?
>> (I just copied a plugin to a new project to see how external plugins
>> work and wondered whether a lib would help)
>>
>> Is the device ID necessary? This could be a privacy issue for users...
>> If not needed I would leave it out. If an identifier is needed then I
>> would suggest to use some kind of hash of the ID.
>>
>> Friedger
>>


--
Sinisha Djukic

Reply all
Reply to author
Forward
0 new messages