Skip to content
Open

Home #11

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d283a73
Event optimised
hardik124 Nov 20, 2016
eb44133
Event optimised
hardik124 Nov 21, 2016
3bc8a81
Update AndroidManifest.xml
hardik124 Nov 21, 2016
b49b53d
Event feature , with Float Action Button
hardik124 Nov 21, 2016
bb816f8
Merge remote-tracking branch 'origin/branch2' into branch2
hardik124 Nov 21, 2016
48dbb9b
Event feature , with Float Action Button
hardik124 Nov 21, 2016
f04b31e
Event feature , with Float Action Button
hardik124 Nov 21, 2016
fc3f132
Event feature , with Float Action Button
hardik124 Nov 21, 2016
0df95de
Merge pull request #1 from hardik124/branch2
hardik124 Jan 17, 2017
333fda2
Merge pull request #2 from hardik124/feature1
hardik124 Jan 17, 2017
bec538a
Post function Completed in StoreRoom Feature
Nov 13, 2016
2a9fde1
Store Room Completed
Dec 16, 2016
90cfe3d
fix
Dec 18, 2016
1fff58f
fix
Dec 18, 2016
074c4c8
fix
Dec 18, 2016
46e9dec
Store Room Completed
Dec 20, 2016
13ebdfe
Store Room Completed
Dec 20, 2016
47b34f2
Store Room Completed
Dec 20, 2016
ee8637e
Store Room Completed
Dec 20, 2016
e73e3f6
Implemented Recycler View .
hardik124 Jan 13, 2017
589b79e
Implemented Recycler View .
hardik124 Jan 16, 2017
6476cfc
Search Added
hardik124 Jan 25, 2017
590db6e
Search Added
hardik124 Jan 25, 2017
df1471f
Search Added
hardik124 Jan 25, 2017
8eccab8
Merge remote-tracking branch 'remotes/upstream/storeRoom' into TryRebase
hardik124 Jan 26, 2017
a523042
Merge remote-tracking branch 'remotes/upstream/storeRoom' into TryRebase
hardik124 Jan 26, 2017
1a0ad3e
XzXZX
hardik124 Jan 27, 2017
0fc69c2
Merge remote-tracking branch 'upstream/master'
hardik124 Jan 28, 2017
4034477
Merge remote-tracking branch 'upstream/master'
hardik124 Jan 28, 2017
9424142
Merge pull request #3 from hardik124/Home
hardik124 Jan 28, 2017
813d429
Merge pull request #4 from hardik124/master
hardik124 Jan 30, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .idea/encodings.xml

This file was deleted.

2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 1 addition & 16 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions .idea/runConfigurations.xml

This file was deleted.

1 change: 0 additions & 1 deletion app/.gitignore

This file was deleted.

5 changes: 1 addition & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "24.0.1"
buildToolsVersion '25.0.0'

defaultConfig {
applicationId "com.zconnect.login.zconnect"
Expand All @@ -25,9 +25,6 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])

compile files('libs/zbar.jar')

// compile 'com.firebaseui:firebase-ui:1.0.0'
// compile 'com.firebaseui:firebase-ui-database:1.0.0'

Expand Down
Binary file removed app/libs/zbar.jar
Binary file not shown.
17 changes: 0 additions & 17 deletions app/proguard-rules.pro

This file was deleted.

This file was deleted.

29 changes: 27 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />

<action android:name="com.google.firebase.MESSAGING_EVENT"/>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
<application
android:name=".ZConnect"
android:allowBackup="true"
Expand Down Expand Up @@ -67,6 +68,14 @@
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<activity
android:name=".Store.StoreRoom"
android:label="@string/title_activity_store_room"
android:theme="@style/AppTheme" />
<activity android:name=".Store.AddProduct" />
<activity android:name=".Phonebook.Search" />
<activity android:name=".Shop.ShopList.ListOfShop" />
<activity android:name=".Shop.Categories.Store" />

<meta-data
android:name="android.app.searchable"
Expand All @@ -83,9 +92,25 @@
android:theme="@style/AppTheme" />
<activity android:name=".NewUser" />
<activity android:name=".MyProducts" />
<activity android:name=".shop.ShopList.ListOfShop" />

<activity android:name=".AddEvent" />
<activity android:name=".AllEvents" />
<activity android:name=".OpenEventDetail"></activity>
</application>
<activity android:name=".Phonebook.Search"></activity>


<activity android:name=".shop.categories.Shop"></activity>

