yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] Magesh.K:
i created java web service using SOAP .i have to send Complex data to the client .

so help me how to create client app to receive arraylist<complex type>

my code is:

import java.sql.Connection;

import java.sql.DriverManager;

import java.sql.ResultSet;

import java.sql.ResultSetMetaData;

import java.sql.SQLException;

import java.sql.Statement;

import java.util.ArrayList;

import antlr.collections.List;

import antlr.collections.impl.Vector;

public class main {

public static Connection con=null;

//public static void main (String[] args) throws SQLException, ClassNotFoundException	{

public ArrayList<RowItem> customerData(String s,String t) throws ClassNotFoundException, SQLException{

String url="jdbc:sqlserver://D9-2-PC:1433;database=ADB";

String un="sa";

String pw="123";

ArrayList<RowItem> list = new ArrayList<RowItem>();

try{

Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");

System.out.println("..............");

con =DriverManager.getConnection(url,un,pw);

Statement sta = con.createStatement();

String sql="select c.CustomerName,d.LocalityName from Service as a,Category as b,Customer as c,Locality as d where b.CategoryName='"+s+"' and a.CategoryId=b.CategoryId and a.ServiceId=c.ServiceId and c.LocalityId=d.LocalityId";

ResultSet result = sta.executeQuery(sql);

System.out.println(result);

while(result.next()){

RowItem row =new RowItem();

row.setCustomerName(result.getString("CustomerName"));

row.setLocalityName(result.getString("LocalityName"));

list.add(row);

}

}

catch(Exception exc){

System.out.println(exc.getMessage()+"....error");

}

return list;

}

}

Complex Type is:

public class RowItem {

public String CustomerName;

public String LocalityName;

public String ServiceName;

public String getCustomerName()

{

return CustomerName;

}

public void setCustomerName(String CustomerName)

{

this.CustomerName = CustomerName;

}

public String getLocalityName()

{

return LocalityName;

}

public void setLocalityName(String LocalityName)

{

this.LocalityName = LocalityName;

}

public String getServiceName()

{

return ServiceName;

}

public void setServiceName(String ServiceName)

{

this.ServiceName = ServiceName;

}

}

help me thanks.
[Off-topic] GT247:
I thank in advance everyone else who will post a request for a dev in some thread as if it's an order. The devs get what it means, it means once that's posted, they have to do it.

I thank in advance the moderators who will view this thread, now that I've thanked you, you have to read it.

I thank in advance the moderators for keeping this thread open. Now that you've received your thanks, you're obligated to do it.
[Off-topic] apen83:
Thanks in advance!
[Off-topic] Negan:
I thank you both in advance fir being great friends and council members. I also thank in advance all the noobs for reading the op and posting questions in the q and a thread

sent from my Jedi powered Note ll

respect, teach & coach, have fun and say thanks!

the Jedi way
[Off-topic] GT247:
thanks in advance

thanks in advance for not acting like you didn't know it was wrong to post a devs rom in another rom devs thread.

thanks in advance for not posting comments to a dev such as "I don't mean to disrespect your work, but this really does look very unprofessional, if you can make it like the idea I have in my mind it would look way better, thanks in advance"
[Off-topic] roofrider:
What the phuck is this?!! :eek:
[Off-topic] GT247:
this is........

This is a thankful thread, thanks in advance for your understanding.

Thanks in advance for people who might come in here and read the op.
[Off-topic] kangerX:
I thank Obama in advance for he is going to remind me long forgotten outlook password... Cough prism cough

sent from the state where marijuana is NOT illegal !
[Off-topic] GT247:
roflmao!!!!

I was totally going to thank you in advance for that post!!!

Thank you in hindsight!!!
[Off-topic] kangerX:
Thanking you in advance for thinking of thanking me in advance

sent from the state where marijuana is NOT illegal !
[Off-topic] GT247:
Thanks in advance for all the device manufacturers who embrace the fact the android OS is open source and free for them to take and mod and put on their devices and in return make their devices with unlocked bootloaders for the people who they profit from buy purchasing said devices so they could make their devices more like devices that they own.
[Off-topic] ShadowLea:
Did someone replace the sugar with cocaine again? :confused:
[Off-topic] SimonTS:
Thanks in advance to [MENTION=335322]MikeChannon[/MENTION] for giving us back the 'Thanks' button in OT, just so I can thank you for that post

:thumbup:
[Off-topic] Negan:
[MENTION=2696044]GT247[/MENTION] can you answer alk the questions in jedi on my behalf? Thanks in advance

sent from my Jedi powered Note ll

