Code Monkey home page Code Monkey logo

android-app's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-app's Issues

example of calling a function and a variable

I am trying to change the app to not work with the tinker firmware, but with my own firmware, which has different functions and variables made available to the cloud. However: in the app, the whole idea that this works towards tinker, and the idea of working with pins is very hard (for me...) to separate from the clean API.

Can anyone give me a short tutorial / example on how to:
-add a button on the main screen that calls a function on my core. (I got this working, but hacked a lot to get there, not a "clean" solution.
-add a button that, when clicked, gets a variable (String in my case) from the Core and displays it. This is the hard part for me: how to configure the different Receivers etc.

mind you: this is my first android app that I am working on, so don't be to harsh... thanks

Rolf

Andriod app crashes Nov 18

done updates on OS on tablet and phone = app will open, sometimes. Loads cores. Set core on Tinker to read. Click read. logs out. start again. on Tablet and two phones.

same fault

Can't login with 2FA enabled

I noticed when I enable two factor authentication on my account that the login within the android app always fails, returning a 403. Disable 2FA and login works again.

Not expecting a fix, just noting it for others.

Digital Write HIGH/LOW stuck in state with no visible label

GIVEN:

3 fresh cores, all setup with WIFI, pulsating cyan....

EXPECTED:

I could open the tinker app view in the Android app and configure D7 pin on all 3 cores to digitalWrite, and toggle their HIGH/LOW status.

ACTUAL:

The first core's tinker app view was working as expected. I set the D7 pin to digitalWrite and was able to toggle it. The label changed from HIGH to LOW and the LED flashed accordingly. The second core's tinker app view worked the same. The third core, however, when selecting digitalWrite, I could toggle the pin to HIGH, but the label for "HIGH" was not visible and I was unable to set to LOW. When I clicked the pin, it would pulsate as if it was accepting input and I could see a blank space for the label to change, but the label would not change nor would the pin actually go to LOW.

After force closing the app and relaunching, it worked as expected on all 3 cores.

Have fun chasing this unicorn! :)

Smart config problem

HI
Now I am interesting how Android APP config SPARK core over WIFI,I hava found when I enter SSID's password and press CONNECT button , amount of data is been sent out from my android device ,and the speed is about 512k/s,when I look for the process of data transformation, I find the data had sent to 224.0.1.187:5685, google this ip and find the IP is IANA and a multicast address .
Several questions confuse me:

1.How the APP does in order to send SSID's password?what the format of multicast information?what is the protocol?what is the detail of protocol?where is the source shows this process?can I change the IP to 224.0.1.186.. and port to 5686..?can I add other information in the multicast information,such as port's initial level?when the multicast information has been successfully sent ,what the SPARK core replies?

2.what does the SPARK core do when it received the multicast information?
where is the source?

can you answer the above question ?

Best regards
FRT

spark_token_creation_credentials Error

i have import the code from the master branch android app, added the smartconfiglib.jar but i am getting an error. this error is in this route:

io.spark.core.android.app > AppConfig > AppConfig > getSparkTokenCreationCredentials

the error says :

spark_token_creation_credentials cannot be resolved or is not a field

have been looking everywhere and did not find any help. this is a vanilla import of the app, i have already been able to run it before on eclipse on windows. But this time on mac i have not been able to.

I apreciate any help.

Tinker 12bit DAC analogWrite - photon - android

DAC tinker app slider values range only from 0 to 255 and voltage is 0 to .2 instead of 3.3. Apparently Tinker app is still treating A6 as it used to be on the Core as a PWM pin that only ranges from 0 to 255.

Pull down to refresh interferes with ScrollView

Once you have a bunch of cores and Photons in the App it becomes infuriating to scroll down because pull down also means refresh.

The trick is to scroll up a bit and then when you are locked onto the scroll view you can pull down.

I suggest putting a refresh button in the action bar.

Samsung Galaxy Nexus. Android 4.3

App crash during intiial naming of cores

GIVEN:
3 brand new cores... all plugged into a powered USB hub... Fresh install of the Android app, freshly logged in, immediately went to WIFI Config mode, where I was able to enter the credentials. Each core started flashing green, with one going into "Rainbow Shout" mode. The app then prompted me to name the core.

EXPECTED:

I would be able to config and name all 3 spark cores and go immediately into the Tinker app for each core.

ACTUAL:

The first core saved it's name, the app moved to connecting and naming the 2nd core. After pasting text into the text box, clicking the button to save, the app crashed. I did notice, however, that the 2nd core booted and was flashing cyan, and the app (when reopened) contained the name and Tinker worked fine. The same exact thing happened to the 3rd core during setup. Asked me to name, pasted in text, clicked to save, crashed but booted and was visible when reopened.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.