Questions tagged [proteus]

Proteus is a JSON layout inflater with data binding support for Android.

67 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…
Selaka Nanayakkara
  • 3,296
  • 1
  • 22
  • 42
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…
Drew
  • 41
  • 5
2
votes
0 answers

Is there a way to directly configure an 8086 processor to directly send data to 8255 PPI without use of a latch?

I am using emu8086 emulation software and Proteus in order to display data on an LCD. My task is simple, to just simply display a string defined in the assembly code onto the LCD in proteus. The issue however, is that I want to be able to directly…
Tim Mwaura
  • 577
  • 1
  • 7
  • 24
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…
Gowtham
  • 177
  • 1
  • 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…
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…
akshay_shahane
  • 4,423
  • 2
  • 17
  • 30
1
vote
1 answer

How to check if a port (input) is high? PIC16 C program

I cannot understand why my code won't work. It works when I set the condition PORTA == 0x00 but not when PORTA == 0x01. How do you check if a bit is high? Below is my code and my schematic (Crystal frequency is 4MHz). #include void main(){ …
1
vote
1 answer

Symbol "$MKRORIGIN" used but not found in libraries

I'm using Proteus Professional v8.11 SPO and whenever I'm trying to open a proteus file this error pops up. Symbol "$MKRORIGIN" used but not found in libraries Although the the file opens finally (after pressing OK three times), simulation does not…
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…
Mehdi
  • 62
  • 6
1
vote
1 answer

clock problems with 7-segment display in proteus

here is a simple 7-segment display with a pushbutton the problem is whenever I make the clock 1 MHZ the display doesn't run as expected but when I use 8 MHZ clock it works fine. here is the code: #define F_CPU 1000000L #include #include…
Ali El-Boghdady
  • 145
  • 1
  • 11
1
vote
1 answer

Atmega8515 avr usart, avr memory, avr cpu loop simulation logs

I have such code for atmega8515 .nolist .include "m8515def.inc" .list .equ fCK = 8000000 .equ BAUD = 9600 .equ UBRR_value = (fCK/(BAUD*16))-1 .cseg .org 0 …
serhii kuzmych
  • 187
  • 3
  • 9
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…
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 - …
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…
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?
1
2 3 4 5