本文介绍了如何将两个或多个消息混为一谈?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个移动应用程序,在完成160个字符后,它在移动文本编辑器中以160个字符作为输入,它不带任何单个字符.

我没有在代码中得到任何数字160,因此我可以更改为320或超过160
有人可以告诉我如何超过这个长度吗?
源代码文件中需要哪些更改?

Vishal Kolekar

I have one mobile application which take 160 character as input in text editor of mobile after completion of 160 character it does not take any single character

I didn''t get any number as 160 in code so I can change is as 320 or more than 160
Can anybody tell me that how to exceed this length ?
Which changes are required in source code file?

Vishal Kolekar

推荐答案


  1. 例如,该限制可能是可配置的,因此该值可能会隐藏在某些配置文件中.
  2. 应用程序还可以引用某些库,该库包含您没有源代码和值的控件
  3. 编写这个小宝石的小丑认为写出160只是很容易(也很容易被任何人发现),因此可以通过计算它来隐藏常数:

    • 160 == 10 * 16
    • 160 == 2 * 5 * 16
    • 160 == 2 * 5 * 2 * 8
    • 等等

  1. The limit could be configurable for instance so that value might be hidden in some configuration file.
  2. The application could also reference some library containing a control for which you do not have the source code and the value is hidden there.
  3. The joker who programmed this little gem thought writing out 160 is just to easy (and also to easily found by anybody) and thus hid the constant by calculating it:

    • 160 == 10 * 16
    • 160 == 2 * 5 * 16
    • 160 == 2 * 5 * 2 * 8
    • etc. etc. etc



我的两分(三分:))!

最好的问候,

-MRB



My two (three :) ) cents!

Best regards,

-MRB



这篇关于如何将两个或多个消息混为一谈?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 20:19