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

  • SEARCH
  • Home
  • 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 7441019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:56:35+00:00 2026-05-29T10:56:35+00:00

In my current app for Android I have an HTTP client that sends a

  • 0

In my current app for Android I have an HTTP client that sends a request to a website and the JSON response is turned into a tableview. I have noticed that when I open the result window and move scroll across the table I actually have 2 identical tables one on top of the other. Another problem I’ve noticed is that when I press the android:back button the window closes and i get a black empty window, inorder to get the original main view I need to hit the back button again. added here are the main window code and the search result page.
thanks a bunch!

–the same question is posted on [appcelerator Q&A]

ok, the flow is like this:
1. the main window (win 1) opens, it has a search bar and 2 buttons. each button opens a different version of the same window (win 2).

  1. win 2 has a search bar and a few buttons.

if the search bar on any window (1 or 2) is filled and executed, a third window (win 3) is opened.

  1. in this window, an HTTP client (xhr) sends the proper request and the response text (JSON) is parsed and then fills a table view (tv).

the table view appears twice one on-top of the other and when i add an event that alerts the window it’s in i get “you are in search window” alert box twice.

when i click the back button, i get back an empty white window. if i click back button one more time i go back to the original window i came from.

–update: i re-wrote the whole thing but still nothing happens.

—-update: I added a flag to prevent the “onload” function to be called twice but this is just a hack.
I’m looking for a more fundamental answer

  • 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-29T10:56:35+00:00Added an answer on May 29, 2026 at 10:56 am

    First, about ‘open’ event, which fires twice. There were a bug in version 1.8.0.1, when ‘open’ event fired twice (bugtracker), but it was fixed in version 1.8.1 (changelog). I have tested new version and all works good – ‘open’ event fires only once.

    Second, about back button. As I see in your code you use tab.open. You can use ‘open’ directly for window, not for tab. And for iPhone you can create Navigation Group (wiki). Also remember to use HeavyWeight window, to make ‘back’ button work. You add modal:true property for this purpose, but try to use fullscreen:false.

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

Sidebar

Related Questions

I have a current Android app that uses i18n via resources. res/values-es/strings.xml and so
In my current Android app I have several settings stored in SharedPreferences and one
I am writing an Android app with two entry points that have intent filters
in my android app, I have a button that leads to an activity which
Does any one know if its possible to animate app.current.mainwindow.width so that you get
I have current a developed app which I am going to submit in just
I need to integrate a email client in my current python web app. Anything
I have an Android application that displays a list of names using checkboxes. I
I'm refactoring some code so that my app will pull data from a website
I'm new to publishing Android apps. Our app's name and the string that users

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.