<activity android:name=".NewUser" />

<activity android:name=".OpenEventDetail"></activity>
<activity
android:name=".shop.Details_of_shop.ShopDetails"
android:label="@string/title_activity_shop_details"

android:theme="@style/AppTheme">

</activity>
</application>
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.BaseAdapter;
import android.widget.GridView;
import android.widget.ImageView;
import android.widget.Toast;

import java.util.ArrayList;

Expand Down

This file was deleted.

57 changes: 28 additions & 29 deletions app/src/main/java/com/zconnect/login/zconnect/ExpandAnimation.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,44 @@
import android.widget.FrameLayout.LayoutParams;
import android.widget.LinearLayout;

public class ExpandAnimation extends TranslateAnimation implements Animation.AnimationListener{
public class ExpandAnimation extends TranslateAnimation implements Animation.AnimationListener{

private LinearLayout slidingLayout;
int panelWidth;
private LinearLayout slidingLayout;
int panelWidth;

public ExpandAnimation(LinearLayout layout, int width, int fromXType, float fromXValue, int toXType,
float toXValue, int fromYType, float fromYValue, int toYType, float toYValue) {
public ExpandAnimation(LinearLayout layout, int width, int fromXType, float fromXValue, int toXType,
float toXValue, int fromYType, float fromYValue, int toYType, float toYValue) {

super(fromXType, fromXValue, toXType, toXValue, fromYType, fromYValue, toYType, toYValue);
super(fromXType, fromXValue, toXType, toXValue, fromYType, fromYValue, toYType, toYValue);

//Initialize
slidingLayout = layout;
panelWidth = width;
setDuration(400);
setFillAfter( false );
setInterpolator(new AccelerateDecelerateInterpolator());
setAnimationListener(this);
slidingLayout.startAnimation(this);
}
//Initialize
slidingLayout = layout;
panelWidth = width;
setDuration(400);
setFillAfter( false );
setInterpolator(new AccelerateDecelerateInterpolator());
setAnimationListener(this);
slidingLayout.startAnimation(this);
}


public void onAnimationEnd(Animation arg0) {
public void onAnimationEnd(Animation arg0) {

//Create margin and align left
LayoutParams params = (LayoutParams) slidingLayout.getLayoutParams();
params.rightMargin = panelWidth;
params.gravity = Gravity.RIGHT;
slidingLayout.clearAnimation();
slidingLayout.setLayoutParams(params);
slidingLayout.requestLayout();
//Create margin and align left
LayoutParams params = (LayoutParams) slidingLayout.getLayoutParams();
params.rightMargin = panelWidth;
params.gravity = Gravity.RIGHT;
slidingLayout.clearAnimation();
slidingLayout.setLayoutParams(params);
slidingLayout.requestLayout();

}
}

public void onAnimationRepeat(Animation arg0) {
public void onAnimationRepeat(Animation arg0) {

}
}

public void onAnimationStart(Animation arg0) {
public void onAnimationStart(Animation arg0) {

}
}

}
8 changes: 3 additions & 5 deletions app/src/main/java/com/zconnect/login/zconnect/NewUser.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@
import android.widget.Button;
import android.widget.EditText;

import com.google.android.gms.tasks.OnSuccessListener;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.auth.FirebaseUser;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
import com.google.firebase.storage.StorageReference;
import com.google.firebase.storage.UploadTask;

import java.util.HashMap;
import java.util.Map;



public class NewUser extends AppCompatActivity {

private DatabaseReference mDatabase;
Expand All @@ -48,7 +46,7 @@ protected void onCreate(Bundle savedInstanceState) {
@Override
public void onClick(View view) {
startPosting();
startActivity(new Intent(NewUser.this, home.class));
startActivity(new Intent(NewUser.this, com.zconnect.login.zconnect.home.class));
}
});
}
Expand Down Expand Up @@ -96,7 +94,7 @@ private void startPosting() {
// map1.put("PhoneNumber", PhoneNumber);
// mDatabase.setValue(map1);
mProgress.dismiss();
startActivity(new Intent(NewUser.this,home.class));
startActivity(new Intent(NewUser.this, com.zconnect.login.zconnect.home.class));
// }
// });
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.google.firebase.database.FirebaseDatabase;
import com.google.firebase.database.ValueEventListener;
import com.squareup.picasso.Picasso;
import com.zconnect.login.zconnect.R;

import java.util.ArrayList;
import java.util.Arrays;
Expand Down
Loading