Jim Brown Active Member Licensed User Longtime User Sep 25, 2011 #1 I've always liked the idea of being able to design layouts directly from my Android devices (phone/tablet) whilst on the go, then being able to later generate B4A source code for pasting straight into a project PREVIEW (YouTube) - Views Designer (Mobile app) for B4A Whilst I have such a WIP project going on at the moment there is one major sticky area I need help with: What is the best method to transfer data (raw text) from an Android device to a desktop PC? What I plan is for the app to generate B4A source code. This code can then be pasted directly into a project
I've always liked the idea of being able to design layouts directly from my Android devices (phone/tablet) whilst on the go, then being able to later generate B4A source code for pasting straight into a project PREVIEW (YouTube) - Views Designer (Mobile app) for B4A Whilst I have such a WIP project going on at the moment there is one major sticky area I need help with: What is the best method to transfer data (raw text) from an Android device to a desktop PC? What I plan is for the app to generate B4A source code. This code can then be pasted directly into a project
J Jim Member Licensed User Longtime User Sep 26, 2011 #2 Since the idea is a mobile design platform, I think maintaining that mobility by emailing the attachment would be simplest. I send documents to myself in gmail all the time to access them on all my devices. Upvote 0
Since the idea is a mobile design platform, I think maintaining that mobility by emailing the attachment would be simplest. I send documents to myself in gmail all the time to access them on all my devices.
Erel B4X founder Staff member Licensed User Longtime User Sep 26, 2011 #3 You can also use the Network library to connect the desktop to the device over the local network (this is how the IDE designer and B4A-Bridge work). Upvote 0
You can also use the Network library to connect the desktop to the device over the local network (this is how the IDE designer and B4A-Bridge work).
H hbruno Member Licensed User Longtime User Sep 26, 2011 #4 Structure of .bal Is it possible to have the structure of the .bal file ? I want to try to make a designer in Linux. thank's Upvote 0
Structure of .bal Is it possible to have the structure of the .bal file ? I want to try to make a designer in Linux. thank's
Erel B4X founder Staff member Licensed User Longtime User Sep 27, 2011 #5 The structure of these files is pretty complicated and also subject to changes. It will be easier for you to use a custom format and then load the layout with your own B4A code. Upvote 0
The structure of these files is pretty complicated and also subject to changes. It will be easier for you to use a custom format and then load the layout with your own B4A code.
H hbruno Member Licensed User Longtime User Sep 27, 2011 #6 Hello, I do not understand how to read and write file .bal of B4A if I don't have its structure. If I create a file main.bal, for example, with a custom structure, I do not think B4A will accept the file when I'd be LoadLayout ("main.bal"). If you tell me the format .bal is a trade secret, I understand and I continue to use the designer integrated in B4A So, I wonder how Jim did to create its application in the first post ? Bruno (French, like some others...) Upvote 0
Hello, I do not understand how to read and write file .bal of B4A if I don't have its structure. If I create a file main.bal, for example, with a custom structure, I do not think B4A will accept the file when I'd be LoadLayout ("main.bal"). If you tell me the format .bal is a trade secret, I understand and I continue to use the designer integrated in B4A So, I wonder how Jim did to create its application in the first post ? Bruno (French, like some others...)
K kickaha Well-Known Member Licensed User Longtime User Sep 27, 2011 #7 I think Jim is writing the CODE (to be pasted into the activity) for the layout, rather than constructing a .bal file. Upvote 0
I think Jim is writing the CODE (to be pasted into the activity) for the layout, rather than constructing a .bal file.
K Kamac Active Member Licensed User Longtime User Sep 27, 2011 #8 Nice one Jim, but the problem of it's useability is: Creating a layout doesn't take too long anyways and it's more comfo with mouse (more detailed setting everything up). But it rocks anyway! Upvote 0
Nice one Jim, but the problem of it's useability is: Creating a layout doesn't take too long anyways and it's more comfo with mouse (more detailed setting everything up). But it rocks anyway!
Jim Brown Active Member Licensed User Longtime User Sep 27, 2011 #9 True Kamac. My project is really for 'on-the-go' GUI designing. It works well on tablets but you just can just about get away with creating designs on a mobile (4") display. The main issue there is being able to 'touch' the little areas for re-sizing the Views on such a small screen You can also use the Network library to connect the desktop to the device over the local network Click to expand... Async Streams seems like a good fit for transferring text from Android to Desktop. I will have to play around with this though because its all new to me. Would I need to create a desktop program which waits for code being sent from the Android device though? Upvote 0
True Kamac. My project is really for 'on-the-go' GUI designing. It works well on tablets but you just can just about get away with creating designs on a mobile (4") display. The main issue there is being able to 'touch' the little areas for re-sizing the Views on such a small screen You can also use the Network library to connect the desktop to the device over the local network Click to expand... Async Streams seems like a good fit for transferring text from Android to Desktop. I will have to play around with this though because its all new to me. Would I need to create a desktop program which waits for code being sent from the Android device though?