15,913,773 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by chinu1d (Top 25 by date)
chinu1d
14-Mar-18 14:18pm
View
I dont want to use form because then "reservations_per_day.php" this page will be called, and i dont want to change the page, i wanna remain on same page since i am fetching data from database an displaying it in tabular form
chinu1d
14-Mar-18 14:15pm
View
what if i dont want to use form, is there any other method?
chinu1d
12-Mar-18 16:30pm
View
i have updated and added my code. can you check it now?
chinu1d
15-Dec-17 11:37am
View
Error on thiss line:
Null pointer exception
getActionBar().setDisplayHomeAsUpEnabled(true);
chinu1d
15-Dec-17 11:35am
View
12-15 22:54:51.089 14816-14816/com.itshareplus.googlemapdemo E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.itshareplus.googlemapdemo, PID: 14816
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.itshareplus.googlemapdemo/com.itshareplus.googlemapdemo.MapsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference
at com.itshareplus.googlemapdemo.MapsActivity.onCreate(MapsActivity.java:193)
at android.app.Activity.performCreate(Activity.java:6679)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
chinu1d
14-Dec-17 11:11am
View
Deleted
Can you provide a the code usinf PackageInstaller to update already installed app or any link for the code?
chinu1d
10-Sep-17 1:15am
View
there are 3, yes position has other values 0,1,2
chinu1d
3-Sep-17 8:34am
View
can you provide code for it?
chinu1d
3-Sep-17 6:42am
View
I have converted image to bitmap and den sent it to the server how can i do the same for other files it makes no sense?
chinu1d
3-Sep-17 1:28am
View
Okay i will try .
chinu1d
22-Aug-17 11:00am
View
no but did'nt anyone try it before?
chinu1d
28-Jul-17 17:05pm
View
well its a compile time error
startActivity is not prompting up for some reason and when i do write it on own it gives "cannot resolve method "..error
chinu1d
28-Jul-17 16:53pm
View
still giving same error
chinu1d
28-Jul-17 16:53pm
View
Still ain't working
chinu1d
25-Jun-17 9:49am
View
Thank you, helped a lot
chinu1d
24-Jun-17 9:58am
View
it gives this error
An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
Additional information: Cannot use a CONTAINS or FREETEXT predicate on table or indexed view 'SEATING' because it is not full-text indexed.
chinu1d
24-Jun-17 9:54am
View
can you give an example??
chinu1d
13-Jun-17 9:53am
View
nothing, it executes smoothly but it just keeps on displaying first item in combobox.
chinu1d
13-Jun-17 7:41am
View
see my code
chinu1d
13-Jun-17 7:29am
View
But i have tried it it dosent seems to work,
maybe i will try again
chinu1d
13-Jun-17 7:26am
View
string[] array2 = new string[3] { "10:00", "16:00", "22:00" };
string[] array1 = new string[3] { "8:30", "13:30", "19:00" };
if (no == 1 || no == 3)
{
comboBox1.DataSource = array1;
}
if (no == 2 || no == 4)
{
comboBox1.DataSource = array2;
}
if (visit == 1 && j != -1)//here is the problem it
{
comboBox1.SelectedIndex = j;
}
//j has a value say 1, so it should display 13:30 for 'no'=1 or 3
but it dosent
chinu1d
6-Jun-17 11:55am
View
THANK YOU it helped
chinu1d
6-Jun-17 8:25am
View
no i meant i dint understood use of LINQ can u help me doing it with the foreach loop only
chinu1d
5-Jun-17 15:27pm
View
still confusing cant you just explain a bit
chinu1d
5-Jun-17 15:03pm
View
and what is dr? (datarow???)
and if so what value should i put in dr?
and its hard cause i am a new learner.
And thanks for your quick reply
Show More