Android

Don't say hi. Don't ask questions. Don't have fun. Don't do an...
Nov 4, 2022 16:37
Thanks for the advice. It actually helped.
Just replacing the regex pattern string and letting Java do its job worked actually.
Nov 4, 2022 16:34
Actually I was looking for my today's query which I put earlier here.

Yes, you may not have seen me but I do use to visit here once in a while.
Nov 4, 2022 16:29
But I had added many messages in the room since then. :D
Nov 4, 2022 16:28
Yup, at top of the page it says "load to my last message".
Nov 4, 2022 16:27
Oct 16, 2012 at 11:44, by Harpreet
hi,,,all
Nov 4, 2022 16:25
Funny: I just clicked the above button to take me to my last message and it took me to my first-ever message sent to this room 3671 days back. :P
Nov 4, 2022 11:44
Yes, they both use different special characters in the pattern.
I am already using an email address validator regex in Kotlin and we need to use the same on the Java side as well. But Java through error illegal space characters used in regex.
Nov 4, 2022 11:40
Hello,
Is there a way to convert the Kotlin regex pattern to a Java regex pattern?
 

Android & Kotlin Experts

Any SO Room is nothing without you all GUYS.Thanks to all memb...
Mar 20, 2020 12:49
Thanks.
Mar 20, 2020 11:59
Hello @RakeshKumar and @AshuKumar and all other friends.
Yes, I tried that solution with a little trick and it worked well. I'll test more of it soon to find do it creates some other problem in the flow.

The answer is here. https://stackoverflow.com/a/60773306/1164529
Mar 19, 2020 13:14
@RakeshKumar I'll check that and come back to you tomorrow again. I didn't remember what exactly has happened when I tried this solution last item.
Mar 19, 2020 13:12
Yes, added that check already. User sees No Internet Popup if the Internet is OFF. But the stage of failure is when the Internet was connected when user hit Send and now while message sending process:
- The Internet may go down or got OFF. (Any 2G/3G/4G network issue)
- The server is unreachable due to any case.
Mar 19, 2020 13:06
Yes, I check it way before and that's why the above requirement has been created by the Project Architect.
Socket.IO can re-emit the failed event of the message send if the Internet is back within some seconds or maybe some minutes as well. But the re-emit will stop as once the timeout became quite long.

Moreover, there is no way to show up the user that what exactly is happening with Socket at the moment. So the best approach is to cancel the sending message and clear out the socket's buffer (*Make socket buffer empty*).
Mar 19, 2020 12:51
**Problem faced in Socket.IO (Java Client)**

If a user is trying to send a message while network status is too low or not connected anymore. The message is not sent and it's got added to buffer in the socket object.

The requirement is:-
- The user tries to send a message if the socket fails to sent in within 5 seconds than ignore that message and show message sending failure to the user.
- Keep that message in the message box so the user can retry as he has seen the message sending failure.

Now the failure I face is that if the user attempts to send it often that it in the buffer multipl
Mar 19, 2020 12:36
@AshuKumar Sure.
Mar 19, 2020 12:35
Hello Friends,
I am working on a project which is using Socket.IO (Android - Java)
So anybody has experience with it before?

I stuck with an issue and can't find a solution to it, whereas JavaScript has a solution to my problem but Java Client not. So willing to explore with help.
Mar 19, 2020 12:25
Thanks.
Mar 19, 2020 12:25
Hello.
 

Java

Dedicated to the discussion of the Java programming language a...
Feb 21, 2020 08:12
@Neil Thanks, I just started to learn and develop today. One of my friends who works in govt office is facing a lot of problems to handle and circulate files on a daily basis. So he requested me to deliver him with some sort of private solution.

I am an Android Developer but have no knowledge of desktop development. As my native language is Java for so long so try and learn desktop apps.

For now, I started with Swing.
Feb 21, 2020 05:03
Good Morning.

I want to start to learn and develop a Java Desktop Application.
Can you please help me with your expert advice that which IDE and tools should I follow?
 

 Android Era with Kotlin and Java

Important: Read dos and don'ts here: androidera.github.io . Ma...
Oct 8, 2015 11:05
2
Q: "Entity you are looking for was not found" at QBSubscriptions - Quickblox (Android)

HarpreetI am using Quickblox SDK Ver 2.2.5 and I am trying to unsubscribe from Quickblox Push Notification's Subscriptions. Previously before it was working fine & now instantly from past few weeks it stopped working. Here following is my code:- QBMessages.getSubscriptions(new QBEntityCallbackImpl<Ar...

Aug 26, 2014 12:33
@PiYusHGuPtA: Ok, I'll try it that way.
Aug 26, 2014 12:32
I think "this is why we can't have nice things" is following me. :P
Aug 26, 2014 12:30
:D
Aug 26, 2014 12:30
Hahaha,,,
Aug 26, 2014 12:29
Okay.
Aug 26, 2014 12:26
@PiYusHGuPtA
Aug 26, 2014 12:23
Is there any lib to parse data from KML or I just consider and use it as a XML?
Aug 26, 2014 12:23
Hmm.
Aug 26, 2014 12:21
Their is no direct approach for KML and Google Map V2 in Android
Aug 26, 2014 12:21
Bro, I am not able to understand how it's usable in android
Aug 26, 2014 12:19
Any1 who's familiar with KML and Android?
Aug 26, 2014 12:19
@all Hi Everyone
May 27, 2014 14:22
Hi friends
May 15, 2014 12:37
Hello friends
May 15, 2014 12:13
1
Q: Image and Video Slider in Android

Yogesh PawarI am creating an android app with a heterogeneous layout. The app has a login page where the user logins by entering his license key. After login is verified the user is shifted to next screen. On the next screen we have displayed a slider. The problem is that we want to display images and vid...

Apr 4, 2014 09:07
@TheLittleNaruto listview's adapter.notifyDataSetChanged(); won't working in your case?
Apr 4, 2014 09:05
Any one done Document Scanning in Android like Cam Scanner ?
Apr 4, 2014 09:04
Gr8
Apr 4, 2014 09:03
Hi bro.
Apr 4, 2014 09:03
How is ur day ?
Apr 4, 2014 09:02
Hello Friends..
Mar 28, 2014 07:50
only for SOAP
Mar 28, 2014 07:49
@Barun It's just a way to test web-services.
Mar 28, 2014 07:45
@Barun Ok. NP. So, I just let you know that install SOA Client in Firefox and experience the work. I'll help in future tasks.
Mar 28, 2014 07:39
Now the issue is that I can see data will be there in Xml qoute as response but the real response is null.
Mar 28, 2014 07:37
If you are familiar with SOA Client, then you know how we can see data response by calling directly service in that plugin.
Mar 28, 2014 07:36
so just want to discus it.
Mar 28, 2014 07:36
@Barun I am already working with it. Having some issue now.
 

Trash can

Like the recycle bin, but trashier.
Aug 26, 2014 12:28
translate: チャットは今翻訳をサポートします。