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 8719759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:52:29+00:00 2026-06-13T06:52:29+00:00

I am working in a Mobile project (using Titanium Studio), in which i have

  • 0

I am working in a Mobile project (using Titanium Studio), in which i have the below situation

1) My Mobile app contacts Rails backend to check some data, say check validity of a
user id.

2) I found a way to load web pages in Mobile app, i.e., WebView

3) I could able to load the desired url, ex http://www.mydomain.com/checkuser?uid=20121
which would return data like status:success

But i need to read this data to show whether the response from server is a success or failure, how do i achieve this?

NOTE : The above mentioned scenario is an usecase, but actually what happens is i load a third party url in WebView and when user enters the data and submits, the result will be posted back to my website url.

EDIT : So the process is like below

1) WebView loaded with third party url like http://www.anyapiprovider.com/processdata

2) User will enter set of data in this web page and submits the page

3) The submitted data will be processed by the apiprovider and it returns data to my web page say http://www.mydomain.com/recievedata

This is the reason why i am not directly using GET using HTTPClient
FYI : I tried to fire Ti.APP events right from the actual web page as suggested by few articles, but most of them says this will work only if the file loaded is in local and not a remote file. Reference Link

Please suggest me if my approach has to be improved.

Thanks

  • 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-06-13T06:52:30+00:00Added an answer on June 13, 2026 at 6:52 am

    If you don’t want to follow Josiah’s advice, then take a look at the Titanium docs on how to add a webview.addEventListener('load',... event listener and use webview.evalJS() to inject your own code into the third party HTML.

    Maybe you can inject code to trap the submit event and fire a Ti event to trigger the downloading of data from your website.

    Communication Between WebViews and Titanium – Remote Web Content Section

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

Sidebar

Related Questions

I’m working on a project that is using knockout.js and jQuery Mobile. I have
I have a very simple .NET MVC3 project set up using jquery mobile for
I'm currently working on a project using Windows Mobile 5.0 (I know i'ts preety
I'm working on a blank template flex 4.5 mobile project. I am using states,
I'm working on a project that uses both jQuery Mobile and an MVC3 backend.
iam using mgwt and phonegap for my mobile web project and iam working with
Right now I am working with my first Windows Mobile project and I have
I am working on flex mobile project using flex 4.5.1. I want to get
I am working on a Flex mobile project and am using a TileLayout to
Hi, I have been working on a Flex Mobile application using Flash Builder 4.6.

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.