Help. Testing on Local Host
Anybody here testing it on localhost? i mean the android app .Does anyone help me on how.
Thank you guys.
Hey i just try to put it online and it's work the website, well of course the api and the mobile version i create a subdomain. But when i try in android app Toast message always Network error
APIAddress:
public static final String DOMAIN_NAME = "daremee.net.com" + WEBSITE_PATH; public static final String MOBILE_DOMAIN_NAME = "m.daremee.net.com" + WEBSITE_PATH; public static final String BASIC_API_URL = "api.daremee.net.com" + WEBSITE_PATH;
htaccess for API
#强制重定向到带www的顶级域名 RewriteEngine On RewriteCond %{HTTP_HOST} ^daremee.net.com$ [NC] RewriteRule ^(.*)$ http://www.daremee.net.com/$1 [L,R=301] #For SSL #RewriteCond %{HTTP_HOST} ^daremee.net.com/$ [NC] #RewriteCond %{SERVER_PORT} 80 #RewriteRule ^(.*)$ http://www.daremee.net.com/$1 [L,R=301] #RewriteCond %{HTTP_HOST} ^api.daremee.net.com$ [NC] #RewriteCond %{SERVER_PORT} 80 #RewriteRule ^(.*)$ http://api.daremee.net.com/$1 [L,R=301]
Reply to #6 @dareme :
public static final String DOMAIN_NAME = "http://daremee.net.com" + WEBSITE_PATH; public static final String MOBILE_DOMAIN_NAME = "http://m.daremee.net.com" + WEBSITE_PATH; public static final String BASIC_API_URL = "http://api.daremee.net.com" + WEBSITE_PATH;
http://
when i go to my main domain and login. and go to api domain and enter my user and pass it wont log in me . my user and pass is correct but it said wrong password. and when i try to go in my mobile domain the style is just like website it not mobile style. and when i go to main domain my avatar is D stand for 'Dareme' but when i goto mobile site the avatar is letter K
Requires Login
please help me.