Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6848487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:52:27+00:00 2026-05-27T00:52:27+00:00

I’ve made android application for my USB Relay Boards. Actually boards are connected to

  • 0

I’ve made android application for my USB Relay Boards. Actually boards are connected to PC/OpenWRT router via USB and then server app takes hold of everything. So more or less, android is just communicating with my custom app on the server side.

The problem i hava is with layout. You can see my current app on this video:
http://www.youtube.com/watch?v=73DhEVNqW3Y

Its not bad, but not best practices also.

The container for the views is full screen gallery, with custom adapter.

Ui is a pain here, cause I don’t know how many boards i want to connect here. So my app ask the server for board count, and then adds boars view to the gallery.

I have a question here. How would you do it in best practice way?

How to interface it with large screens? At this point i think, that for tablets the best option is tu put 3 views on landscape view next to each other. If there are more than 3 boards user can scroll left or right. If 2 or 1, just center the view.

I know that I should not use gallery like this. What i should use to achieve that kind of functionality (iphone style left, right slide with aligned on full view) i best practice way?

Thanks for suggestions.

Best regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T00:52:28+00:00Added an answer on May 27, 2026 at 12:52 am

    Well it was really a stupid mistake.

    When I pressed the button my app send a command, and received back the status of server. In the status packet my server sends, between others, count of the boards in connected to it. After receiving that value android was putting it in to Preference. On that preference I had a listener, witch was triggering and restarted the activity (cause it was thinking the count of board have been changed).

    So its solved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I am writing an app with both english and french support. The app requests
I am using Paperclip to handle profile photo uploads in my app. They upload
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.