Active
Project:
Android
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2009 at 22:33 UTC
Updated:
11 Jul 2011 at 03:18 UTC
Hello, I've just downloader github android project and i've imported it into Eclipse SDK. I'm just running on the emulator but webview isn't loading (default) gui_url page, so my screen looks empty and app is stuck. Pressing menu » refresh button does nothing. Finally Quit button works.
How to get it running using your demo website by default?
Comments
Comment #1
royiby commentedi know it's a very old post (July 09) but an answer is still due so:
if you look in the res/values/strings.xml portion of the app you will see that the so called "gui_url" refers to an admin portion of the demo site - so, due to security rules you (as an unlisted user, let alone not an admin - can't view this content or use it's services), thus there is no way to use this app as is, it is (in my humble opinion) offered as a "proof of concept" and nothing more (this example has helped me to create many apps close to it in idea and execution) .
http://demo.linnovate.net/admin/content/comment/approval
Comment #2
technikh commentedI am getting the same issue. blank screen though I changed the strings.xml accordingly
http://android.mysitename.com/admin/content/comment/approval
http://android.mysitename.com/services/json
My site has these following versions of modules installed.
JSON server 6.x-2.0-alpha2
Services 6.x-3.0-rc1
Android 6.x-1.x-dev
Can anyone please suggest me how I can make this app working?
Comment #3
technikh commentedI saw some progress when I used sevices 2 instead of services 3.
with services 3 I used to get page not found on browser for http://android.mysitename.com/services/json
now with services 2 I get { "#error": true, "#data": "Invalid method " }
but still i see blank screen
I don't know if this is related but when I call method from site at http://android.mysitename.com/admin/build/services/browse/android.NewUsers
I get this error
warning: Missing argument 1 for user_access() in /home/m/public_html/modules/user/user.module on line 494.