绛斿: fillpolygon for Ca nvas?

by 瀛欏叾楣 » Wed, 22 Jul 2009 01:25:22 GMT


Sponsored Links
 -----  -----



 monsoon 





<steve...@unimelb.edu.au>
€ 2009018:45
 Android Beginners <android-beginners@googlegroups.com>
: [android-beginners] fillpolygon for Canvas?


It seems a bit odd to me that there is no fillpolygon(...) method in
the Canvas class?

I'm a bit new to graphics on Android, but it seems I must be missing
something here?

I.e. The best I can make out is that I'll have to write my own version
of a fillpolygon (which is a very standard sort of need), using a Path
and moveto and lineto and drawPath???

Am I heading down the right track, or have I missed some 'really
obvious' method that named something entirely different from
fillpolygon but does the same thing?

Thanks in advance for any help:)



[


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. deploy upgrades for business applications

One of my clients want me to program an android app which is for
internal use.
But it should be possible to rollout updates as easy as possible and
it should be as save as possible.

1. There is one obvious way:
Setting the "allow manual installation of apk-file"-checkbox. But
setting this checkbox has the downside of opening additional security
holes.
Setting this checkbox with every update (the staff has to do this) and
unsetting it afterwards is too complicated (IMO).

2. Using the Android Market as a delivery platform:
Doing something like a "Torch-App" and putting inside a semi-hidden
way of activating the rest of the application for the actual purpose.
Positive:
delivery of updates is completely free
Negative:
it could be against the license agreement (I wasn't able to find
paragraphs which are prohibiting this).
Other people can download this app.

3. Is it possible to install the APK-File manually(see number 1) and
replacing parts of the installation with an own auto-updater-app?
I already implemented similar things for Windows Mobile and Symbian.
But on this platforms it is possible to sign dlls and exe files one by
one and it is possible to directly replace files in the "application-
home" directory.

4. The most complicated way is to implement an own Appstore.
I read it several times in the past -  it is possible to implement an
own appstore on Android - but I can't find any documentation on this
topic.

Thank you in advance for helping me.

Best regards,
Thomas

-- 

2. Regarding the WebBrowser exploit

I tested this exploit on my own phone running 2.3 and found that it was
still effective, but only after making sure my phone was set up precisely
the right way. I needed to have a specific IP address, for example, and the
vuln required a rather complicated means of designating an address;
hexadecimal and then placed in reverse byte order. It also required having
netcat listening on a specific port, not to mention the android user must
also be hooked to the attackers webpage, either through port redirecting or
social engineering. And after it was all said and done, you had to know what
you were looking for on the sd card (being the attacker) since you were
operating pretty much blind. All in all, id say there are bigger, easier
ways to exploit someone's device we need to worry about before this method.

Ian

-- 
.

3. Upgrading system apks through market and retaining permissions

4. What name would get more attention

5. Network stack of android mobile phones

6. Low-latency audio- buffer callback

7. List View with multiple columns