respect, teach & coach, have fun and say thanks!

the Jedi way
[Off-topic] GT247:
xda...

xda, can you make an xda mobile app so I can answer questions in fhe jedi x forums on the road?

Oh...you already did? Im too busy to search for it can you make another one?

that'd be great :) thanks in advance
[Off-topic] kangerX:
thanks in advance to future spoderman thread derailers :sly:
[Off-topic] Cooptx:
Thanks in advance for everyone joining the thread linked in my tapatalk signature.

I am the Potati King!
[Off-topic] psycho4us4:
Tia for everyone that hits my thanks button.
[Off-topic] chrisa887:
thanks in advanced for all the hard work you have done and all future work.:good::good::good:
[Off-topic] LordManhattan:
WTF is this?
[Off-topic] Clark Joseph Kent:
Members dont mind me, just passing thru.....
[Networking] fhc:
Wat I would love to have is an IMAP E-mail client for my MDA II.

I've seen lots (and lots and then some) of POP3 E-mail clients somewhat modified to speak IMAP; but i have so far not seen an IMAP E-mail client. One that scans a folder when you select it and then stay connected instead of getting all headers over and over again each time you want to check for new mail. Only fetching the message when i want to read it etc etc

In short an e-mail client for imap like imap was intended to be used would do wonders for my gprs bill

Is there such a programm
[Networking] Rudegar:
read these ?

http://www.okspain.com/docs/imap/pocketpc2002.htm

http://www.fastmail.fm/docs/imap/npop.htm

found from this search

http://www.google.dk/search?client=...da&q=pocketpc+IMAP+&meta=&btnG=Google-søgning
[Networking] fhc:
Now I have, they contain howeven no information. I know how to configure poutlook for IMAP and I personaly have not tried nPOP because i'm loking for an IMAP-client not a modified pop client who tries to download everything again each time in the FAQ of the page you linked to <a ref="http://www.okspain.com/docs/faqparts/ExternalMail.htm#ExternalIMAPVsPOP">

Why should I use IMAP? What is the difference between POP and IMAP?</a>

poutlook generated 0.5-0.7Mb of trafic just to check my e-mail (because eacht time if tries to get an compleet folder list and I have quite some folders)

A true e-mail client could scan INBOX at startup and keep connected at less than 1K per day.
[Nokia Lumia 920] ZEESHANJAVED07:
Hello, i have lumia 920 ee white. i am in pakistan now. how can i unlock my phone in pakistan.
[Nokia Lumia 920] boril:
You won't like the price :( so far I found several sites and all of them are asking:

http://www.fonefunshop.co.uk/unlock/index.php?cs=true The code calculation costs just $56.25 in total.and you can pay by PayPal.

http://www.mobileunlocked.com/nokia/lumia+920/ $66.99 - EE United Kingdom - Nokia Lumia

Average Delivery Time: 3 to 10 Days"

http://www.cellunlocker.net/ 59.99$.

So that I didn't unlock mine so far..if you find cheapest way to unlock yours please share.
[Hardware Hacking General] wkzeigler:
hello all.

I have a cruz velocity t408 and I tried updating my software before I rooted. I downloaded the t408 update for the tab. and put it on the sd card and flashed. I then get nothing but a white screen if anything at all. As I inspected the problem it would seem somehow the t410 software got onto the sd card. Now I am at a total loss. Is there anything I can do here. my pc sees the tab as a Samsung storage device and installs usb drivers for such, the control panel shows 2 drives but no drive letters. Im not sure how to go about this, ive scoured this site and many others looking for any help. Someone! anyone help please!
[Galaxy S II Q&A, Help & Troubleshooting] MeltdownSpectre:
I bought an S2 I9100 a few weeks ago. Its running on Stock 4.1.2 JB XWLSW. I wanted to root it so I flashed Siyah Kernel. After that, a yellow triangle comes up along with the boot logo. Now, Siyah Kernel included CWM as well. I want to get back to stock completely, unrooted and without a yellow triangle at boot. So I used Triangle Away. I reset the flash counter. I removed Superuser.apk from system/app. I rebooted. Phone starts up and Superuser is back. Little did I know, Siyah Kernel re-roots at start up.

Is there a way I can flash back to stock kernel but keep root access so I can reset the flash counter? Also how do I get rid of CWM that came with Siyah Kernel? Also, is there a stock kernel file that I can download without downloading the entire firmware?

Thanks. :)
[Galaxy S II Q&A, Help & Troubleshooting] deadmetaphor:
If I understand correctly, you want to return to stock, completely, right? If so...

