Removing two bars from Head Unit Tesla Style 10.4” inch. - Android Head-Units

Good day people,
I have a question which is easy for you guys but almost impossible to find out for me because of bricking the device and the noob knowledge.
I have a Tesla style headunit with 4.4.2 which is rooted.
Please take a look at the picture below. I want to disable (if not possible remove) the two highlighted bars on top and bottom.
The device is rooted. And I already tried different launchers.
Can somebody give me advice were to look in which or at which file?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Did you try changing your launcher? Try NOVA, CAR DASH, ...

true2you said:
Did you try changing your launcher? Try NOVA, CAR DASH, ...
Click to expand...
Click to collapse
Good one!! Forget to mention, already did that. Launcher changes but the top and bottom bar remains...

Crunch8101 said:
Good one!! Forget to mention, already did that. Launcher changes but the top and bottom bar remains...
Click to expand...
Click to collapse
I assume it is part of the systemUI or some other "sub" server like apk. Another launcher won't change that.
Do you have a CAN bus installed? If so see if you have a CAN bus apk as well and try to disable that one. You might loose your bottom bar as that is a typical CAN bus type apk overlay.

That is correct, I have canbus. And the top one? Is it just a process which I can stop to check if it is this? Or is it not that simple?

Crunch8101 said:
That is correct, I have canbus. And the top one? Is it just a process which I can stop to check if it is this? Or is it not that simple?
Click to expand...
Click to collapse
I don't know, but my guess is that is is some "menu" like apk that overlays on top of the launcher. More like some kind of secondary systemUI or "sub server" apk. To make a more selective guess, but still a guess, you should show us a listing of /system/app and /system/priv-app

You are right! Checked all the apk in the folder you said and I got to com.android.system-UI this is the UI which is responsible for the top and bottom bar.
But now....it also manages bluetooth calls and settings from canbus so I cannot disable it. So the questions are getting a little difficult now. Were do I begin with this files to edit it that the UI is not shown anymore but the functionality remains?
Thank for taking the time to help me, really appreciate it.

Crunch8101 said:
You are right! Checked all the apk in the folder you said and I got to com.android.system-UI this is the UI which is responsible for the top and bottom bar.
But now....it also manages bluetooth calls and settings from canbus so I cannot disable it. So the questions are getting a little difficult now. Were do I begin with this files to edit it that the UI is not shown anymore but the functionality remains?
Click to expand...
Click to collapse
You can indeed not remove the systemui, but that makes it at the same time also very complicated.
You need to be a java programmer or smali programmer to correct that. And because you don't have the source code (I assume), you need to re-engineer the code. I can't help you there.
If you want to go on with this take a look at jadx to decompile the apk, and make the modifications in smali with apktool.
But that's something really requiring java skills.

Is it to easy to see it like this: disabling systemUI forever. Make new shortcuts from the bluetooth.apk to the desktop. Also making new shortcuts from CAN settings and Nav settings to the desktop? What am I missing here?

Also, you say I need the source code, but I already have the system running so why do I need the source code? My little knowledge can give strange questions sorry

Crunch8101 said:
Is it to easy to see it like this: disabling systemUI forever. Make new shortcuts from the bluetooth.apk to the desktop. Also making new shortcuts from CAN settings and Nav settings to the desktop? What am I missing here?
Click to expand...
Click to collapse
Crunch8101 said:
Also, you say I need the source code, but I already have the system running so why do I need the source code? My little knowledge can give strange questions sorry
Click to expand...
Click to collapse
You need a systemui. It is the base layer for your graphical system. The launcher is just a "presenting" layer on top of that.
It means that you need to make changes to the existing systemui, or find a compatible systemui. The second is almost impossible as these systemUIs are specifically adapted for these head-units.
So only the first option applies: Change the existing systemUI.
You need a person understanding java and smali, and who knows the technicalities of your unit more or less. There are some gurus being able to do that, but the combination is hard to find. And even for him/her it will take hours and hours to find and modifiy it.

Hahaha! Thought it was something with /hide bla bla. Thanks for explaining it to me. I am going to try to get some help here on XDA

