如何将两个或多个消息混为一谈? [英] How to concatinate two or more message?

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

问题描述

我有一个移动应用程序,在完成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

推荐答案

它可能随处可见.我从您的问题中认为您确实拥有该应用程序的代码,但没有对它进行编程.这是我对发生的事情的三个猜测:

It could be just about everywhere. I take it from your question that you do have the code for that application, but you didn''t program it. Here are my three guesses as to what''s happening:


  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


感谢.......... Manfred
我会检查...
Thanx.............Manfred
I will check ...


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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