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)
Related
Hi,
{
"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"
}
This app will check the weather and put a corresponding weather picture as your background.
I know, it's been done before. But not on the MotoQ smarthpone. This should work on portrait phones as well as ppc.
in the ini file you will need to edit your zip code under the weather, as well as the path to the images. I tried to make the path default to under weathpaper
What to expect?
Well as I mentioned above, it's going to check the weather and select the image that matches the weather and time of day.
Then it's going to open the image and assign it to the background. Here is the stickler. It uses the picture editor to install the background.
This may not work on certain phones. If you have some other camera or situation I would be glad to help fit it to yer phone.
If anybody was interested we could change the opacity at this time as well.
The WeatherPaper script which does most of the grunt work I left mostly intact. I just set it to grab the zip code and path from the ini.
Once you run it it will check every 30 minutes unless you change it in the ini.
Landscape 320x240 backgrounds are included. I will post a link to the source when i fill it in.
It's slightly more hearty. It tries to hide when it can.
There is a delay when you run it. This is so it can be run as a startup shortcut. It's all cause of targetting the softmenu's sub menu. If there are other processes this script may not succeed.
I may add more clean-up code if there are any residuals.
Now it won't change the image if the current image is still good. Also won't bother checking if phone is locked. We could have a retry delay if locked or no internet. If you have some other lock.exe they can be added.
It can be run once or set to autorun on phone bootup.
This also includes a weathPaperStartup script. this on u can shortcut to your startup folder. The setup app will do this automatically.
Enclosed are the landscape backgrounds. I will find the portrait version. Also the original links to the artist.
This version is set up for Landscape. You can use the config tool I provided to use a different directory. Also use you can set a diffferent default image for when the weather cant be reached.
- weathPaperSet.mscr - Settings script. This will also create the startup shortcut.
- weathPaper.mscr - Run this to change the background. It will check the weather and change the background if it can connect. It will exit quietly if the internet cant be reached or the background remains unchanged.
Whats next? WeatherTones. MoonPaper at night? Links, portrait version. auto install qvga landscape or portrait?
Here is the alternate build that uses the refresh command.
It does not work for me. Maybe it works for u?
This build requires Mortscript version 4.2.
The non refresh command version can be used with 4.2 and above.
I notice the refresh is not occuring at all? That will get fixed in the next version.
I should find the portrait version and originating link and maybe link straight to there for the backgrounds.
I think i also will add the function to set the default background to the time of day when there is no internet connection. Right now it goes to a default "no internet" background that u set.
I want to implement weathTones, sounds when the weather changes. I found it has been done before but the script is very old and dusty and may require quite a bit of shoe horning to get working with the new weather url. If need be I will need to add or switch to a different weather url?
Already made the next version so default image can be weather night and day image...
Seems Facade can switch background screens correctly. WPC got that working real goodly.
UPDATE:
just dumping the newest version of the script.
This script is way down the priority list on my projects atm.
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/~
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
I was trying to add the maps app to my mult-itasking bar and couldn't seem to find a way to do it. On watching a couple of YouTube videos I see there appears to be an edit button at the bottom of the bar on those notes which doesn't appear on mine.
Am I being really dense on not being able to see how to access this button?
loftus1961 said:
I was trying to add the maps app to my mult-itasking bar and couldn't seem to find a way to do it. On watching a couple of YouTube videos I see there appears to be an edit button at the bottom of the bar on those notes which doesn't appear on mine.
Am I being really dense on not being able to see how to access this button?
Click to expand...
Click to collapse
the edit button only appears when you have too many apps for that bar.
Samsung have made a list of what apps can be used in this mode, maps is not one of them.
A hack is being worked on to allow all apps to be used in this mode, please see the sticky thread.
It was because I saw maps on the list of apps in that thread that I was trying to add it. Never mind, just a minor thing. I'm just curious that, if the edit button only appears when there are too many apps on the multi-tasking bar, how do you actually add or remove apps when it isn't there? Or do apps that can be use this facility (on unrooted phones) automatically add themselves there?
Thanks for your help.
I have maps in my multitasking bar!
From the.start. LIJ1 Italian.
Sent from my GT-N7100 using xda premium
ah actually good point, maps is one of the apps.
Are you sure you have maps installed?
Yep, have maps installed.
Maps should then default to being one of the items in the side-bar
Yes the maps is there,and also it looks like there are omly 12 applications supported as of yet,you can remove or move them back when you hit the Edit button and drag any of them to the right lane or back to the left.
Must be a glitch on my phone then. I tried uninstalling/reinstalling the maps app to see if it would make a difference but no luck. Any ideas gratefully received.
loftus1961 said:
Must be a glitch on my phone then. I tried uninstalling/reinstalling the maps app to see if it would make a difference but no luck. Any ideas gratefully received.
Click to expand...
Click to collapse
have you tried turning it off and on again? (no joke)
If the reboot doesn't fix it can you post us a picture of your sidebar?
to take a screenshot take the spen out, press the spen button and tap and hold the middle of the screen.
Yes, tried that. It's about all I know how to do!
Hopefully here are 2 screenshots showing the entire multi-tasking bar.
{
"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"
}
for starters try the app "live score addicts" for football results, its the best I have come across in 3 years with android.
back on-topic...
maps definitely is not there, weird.
I take it you have not modified the firmware at all? on a completely stock rom?
Maps is installed as a /system/ app you see, and it is that specific package name that is allowed for multi-tasking, if for some reason you don't have it installed as a /system/ app there is a slim chance its under a slightly different package name and multi-view just won't see it.
Edit:
can you post me a screenshot of the page displayed when you go *#1234# in the dialer.
Here you go.
Maps is here, and *#1234# results
Interesting Lofty, your actually on quite old firmware (well older than most of us with split-screen ability).
Where did you get the phone?
Vodafone upgrade. Maybe it has something to do with all the crap they stick on the phone.
loftus1961 said:
Vodafone upgrade. Maybe it has something to do with all the crap they stick on the phone.
Click to expand...
Click to collapse
It would be very easy, if you wanted, to unbrand that device and put the latest UK unbranded firmware on it but at the risk of voiding your warranty (although tbh it shouldn't).
If you are interested in this just PM me and I will give you the simple instructions.
Have we found a way yet?
Sent from my GT-N7100 using xda premium
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.