Got this solution from the ever resourceful [4pda forum](https://4pda.ru/forum/index.php?showtopic=877711&view=findpost&p=72236272) (Google translated):
1. Install and configure the most convenient way for yourself here is this program [UDN, Ultimate Dynamic Navbar](https://4pda.ru/forum/index.php?showtopic=460767) This is a small launcher that can be configured to auto-hide and "pull" it from the edge or of the screen angle.*Also, what's important is that you can add your own add-ons to it.*button.*This launcher is needed, because*in the full screen mode, there are no other buttons.*
2. mini-program for hiding navbar and systemUI: [NavBar_UIkill.apk](https://4pda.ru/forum/dl/post/12610888/NavBar_UIkill.apk)*(1.52 MB)*It is installed in the standard way.*Then it must be added as a button on the UDN.

Related

New thought... making a flash phone UI

hey!
i thought of this after installing flash player on my asus p525 and found this menu working fine till u press on any icon. it is working fine but for SE phone system
can any flash pro edit it to manage to use it as a menu for our wm5\6 devices.
plus we can start a whole new project ...who needs a cube
i have like a 100 other menus and flash screens as well
WOW!! this is freaking awsome, did you make this flash file?
no... its from sonyericsson walkman mobiles
I mockuped one of the icons in photoshop and it looks awsome, I will be up for the graphics if anyone is interested in developing this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Uh, anyone care to post a few pics?
this is the equalizer flash theme as found (or hidden in most cases) on Sonys W810i walkman phone. They support flash out of the box but most operators patched it out for some reason.
would be cool to have something like this for ppc
thats very slick - I for one would use it, I'm up for testing if anyone follows this up...
how about the cross bar menu system present on the new PS3 and the PSP..
that's also cool.. i think the one you posted (found on older walkman phones) is the root of that launcher menu system..
it looks something like this:
http://youtube.com/watch?v=hCPOob3Bya4
SE and sony is now standardizing the menu system of their devices.. i read it somewhere that later upcommming devices will all sport this kind of UI in the future..
just like the new k850i wherein the Media menu is already cross bar menu standard..
http://youtube.com/watch?v=OHmodZbF-W4
i love to see this kind of menu system on our PPCs..
a little breather and finally an escape to mimicking the iphone UI (it gets tiring you know)..
hope someone can make this work in our devices.
i think the ps3 'theme' is a bit simple and lame, remember its called "flash" not dull, im hopeing that who ever takes up the challenge on the flash UI front makes it drain my battery with animation - I want a slick MOFO of a program..
Jonjamesm said:
i think the ps3 'theme' is a bit simple and lame, remember its called "flash" not dull, im hopeing that who ever takes up the challenge on the flash UI front makes it drain my battery with animation - I want a slick MOFO of a program..
Click to expand...
Click to collapse
no i am not directly saying that we copy the ps3 menu.. i too beleive it is lame.. especially the icons and colors (and so does the touch's)..
but we can learn something from it.. maybe we could pattern something out of it.. given that it will be made under flash. the menu handling is good though.. ditch the animation..
I found this guid to editing flash files, this might help you guys
http://www.howardforums.com/showpost.php?p=9303719&postcount=6
flash being an interpreted language like old vb
and .net
dont that give responsiveness issues ?
and can interp'd language run and do stuff while the pda is off
or can only real bin programs do that ?
I think it will be alot better without the equa animation, I think flash launcher will be great great idea, to save space in today screen and you just have to scroll one line icons.
duke911 said:
I found this guid to editing flash files, this might help you guys
http://www.howardforums.com/showpost.php?p=9303719&postcount=6
Click to expand...
Click to collapse
no good.... its for changing icons
what we need is someone to find the commands for these buttons and change it to call PPC applications
its pretty easy when u find where is the commands actually
but this one is writting in a very complicated way i dont understand. it needs a pro to deal with it
Check what i found!!!! http://www.uploading.com/en/files/LHVD6ZWU/SWFS.rar.html
thanks man.
i have those and over a 100 others
lets first start to make the menu work.... then we can add a standby screen with menu button to lead to those menus.... who know mayby it can be motion animation like the PocketCM ! and an option to change the menus
joshuawittstock said:
Check what i found!!!! http://www.uploading.com/en/files/LHVD6ZWU/SWFS.rar.html
Click to expand...
Click to collapse
There are some great ones in there......Especially the dancing girl.........Hopefully someone can take this to the next step.....
Making a menu system or interface in flash isn't really the issue.
It's very simple to make something that looks cool and wizzy the problem is creating a flash interface that can communicate with the wm OS.
I've been looking into this but haven't found a way to create a plug-in for flash that sits on the home screen which can then pass parameter to the OS and for example open an application or start the phone.
These guys are getting close but even this is the result of creating a full screen application that sits on top of the existing OS
http://www.whoneedsaniphone.com/.
If anyone has the skills to create a today screen plug-in that can house a swf then the sky would be the limit as to what could be created.
Cheers
macguffin said:
Making a menu system or interface in flash isn't really the issue.
It's very simple to make something that looks cool and wizzy the problem is creating a flash interface that can communicate with the wm OS.
Click to expand...
Click to collapse
I agree with this. I can create a flash interface but that wont help me because I don't know how to get it to communicate with WM6.
for a beta version we can create the swf and assign a softkey to it
as if its a menu

[IDEA][6.5] Start menu Grid

Hello,
The Hexagon grid in WM 6.5 I think is very disorganized. So my idea is to change the grid of the start menu.
Iv'e made a image in paint to show my idea. (sorry for the crappy ms paint work.)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can some one realize this? I would love to see this on my diamond.
Thanks in advance!
I think you need to modify the StartMenu_GridScene_480x640.cpr. Open it with notepad and modify it.
Söderström said:
I think you need to modify the StartMenu_GridScene_480x640.cpr. Open it with notepad and modify it.
Click to expand...
Click to collapse
Yeah, I thought so. But that's my problem. I don't know how, and I hoped someone with experience with the files could modify it.
casklaverstijn said:
my idea is
Click to expand...
Click to collapse
this is desire of many people...
BUT it is not solved in present time...
If you modify it in your *.cpr-file (HexagonGrid="TRUE" to HexagonGrid="FALSE"), your start menu will cease to work
I have tried some times ago, but with no luck!
ope someone could make it work!
I read somewhere that it's (nearly) impossible to do it, the script that's responsible for the hexagon layout is hidden in a DLL.
As far as I know, a reasonable compromise is if you use the folderview.exe from HTC (it's usually there if touchflo is installed).
littld said:
As far as I know, a reasonable compromise is if you use the folderview.exe from HTC (it's usually there if touchflo is installed).
Click to expand...
Click to collapse
yer, but is not divided in folder...
casklaverstijn said:
Hello,
The Hexagon grid in WM 6.5 I think is very disorganized. So my idea is to change the grid of the start menu.
Iv'e made a image in paint to show my idea. (sorry for the crappy ms paint work.)
Can some one realize this? I would love to see this on my diamond.
Thanks in advance!
Click to expand...
Click to collapse
I like the idea. It will be better if the start menu can organize by page so that same catagory of apps can group together...
i think it would be easier if it is possible, pushing the start button to open up a new program with shortcuts, similar to that. Correct me if i m wrong.
hi, i like that Start menu Grid. I'm using HTC imagio and that Start menu is in my ship rom but when i flashed a customed rom, there isnt that start menu grid anymore. Hope someone can improve that
+1
I like that idea, in fact I was asking about it in HD2 section - but no luck
I also tried to modify the .crp but no luck either.
Would be really nice to have it!
still no one ?...
I really hope a developer sees this. We see allot of start menu modifications like lists. But i havent seen this normal grid menu!
Until it's developped (if so) you all can use "iPhone Today" instead. Also it's faster/smoother than WM Startmenu.
Also, some way to scroll horizontally
I was thinking of the same idea... and with the ability to scroll horizontally...this would exactly look like the iPhone...
If this can be worked out by some expert chef.... we won't need any application to give it a iPhone like feel.....
Also, i think the earlier ROM's had horizontally aligned programs.... so its not new... just that it needs to be implemented in newer ROMs.
I am very much interested in this .....
It will be good if it can catagorize the pages (with header). With that we choose to remove the sense to save ~30m of memory.
Bump, anyone?
Definately interested in this. What I think would be better is a sense version of the start menu to totally hide the win mo look. It should look just like the program screen when you tap on a quick link to choose an ap from the program screen. Cookie should feature a cookie start menu into cookies home tab 1.81
tboy2000 said:
Definately interested in this. What I think would be better is a sense version of the start menu to totally hide the win mo look. It should look just like the program screen when you tap on a quick link to choose an ap from the program screen. Cookie should feature a cookie start menu into cookies home tab 1.81
Click to expand...
Click to collapse
Tboy,
I was about to say or thinking the same exact thing...

[APP][2010/07/02]AppGrouper, a simple catagorised app launcher

Hi!
I'm a longtime lurker, ever since I got my Touch HD when it first came out and I NEEDED to have an english rom instead of a dutch one. Thanks to this place, my phone runs exactly how I want it to (most of the time ).
Except for a decent app launcher. I HATE the win6/6.1 scrollist ones, allthough the startmenu after that sucked a little less. I liked the yotacenter launcher, but in the end I just ran out of space and had to hit the "all apps" button too often and scroll through a huge list.
So I wrote my own in c# under .net 3.5.
And, seeing as I got all my tweaks and fixes from you guys, I thought I should give something back; in essence a quick and dirty app launcher which does exactly what I want: organise the programs I use the most.
It's a catagory per page, has menu, contextmenu and top-scroll-bar driven UI and you can add your own background:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I wrote it to be as device independant as I knew how, but I've really only tested it on my Touch HD1, so I'm really curious as to how it runs "in the wild" (or even on any other HD ). To save some effort, I've just packaged the .exe, which should run from any location. If it doesn't, \Program Files\AppGrouper\ should do it.
It should come with a default background and an icon...for this initial release [call it a beta] I didn't create a cab, so you'll have to copy/edit an existing .lnk file to get the program to show up in the windows\startmenu\ .lnk files so you can use a launcher to launch my launcher (yeah, I get the irony ), or just start the app from the exe.
Anyway, as I said this is the first application I'm releasing to the public, so please give me some feedback I have no idea what "unknown unknowns" this app'll run into on different machines than my emulator and my own Touch HD. The only deletion the program can do is to a specifically named .xml file it generates itself, so it should be safe enough
PS: as I was entering the tags to this post, I realised that this type of software could have been made and released many times: I've only used MS's launcher and the yotacenter one, so any ideas and/or other similarities to other launchers is coincidence and a case of simultanious devellopment (or in my case, retarded devellopment ). Again, any feedback is appreciated, from bugs to implementation to "you've totally ripped off x!". 'Cause I didn't, but I'd like to know about x
Anyway, I hope someone can use this!
Nice apps. The Title Folder box ought be longer to fit the text
Hehe
Ok, so I guess I'll have to set up an auto resize routine for the textsize and the textbox ... check back in a day or two
BTW, what device did you use this on? I'm curious to know if the program works correctly on devices other than touch hd's, too.
MacDegger said:
Hehe
Ok, so I guess I'll have to set up an auto resize routine for the textsize and the textbox ... check back in a day or two
BTW, what device did you use this on? I'm curious to know if the program works correctly on devices other than touch hd's, too.
Click to expand...
Click to collapse
I use on Topaz, see my sig
Thanks
Thanks for sharing!
I think mortbutton can do better than this
Ok app. thanks for sharing
By default can you pick up start menu and folder under it as group?
Else I think mortbutton can do far better job than your program. + .netcf 3.5 requirment
Thanks for sharing it. Few things I noticed
while trying to add an to a folder a drop down menu reveal 3 options - the first one is to add an app, what is the second one? it is blank on my tp2?
after running an app it stays in memory. is this how you designed it? i would prefer if it closed after running an app
finally, can you list here launchers that you came across that are standalone apps, meaning they do not sit in memory or eat CPU. i am looking for something like that with folders/tabs like yours and self-close after use.
thanks for sharing. i have one single question. i have installed it on my herald, but i cannot add more then one app to a group. am i missing something?
Sweet launcher! Thank U
I like your application!
As being an anti manila user Until now I was addicted to Program Finder plugin (attached) running on the Today Screen. Unfortunately the Today Screen does not have the SIP toggle in the bottom bar plus sometimes the Today Screen needs a refresh, due to Program Finder being an very old program; its messing up the Today Screen.
Therefore I searched the whole internet and finally after searching for 1 year I found [attachment]ToggleInputPanel.exe[attachment]. I'm executing programs via icons by running Easy Today Launcher.
Your application is a welcome alternative, thanx again! o/~

More columns and rows for apps.

Sorry if this is the wrong place to ask, or if it's been asked before [if it has I haven't found it!], but I was wondering if there was a way I could add either more columns or more rows to my applications screen? Is there an app that can do this for me?
Thanks in advance.
-Gee
geesamsungs said:
Sorry if this is the wrong place to ask, or if it's been asked before [if it has I haven't found it!], but I was wondering if there was a way I could add either more columns or more rows to my applications screen? Is there an app that can do this for me?
Thanks in advance.
-Gee
Click to expand...
Click to collapse
Try http://www.appbrain.com/app/launcherpro/com.fede.launcher
I installed it and the program doesn't actually come up in my Applications, am I doing something wrong? I got it from the Market.
Install home switcher too then. Run that program and then choose to run launcherpro. Its a different home. Meaning you will have to configure everything on your home screen from new on. But just try it . Your old home will be still there and with the home switcher you can choose wha tyou want to run. Oh and to configure it press in the home menu button and then preferences and play with it a little.
Launcherpro will not appear in the applications list. Use the Home button and hold it until you get a pop-up menu where you can select between sence and lanucherpro.
Sent from my HTC Desire using Tapatalk
Thanks for the swift reply - before I actually read them I was fiddling about and figured out what I need to have done, thank you both. However I was looking for something with a more stock look per-se, with the option to actually being able to add more columns and rows into the Application Drawer, not the live Home screen.
Not sure if I'm making any sense? Sorry, I'm fairly new at all this!
-Gee.
geesamsungs said:
Thanks for the swift reply - before I actually read them I was fiddling about and figured out what I need to have done, thank you both. However I was looking for something with a more stock look per-se, with the option to actually being able to add more columns and rows into the Application Drawer, not the live Home screen.
Not sure if I'm making any sense? Sorry, I'm fairly new at all this!
-Gee.
Click to expand...
Click to collapse
Yes you can have 5 columns in the app drawer with this , and what stock look are you referring to?
PAGOT said:
Yes you can have 5 columns in the app drawer with this , and what stock look are you referring to?
Click to expand...
Click to collapse
The terminology I'm using might be wrong so I'm sorry about this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What I'm trying to achieve is to have more icons down on the dock [in that applications view and the live home screen], and to add another column so there's not 4 but 5...
Thanks for the fast reply!
Hehe that I understood and you can do it with launcher pro 5 columns in app drawer and it can have even an 3D effect .
I mean the stock look , you mean the touchwiz look or vanilla look?
Which ever came with the phone - don't know the name sorry!
Is there any possibility to organize apps into folders in the menu and not only on the homescrees? Having 300+ apps can really be a pain in the ass when searching for a particular one, not to mention it would be great to have apps organized by type, e.g., games, system, social.
Dunno what adw launcher does , but there are apps on the market who can help you with organizing. I never did cuz it never made any sense to me. Too much work and I wont use it anyway. Boss was very proud of his organization of the apps and it took him always longer to find the app he needed in the folders....
So check out http://www.appbrain.com/search?q=organize+apps

home screen widget development problem

hey there,
i was searching the web, but no success finding solution to my problem.
i am developing a simple home screen widget, and each time adding OR removing images from drawable folders, and relaunch the application onto emulator OR device, it messes up the images.
here is an example:
this is a screenshot of the widget before making changes at drawable folders:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and here is the screenshot of whats going on after changing drawable folders contents, and relaunching app from eclipse:
it takes random images that meant to appear at config activity, and i don't understand why.
i don't wanna post code, because there is a lot of it, and there are a bunch of classes, just wanted to ask if someone had similar problem, and if this is an eclipse bug, or it might be some problem with code.
alinpha said:
hey there,
i was searching the web, but no success finding solution to my problem.
i am developing a simple home screen widget, and each time adding OR removing images from drawable folders, and relaunch the application onto emulator OR device, it messes up the images.
here is an example:
this is a screenshot of the widget before making changes at drawable folders:
and here is the screenshot of whats going on after changing drawable folders contents, and relaunching app from eclipse:
it takes random images that meant to appear at config activity, and i don't understand why.
i don't wanna post code, because there is a lot of it, and there are a bunch of classes, just wanted to ask if someone had similar problem, and if this is an eclipse bug, or it might be some problem with code.
Click to expand...
Click to collapse
Did you clean the project first (in one of the menus there is the option clean...). That helped me when I was not seeing my resources being updated. And it might also be that you have to readd the widget to the home screen if you haven't tried already.
SimplicityApks said:
Did you clean the project first (in one of the menus there is the option clean...). That helped me when I was not seeing my resources being updated. And it might also be that you have to readd the widget to the home screen if you haven't tried already.
Click to expand...
Click to collapse
Thanks for your reply.
Yea i did try cleaning project, but it didn't help.
I see all resources just fine, and there is no problem if i relaunch app with no changes at drawables.
The problem occurs only when i add, or delete images in the project.
And yes, if i re-add the widget to home screen the problem disappears,
but my big fear is that my users will have to re-add their widgets after i will publish an updated apk to google play.
I guess I'll have to publish a test apk, and see what happens on update.
alinpha said:
Thanks for your reply.
Yea i did try cleaning project, but it didn't help.
I see all resources just fine, and there is no problem if i relaunch app with no changes at drawables.
The problem occurs only when i add, or delete images in the project.
And yes, if i re-add the widget to home screen the problem disappears,
but my big fear is that my users will have to re-add their widgets after i will publish an updated apk to google play.
I guess I'll have to publish a test apk, and see what happens on update.
Click to expand...
Click to collapse
OK that's what I guessed as well... strange
I haven't done much with Homescreen widgets so far, but my guess would be to manually update the widget when your app is updated (via AppWidgetManager.notifyAppWidgetDataChanged()??!). Maybe this question can help.
The other option would be to debug which calls you get in the widgetProvider on updating the app. And make sure you didn't change any resource or Reveiver names!
SimplicityApks said:
OK that's what I guessed as well... strange
I haven't done much with Homescreen widgets so far, but my guess would be to manually update the widget when your app is updated (via AppWidgetManager.notifyAppWidgetDataChanged()??!). Maybe this question can help.
The other option would be to debug which calls you get in the widgetProvider on updating the app. And make sure you didn't change any resource or Reveiver names!
Click to expand...
Click to collapse
Well, I've uploaded the new version to google play, and after updating the app everything messed up.
I'll come back here after debugin.
Ok, i came to update this post, just in case someone will face this problem, maybe this will help ))
After duin some more projects, i have found that this images mess happened only when i saved id's in shared preferences ))
For example, R.drawable.myimage was saved in shared prefs in order to asign saved image to imageview. Editor.putInt(SELECTED_IMAGE, R.drawable.myimage).
But after making changes in drawable folder, i guess all drawables get new id's, that is why next time when the app is updated, it showed random images.
And ofcourse the same behaiviour was not only with widgets.
the images was messed up everywhere i used setBackgroung(sp.getInt(SELECTED_IMAGE, R.drawabe.myimage)

Categories

Resources