I asked this question on stackoverflow but it's getting (literally) no views for some reason so I'll repost it here.
hxxp://stackoverflow.com/questions/3321047/search-suggestions-fail-in-2-2
(new users can't post links)
My application uses in-app search, dynamically builds search suggestions on each request, puts them in a MatrixCursor and returns the suggestions to be displayed. Info on search suggestions here:
hxxp://developer.android.com/guide/topics/search/adding-custom-suggestions.html
This works perfectly fine in 2.1-update1, but when I loaded it on a 2.2 phone, I get a fatal error when I try to search. The error logs are in the link, but basically the application is getting an error in code that isn't mine (Google Android code for displaying search suggestions - SuggestionsAdapter). For some reason it's trying to get the MatrixCursor to Long.parseLong() a String, and the application is failing. Again, this does not happen in 2.1. I hope I've just overlooked something stupid.
Thanks!
Related
Ok guys..Before 2 days a member had a problem with market place... Now i have it also! Damn it!
I am trying to download something and it says Error count: # underneath...
Did the developer stopped the program from working with any update???
EDIT: Ok in his blog it says:
[OP]
Before anyone else brings up the issue:
Marketplace settings seem to have change and url information for apps are no longer included in xml for apps upon searching. Consequence is that as of now we can no longer direct download from the marketplace.
damn it!
This forum is not the place to discuss warez, nor any solution/explanation how to illegally get software. Therefore, you should discuss this stuff at the place where you find it, but not here.
hi all,
a few hours ago i install HoneyVillain 1.2 and i have 2 problems,
1) on every boot i got a message " no sim inserted" but my tablet hasnt any working sim slot.is there any way to remove this message?
2) on every boot i got an error message the application systemupdater (process com.FD.updater) has stopper unexpectedly.please try again if i select force close i can work with no further problems.if i left it for a while my tablet rebooting and i get the same message again..any solution??
thanks in advance
android-noob said:
hi all,
a few hours ago i install HoneyVillain 1.2 and i have 2 problems,
1) on every boot i got a message " no sim inserted" but my tablet hasnt any working sim slot.is there any way to remove this message?
2) on every boot i got an error message the application systemupdater (process com.FD.updater) has stopper unexpectedly.please try again if i select force close i can work with no further problems.if i left it for a while my tablet rebooting and i get the same message again..any solution??
thanks in advance
Click to expand...
Click to collapse
You SN is aptly named
Literally two posts below yours http://forum.xda-developers.com/showthread.php?t=1230744&highlight=ro+carrier
Perhaps the response was helpful to android-noob, I'm not sure. However, I have searched for quite a while and don't see anything relating to the questions that result in actual help to fix the problems. I certainly take full credit for being an android idiot but we all start somewhere when we're trying to learn new things. I've been trying to learn from reading and this is quite honestly the best forum for everything that has to do with phones and tablets.
I would appreciate a simple link or response that might be of help to fix the problem of suddenly getting the errors listed by the first poster if you would be so kind.
Thank you for any help you can give.
docvicki said:
Perhaps the response was helpful to android-noob, I'm not sure. However, I have searched for quite a while and don't see anything relating to the questions that result in actual help to fix the problems. I certainly take full credit for being an android idiot but we all start somewhere when we're trying to learn new things. I've been trying to learn from reading and this is quite honestly the best forum for everything that has to do with phones and tablets.
I would appreciate a simple link or response that might be of help to fix the problem of suddenly getting the errors listed by the first poster if you would be so kind.
Thank you for any help you can give.
Click to expand...
Click to collapse
Let's see. I did provide a link in my response, and the last post on the page of the link I gave had the fix for the sim card message. How much more spoon feeding will you require?
first you need file manager with root access
Sim card messages:
Go to system there is a file called build.prop ,open it and add the line ro.carrier=wifi-only,you can add this line on the bottom of the file for example and les and save the file.
Reboot and the simcard message should be gone.
For the fd.updater problem:
That is because the build prop is changed so the update service doesn't recognize it.
That is no problem I delete this in my roms so you won't have that stupid message.
What you can do is go to system/app, find fd.updater.apk and fw.updater (i think that is the correct name) and rename them by putting a .bak behind the name of the apps.
Reboot and the messages should be gone.
civato said:
first you need file manager with root access
Sim card messages:
Go to system there is a file called build.prop ,open it and add the line ro.carrier=wifi-only,you can add this line on the bottom of the file for example and les and save the file.
Reboot and the simcard message should be gone.
For the fd.updater problem:
That is because the build prop is changed so the update service doesn't recognize it.
That is no problem I delete this in my roms so you won't have that stupid message.
What you can do is go to system/app, find fd.updater.apk and fw.updater (i think that is the correct name) and rename them by putting a .bak behind the name of the apps.
Reboot and the messages should be gone.
Click to expand...
Click to collapse
If he's not going to read the same answer on the link I posted, what makes you think he's going to read your post?
kjy2010 said:
Let's see. I did provide a link in my response, and the last post on the page of the link I gave had the fix for the sim card message. How much more spoon feeding will you require?
Click to expand...
Click to collapse
Woweeeeeee.spoon feeding sucks I been there for 12 weeks twice this year while recovering from shoulder surgery.then again less then a month ago.
Op I do not have this or any of the other known issues with the custom roms.thou I know they can bring some extra speed and apps.
Kjy can you go spoon shopping for me.Erica needs some new winter boots.
Giggles.
Goodluck. OP ..
BACKUP THE BUILD .prop file before you edit it.
Thanks for your reply and for being so kind in it. I was able to repair my problems right after I posted, which is why I rarely post. I have no formal computer education, self taught. I normally do pretty well but run into problems once in a while that stump me. This forum is a true Godsend to a 63 year old woman. Thanks again.
Sent from my A500 using XDA Premium App
Thanks so much.
Sent from my A500 using XDA Premium App
kjy2010 said:
If he's not going to read the same answer on the link I posted, what makes you think he's going to read your post?
Click to expand...
Click to collapse
I'm nice to old ladies,
Honeyvillain 1.2 problems
civato said:
I'm nice to old ladies,
Click to expand...
Click to collapse
Yes you are, your Mother would be proud. Seriously, thanks.
Trying to fix my Bluetooth issue, as chronicled in detail here.
Wanted to ask you devs where Bluetooth configuration or a related error log is stored on the i9505G so I can take a look at it; something is stopping my BT from being able to turn on; it used to work fine pre-root (heck, even post-root for a day or so).
I figured the developers would be the best people to ask since you'd be familiar with the folder structure and config files.
KrossX said:
Trying to fix my Bluetooth issue, as chronicled in detail here.
Wanted to ask you devs where Bluetooth configuration or a related error log is stored on the i9505G so I can take a look at it; something is stopping my BT from being able to turn on; it used to work fine pre-root (heck, even post-root for a day or so).
I figured the developers would be the best people to ask since you'd be familiar with the folder structure and config files.
Click to expand...
Click to collapse
Sent from my GT-I9505G using Tapatalk 2
KrossX this is the second time you have posted questions in the development forum. As I stated before these are for Q&A NOT here. Please refrain from posting your questions here and READ the XDA users guide and forum rules again. There is a reason for this. I am glad your part of the community and your questions and comments are noteworthy you just need to put them in the right place. We read those threads as well! MJ
This is for Development ONLY
Yes PLEASE no name calling we all make mistakes and this thread will be moved soon to the proper place
And to answer your question Kriss you could do a logcat but if your not familiar with that do a search and provide more info on what your trying to do ( configuration?)
Sent from my GT-I9505G using Tapatalk 2
MJHawaii said:
Yes PLEASE no name calling we all make mistakes and this thread will be moved soon to the proper place
And to answer your question Kriss you could do a logcat but if your not familiar with that do a search and provide more info on what your trying to do ( configuration?)
Sent from my GT-I9505G using Tapatalk 2
Click to expand...
Click to collapse
I thought that since I was aiming this more at the devs it would've been in the Dev forums. Sorry for having you move yet another thread of mine.
Didn't mean to cause a ruckus; never really got a chance to read the post by deaffob above before it was edited by the mod so no offense from whatever name-calling was done, haha.
Thanks MJHawaii; I will search for logcat and see what I can pull up.
Any ideas (referring to attached pic)? I filtered at the Error level in the logs for the term "Bluetooth"
Sent from my GT-I9505G using Tapatalk 4
KrossX said:
Any ideas (referring to attached pic)? I filtered at the Error level in the logs for the term "Bluetooth"
Sent from my GT-I9505G using Tapatalk 4
Click to expand...
Click to collapse
The first error there looks like it may be relevant, but you'll need to get a more thorough logcat in order to trouble shoot it more. Please grab one with adb and post it to pastebin or here in a [ code][ /code] box.
xHausx said:
The first error there looks like it may be relevant, but you'll need to get a more thorough logcat in order to trouble shoot it more. Please grab one with adb and post it to pastebin or here in a [ code][ /code] box.
Click to expand...
Click to collapse
Good news and bad news.
Bad news: I am unable to run logcat; I am unable to access my device via USB ever since the root and when I tried doing the logcat steps, yet again it couldn't connect to my device.
Good news: I believe the solution to this issue (being unable to access my device via USB) may also lie in the logs along with the bluetooth issue. The reason why is because of this error message I received while trying to reinstall the USB driver (attached pic); it points to not being able to "start" a device. I think this will all eventually tie-in with some services not running correctly on my phone.
So, is there another way for me to post a log for you kind folks to review on here via my phone directly?
If I can do that via catlog app on my device, let me know what sort of log (which options) I'd need to run and post. Thanks!
Well, did a restore to stock + root. That didn't help. It changed the Baseband, Kernel, and Build versions but did nothing to fix my issues with BT and USB connectivity.
I think I am going to start researching ways to start from scratch. Like a factory reset/wipe back to first-use condition. If anyone can point me towards some reading material on how to do that safely and wisely, it would be much appreciated!
I just ended up doing a factory reset (Menu-->Settings-->Backup & Reset-->Factory Data Reset) and that resolved the issue (while wiping my phone).
Bluetooth issue is resolved; tested it just now and it works just fine again. As is the USB issue; as soon as the phone was connected to the same exact PC as before, it was recognized and showed up as a device that I could open and explore.
My Kernal/Baseband/Build versions are all back to the ones I had when I got the phone from the Google Store, so that's comforting too.
Thanks to all those who attempted to help!
Hey guys,
I have been having trouble getting started developing applications for android. I know how to use Java, and frequently use the netbeans ide for my java homework ect. But I decided why not adventure out and build upon what I learned in school. Unfortunately I have ran into nothing but problems. The first problem is this:
"Gradle project sync failed. Basic functionality (e.g editing, debugging) will not work properly. "
In the messeages window it reads:
[file path to \app\build.gradle]
Failed to Find: com.android.support:appcompact-v7:21+
I have had trouble using grade in eclipse....well I only got eclipse to work once, when I first got my phone, and managed to make a small pop-up app for my self. I did not know any programming language at the time. I merely just copy and pasted most of the code.
and problem number two;
The generated code is riddled with errors?
I look through most of these errors and they state that certain things can be resovled. For example, cant resolve "support" <--- I think that by not having this imported correctly (I think this falls into the first problem) is causing the rest of the errors in my MainActivity file to go crazy.
Is their any way to post more information? Like a log file, maybe that might be of more help too. I just am unfamiliar with Android Studio, as of right now. Attached is a picture of the IDE when is spawns the error.
Thanks for the help in advance!
How to Fix said issue
KJ4CCH said:
Hey guys,
I have been having trouble getting started developing applications for android. I know how to use Java, and frequently use the netbeans ide for my java homework ect. But I decided why not adventure out and build upon what I learned in school. Unfortunately I have ran into nothing but problems. The first problem is this:
"Gradle project sync failed. Basic functionality (e.g editing, debugging) will not work properly. "
In the messeages window it reads:
[file path to \app\build.gradle]
Failed to Find: com.android.support:appcompact-v7:21+
I have had trouble using grade in eclipse....well I only got eclipse to work once, when I first got my phone, and managed to make a small pop-up app for my self. I did not know any programming language at the time. I merely just copy and pasted most of the code.
and problem number two;
The generated code is riddled with errors?
I look through most of these errors and they state that certain things can be resovled. For example, cant resolve "support" <--- I think that by not having this imported correctly (I think this falls into the first problem) is causing the rest of the errors in my MainActivity file to go crazy.
Is their any way to post more information? Like a log file, maybe that might be of more help too. I just am unfamiliar with Android Studio, as of right now. Attached is a picture of the IDE when is spawns the error.
Thanks for the help in advance!
Click to expand...
Click to collapse
Ok guys, I figured it out. We need to install a package from the sdk manager. The picture shows which one needs to be installed. The package is "Android Support Repository"
Seems you have already gotten the answer. But for this kind of questions, past the main line of the error log into Google is much faster than post a question, I think.
Need help with project. Getting "unhandled exception java.text.parseexception" error
Hi, in my android studio project, I have been getting an error and I've been trying to resolve it for the last couple hours. Sorry about my links, apparently since I'm new I can't post links yet... So I spaced out my links.
//
The error is: "Unhandled exception:java.text.ParseException"
This error pops up on the following three lines in my code. My full code is located on onedrive at this link: (1drv.ms / 1NatGWH)
Date date1b = format1.parse(endtime1);
Date datenow1 = format1.parse(currenttime1);
//
What I want my app to do:
When I click a button, I want the code to check what time is it and if it is between two times listed. If so, it will then display my next school course that day.
I have a working eclipse version in which it prints what I have next into console. But now I want to make it into an app. The link containing the java file explains pretty well what I want my app to do. It is accessible here at this link: (1drv.ms / 1SBrFki)
Help would much be appreciated. Feel free to ask me questions.
Matthew