-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from prajjwaldimri/beta
Merging beta and master
- Loading branch information
Showing
578 changed files
with
10,500 additions
and
5,370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
16 changes: 16 additions & 0 deletions
16
Android/Friend/app/src/main/java/com/example/admin/friend/AlarmReceiver.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.example.admin.friend; | ||
|
||
import android.content.BroadcastReceiver; | ||
import android.content.Context; | ||
import android.content.Intent; | ||
import android.widget.Toast; | ||
|
||
/** | ||
* Created by ayush on 13/3/16. | ||
*/ | ||
public class AlarmReceiver extends BroadcastReceiver { | ||
@Override | ||
public void onReceive(Context context, Intent intent) { | ||
Toast.makeText(context,"Alarm received",Toast.LENGTH_LONG).show(); | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
Android/Friend/app/src/main/java/com/example/admin/friend/BackgroundTask.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package com.example.admin.friend; | ||
|
||
import android.content.Intent; | ||
import android.net.Uri; | ||
import android.os.AsyncTask; | ||
import android.telephony.SmsManager; | ||
import android.widget.Toast; | ||
|
||
/** | ||
* Created by ayush on 13/3/16. | ||
*/ | ||
public class BackgroundTask extends AsyncTask{ | ||
private long time; | ||
@Override | ||
protected Object doInBackground(Object[] params) { | ||
try { | ||
Thread.sleep(200000); | ||
} catch (InterruptedException e) { | ||
e.printStackTrace(); | ||
} | ||
return null; | ||
} | ||
|
||
@Override | ||
protected void onPostExecute(Object o) { | ||
super.onPostExecute(o); | ||
|
||
Intent intent=new Intent(); | ||
} | ||
|
||
|
||
@Override | ||
protected void onProgressUpdate(Object[] values) { | ||
super.onProgressUpdate(values); | ||
} | ||
|
||
@Override | ||
protected void onPreExecute() { | ||
|
||
super.onPreExecute(); | ||
time=System.currentTimeMillis(); | ||
} | ||
} |
Oops, something went wrong.