Proteus is a JSON layout inflater with data binding support for Android.
Questions tagged [proteus]
45 questions
8
votes
1 answer
Dynamically load cascading Questions in Android View
We are currently working on project where a web user creates a survey which has cascading questions (cascading means questions that have few answers and depend on those answers rest of the questions changes) and then mobile users should get this…
![](../../users/profiles/4672460.webp)
Selaka Nanayakkara
- 2,198
- 14
- 30
4
votes
1 answer
Get a list of TextFields that are available during runtime?
I'm using an android library called Proteus which inflates layouts during run time with a JSON file we have sitting on our server. This library allows for data binding but my question is how can I get data out of these fields while using my app? I…
![](../../users/profiles/1730420.webp)
Drew
- 41
- 5
2
votes
1 answer
Does proteus support onKey up/down events
I wanted to get information on the page created using proteus, like the key events that user does with some remote controls.
Is there a possibility to get onKeyUp or onKeyDown events like native code.
onKeyUp(final int keyCode, final KeyEvent…
![](../../users/profiles/3455748.webp)
Gowtham
- 107
- 7
2
votes
1 answer
How to implement Cascading assets with Proteus Android Layout Engine
i want to generate a cascading assets from Proteus library.
I'm new to android development and i was managed to build a dynamic view with the library with the help of @adithya ( developer of Proteus).
what i want simple is assume that there is a…
![](../../users/profiles/6790065.webp)
Thilina Dinith Fonseka
- 469
- 1
- 3
- 18
2
votes
1 answer
Is there any way disable caching in webview inflated through proteus
Need to disable the cache on WebViews inflated through Proteus.
Are there any attributes on the WebView which can be used to disable it?
We could find the view normally would if it was inflated using precompiled XML layouts using…
![](../../users/profiles/7372771.webp)
akshay_shahane
- 3,273
- 1
- 13
- 29
1
vote
1 answer
STM32F401RE PWM Mode doesn't work in Protues
I'm trying to generate PWM wave but it seems that proteus has a problem with it. I've tried to do so using CMSIS and CubeMX and neither of them works.
tested timers: TIM 1, 2, 4, 5 with all their channels
Timer configuration in CubeMX
Proteus…
![](../../users/profiles/11044762.webp)
Mehdi
- 38
- 5
1
vote
1 answer
Is there any proteus (runtime layout engine) version of react-native?
proteus is basically a runtime layout engine for Android developed by Indian e-commerce Flipkart.
Basically, I want to be able to control my home screen & Support Screen of the app from a backend server, so that I don't have to push every for every…
![](../../users/profiles/13004961.webp)
Suhail Bin Nisar
- 11
- 2
1
vote
1 answer
Cannot get GridLayout and GridLayoutParser to work with proteus
I am trying to inflate GridLayout in a FrameLayout using Proteus.
I tried implementing the GridLayoutParser and GridLayout as suggested here - Is GridLayout supported by proteus? If not then what is an alternative? .
Here's what I tried -
View - …
![](../../users/profiles/3634882.webp)
Shubham Rai
- 55
- 6
1
vote
1 answer
I am trying to use proteus to get dynamic views using json in a simple android app.but I am getting null pointer exception
I am trying to use proteus to get dynamic views using json in a simple android app.but I am getting null pointer exception.
`
JsonReader readerlayout = new JsonReader(new StringReader("layouts.json"));
readerlayout.setLenient(true);
JsonReader…
![](../../users/profiles/11543520.webp)
Prajakta Chavan
- 21
- 4
1
vote
2 answers
how is data and layout passed in proteus layout inflater?
I am trying to make simple android app that uses proteus plugin for creating dynamic view from json file.I am facing issues in passing layout and data in proteus inflator.if anyone can help me with how data is passed to proteus inflator?
![](../../users/profiles/11543520.webp)
Prajakta Chavan
- 21
- 4
1
vote
1 answer
To use proteus effectively do i need to host file in node.js environment or php just works fine?
On github proteus says to test proteus locally install node.js . I
know it sounds a quite dumb question but i am just curios but it . and
i am asking this question because i have observed performance
difference when i test proteus locally…
![](../../users/profiles/7372771.webp)
akshay_shahane
- 3,273
- 1
- 13
- 29
0
votes
0 answers
How to control motor using raspberry pi in proteus
I am trying to control my motor in a simulation using raspberry pi and I can't seem to make it stop even though I made the pin low after 5 seconds, it just keeps on going
import RPi.GPIO as GPIO # Import Raspberry Pi GPIO library
#import…
0
votes
0 answers
How to simulate lcd i2c with raspberry pi on proteus?
I am trying to simulate the i2c lcd in proteus with raspberry pi but I am getting the error of I2C_LCD_driver not found, can someone help?
![](../../users/profiles/16032664.webp)
Promis
- 1
- 1
0
votes
0 answers
Failed to start Python interpreter process In Proteus
When I tried to compile the python code to simulate a raspberry pi on proteus 8.9, it showed me this error "Failed to start Python interpreter process". I can't figure out how to fix this problem, despite having python pre-installed, normally. Could…
0
votes
0 answers
How to store in ACSR and ADCSRA/B (AVR)
I've been trying to make a comparator in AVR using Proteus 8 with an Arduino ATMega 328P. I've been told that the comparison is practically made by the Arduino, so I just need to get the value from the location, but I haven't been able to access it.…
![](../../users/profiles/11548111.webp)
Skynotelink
- 23
- 3