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...
User Profile
Collapse
-
Shared Preference Android Studio
-
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?... -
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? -
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... -
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....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() {
...Leave a comment:
-
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?
No activity results to display
Show More
Leave a comment: