I have posted this on the community forum at PointUI.com, but I will repost here.
Picture
First, a quick note on the attached picture. The QVGA map is half the size of the VGA map, therefore the locations are off by 2 times. Just divide the X, Y coordinates by 2 to get the QVGA locations. To get a new location, use MS Paint in Windows (pic editor), mouse over where the city you want to add is and look in the lower right-hand corner for the X, Y coordinates.
XML File
Thank you to Montecristoff at PointUI for this first part:
A quick guide to add your own city on World or Today Applet:
> goto accuweather.com to find your city with its code
When you found your town on Accuweather website, the code is in your browser adress bar. You just have to check url to isolate it.
You could also use this to obtain the complete url : http://www.accuweather.com/rss-center.asp
> Copy the following file from your device to your PC:
Program Files\Home2\AppletRibbon\Today\Cities.xml (for Today applet)
Program Files\Home2\AppletRibbon\World\Cities.xml (for World applet)
Click to expand...
Click to collapse
On to my stuff.
I was able to add my city and others in the United States, but I followed the existing patterns in the XML file. The previous post entries on how to use the '0&' are partially correct.
Here is what I use:
<item>
<id>22602</id>
<text>Winchester, VA</text>
<x>85</x>
<y>44</y>
<url>http://rss.accuweather.com/rss/liveweather_rss.asp?metric=0amp;locCode=22602</url>
<newsurl>http://news.google.com/news?ned=us&output=rss</newsurl>
<gmtOffsetMinutes>-300</gmtOffsetMinutes>
</item>
Click to expand...
Click to collapse
For the id, use the US Postal Zip Code for the city you want. Then use "http://rss.accuweather.com/rss/liveweather_rss.asp?metric=0&locCode=*Your Zip Code*"
Just replace *YourZipCode* with your 5-digit zip code, and *Your X*/*Your Y* with your X, Y coordinates. See code below:
<item>
<id>*Your Zip Code*</id>
<text>Winchester, VA</text>
<x>*Your X*</x>
<y>*Your Y*</y>
<url>http://rss.accuweather.com/rss/liveweather_rss.asp?metric=0amp;locCode=*YourZipCode*</url>
<newsurl>http://news.google.com/news?ned=us&output=rss</newsurl>
<gmtOffsetMinutes>-300</gmtOffsetMinutes>>
</item>
Click to expand...
Click to collapse
Note: I use a MortScript to update both XML files from one location. This may be helpful if you are playing around with this file a lot. I leave my "main" copy on my storage card and make all my edits there. When I am done with that, I shut down Home2.exe, run my script, and restart Home2.exe.
I`ve got a problem.
I want to add my city, but everytime i run home2 it crashes. This is the code i added to the cities.xml:
<item>
<id>EUR|PL|PL003|PABIANICE</id>
<text>Pabianice</text>
<x>359</x>
<y>58</y>
<url>http://rss.accuweather.com/rss/liveweather_rss.asp?metric=0&locCode=EUR|PL|PL003|PABIANICE</url>
<newsurl>http://news.google.com.au/news?ned=uk&output=rss</newsurl>
<gmtOffsetMinutes>60</gmtOffsetMinutes>
</item>
Click to expand...
Click to collapse
What is wrong with it?
Thanks in advance for any help.
jankulus said:
I`ve got a problem.
I want to add my city, but everytime i run home2 it crashes. This is the code i added to the cities.xml:
What is wrong with it?
Thanks in advance for any help.
Click to expand...
Click to collapse
Here is your code:
<item>
<id>EUR|PL|PL003|PABIANICE</id>
<text>Pabianice</text>
<x>359</x>
<y>58</y>
<url>http://rss.accuweather.com/rss/liveweather_rss.asp?metric=0&locCode=EUR|PL|PL003| PABIANICE</url>
<newsurl>http://news.google.com.au/news?ned=uk&output=rss</newsurl>
<gmtOffsetMinutes>60</gmtOffsetMinutes>
</item>
Click to expand...
Click to collapse
There are a few things wrong with your script though.
1) The ampersand (&) is incorrect scripting. Replace it with "amp;". Don't forget the semicolon --> ";"
2) There is a space added in your URL line for your location
Change your URL line to this:
<url>http://rss.accuweather.com/rss/liveweather_rss.asp?metric=
0&locCode=EUR|PL|PL003|PABIANICE</url>
Click to expand...
Click to collapse
Just put all of that code on one line in your xml.
Thanks! it works!!!
Hi, I'm having difficulty with city Bandung, Indonesia..
Could you help to create my code?
Thanks in advance
So I'm unlocked and using pretty much everything but AT&T. Is there a way to allow stock tethering functionality on our device?
I already tried getting rid of TetheringGuard.apk/odex and ATT_Hotspot.apk/odex, borrowing hacked telephony.db from http://forum.xda-developers.com/showthread.php?t=1677261, and editing build.prop with this:
ro.wifi.hotspotUI=1
ro.usb.tetheringUI=1
ro.tether.denied=false
No go.
PdtS said:
So I'm unlocked and using pretty much everything but AT&T. Is there a way to allow stock tethering functionality on our device?
I already tried getting rid of TetheringGuard.apk/odex and ATT_Hotspot.apk/odex, borrowing hacked telephony.db from http://forum.xda-developers.com/showthread.php?t=1677261, and editing build.prop with this:
ro.wifi.hotspotUI=1
ro.usb.tetheringUI=1
ro.tether.denied=false
No go.
Click to expand...
Click to collapse
I was able to do it through settings without any mods.
Hey James! Was it on your Sense rom? 'Cause I haven't flashed it yet
PdtS said:
Hey James! Was it on your Sense rom? 'Cause I haven't flashed it yet
Click to expand...
Click to collapse
Nah the stock Rom. I will reflash to confirm but I'm pretty sure it just worked
Sent from my HTC first using xda premium
This is what I'm getting every time. Notice how this message is in Sense framework for some reason.
PdtS said:
This is what I'm getting every time. Notice how this message is in Sense framework for some reason.
Click to expand...
Click to collapse
On stock rom? I guess it goes to show how crappy they build this rom
Sent from my HTC first using xda premium
Any updates? I'm on the road can't download it ruu rooted stock roms running mms sense...
Tried deleting tetheringguard.apk no go. Will delete wifirouter.apk and try...
I'm facing the same problem. Could anybody tell us how to troubleshoot this??
After being back on stock ROM I must have been mistaken on my earlier comment. I will look into it once I can some free time
jmz said:
After being back on stock ROM I must have been mistaken on my earlier comment. I will look into it once I can some free time
Click to expand...
Click to collapse
Thank you, JMZ. A particularly (ocassionally) useful feature, especially when using a Straight Talk AT&T SIM. (Only 4 hours till my phone arrives!!) --Larry
Hello JMZ, I'm having same problem. I can't start my wifi hotspot. I don't know how to root my device. This is my first android device. Is it necessary to root my device to use my wifi hotspot. How do i check my ROM type (You guys mentiones STOCK and SENCE ROMS here).
Please help me on this.
Thanks in advance.
Solved
jmz said:
After being back on stock ROM I must have been mistaken on my earlier comment. I will look into it once I can some free time
Click to expand...
Click to collapse
Thanks to diekastro's post #8 at the XDA HTC One X Forum, I found this allowed me to activate a wireless hotspot and eliminated the AT&T check, using SQLite editor.
-- albeit not for the faint of heart:
Make a backup of telephony.db (in case this doesn't work for you)
Your internet APN should be configured (Settings - Mobile data - Access Point names)
1)Open Telephony.db (flange files: data/data/com.android.providers.telephony/databases)
2)Select 'carriers'
3)Search second row, then select Edit field
4)Change ID field with a number non used in this db (ex: in my case the last row is "37" so I used "38") - Save
5)Repeat the 3 and 4 steps, but using row 12.
6)Search the last line (or line with your carrier internet APN)
7)Select the row and Edit Field.
8)Change the ID field to "2". - Save
9)Chose the second row, then Clone Record and change ID field to '12' - Save
Now just need to make changes on the newly created lines:
Row number 2 -> Edit field
1)Change name to ATT Phone
2)Change Type to "default"
2)Insert_by field to "internal".
3)State to "readonly"
Row number 12 -> Edit field
1)Change name to Entiltlement
2)Change Type to "entitle"
2)Insert_by field to "internal".
3)State to "hidden"
My phone: HTC First, rooted and s-off. Stock rom w/ JMZ Kernel. Straight Talk SIM (AT&T network)
--Good luck
amphi66 said:
Thanks to diekastro's post #8 at the XDA HTC One X Forum, I found this allowed me to activate a wireless hotspot and eliminated the AT&T check, using SQLite editor.
-- albeit not for the faint of heart:
Make a backup of telephony.db (in case this doesn't work for you)
Your internet APN should be configured (Settings - Mobile data - Access Point names)
1)Open Telephony.db (flange files: data/data/com.android.providers.telephony/databases)
2)Select 'carriers'
3)Search second row, then select Edit field
4)Change ID field with a number non used in this db (ex: in my case the last row is "37" so I used "38") - Save
5)Repeat the 3 and 4 steps, but using row 12.
6)Search the last line (or line with your carrier internet APN)
7)Select the row and Edit Field.
8)Change the ID field to "2". - Save
9)Chose the second row, then Clone Record and change ID field to '12' - Save
Now just need to make changes on the newly created lines:
Row number 2 -> Edit field
1)Change name to ATT Phone
2)Change Type to "default"
2)Insert_by field to "internal".
3)State to "readonly"
Row number 12 -> Edit field
1)Change name to Entiltlement
2)Change Type to "entitle"
2)Insert_by field to "internal".
3)State to "hidden"
My phone: HTC First, rooted and s-off. Stock rom w/ JMZ Kernel. Straight Talk SIM (AT&T network)
--Good luck
Click to expand...
Click to collapse
do you mind pulling that file and uploading here?
jmz said:
do you mind pulling that file and uploading here?
Click to expand...
Click to collapse
My file is specific to a ST SIM (mvno). Could that cause confusion?
BTW, your work has been invaluable -- Thank you!
amphi66 said:
My file is specific to a ST SIM (mvno). Could that cause confusion?
BTW, your work has been invaluable -- Thank you!
Click to expand...
Click to collapse
Yeah maybe. Can you clarify which one is suppose to be copied to slot 2? Cause the way I read it I just copy 38(which was in slot 2) back to slot 2 and the clone that one to 12. Maybe it has just been a long day....
Sent from my manta using Tapatalk 2
jmz said:
Yeah maybe. Can you clarify which one is suppose to be copied to slot 2? Cause the way I read it I just copy 38(which was in slot 2) back to slot 2 and the clone that one to 12. Maybe it has just been a long day....
Sent from my manta using Tapatalk 2
Click to expand...
Click to collapse
That could be confusing & it is now easy to forget what I did, but it probably should read: 'search the "original" last line (or line with your internet carrier APN)' -- in my example it was line 37 renumbered to 2.
Basically the script just resets the database and subsitutes our actual APN & settings for the default AT&T values, so there is no conflict.
amphi66 said:
That could be confusing & it is now easy to forget what I did, but it probably should read: 'search the "original" last line (or line with your internet carrier APN)' -- in my example it was line 37 renumbered to 2.
Basically the script just resets the database and subsitutes our actual APN & settings for the default AT&T values, so there is no conflict.
Click to expand...
Click to collapse
@jmz: I sent you a PM last night with my telephony.db (after mod). Hope that helped! --Larry
amphi66 said:
@jmz: I sent you a PM last night with my telephony.db (after mod). Hope that helped! --Larry
Click to expand...
Click to collapse
Yeah I got it. Thanks. Somehow I got mine working. I will make a flashable zip for everyone so they don't have to worry about doing all this. Thanks for finding the right solution
jmz said:
Yeah I got it. Thanks. Somehow I got mine working. I will make a flashable zip for everyone so they don't have to worry about doing all this. Thanks for finding the right solution
Click to expand...
Click to collapse
You would almost need some sort of "interactive" zip, as the line numbers and APN details will most likely be personalized per user. But that's why you are a great Dev and I just know enough to be dangerous! Thanks.
amphi66 said:
You would almost need some sort of "interactive" zip, as the line numbers and APN details will most likely be personalized per user. But that's why you are a great Dev and I just know enough to be dangerous! Thanks.
Click to expand...
Click to collapse
Well as long as the user is ATT it will work. My databases.db. if they aren't they will have to do it manually. I can of course include your for users that are on ST(ATT). And as new users come in just add it in. That's what they did for the other att devices like one x and one x+
Sent from my manta using Tapatalk 2
I have a HTC One GPE converted phone and when I switch on the data/ data roaming, it does not show any "3G" or "E" or "H" or "R" symbols. So there is no way to know if I have it on or not unless I go into settings to look for it. Does anyone know any solution to this problem?
Bump!!!
Am bumping this one up since there is no response.. Any help!!!???
harihacker said:
Am bumping this one up since there is no response.. Any help!!!???
Click to expand...
Click to collapse
using a root explorer with the system set to r/w
go to system/customize/ACC/default.xml
scroll to the bottom and look for the sku_id
try changing it to 7 or 11 save the settings and reboot the phone
you should have icons now
Thanks.. But the system/customize does not have an ACC folder..
harihacker said:
Thanks.. But the system/customize does not have an ACC folder..
Click to expand...
Click to collapse
I too have the same problem....
But do not see the ACC folder in system/customize.
harihacker said:
Thanks.. But the system/customize does not have an ACC folder..
Click to expand...
Click to collapse
praveenknair78 said:
I too have the same problem....
But do not see the ACC folder in system/customize.
Click to expand...
Click to collapse
Then what are the folders in their ? did you look for default.xml
Guess that's a Sense only setting ..sorry
I recently downloaded asphalt overdrive and found the name too long and odd looking in my app drawer. I wish it would be better if it was down to oneword such as "Asphalt" or "Overdrive" only. Can someone tell me how to change the app name itself. It will be much helpful if someone modifies it for me
saif1012 said:
I recently downloaded asphalt overdrive and found the name too long and odd looking in my app drawer. I wish it would be better if it was down to oneword such as "Asphalt" or "Overdrive" only. Can someone tell me how to change the app name itself. It will be much helpful if someone modifies it for me
Click to expand...
Click to collapse
I can try, send me a picture and the name that appears the apk by PM! :laugh:
link and pic
The link to the app 's apk. www.mediafire.com/?1928mxjfvjcs6ph Please make the app's name as Overdrive instead of Asphalt overdrive
saif1012 said:
The link to the app 's apk. www.mediafire.com/?1928mxjfvjcs6ph Please make the app's name as Overdrive instead of Asphalt overdrive
Click to expand...
Click to collapse
I do not quite understand what you mean, I asked one fotot to better understand me ... even more so I tried to download the file from the link below and it will have two apks that modifquei differently, see one after the other. I hope the right.
Link > https://www.sendspace.com/file/b6h1e9
In Nova launcher you just need to hold on an icon, slide it to Edit and just delete or rewrite name. that simple.
thanks a ton!
MarĂlia de Oliveira said:
I do not quite understand what you mean, I asked one fotot to better understand me ... even more so I tried to download the file from the link below and it will have two apks that modifquei differently, see one after the other. I hope the right.
Link > https://www.sendspace.com/file/b6h1e9
Click to expand...
Click to collapse
Just what I wanted! can u tell me how u did it?
Thanks so much!
saif1012 said:
Just what I wanted! can u tell me how u did it?
Thanks so much!
Click to expand...
Click to collapse
if u know to decompile or recompile apk files ....
u need to decompile the files
once done navigate to res/values/strings.xml and find this line
Code:
<string name="app_name">[COLOR="Red"]just type what ever name u want here[/COLOR]</string>
save it and recompile
sandy7 said:
if u know to decompile or recompile apk files ....
u need to decompile the files
once done navigate to res/values/strings.xml and find this line
Code:
<string name="app_name">[COLOR="Red"]just type what ever name u want here[/COLOR]</string>
save it and recompile
Click to expand...
Click to collapse
Great @sandy7 right and finally sign the apk
Please post questions in the Q&A section
Thread moved
Adding the qemu.hw.mainkeys=0 line at the end of prop didn't worked? anything else i need to do?
Got it!
blackinux said:
Adding the qemu.hw.mainkeys=0 line at the end of prop didn't worked? anything else i need to do?
Click to expand...
Click to collapse
I missspelled qemu.. my bad.. works like a charm! thank u