MIUI-DEV WEATHER Help & Support


I downloaded the right apk and when I search for my city it gives me three results of my city with three different zip codes but none of them are the one I need.
Anybody know why?
 
Which pack is for California. I must be blind.
I downloaded the right apk and when I search for my city it gives me three results of my city with three different zip codes but none of them are the one I need.
Anybody know why?



Sent from my PC36100 using the miui-dev.com Forums App
 
Had to use adb push, but it is working great. Like others, GPS not functional yet, but soo nice to have multiple weather reports, scrollable, and with such great graphics! Awesome job to all parties involved in the development; keep up the great work :)

Edit: Seeing how nice this app is now (in beta), I could easily see myself dropping Beautiful widgets in the future ;)
 
Well, german cities are not yet included. Tried it and none are to be found. Too bad :) Other than that -> It looks beautiful! But GPS location service wont work with it as already mentioned ^^
 
Well, german cities are not yet included. Tried it and none are to be found. Too bad :) Other than that -> It looks beautiful! But GPS location service wont work with it as already mentioned ^^

We are working on that.... expect some updates this evening.


Cheers,

Mark
 
The EU .apk seems to not be signed. I signed it and could install as any other apk, but when the application starts, I get a FC.

This is what logcat shows:

Code:
I/ActivityManager(  256): Starting activity: Intent { cmp=com.miui.weather/.ActivityFindCity }
I/Database( 1178): sqlite returned: error code = 1, msg = no such table: hotcity
D/AndroidRuntime( 1178): Shutting down VM
W/dalvikvm( 1178): threadid=1: thread exiting with uncaught exception (group=0x4025a7f0)
E/AndroidRuntime( 1178): FATAL EXCEPTION: main
E/AndroidRuntime( 1178): java.lang.RuntimeException: Unable to resume activity {com.miui.weather/com.miui.weather.ActivityFindCity}: android.database.sqlite.SQLiteException: no such table: hotcity: , while compiling: SELECT * FROM hotcity
E/AndroidRuntime( 1178):        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3129)
E/AndroidRuntime( 1178):        at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3144)
E/AndroidRuntime( 1178):        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2685)
E/AndroidRuntime( 1178):        at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 1178):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2034)
E/AndroidRuntime( 1178):        at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1178):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1178):        at android.app.ActivityThread.main(ActivityThread.java:4628)
E/AndroidRuntime( 1178):        at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1178):        at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1178):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:870)
E/AndroidRuntime( 1178):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)
E/AndroidRuntime( 1178):        at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1178): Caused by: android.database.sqlite.SQLiteException: no such table: hotcity: , while compiling: SELECT * FROM hotcity
E/AndroidRuntime( 1178):        at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
E/AndroidRuntime( 1178):        at android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
E/AndroidRuntime( 1178):        at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64)
E/AndroidRuntime( 1178):        at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:80)
E/AndroidRuntime( 1178):        at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:46)
E/AndroidRuntime( 1178):        at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
E/AndroidRuntime( 1178):        at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1345)
E/AndroidRuntime( 1178):        at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1229)
E/AndroidRuntime( 1178):        at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1184)
E/AndroidRuntime( 1178):        at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1264)
E/AndroidRuntime( 1178):        at com.miui.weather.tools.ToolsDB.getHotCity(ToolsDB.java:197)
E/AndroidRuntime( 1178):        at com.miui.weather.ActivityFindCity.setGridAdapter(ActivityFindCity.java:193)
E/AndroidRuntime( 1178):        at com.miui.weather.ActivityFindCity.initData(ActivityFindCity.java:171)
E/AndroidRuntime( 1178):        at com.miui.weather.ActivityFindCity.onResume(ActivityFindCity.java:70)
E/AndroidRuntime( 1178):        at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
E/AndroidRuntime( 1178):        at android.app.Activity.performResume(Activity.java:3823)
E/AndroidRuntime( 1178):        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3119)
E/AndroidRuntime( 1178):        ... 12 more
W/ActivityManager(  256):   Force finishing activity com.miui.weather/.ActivityFindCity

It seems like the table "hotcity" is missing. I've also tried to exchange the original miui_city.db for the one in the page I downloaded the apk, but I get the same results.

I hope this helps!

EDIT: it doesn't make sense. The "hotcity" table is in the db, as well as the city I'm now in...

I'm in Almería, Spain

EDIT (again):

