iOS Question LoadLayout Problem

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

i converted bal to bil with Bal2Bil.jar with success.

Unfortunately application crash on line of LoadLayout. Error is
B4X:
 Unknown type: 12

There is no any custom view in this layout.

Any help ?
 

Attachments

  • layouthome.bil.zip
    3.6 KB · Views: 152
  • Screen Shot 2017-01-12 at 17.08.29.png
    Screen Shot 2017-01-12 at 17.08.29.png
    127.6 KB · Views: 176

ykucuk

Well-Known Member
Licensed User
Longtime User
It is related to a new field type added in B4A v6.80. Try to convert it again with the attached converter (v1.01).

I converted with v1.01 but same error.
 

Attachments

  • layouthome9.bil.zip
    3.2 KB · Views: 165
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
I also attached source code. Maybe i am missing something.
 

Attachments

  • source.zip
    101.5 KB · Views: 172
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
The problem is in layouthome9.
It seems tha you have an EditText in B4A.
And this is translated to a Panel in B4i.
I suggest you make a new layout for that in the B4i Designer.
Hello klaus.

I have edittext in panel.

I have more than 40 layout in this project. Android version is already in market. Its very hard to create them again from begin. Any other suggest ?

Note: I deleted all edittext in this layout but same error. I think its not related with edittext and panel
 
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
I think Erel should have a look at this.
I suggest you to send him one example of two layout files, aB4A layout file and its translated B4i layout file.
So he could look if there is a translation problem.
You are right. i added original and converted file.
 

Attachments

  • LayoutsB4A-B4I.zip
    6.3 KB · Views: 139
Upvote 0
Top