[Q] Need a little help with settings in my app - Android Q&A, Help & Troubleshooting

Hi all, first off, im brand new to android development, this question might seem stupid, i've searched and looked through the wiki, but couldnt find the answer to my question (hoping I didnt miss it) .
In my login screen on my app, i want to be able to choose from two ore more locations in a Spinner (not linked with language, that is chosen seperate). Selecting one of these locations will change 3 WSDL in a seperate class to match that location (right now its 2, but itmight expand in the future). I got the spinner up and running, but not sure how i can deal with the code and logic behind the spinner selection. How can the spinner selection set which WSDL links to connect to?
Any ideas? I hope it makes sence, if not , please ask and i will try to elaborate more deeply.

Related

[Q] Question about custom phone number labels

I've been hunting around here and various other places trying to find a straight answer to this question, and have had no luck so far. Hoping the community here might be able to straighten me out. Also, Mods, I'm not sure if this issue is specific to the Aria, or my Aria, or if it is more general - please feel free to move this if there is a more appropriate location.
The issue:
while test-driving Attn1's CM6-Liberty ROM, I happened to note the option for custom labels for phone numbers in my address book (apparently I missed this option previously). There were a couple I wanted to change, so I made the changes, and they synced up to my google contacts just fine. After switching back to Liberated Aria b005 ROM, I realized there were a couple of other numbers I'd like to change. I went back into contacts and selected the custom option - however, the edit field window blinked closed, and the phone number label remained the same as was previously set. No window opened up to enter a custom field label.
I was able to find instructions on a workaround used by exporting google contacts, editing the CSV fields, and then re-importing. I made my additional changes this way (though in one case in which I named a phone label "Google Voice" the re-import process changed it to "grandcentral".)
I would like the ability to make these changes on the device...just wondering if this is an error happening on my device, or a feature that only works in Android 2.2+, or a limitation of HTC Sense?
Thanks,
DD

[Q] Two issues I have with HD2 - please help me.

Hi,
Three (sorry I edited) things I need help with:
1 - Is there a way of increasing the max number of recipients of messages from 10 to a larger number?
2 - At some point I came across an options menu which allows you to configure how far back in time to download your emails. I think it's set to 1 or 2 weeks by default but you can extend this significantly. I regret not changing it when I came across it because, despite spending near to an hour searching for the same menu, I can not find it again.
3 - I seem not to be able to search my music collection. Is there any third party music player (preferably free) that has this function?
Any help you can offer will be much appreciated. I have searched the forums for solutions but have failed. If the answer is out there I'd appreciate it if someone could point me in the right direction.
Many thanks,
Harry
1 - HKLM/software/jatayu/messaging maxrecipients
2 - email tab, inbox, menu, tools, options, pick the account you want to edit, edit account setup, click next about 5 times bottom dropdown.
3 - dunno
For changing the maximum recipients you might be better off installing a tool called BSB Tweaks (can be found here on XDA) which is pretty user friendly.
There again if you are happy to tweak the registry, do as the previous poster advises.
WB

Can you turn off safe search for Google Now??