Ok, after pushing it to /system/app/, it works fine.
 
It keeps FC'ing on me on Desire HD using 1.3.5. ADB pushet it, and files and permissions is set right. I could get into the program for a few seconds a couple times, but it FCed almost immediately. Thanks though :) Looking forward to Beta 2 :D

Using the EU .apk.
 
EU apk FC when I hit the Sun ;)
Code:
device_model:bravo
build_version:1.2.25
condition:1
processName:com.miui.weather
pid:1585
uid:10070
tag:null
shortMsg:android.database.sqlite.SQLiteException
longMsg:android.database.sqlite.SQLiteException: no such table: city: , while compiling: SELECT * FROM city
stackTrace:android.database.sqlite.SQLiteException: no such table: city: , while compiling: SELECT * FROM city
at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
at android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:80)
at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:46)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1345)
at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1229)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1184)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1264)
at com.miui.weather.tools.ToolsDB.getCityID(ToolsDB.java:261)
at com.miui.weather.GpsRuning.run(GpsRuning.java:42)

DB is in right place with right permissions, so what am I doing wrong?
 
Love it love it love it

You guys at miui rule.

I do have one question tho... is there anyway to display the temperature in celcius and not just fahrenheit... and kmp instead of mph


(p.s. had some trouble pushing the .db, but then I realized i had to rename it 'miui_city.db' and not the whole 'miui_city_entire_eu.db')
 
Always FC when I try to locate my place. I'm on the EU apk, I applied all the permissions but nothing work. I'll wait for the update.....Anyway good work man
 
Im having issues downloading the app. Tried downloading through mobile browser I could see the app in the download section but it wouldnt install. I did what others did by clearing caches but still no luck. I got adb but Im not doing something right. I had my fone set to debug but im not doing the right commands so could somebody help please?? this is what I did:

cd\
cd\android-sdk-windows\tools
adb devices
adb remount
adb push MIUIDev_Weather_EU_Beta\system\app

after that everything goes wrong. Need help please!!!!
 
Same here with EU apk :)

/system/app/weather.apk with proper permissions
/data/data/com.miui.weather/databases/db with proper permissions (rw for user and group)

Added the widget, the time shown is 2 min off, when i first clicked on the weather it asked to update, after the update (that is wrong to another city, but i read that is a gps location error) i couldn't open the settings anymore.
 
Im so frustrated with the lack of support and help in here. Ive been trying to ask for help since late last night and still nobody is willing to help.. Very dissapointed!
 
Europe APK works flawlessly on my end, but I am running Sense UI 2.1 Gingerbread Beta on my Desire HD.
Widgets work, touching the Weather Icon works, setting up Locations work. No Force Closes. But I didnt push the database file to data/data/*, only pushed the main APK to system/app with Root Explorer and edited the permissions.

I am so looking forward to the Germany update! This App + Widget is just plain beautiful!!!
 
Im having issues downloading the app. Tried downloading through mobile browser I could see the app in the download section but it wouldnt install. I did what others did by clearing caches but still no luck. I got adb but Im not doing something right. I had my fone set to debug but im not doing the right commands so could somebody help please?? this is what I did:

cd\
cd\android-sdk-windows\tools
adb devices
adb remount
adb push MIUIDev_Weather_EU_Beta\system\app

after that everything goes wrong. Need help please!!!!

Try to change to : adb push MIUIDev_Weather_EU_Beta.apk /system/app/
 
Im so frustrated with the lack of support and help in here. Ive been trying to ask for help since late last night and still nobody is willing to help.. Very dissapointed!

Dude, seems like you use the wrong commands to push the file.
I'd rather use Root Explorer or something similar to place the APK into system/app and set the right permissions. That totally worked for me and I have no issues running it, as I stated before.
 
Thank you mark and Co for this Beta.

Anyway
I am stuck in installation. downloaded the EU version an the matching db, pushed both to the right place and set permissions with root explorer, rebootet but get a FC everytime I try to start the app.

I am on MIUI 1.3.5

someone said, he would offer a flashable zip. That would be great (EU ver, because those seem to have most of the problems with installing)
 
Dude, seems like you use the wrong commands to push the file.
I'd rather use Root Explorer or something similar to place the APK into system/app and set the right permissions. That totally worked for me and I have no issues running it, as I stated before.

I tried root explorer aswell. I kept getting "parsing error". Any chance you know the correct adb commands?
 

Similar threads