Questions and solutions on the use of Imag.js (serial 2)

Source: Internet
Author: User

Imag.js is a nativescript form of framework that combines the flexibility of WEB applications with the high performance of Native applications, using JavaScript to develop native IOS and Android apps. Use native to abstract the native UI components of the operating system in JavaScript and build an integrated framework that writes XML syntax in the mainstream development language/development environment, such as Java,. Net, PHP, and HTML5. Once the code is tapped, it can be run on multiple platforms, and the platform incorporates third-party APIs and template services.
According to the question of the user feedback and our team to give a detailed collation of the solution, for everyone to provide some reference for development, to avoid stepping on the pit
Let's see what the problem is.
1.imag.js How to decode a character?
Decodeuricpmponent
2. How do I customize the width of each column by using <col><row> to make a row of four columns?
Item setting Col-width style
For example:
<item style= "col-width:40,50,40,50" >      <col><row></row></col>      <col> <row></row></col>      <col><row></row></col>      <col><row ></row></col>  </item>  <item style= "col-width:40,50,40,50" >    <col> <row></row></col>    <col><row></row></col>    <col><row ></row></col>    <col><row></row></col></item>
3. Can the photos be stored locally after the call?
Stored on SD card by default
4. Why does the height of item not change, regardless of the set number?
The height of the item is self-adapting, and controlling the height of the item requires controlling the height of the inner layer, such as controlling the height of the row label.
5. How do I add color to the bottom edge of item?
Sets the height and color of the split line through the item's Divider-border style. Example: Divider-border:1 #333333
6. Pass two parameters, why only the first parameter is obtained, the second parameter is undefined (such as)?

Code to take the value:

Change the &amp in the first picture to &
Is there a way to voice navigation in the 7.bmap map tag?
Bmap does not have this method, but can call Baidu map
8. How can I send the data via email?
Love code elder brother does not have the ability to send mail, but can call the phone's mailbox client. Post data to the background, send mail on the server in Java or. Net
9. Support the presentation of reports and statistical graphs?
There are detailed usage methods in the documentation Http://www.imagapp.com/doc/chart
10. Did you write a paragraph in the popup box and then return to the component of the sentence?

PopupMenu pop-up menu control to achieve this effect

There are detailed usage methods in the documentation Http://www.imagapp.com/doc/popupmenu

For example:


Is there any use of timers in 11.imag.js, such as settimeout, SetInterval?

For more information, please click on the link http://www.imagapp.com/doc/page
Attention:
1. In form validation, URLs with parameters and form data serialization (serialize) cannot be used simultaneously

The HREF link property of the 2.tab tab control is discarded and the content is written directly to the tab control.
3. The background image is stretched by default.
4. Do not return until the app is packaged successfully, or the following will occur

Ps: The use of the AI code in the platform encountered technical problems, you can join the 289454050 Technical Exchange group discussion.

Questions and solutions on the use of Imag.js (serial 2)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.