Hello boys & girls.
I have just performed my first ROM flash on my S3 with Android Revolution HD 14 :laugh:
With Jellybean comes Google Now, the Android equivalent of Siri. I have been experimenting with this and have discovered that despite my Google account settings being set to safe search filter off, and that I have turned off the Block Offensive Words option in settings, Google Now filters things by default.
For example, if I say 'Images of Large Hadron Collider' Google Now will duly serve me image results as requested, but if for example I say 'Images of furious sweaty butt sex' it just provides me with a web search and I subsequently have to select images myself. Even when I do, it takes me through to images that have quite clearly been filtered. Not only this, but if I were to request images of something where there were mixed images of clean and not so clean, it would only serve me up the filtered pics.
So my question; is there a way to turn off the safe search elements so that my internet can be delivered to me as I wish, or do I have to put up with Google not showing me what I have requested? (which isn't furious sweaty butt sex)
PS - I'm sorry if this is a duplicate question in some way; I did a search but could not find anything pertaining to this particular line of enquiry
Doommidget said:
Hello boys & girls.
I have just performed my first ROM flash on my S3 with Android Revolution HD 14 :laugh:
With Jellybean comes Google Now, the Android equivalent of Siri. I have been experimenting with this and have discovered that despite my Google account settings being set to safe search filter off, and that I have turned off the Block Offensive Words option in settings, Google Now filters things by default.
For example, if I say 'Images of Large Hadron Collider' Google Now will duly serve me image results as requested, but if for example I say 'Images of furious sweaty butt sex' it just provides me with a web search and I subsequently have to select images myself. Even when I do, it takes me through to images that have quite clearly been filtered. Not only this, but if I were to request images of something where there were mixed images of clean and not so clean, it would only serve me up the filtered pics.
So my question; is there a way to turn off the safe search elements so that my internet can be delivered to me as I wish, or do I have to put up with Google not showing me what I have requested? (which isn't furious sweaty butt sex)
PS - I'm sorry if this is a duplicate question in some way; I did a search but could not find anything pertaining to this particular line of enquiry
Click to expand...
Click to collapse
There should be an option for google now under settings; 'block offensive words' untick that box
22sl22 said:
There should be an option for google now under settings; 'block offensive words' untick that box
Click to expand...
Click to collapse
Did that already, all it seems to do is stop starring out letters of swear words, didn't change anything else
Any further suggestions from anybody?

[Q] Soft keyboard with HTML5

Hi there, first time poster. I was wondering if someone could answer a few questions for me as it pertains to HTML5 and bringing up a Keyboard on Android (any version). I am a website developer and I have recently gotten into making my web applications mobile friendly, but I'm running into some snags when trying to get a certain keyboard to show up on Android / iOS and I'm wondering why it's not a bigger issue than I've seen so far.
Right now, if I add an <input> onto my page and add type="number", Android will pull up a keyboard that has numbers, etc. My problem is, the field I'm using isn't a "real floating point number", which all major browsers (except IE11) disallow. If I have an input set up to take a credit card number, I cannot allow the user to add dashes to make it easier to read while using type="number". However, I'd rather have the number keypad pop up by default as it really is all numbers, just not a calculatable (is that a word?) number.
I was wondering how difficult it would be for Android to add in something so when a field is clicked into, it would look for a specific vendor prefix to load a soft keyboard of the web developer's choosing? For instance:
Code:
<input type="text" data-soft-keyboard="number">
or
Code:
<input type="text" data-soft-keyboard="email">
which will give the device very clear and explicit instructions on which type of keyboard to display.
Sorry if this seems way out in left field, but I haven't found a decent solution to this issue. I went to Chrome forums to discuss and people said Chrome is 100% working off of the HTML5 spec. My personal opinion is that the HTML5 spec is wrong and why the hell are browsers doing validation against data in textboxes when I didn't specifically ask for it. However, I'm not really sure which direction to go at this point.
Any suggestions or opinions on the matter would be very nice, thank you

Linking page to menu item

Hello everybody,
For some days now, I'm struggling with my first app. I use Android Studio to make my app. It takes some time, but it is fun to do.
Some background information about my app:
In my company new employees get a binder with all the information they need about the company. Houserules, what to do in case of fire, the history and more. All this still on paper and I want to change that. Less paper in a era where there are a lot of digital devices.
It took some time and research, but I 'm capable enough to build a simple app. There is only one problem I can't solve. I want to use an menu structure (three little dots and then a menu pops up.) I can assign menu items to this structure and then it goes wrong. I want to link a menu item to a page (let's say: activity_history.xml) with onClick, but nothing happens. Nothing, the app crashes all the time.
Is there someone who can help me to solve this problem?

Categories

Resources