<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Heet kumar Kothadiya</title>
    <description>The latest articles on DEV Community by Heet kumar Kothadiya (@heetkumar).</description>
    <link>https://dev.to/heetkumar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F600568%2F14d59123-fac7-4c51-8578-040cb6f9121a.jpeg</url>
      <title>DEV Community: Heet kumar Kothadiya</title>
      <link>https://dev.to/heetkumar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/heetkumar"/>
    <language>en</language>
    <item>
      <title>LGM-SOC'21 open Source Contribution</title>
      <dc:creator>Heet kumar Kothadiya</dc:creator>
      <pubDate>Sat, 28 Aug 2021 11:41:48 +0000</pubDate>
      <link>https://dev.to/heetkumar/lgm-soc-21-open-source-contribution-kp2</link>
      <guid>https://dev.to/heetkumar/lgm-soc-21-open-source-contribution-kp2</guid>
      <description>&lt;p&gt;I am very glad to share that I have completed 1 month of Open Source Contribution at &lt;strong&gt;Let's Grow More Summer of Code 2021 (LGMSOC'21)&lt;/strong&gt;. Also LGMSOC'21 is my First Open Source Contribution Program .&lt;/p&gt;

&lt;p&gt;Such an amazing Experience it was were I have contributed in &lt;strong&gt;Athavani&lt;/strong&gt; project as a Front-End Developer where I have Re-designed the &lt;strong&gt;Log-In and Sign-Up UI&lt;/strong&gt; and I was Awarded &lt;strong&gt;Level 3&lt;/strong&gt; tag on My Pull Request and It was also Merged Successfully. I am very Thankful to &lt;strong&gt;LGMSOC'21&lt;/strong&gt; for Such opportunity .&lt;/p&gt;

&lt;p&gt;For more Information about the Event please visit &lt;a href="https://dev.to/heetkumar/lgm-soc-21-open-source-contribution-kp2"&gt;letsgrowmore.in&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tcyrn4eJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k0n03e27f1cgy3edh8nr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tcyrn4eJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k0n03e27f1cgy3edh8nr.png" alt="LGMSOC'21 Participant Badge"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>letsgrowmore</category>
    </item>
    <item>
      <title>GEEK WEEK Local Experience</title>
      <dc:creator>Heet kumar Kothadiya</dc:creator>
      <pubDate>Sun, 21 Mar 2021 06:06:09 +0000</pubDate>
      <link>https://dev.to/heetkumar/geek-week-local-experience-5ch7</link>
      <guid>https://dev.to/heetkumar/geek-week-local-experience-5ch7</guid>
      <description>&lt;p&gt;I am happy to share that I have completed 7 days successfully in geekweeklocal Challenge.&lt;br&gt;
Such an amazing Experience it was. From not knowing a word about github to forking and learning git commands Also created portfolio with HTML CSS. Such amazing experience&lt;/p&gt;

</description>
      <category>geekweeklocal</category>
    </item>
    <item>
      <title>Simple Chat App with Android Studio</title>
      <dc:creator>Heet kumar Kothadiya</dc:creator>
      <pubDate>Sat, 20 Mar 2021 13:49:37 +0000</pubDate>
      <link>https://dev.to/heetkumar/simple-chat-app-with-android-studio-3g28</link>
      <guid>https://dev.to/heetkumar/simple-chat-app-with-android-studio-3g28</guid>
      <description>&lt;p&gt;A basic chat app for your android devices.&lt;br&gt;
Software used: Android studio and Firebase database.&lt;br&gt;
The programming language used: XML, JAVA.&lt;br&gt;
Introduction: The purpose of the chat application is to allow users to be able to chat with each other, like a normal chat application. The users will be able to chat with each other, most likely only from user to user, no group chatting will be developed, unless there is time to do so. The chat application will be written in java, but due to the lack of experience in java, while developing the application, practicing techniques with java and working on it as much as possible will help hone some java skills and be more ready to develop the application.&lt;br&gt;
HERE IS SOME OF MY CODES USED TO DEVELOP THIS APP&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;XML MAIN ACTIVITY CODE
The main XML code for our app UI i.e. layout of our app.
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;





    
    

&lt;/li&gt;
&lt;li&gt;JAVA MAIN ACTIVITY CODE
The main java code to control the build and run our app.
public class MainActivity extends AppCompatActivity {
ImageView iv;
EditText ed;
ListView lv;
message msg;
ArrayList mglist;
ArrayAdapter adapter;
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    iv = (ImageView) findViewById(R.id.send);
    ed = (EditText) findViewById(R.id.editText);
    lv = (ListView) findViewById(R.id.listview);
    mglist = new ArrayList&amp;lt;&amp;gt;();
    adapter = new ArrayAdapter(this, R.layout.list_layout, R.id.textView, mglist);
    Firebase.setAndroidContext(this);
    final Firebase ref = new Firebase("use your firebase link here");   // Here we will creat the reference of the DATABASE by writing it's URL and here ref is the Firebase
    // Now in the above line we have written chat/ so it will create chat table before execution
    iv.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View view) {
            // Now within this we will write the code that will require to insert the data
            message mg = new message("USER", ed.getText().toString());   // now this mg is the object of message class which is an adapter class and there will be 2 parameter one is the name another is the text message
            ref.push().setValue(mg);
            ed.setText(" ");
        }
    });
    // Now here I will write the code that will display the data to both the user
    msg = new message(); // Empty constructor called
    FirebaseDatabase firebaseDatabase = FirebaseDatabase.getInstance();
    DatabaseReference reference = firebaseDatabase.getReference("chat");
    reference.addValueEventListener(new ValueEventListener() {
        @Override
        public void onDataChange(@NonNull DataSnapshot snapshot) {
            mglist.clear();
            for (DataSnapshot ds : snapshot.getChildren()) {
                msg = ds.getValue(message.class);
                mglist.add(msg.getName() + "\n" + msg.getMessage());
            }
            lv.setAdapter(adapter);
        }
        @Override
        public void onCancelled(@NonNull DatabaseError error) {
        }
    });
}
}&lt;/li&gt;
&lt;li&gt;JAVA FOR DATABASE ENTRY
Create Any Java Class For Storing info that will be used in our chap app through Firebase, SAY “ MESSAGE.JAVA “.
package com.example.chatapp;
public class message {
String name;
String message;
message(){
}
public message(String name, String message) {
    this.name = name;
    this.message = message;
}
public String getName() {
    return name;
}
public void setName(String name) {
    this.name = name;
}
public String getMessage() {
    return message;
}
public void setMessage(String message) {
    this.message = message;
}
}&lt;/li&gt;
&lt;li&gt;XML FOR CHAT HISTORY ENTRY
The XML code to view chat history through the list layout.
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;



&lt;/li&gt;
&lt;li&gt;DEPENDENCIES FOR DATABASE IN FIREBASE
Add dependencies to “build.gradle(Module: Chatapp.app)”
mplementation 'com.google.firebase:firebase-firestore:21.7.1'
implementation 'com.google.firebase:firebase-database:19.5.0'
implementation 'com.google.firebase:firebase-analytics:17.6.0'
implementation 'com.google.android.gms:play-services-auth:18.1.0'
implementation 'com.firebase:firebase-client-android:2.5.2'
implementation 'com.firebaseui:firebase-ui-auth:6.0.2'&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Hope you all enjoyed our post, you may mail me for any queries. &lt;/p&gt;

&lt;p&gt;at geekweeklocal #gwl  #geekweeklocal&lt;/p&gt;

</description>
      <category>geetweeklocal</category>
    </item>
  </channel>
</rss>
