NetTalk Central

Author Topic: Mobile mode and forwarded subdomains  (Read 6106 times)

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Mobile mode and forwarded subdomains
« on: December 26, 2011, 09:03:33 AM »
Playing around with subdomains with GoDaddy.com.

Having problems displaying properly in mobile mode.

If you go to http://69.92.96.104:85 it displays properly.

If you go to http://gangtracker.oxfordpd.org it does not display properly (on mobile device).

The subdomain is forwarded to 69.92.96.104:85

I have also tried forwarding to:

 69.69.96.104:85/index.htm
69.69.96.104:85/index

Neither works.  The site does run in mobile mode but is not properly resized to fit screen.

Overall goal is to use the Multi Site app.

Thanks,
Don
« Last Edit: December 26, 2011, 11:10:17 AM by DonRidley »
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Mobile mode and forwarded subdomains
« Reply #1 on: December 26, 2011, 12:32:49 PM »
Don - I hope I am not speaking out of turn but I had some problems with mobile mode and was told to concentrate on desktop!! I don't think mobile is anywhere near ready sadly. Certainly my issues were not being resolved so have had to abandon mobile development.

John

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Mobile mode and forwarded subdomains
« Reply #2 on: December 26, 2011, 12:41:04 PM »
I've actually got one app running live in mobile mode right now.  It's very simple but it works.  I having problems now because I'm trying to setup sub-domains for the purpose of using the MultiSite application. 

I asked the question because I may have made a simple mistake that could be easily corrected.

Thanks for the reply though.  Stay with it John.  It took me a long time to get my mind wrapped around NetTalk (still isn't compared to some).  Bruce will get things sorted out.  Just takes time.

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Mobile mode and forwarded subdomains
« Reply #3 on: December 26, 2011, 10:37:59 PM »
my guess is that the user-agent header is being altered by the redirect. If you look in the log, what is the user-agent field set to?

cheers
Bruce

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Mobile mode and forwarded subdomains
« Reply #4 on: December 26, 2011, 11:58:40 PM »
Well Don - I also have a mobile app working to some extent. The thing is I sent my example to Bruce which to me was very simple. A menu was not allowing me to view Browses but it did in IE and Firefox. However Chrome and the actual smartphone would not work.

Bruce then told me to concentrate on the Desktop which implied to me there was some underlying issue that was causing a problem.

Maybe this is unwarranted but I do have a mobile app that works in IE and Firefox but the same app does not work in Chrome or the actual smartphone. Considering others have mobile apps working and I am supposed to be demoing this in less than a month it is very frustrating. I have spent over a week doing various things, creating mini apps etc. but right now I can only get a mobile app to work on a smartphone if (a) it is designed specifically to run mobile and (b) does not have any menus!

Being as Bruce could not find an answer to this I took his advice and just dropped mobile support which for me is absolutely not why I bought the product.

Sorry Bruce this sounds like a rant, and it is certainly not meant to be that. But how come others can get a mobile app working presumably using menus and I cannot and can reproduce it every time? Your advice to concentrate only on the desktop does imply something in mobile is not ready to run on a smartphone.

Sorry

John


John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Mobile mode and forwarded subdomains
« Reply #5 on: December 27, 2011, 01:33:29 AM »
By the way one this has occured to me Don. When you say Mobile device do you mean iPad or similar?

Again it is terminology.

To me Mobile means Smartphone for example. I think that is why Bruce probably accepted that the definition should be based on screen size perhaps?

So basically, does anyone have a mobile app working on a Smartphone where you have a menu to view several browses? If so could you send me that as an example to see what I am doing wrong?

Many thanks

John

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Mobile mode and forwarded subdomains
« Reply #6 on: December 27, 2011, 03:12:19 AM »
my guess is that the user-agent header is being altered by the redirect. If you look in the log, what is the user-agent field set to?

cheers
Bruce

Bruce,

I'll take a look when I get to my day job and can look at the server...

Don

John,

Yes.  A smartphone.  It'll work out for you John.  There's got to be something simple that you're doing that's holding you back.  That's almost always the case with me and NetTalk.

Don
« Last Edit: December 27, 2011, 03:15:28 AM by DonRidley »
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Mobile mode and forwarded subdomains
« Reply #7 on: December 27, 2011, 05:47:01 AM »
you probably shouldn't have any "child browses" set in mobile mode John,.
there's not enough screen space for them side-by-side, and I'm not sure what effect having multiple of them will do.

have you got example 3 running yet? I think you mentioned you had. If so, that's a starting point to determine what is different between it, and your app.

cheers
Bruce

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Mobile mode and forwarded subdomains
« Reply #8 on: December 27, 2011, 05:48:49 AM »
Okay, I went to gangtracker.oxfordpd.org and I got 4 GET's on my server log.

I placed all 4 in a text file that is attached here.

The User-Agent string actually looks okay.

Thanks,

Don

[attachment deleted by admin]
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Mobile mode and forwarded subdomains
« Reply #9 on: December 27, 2011, 05:51:28 AM »
Hey John,

I have multiple child browses on a form in my mobile version.  However, I have to keep everything in a vertical "stack", if you will, to make sure everything displays properly.  Think thin or perhaps narrow.

Don

"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Mobile mode and forwarded subdomains
« Reply #10 on: December 27, 2011, 06:17:02 AM »
hi John,

>> Sorry Bruce this sounds like a rant, and it is certainly not meant to be that. But how come others can get a mobile app working presumably using menus and I cannot and can reproduce it every time?

The key issue here is the familiarity with the web, and NetTalk, which allows you to identify your problems, narrow down the cause, and be able to quickly define what the exact issue is. It's not surprising that those that have been doing it a bit longer understand the process, and are better able to narrow down the cause of something. by starting with mobile, and ignoring the learning curve of the desktop you are wasting hours of time. You've mentioned several times of spending "hours to identify an issue" - usually when that should take at most a few minutes. I understand your frustration - it's hard when you're learning and everything seems new. It's worse when you've picked the "alpha" section of the feature set to learn on. There are likely to be numerous issues there, and you lack the experience to isolate them, and work-around them.

>> Your advice to concentrate only on the desktop does imply something in mobile is not ready to run on a smartphone.

I've said all along that mobile is definitely not "ready" yet. During the webinar I stressed it was in alpha - on the thread in share-knowledge (http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=3003.0) I've mentioned that it's only working with a very limited subset of functionality right now. You've asked all along if it'll be ready by the end of Jan, and I think I've consistently said "maybe". Mind you it's not even the end of December yet.

But mobile is not the highest priority on the list. The highest priority is ensuring that NT5 users are able to upgrade smoothly, and completely. there are massive architectural changes "under the hood" and frankly the upgrade has gone surprisingly well considering. The biggest on-going effort seems to be around the use of lookups, especially non-normalised lookups. That's mostly done now - although a couple of tidy-up areas remain.

The next biggest priority is the wizard, because this obviously has a huge impact on both new users, and those wanting to expand their apps. Sure, I could work on the wizard forever, but for now I'm just trying to make sure it's "feature complete" (at least for now) and "everything works". That's mostly done, although there are a few of the edges to get done as well.

Mobile comes behind those two - which is not to say it's completely ignored, just that I only have 4 pairs of fingers. On the up side, one area often spills into another, so solving an issue on the desktop also tends to improve mobile as well. There are a number of mobile things happening "under the skin" but I don't want folk to waste their time on it right now, unless they're skilled enough to manage it.

You've stressed over and over that you need iPad, and preferably phone interfaces done by the end of Jan, and my suggestion that you concentrate on the desktop for now is two fold;

a) the desktop interface works well on the iPad - and having a "complete" solution there will give you a lot of experience while at the same time letting you become familiar with what the templates can do. this is likely to be more productive for you because there a lot more folk able to give you advice when you get stuck.

