All Questions
25
questions
0
votes
1
answer
226
views
Error SQLiteOpenHelper : no such column: year in "SELECT event, time, date, month, year FROM eventstable WHERE month=? and year=year"
I'm new to android and SQLite and I have a problem with my code that makes the error "no such column: year in "SELECT event, time, date, month, year FROM eventstable WHERE month=? and year=?" when I'm ...
0
votes
0
answers
603
views
Caused by: android.database.sqlite.SQLiteException at android.database.DatabaseUtils.readExceptionFromParcel
package com.medikoe.connect.androidmedikoeconnect.utilities;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.net.Uri;
import ...
4
votes
2
answers
897
views
android.database.sqlite.SQLiteException while adding reminder in calendar
@SuppressLint({"RxLeakedSubscription", "RxSubscribeOnError"})
public static long pushAppointmentsToCalender(Activity curActivity, String title, String addInfo, String place, int status, long startDate,...
0
votes
0
answers
249
views
how to solve the the sqlite SQLiteException in calendar update of the event in google calendar?
i am trying to update the event in the calendar but i am not able to update the calendar showing error in update query
in this lines
int rows= getContentResolver().update(updateUri, event, null, ...
0
votes
1
answer
83
views
Maintain Parent-Child handle in new Activity
Using Android.Studio;
To bring you up to speed, I'm designing a calendar that works like a date picker, a swipe to a list view of events on the date. The events are obtained from our site, and stored ...
1
vote
0
answers
339
views
How to get event category on same date from custom calendar
This is my calendar activity.inserted data from this activity...
second is my calendar adapter class when I get data from sqlite I want to find, on the same date how many events are present and which ...
0
votes
0
answers
95
views
Date and Time formatting from sqlite database
I have formatted the timepicker and Datepicker data into the following formats hh:mm AM/PM and dd/MM/yyyy, and stored both the variables into sqlite database.
Now, in another activity I need to ...
0
votes
1
answer
125
views
Android add day to Calendar if id of table
with this query I get a list of records from the database, and I order them according to the id, from smallest to largest. Now when the id of the query will change, compared to the previous, I want to ...
0
votes
1
answer
80
views
SQLITE next 24 hours data
i'm looking to select the games for the next 24 hours from my table:
String sql = "SELECT * FROM teamstable
WHERE ((teamdate >= datetime ('now'))
AND (teamdate < ...
0
votes
2
answers
4k
views
adb I/O Error, possible corruption
I am struggling to fix an issue I have. Basically my Galaxy S3 has just up and decided that Google Calendar will now crash whenever I open it. After examining the system log, stack trace, etc... it ...
0
votes
0
answers
162
views
How to get datetime from web service or from my last update in android?
Okay guys, here is the thing, i got an application, that is consuming ODATA service via SMP server, i need to get this data and save in my local database: After that,
What i need to do, is get the ...
0
votes
0
answers
41
views
insert and extract timeinmillis
I've improvised a function that inserts/update a date variable (in the TimeinMillis format) in sqlite and later queried. The procedure in sequence as follows;
1) Preinserting into the sqlite, the ...
0
votes
0
answers
515
views
How to save events in Android & get reminders of events but without showing events to other Calendar Apps?
I have an app in which I am allowing the user to schedule future events and control volume settings during those times. So, I am allowing user to create events (with dates, times, and frequency).
I ...
0
votes
1
answer
914
views
Android date SQLite SimpleDateFormat Calendar [duplicate]
with a query, I get a value of "date" from the SQLite database, in the format "YYYY-MM-DD". Now I want to convert this format to display the date in the format getInstance (). How can I do?
...
1
vote
2
answers
123
views
Android error when convert month name
With this query I select the month in the database. The cursor returns the exact month, but when I do the conversion to display the full name appears the following month. For example, the cursor ...