I have my python app-engine endpoint running on localhost. How do I point my android app to it for testing? Right now, the android app is trying to access the https:myapp.appspot.com/_ah/api address on appspot. Must I first deploy the python endpoints server to appspot before the android app can see it? Could I just deploy the server to localhost and test android from there?
Edit:
Sorry, I probably misunderstood your question. I think you should be able to test it locally as per this link - https://developers.google.com/eclipse/docs/endpoints-androidconnected-gae. Step 5 & 6 refer to running back-end locally. Have you seen this page?
Yes, you have to deploy it to GAE. You can test your backend on GAE through API explorer, by https://mapp.appspot.com/_ah/api/explorer to make sure its working fine. Then follow instructions from https://developers.google.com/appengine/docs/python/endpoints/consume_android to generate android client.
There are some examples here as well,
APP Engine backend
https://github.com/GoogleCloudPlatform/appengine-endpoints-tictactoe-python
Android app using app engine backend
https://github.com/GoogleCloudPlatform/appengine-endpoints-tictactoe-android
Related
I am currently assigned for a task that requires me to build a mobile app/client, based on existing SharePoint server. All I have so far is the idea to build the app using Xamarin on Visual Studio and later I might connect it with SharePoint.
Can anybody explain to me the steps to do so?
Or if anybody have a better idea on developing SharePoint mobile app not using xamarin?
To dev your mobile App, you need to use REST API of SharePoint or you can use the CSOM (Client SharePoint Object Model).
have a look at this link witch explain how to do that with rest api : Build mobile apps for other platforms using SharePoint 2013
From the little I understand regarding Sharepoint, you will need the app you build to connect to the SQL Server in order to use the data thats on the sharepoint server?
I'm developing a Unity app run on Android, a DLL plugin to connect to my Asp.net webapi service.
I've tested it in the Unity Editor and the app can call methods in DLL well, DLL is also connected to api successfully.
However, When I deployed the app to my phone and debug the server, there's no connection being made from the phone.
I've installed the app Network Log to check the network activity of my app but didn't see any activity made.
So, how can I figure out where the root of problem is?
Is DLL possible to use in Android unity app?
UPDATE: It turned out that only my project have this problem. The DLL we developed by ourselves but my friend implemented it to connect successfully to API on Android. But I didn't
yes it is possible to use .dlls on Android, but there are some changes with Unity 5.
Maybe this article can help you.
It seems that I have to put them under Libs folder in Assets to make it works on Android
Nogotofail was recently released by Google and I want to use it to test an Android App I created that connects to a C# server.
I read through the documentation and I'm confused on how to use it. I have ubuntu running as a virtualbox machine on my laptop. I have the two android apps that come with Nogotofail installed on my device. I believe I followed the steps but I'm not getting any results. has anybody used this to test and Android app???
This is what the documentation says on git regarding testing Android:
For testing Android devices we have included our Android client
ready to be imported into Eclipse. You will have to build the app and install it on your test device.
For testing you can use the access point nogotofail setups or
on devices >=JB you can use the OpenVPN setup and a third party VPN application to route your traffic
My app connects to my server on my localhost:443 and sends a message and receives a response from the server. Where do I point the nogotofail.mitm that runs on ubuntu? Where do I point the nogotofail android app where it says host address?
Nogotofail just came out in November 2014 so there isn't much out there in terms of tutorials...not even on stack..
Any help would be appreciated
Is it possible to detect in code if an Endpoint invocation is happening on a local backend or in production (ie deployed to google servers)?
Thanks.
I believe Determine AppEngine for Java environment programmatically should serve you well -- it's not specific to endpoints, but should work just as well for any app engine app, to find out if you're currently running your App Engine app in a local development setup, or deployed on Google's cloud.
I've successfully build the AppRTC for android and I'm able to make videocalls providing the address of the demo app ( https://apprtc.appspot.com/?r=XXXXXXXX )
My question is, how can I make this app work with a custom WebRTC server OR with another WebRTC app ( e.g. https://talky.io/)
I'm a little bit confused about how to achieve this.
I've also followed the tutorials HERE and I'm able to make calls between desktop browser but I have no idea how to connect from the android app.
P.S.
If someone is interested I've built the app following the following links:
WebRTC : ninja build not working (see the comments)
http://simonguest.com/2013/08/06/building-a-webrtc-client-for-android/
You can achieve webrtc with your own server.
Several steps to follow:
1.Build your own HTTP server to provide the html service(i.e. the main page of your webRTC project instead of apprtc main page). In this step I use node.js and node-static(https://github.com/cloudhead/node-static).
2.Build your own signalling server. PeerJS is a good choice. Read the doc files. Also, code you HTML file to support peerjs.
Here is an example of peerjs implementation. It helped me a lot
https://developer.mozilla.org/en-US/demos/detail/peerjs
Goodluck!
Actually you can deploy web version of https://apprtc.appspot.com/ to your own server.
It's written on GAE (Google App Engine) - http://webrtc.googlecode.com/svn/trunk/samples/js/apprtc/
This has been moved to branches folder http://webrtc.googlecode.com/svn/branches/3.53/samples/js/apprtc/
Just register GAE account https://appengine.google.com/ and deploy this web app to it.
Next - you can connect WebRTC Android sample to you own GAE server - https://code.google.com/p/webrtc/source/browse/trunk/talk/examples/android/src/org/appspot/apprtc/AppRTCDemoActivity.java
Find line
roomInput.setText("https://apprtc.appspot.com/?r=");
and replace apprtc server name