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
Related
I came with a weird question but sadly I don;'t have any code example to base me on.
I'm trying to create an android application that uses native messaging
to communicate with a google chrome extension. That application will be running as android application in the same chromebook as the chrome extension will be running.
Is that even possible? I questioniung because of native messaging uses standard input output to communicate and android also does it for logcat and I think is not actually the same I/O I need because of the VM of android..
So, does anyone know if is that possible? Do you have any other way to do it? I've tried with websockets and it worked but sadly, chrome complains about the ssl certificate because is self signed and the websocket is not running in localhost but in ARC chromebook IP.
Thanks
I have successfully built the AVS Device SDK on Android with the help of the reference guide to building Device SDK on Android that the Amazon team sent me. However, as a novice Android developer, I don't know where to go from here to actually use the SDK in an Android app. For example, I'd like to press a button in my app to activate Alexa and speak to her/it. How would I proceed after successfully building SDK on Android? I have pushed the local build with all the compiled libraries to the adb shell and have ran most tests successfully.
I know I'm most likely going to have to user NDK and JNI, but yeah, some guidance would be great.
Also, would it be possible to run your sample app on Android? I am aware of the previous Android sample app, but I'd like to try running this new C++ SDK sample app on Android too.
You'd need to build it on your own. There is no official support to iOS/Android in avs-device-sdk and Alexa assets are not public (e.g. Alexa logo for the button).
In order to make it work, you should integrate LoginWithAmazon SDK and once you have a valid token you should be able to start using AVS.
I hope an official iOS/Android AVS SDK will come anytime soon.
I am interested in coding up some interactive apps for personal use on my Samsung Galaxy tab running the Android OS. Ideally I would like to write a program in C++/Haskell/Python on my desktop, test them out with a simulator in an IDE such as Eclipse, and then transfer the compiled
executable onto my Tablet to be used like any normal Android app.
Can this be done? All sites I have come across so far are about writing android apps on your PC and then publishing them to Google Play
after meeting some quality criteria as mentioned here
The closest question on SO I could find is this one but it does not seem to answer the question.
If so, can someone tell me the workflow for doing this? In particular to which folder must I transfer my executable to?
Note: I will be coding these apps on Ubuntu 14.04 in the languages mentioned above.
You can build and run your own apps without uploading to anywhere. Android allows apps to be installed from the computer to device using the adb executable (Android Development Bridge). You can develop the app and push it directly to your device.
If your interested in python android you might want to checkout: https://kivy.org/
For more information on building apps and installing locally checkout here: http://developer.android.com/training/index.html
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 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