User can enter even home location upto street address, along with the homecity. If he enters only country or state, then he should be shown an alert. For this, I will have to check the geonames webservice features we are using. Also the check that city is definitely entered, is easily done by setting up one's own db for countries states and cities, but then this is laborious and ensuring completeness of this data is difficult. Also, if the webservice does not prove sufficient and the db approach is what we need to go for, then we may have to spilt the suggested "Homelocation" field into separate country, sate, homecity, address fields on the UI, for quicker checks. Does that work for you?
我好像单词全明白了,可是,还是不太明白她在问我什么?
我好像单词全明白了,可是,还是不太明白她在问我什么?
讨论了用户在应用中输入家庭位置时的多种情况处理策略,包括仅输入国家或州的情况,并提出可能的解决方案,如使用自定义数据库或拆分字段以提高验证效率。
7576

被折叠的 条评论
为什么被折叠?



