15,896,118 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 Komang Putra (Top 33 by date)
Komang Putra
12-Sep-21 2:37am
View
no.. the parameter is right
Komang Putra
27-Apr-21 13:21pm
View
No, the card radius is showing its radius when sliderlayout is removed
Komang Putra
27-Apr-21 12:53pm
View
Yes i already removing that
Komang Putra
22-Apr-21 9:27am
View
No, i tried using cardview for make layout rounded
Komang Putra
10-Feb-21 8:44am
View
"Shouldn't onStartCommand() be returning START_STICKY?"
Yes, i already tried this but the service doesn't running when app is killed
Komang Putra
10-Feb-21 8:43am
View
This sir
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
sharedPreferences = getSharedPreferences("user_details", MODE_PRIVATE);
refresh = new Runnable() {
public void run() {
String nik_baru = sharedPreferences.getString(KEY_NIK, null);
System.out.println("nik baru = " + nik_baru);
handler.postDelayed(refresh, 15000);
}
};
handler.post(refresh);
return Service.START_NOT_STICKY;
}
Komang Putra
10-Feb-21 8:35am
View
In the second of service, i see a data keeps looping when app is active. But when i swipe close app, the data doesnt keep looping anymore..
So, is that possible to make service keeps running when app is killed ?
Komang Putra
28-Nov-20 11:29am
View
I mean like this...
In 1st position the data equals 4,
Then i scroll it to bottom, after that i scroll to top and the data im 1st position change to 0
Komang Putra
22-Nov-20 20:39pm
View
yes, i already debug it, there's no error and every data is processed but not showed in listview
Komang Putra
20-Nov-20 22:44pm
View
yes, that's right
the problem is the count data always keep zero
Komang Putra
18-Nov-20 12:36pm
View
yes, i think so...
so what's the solution how to get last index quickly ?
Komang Putra
18-Nov-20 10:46am
View
my concern is, i don't want that program find the last index for so long...
so i want that program find the last index so fast/quick
Komang Putra
18-Nov-20 10:28am
View
yes, but i just want get last index without loading
Komang Putra
18-Nov-20 9:34am
View
yeah... so i want pick a data which in the last index..
but the program must find a last index for so long...
Komang Putra
8-Nov-20 9:06am
View
yes, thah's right
Komang Putra
5-Nov-20 21:33pm
View
nah..
in code
nopengajuan.setText(String.valueOf("0" + item.getNo_pengajuan_full() + 1));
is used for add up a number...
just like this..
example
item.getNo_pengajuan_full() = 835
then 835 + 1 = 836
Maybe i just tried this..
nopengajuan.setText('0' + String.valueOf(item.getNo_pengajuan_full() + 1));
Komang Putra
4-Nov-20 5:54am
View
But sir... the error says
Warning: file_put_contents(//192.168.232.199/xampp/htdoc/training/uploads/image/images/.jpeg): failed to open stream: Permission denied in C:\xampp\htdocs\db_eis\upload.php on line 9
Komang Putra
3-Nov-20 12:15pm
View
Yes it doesnt work
Komang Putra
3-Nov-20 12:15pm
View
Deleted
Yes it doesnt work
Komang Putra
2-Nov-20 1:17am
View
visual format
Komang Putra
29-Oct-20 22:04pm
View
yes, i already have this date value, but it keeps not sorted
Komang Putra
28-Oct-20 9:56am
View
i use date then i convert to string
Komang Putra
25-Oct-20 21:43pm
View
i mean,
first, i add some edittext then i used it for post data
like this..
data :a
tanggal1 : 2020-10-24
tanggal1 : 2020-10-25
tanggal1 : 2020-10-26
tanggal1 : 2020-10-27
data has a one edittext only
tanggal1 has multiple edittext
so..the output is
data |tanggal1
____________________________
a.............|2020-10-24
a.............|2020-10-25
a.............|2020-10-26
a.............|2020-10-27
that's what i mean
Komang Putra
22-Oct-20 23:27pm
View
So.. i must call remove method just once ?
Komang Putra
21-Oct-20 8:55am
View
Thank you sir, I appreciate that
Komang Putra
21-Oct-20 4:23am
View
uh.. just like this...
i post 'a' on my data on today (21 October 2020), but i choose 3 days after today..
so the output is :
data date
a 21 October 2020
a 22 October 2020
a 23 October 2020
just like that...
in data keep same but in date is different..
Komang Putra
21-Oct-20 4:04am
View
Thanks a lot sir.
but... i still don't know how to use loop when post...
Komang Putra
21-Oct-20 3:00am
View
sorry, i remove it because it won't work
Komang Putra
9-Oct-20 22:08pm
View
i mean disable past date or disable future date...
Komang Putra
9-Oct-20 2:04am
View
if i want disable past date.. what should i do ?
Komang Putra
6-Oct-20 2:02am
View
i mean base64 for encode the image
but, i dont wanna use that..
so, i remove it
Komang Putra
5-Oct-20 22:15pm
View
i meaan four calls to getText(), what's that mean ?
Komang Putra
5-Oct-20 21:58pm
View
Can you give me an example ?
i still don't get it
Show More