Since you are already rooted, reset the flash counter first. Download the firmware specific to you from samfirmware and flash it using odin.

I haven't tried returning to stock, but this should do it.
[Galaxy S II Q&A, Help & Troubleshooting] MeltdownSpectre:
If I reset the flash counter now, and then flash the Odin Firmware won't that bring the yellow triangle back?
[Galaxy S II Q&A, Help & Troubleshooting] deadmetaphor:
The yellow triangle didn't occur with the stock firmware and neither did the custom binary counter increment the last I flashed stock firmware (some time ago)
[Galaxy S II Q&A, Help & Troubleshooting] tornado92:
flash any stock firmware for your phone it will remove your yellow triangle buddy..:fingers-crossed: or else use triangle away..
[Galaxy S II Q&A, Help & Troubleshooting] MeltdownSpectre:
Alright thanks guys. :)
[Galaxy S II Q&A, Help & Troubleshooting] immortalneo:
Since you obviously will get your issue solved soon, please don't forget to add [SOLVED] to the title of your post. :)

Good luck!

"To err is human, to forgive is divine. "

Sent from my SGS II
[Galaxy S II Q&A, Help & Troubleshooting] MeltdownSpectre:
Thank you! This thread can be locked/closed now. :)
[Nexus 4 Q&A, Help & Troubleshooting] Jamal Ahmed:
Hi, I tried to install viper4android sound mod but it is not installing. It says please check if the device is rooted or busybox is installed or not.

I am on PA 17th August and Franco kernel, with busybox and full root naturally. Is there any explanation or solution to install drivers?

I've tried:

°Uninstalling app and re-installing…

°changing Roms and kernels…

°turning on "safe mode" and "compatible mode" in the app

°deleting dalvik cache

°selecting A8 drivers and A9 drivers too (users said both work).

But still it won't install, it gives the same error :( if someone can be of help, I'd be really grateful :D thanks!
[Nexus 4 Q&A, Help & Troubleshooting] mohitgalaxy3:
Make sure that u have installed busybox by opening that busybox installer app, people get confused by installing app only.

Rest I don't know, I have install this mod yesterday only working fine.
[Nexus 4 Q&A, Help & Troubleshooting] Jamal Ahmed:
I also have installed busybox through the app too! :/ it still won't work xD
[Nexus 4 Q&A, Help & Troubleshooting] rani9990:
I had this problem as well, try downloading supersu and updating the su binary via TWRP. viper somehow worked after that.
[Nexus 4 Q&A, Help & Troubleshooting] fernandezhjr:
Make sure you have the latest version by updating thru the in app settings. Also, superuser will not work. You must be using supersu for root.
[Nexus 4 Q&A, Help & Troubleshooting] khanmein:
no need install busybox also working perfectly on s2.

flash supersu on top superuser.
[Nexus 4 Q&A, Help & Troubleshooting] copy2050:
i read this post because i have the same inssue on MTK6582 phone...i have root only by irrot aplication and installed the superSU app, updated via Normal mode, but i read somewhere i only can install the viper4 driver if i update my superSU via TWRP, is true? and if i dont have the TWRP installed can i update this way anyway? i dont want my phone get bootloop or anything...plz help!

Thanks
[Nexus 4 Q&A, Help & Troubleshooting] MNASWL:
was also having problem with driver installing, updated supersu through recovery, driver was installed successfully but still no effect on audio, driver is reporting Abnormal and not supported.
[Nexus 4 Q&A, Help & Troubleshooting] areyouanand:
I'm also unable to install drivers due to busybox error.
[Nexus 4 Q&A, Help & Troubleshooting] legodark:
Set SELinux to permissive
[Nexus 4 Q&A, Help & Troubleshooting] *Jonny*:
Accurately :fingers-crossed:
[Nexus 4 Q&A, Help & Troubleshooting] danielmillertime:
Tied everything everyone else has tried still same problem including changing selinux to permissive. please anyone have a fix?
[Nexus 4 Q&A, Help & Troubleshooting] Hjicons:
Uninstall existing Viper APK. Locate XDA thread with viper_v2.3.3.0.zip in it (it also has 2 more tweak zips) and then first flash viper_v2.3.3.0.zip and then the other two from recovery. This flash wipes davlik cache so it takes some time to rebuild on boot. Then install Viper driver and boot again. Done.
[Nexus 4 Q&A, Help & Troubleshooting] coolbeans2016:
same problem on device never had before

