开发者

can i change the entry point of an Application

i have been developing a onscreen keyboard application.

but i have to invoke the same now on the click of a button in another UI开发者_C百科.

is it possible to change the entry point of the application to the other Dialog?

or should i start another project


Arrange for your application to be sent a command line argument to indicate that the caller wants the alternative dialog. When the application starts, it should check for this argument and switch behaviour accordingly.

Note that an application has exactly one entry point so the above is in fact the only solution bar creating separate applications.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