b) the next major update to the mobile may, or may not, come before the end of Jan, either way you're maximizing the use of your limited time - if it does come you will be better equipped to make use of it.

This note was not meant to be critical, or pick on you personally (it's not a rant <g>) - however you need to devote your limited time to where you will get the most effect. Pretty much everyone here knows exactly how you feel - we've all worked our way through the learning curve. the only way to get through it is to put the effort, and practice in. You are lucky in that resources (like the book) and the experience of others are here to help you.

Cheers
Bruce

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Mobile mode and forwarded subdomains
« Reply #11 on: December 27, 2011, 06:23:03 AM »
Don - you might be better just putting it on a real server, and avoid the redirecting.

have you tried adding a dns entry to 69.92.96.104?

Looks like it's all working ok - it's in "mobile mode" given that it's doing a GET on GET /scripts/jquery.mobile-custom.js - but I'm not sure what effect the redirecting is having on the browser internals.

cheers
Bruce

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Mobile mode and forwarded subdomains
« Reply #12 on: December 27, 2011, 07:14:27 AM »
Bruce - thank you. Sorry to go on.

iPad for me is working fine and getting to understand a lot more.

My frustration really stems from the fact that smartphone works in IE and Firefox but not Chrome or the actual smartphone.  So I just thought it would be something simple. As it does not run on the smartphone I cannot really test properly.

But OK I understand.

BTW Example 3 as I recall was slightly different in the way it did things. The problem is when you have a menu with several browses to point to. I think I did recreate it on an earlier test I sent you which is when you said to leave mobile alone. Hence why I did.

Not to worry, will wait for an update in due course.Thanks

John