User Profile

Collapse

Profile Sidebar

Collapse
LemonFoam
LemonFoam
Last Activity: Jun 6 '18, 07:04 PM
Joined: Oct 21 '17
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • LemonFoam
    started a topic Shared Preference Android Studio
    in Java

    Shared Preference Android Studio

    I had build an mobile app which consist of 2 activity as shown in figure below.It can let user to choose for go to main activity or the second activity

    Main activity let user to send text to the second activity.
    Second Activity let user to recieve text from main activity.

    Can somebody teach me how i can save the text received in the second activity by using shared preference directly. That mean everytime second...
    See more | Go to post

  • How to draw graph by using firebase data

    I had developed an app that can send data to my firebase for store. Now i want to draw a graph to shown that historical data via the my app. Picture 1 show my firebase data store and picture 2 show the layout of app i desire to develop.

    Can somebody guide me how to draw the historical graph on my app by using my data stored in firebase?...
    See more | Go to post

  • LemonFoam
    replied to Arduino to control LED using serial monitor
    in C
    No, the '1' or '0' is just simple char that send via serial monitor. The char can be anything set by the programmer .

    If '1' is send, the LED need to blink until '0' is send, the LED will stop to blink.

    But my code doesn't work, can u help me to point out my mistakes or do corrections on my code?
    See more | Go to post

    Leave a comment:


  • LemonFoam
    started a topic Arduino to control LED using serial monitor
    in C

    Arduino to control LED using serial monitor

    My project is to control the LED by send '1' or '0' via serial monitor.
    My task for this project is when '1' is send via serial monitor, the Led ON PIN 3 need to blink until '0' is send via serial monitor, the LED will be turn off. Then, when next '1' is send , the Led ON PIN 3 will blink again. But it doesn't work for my code. This is my first time to use arduino, can anyone tell me what is wrong in my code and help me to do some correction...
    See more | Go to post

  • Sir ,i have modify the code, but this time i use 1 minutes for testing, but i does not work too.
    It does not show any value instead of 0 every time when there are some step added....
    See more | Go to post

    Leave a comment:


  • [CODE]
    @Override
    public void step(long timeNs) {
    numSteps= numSteps+1;//to add number steps by 1 when sensor detect one step have been made
    TvSteps.setText (TEXT_NUM_STEPS + numSteps);//to display the newest number step

    Handler handler=new Handler();
    handler.postDel ayed(new Runnable() {
    @Override
    public void run() {
    ...
    See more | Go to post

    Leave a comment:


  • LemonFoam
    started a topic To build an step counter app using android studio
    in Java

    To build an step counter app using android studio

    can anybody shown me how to build an step counter app using android studio that will count the number of footstep and plot the number of footstep in graphical form for every 15 minutes?
    See more | Go to post
No activity results to display
Show More
Working...