I'm having this broken busybox or not rooted completely/correctly error trying to install any version of viper4android as well. I have always had viper on this tablet, latest complete install of firmware is when problem started. But I have tried all fixes as everyone else has including using a cached buybox apk from previous install just to make sure something hadn't changed in Stericson's busybox, no go.

This is a real head scratcher!

Zach
[Nexus 4 Q&A, Help & Troubleshooting] coolbeans2016:
Way late, but fix found

Here is what I found that fixes this:

OK all I have a fix for installing Viper on the Tab S.

Use any file explorer and navigate to /system/vendor/etc

Copy the audio_effects.conf in that location

Navigate to /system/etc and paste the file you copied there

Once copied change the permissions to match the other files in the /system/etc folder

Install Viper and it should work this time, apparently the audio.effects.conf file is expected to be in the /system/etc location and is not there by default for some reason....*"

Even though this file was where it said to copy to, contents were different. Either way, afterwards all I had to do was open the V4A apk and it asked to install driver, BAM........!!!!!!! Worked!

Zach
[Nexus 4 Q&A, Help & Troubleshooting] ariesgodofwar:
Dumb question, but have you made sure that you have granted storage permission in the Apps Menu?
[Nexus 4 Q&A, Help & Troubleshooting] lukzifer:
Thanks Thanks alot for this, i was navigate for hours!!! This really works, thanks ^^
[Nexus 4 Q&A, Help & Troubleshooting] K9-1000:
OMG DUDE OMG BRO OOOOOOOMMMMMMMFFFFFFFFGGGGGGG. it worked. ****ing love you to death man
[Nexus 4 Q&A, Help & Troubleshooting] rauul95:
driver still not working

my audio_effects.conf file it is system/etc and viper4android is still not installing that driver. please help me :(
[Nexus 4 Q&A, Help & Troubleshooting] coolbeans2016:
thanks button :)

Don't 4get the thanks button, :cool:

---------- Post added at 03:44 PM ---------- Previous post was at 03:42 PM ----------

Don't 4get the thanks button, :cool:

---------- Post added at 03:47 PM ---------- Previous post was at 03:44 PM ----------

like I said, my /etc had the file already as well, but by pasting over it, obviously changed contents, afterwards V4A installed drivers and worked.

I also found another mod that works, V4A FX, is 16ghz, but by downloading and installing V4A XHIFI, then installing the FX over it (you just activate the XHIFI, first check option under settings, then go back to FX), you get 32bit sound! Yeahhhh Baby!!!!!!!!
[Nexus 4 Q&A, Help & Troubleshooting] RicardoSal24:
I've never had a problem with insalling Viper4Android but I just switched to my stock lollipop rom on my t mobile lg g3 and now I cant seem to install it. I installed busybox, set my SELinux to permissive and untick the nu option in the developers settings and when I try to install viper driver, I get a message saying I do not have busybox installed or it is a broken busy box. It asks for Stericsons busybox and that Is the one I installed. Can someome guide me in the right direction to get this working?
[Nexus 4 Q&A, Help & Troubleshooting] djayprobz:
not working at redmi 2 prime with recent lollipop update.. Can anyone get the fix
[Nexus 4 Q&A, Help & Troubleshooting] ndubat@gmail.com:
Still not working bruv....still displaying busybox error

---------- Post added at 07:38 PM ---------- Previous post was at 07:34 PM ----------

Still not working bruv....still displaying busybox error.....am really getting tired....almoat bricked my LG becos of this damn viper not installing. I wonder when all this started, never encountered this before in all my years of rooting and installing apps that require root and Su.
[Nexus 4 Q&A, Help & Troubleshooting] coolbeans2016:
What LG are you using? Have a locked bootloader?
[Nexus 4 Q&A, Help & Troubleshooting] ndubat@gmail.com:
L.G G4 H812....locked bootloader but rooted with Flashfire
[Nexus 4 Q&A, Help & Troubleshooting] coolbeans2016:
androidforums.com/threads/lg-g4-canadian-h812-rooting.964230/

Seems complicated in above, you probably have more along the line of experience with this device. In Lollipop 5.1 (or 5.0/5.0.1) apps such as Xposed, Viper4Android have to be installed by flashing. There are alot of forums on both. Usually someone has made a flashible .zip, you install the app but do not open it, boot into recovery then flash the flashable .zip and your good to go. If you have sincerely scoured the internet on custom recoveries and have found no method getting one (CWM, TWRP, Phils) on your device, you can open a thread here asking about it. I am completely unfamiliar with your LG G4 but do know that LG's devices are basically the same from the Tribute, Leon, G' series up tho the G4 so it would not be hard for a dev to build off the back of what is an entire library of mods in the LG realm.

Sorry could not be of more help.

Zach

ps will not allow to post link put http:// in front of above addy
[Nexus 4 Q&A, Help & Troubleshooting] MystaMagoo:
Here is what worked for me on various roms on various phones.

Open SuperSU

Settings

Untick 'enable superuser'

re-tick 'enable superuser'

open viper4android

install drivers

Occasionally may take 1 or 2 tick/untick

I use viper apk version not flashable
[Nexus 4 Q&A, Help & Troubleshooting] Henry1628:
Having the latest TWRP and Supersu

Hi guys,

I, too, had the same issues as what you have been experiencing.

"busybox is broken.." After you have confirmed that busybox is indeed installed correctly, and still not able to install the viper4android drivers then it's to do with the rooting itself.

Viper4adroid doesn't have rights to access your system files and therefore not able to install the necessary mod files. Make sure you have installed the latest TWRP or latest recovery software. And have the latest Supersu. Install Supersu through TWRP and then update to the latest binary after booting back into android.

If you don't have the latest recovery installed then it won't properly root your system. It will partially root and not the system folder itself. It might be something to do with my kernel too (unikernel for s6) that it requires the lastest TWRP to support it.

Hope this helps!
[Nexus 4 Q&A, Help & Troubleshooting] ajlanguagebarrier:
I did both of these, and I finally got my Viper4 driver reporting back as supported with NEON enabled etc... Thanks a bunch guys :laugh:

Also at some point before coming to this page, I had ended up uninstalling and re-installing my SuperSU.

This post is intended to help others who come here by way of a Google search with the same problems.

Cheers!
[Nexus 4 Q&A, Help & Troubleshooting] notanymore:
Here's the REAL fix after hours and hours of troubleshooting I've found the problem. It turns out that BusyBox is NOT compatible with some versions of SuperSu. SuperSu won't even see it. Some of those versions are 2.79 and 2.56. Download the 2.46 SuperSu zip and flash and apps like Viper4Android (install driver) will come right up. Who knew? There's your fix right there for all you folks having trouble downloading the Viper4Android driver. Don't know if you still need Selinux Permissive but I left it on anyway.
[Nexus 4 Q&A, Help & Troubleshooting] Has_anDroid:
Ari.s.e sound system best work viper driver dolby plus
[Nexus 4 Q&A, Help & Troubleshooting] Bikey1005:
Viper4Android not installing drivers

I did all of this, and..renamed the file in vendor/etc/ to audio_effects.conf.bak then rebooted. That fixed mine! (nexus 7-2013)
[One (M7) Q&A, Help & Troubleshooting] anotherandroidowner:
Hey guys, I previously owned an S2 and S3 and I hated how the quality on both suck. Like for instance my S2's board had to be replace, cause it shut down for no reason and now my S3 has its own problems as well. I just hate how the quality of these phones suck. I've read HTC produces top quality phones and I would just like to know if this is true for the HTC One. Would you recommend me buying it? What do you like about the phone? Are there issues that should concern me about this phone? Cause I'm planning to buy one. Thank you in advance.
[One (M7) Q&A, Help & Troubleshooting] Hesster:
I love mine, but like any phone there are compromises in the design. Whether those compromises will affect you or not depends on how you use your phone. I bought the phone because I loved the front-facing speakers and the brightness and clear resolution of the screen. I've had Samsungs in the past, and I don't care for AMOLED with the oddly supersaturated colors, poor daylight visibility and burn in issues.

Like any manufacturer, there can be bad batches. I recommend buying at the store so you can look for defects, build quality issues and dead pixels before buying.

Mine is still stock on 4.1 and it runs a bit warm. The metal housing means the heat is more noticeable than with plastic phones. It heats up quickly, but cools down quickly as well. Around here the ambient temps here are around 65 to 75F indoors, 90F+ outdoors. My battery monitor app says it is running 85 to 90F idle indoors, 100 to 105F under load.

T-Mobile larded their stock ROM up with bloatware, so I'm sure there's a bunch of crap running I don't need or want. I've heard that's less of an issue on stripped 4.2 builds but I haven't tried rooting yet. Official 4.3 is due soon.
[One (M7) Q&A, Help & Troubleshooting] anotherandroidowner:
Thank you so much. I will take these concerns when I finally decide to buy the phone.
[One (M7) Q&A, Help & Troubleshooting] millicent:
I had the s2 for almost 2 years, no problems ever always rooted and various roms. gave it to my gf as now I enjoy the one.. ;)