[Hack] Remember defaut app for ... minutes only - Android Q&A, Help & Troubleshooting

I have thought about new hack :
Select a default application for a given time only, then revert to open application selection (something like expire default application selection)
How to :
Replace "Use by default for this action." checkbox and text by a drop down list in the application section window (named : "complete action with"). The list could contain items like :
No default (no default app is set)
Remember for 10 minutes (set selected app as default for 10 minutes only, then revert to no default)
Remember for 30 minutes
Remember for 1 hour
Always use by default for this action (current behaviour available)
Sample use case :
Click a link in Gmail
Browser selection appears
Select "Remember for 30 minutes"
Tap "Opera Mini" (because you don't have 3G coverage where you are for instance)
Opera mini opens
Go back to Gmail, tap another link
Opera mini opens straight away (as the default app, no app selection window)
After 30 minutes, when the browser is triggered, the "Application selection" window appears again and you can chose stock browser for a while if you have better network coverage...
What do you think about that ? Has anyone seen that before?
If no, if a friendly developper could implement that, it would be awesome!
It would help a lot when juggling with different apps in different contexts lasting a given time.

up
Anyone interested in that hack ?

I have rephrased my idea realizing that it was not clear enough in my original post. Could some of you guys give me a feedback on that?
I think it could be really helpful especially with the different browsers avalaible and the various features they each offer.
Let me know, even if you think it's useless...

The closest thing I have ever found is Smart Browser Chooser.
It isn't exactly what you've suggested, but it lets you assign different browsers based on network connection.
I'm not a developer, but from what I can tell, in order to make something that works like you have suggested, the entire default action chooser would have to be replaced.
Or, as an alternative, a new "default action" program could be created, similar to Smart Browser Chooser, that would be the actual default you would choose for whatever context you want. When this program is ran, it would list the options in the way you have indicated. However, as far as I can see, this new program would have to be written specifically for each android context.

Thanks for your answer!
This could do the trick, I'll try your app and see how it turns out. Though I suspect it's not as flexible as what I expected.
I would still fancy an overlying app on top of default app selection to achieve temporary default (excellent idea!). If anyone ever step by something like that, let me know

Related

[APP] [UPDATED 2009-04-01].CommMgrPro. Automatic profiling tool (GSM Cell)

Download latest version on www.commmgrpro.com
Available version for Square, QVGA, VGA, 320x320 and 400x240(Omnia) vesions...
V2.7(2009-11-26)
1) Compatibility to switch band with HTC Touch HD2
2) Compatibility to switch band with Toshiba TG01
3) switching is faster because now I dont turn radio off, just unregister and register from network. No need to enter automatically PIN code too.
http://www.commmgrpro.com/files/CommMgrPro_V2.7.CAB.zip
V2.6.1b2(2009-07-27)
1) Support for Widcomm BT Stacks (HTC Diamond2, HTC Touch Pro 2, IPAQ devices, etc)
2) German texts fixes. (Thanks Michael Pauliks ¡)
Latest Version V2.6(2009-04-01)
The installer CommMgrPro_2.6_RIL_RegUnreg.cab is a solution for same devices that doesnt refresh its location correctly after some hours. Please try it
I ve attached the file containing only the program, without theme. Require a theme installed. Its name is CommMgrPro_2.6.cab
I ve created a installer containing the skizzo theme for all the resolutions. The ones that are not adecuated for the device are remove on install. But I couldnt upload it. This is a direct link
http://www.commmgrpro.com/files/CMP_2.6_QVGA_VGA_SQUARE.zip
1) Bug fixing.
2) Button refresh now recalculates which schedule should be active and do it.......
3) SMS and Mail actions improved with a button to choose an outlook contact.
4) New action to sync an email account
5) Now you can copy one time frame (with its actions) or all the time frames of a schedule and paste it to other weekdays of the same or other profile.
6) In the paste procedure you can select to remove all the time frames of the destiny profile & weekday or delete only the time frames that could overlap with the new ones.
7) On install you can choose to install as a process or as a service.
8) When you change the state of BT, WIFI or speaker, using main window or as an action now you can select "Monitor and keep the state". In this way CMP will reapply the state if windows or other program changes the state. Very useful in some devices that currently turn BT off to save battery (so your connection to your Headset is lost) or when windows turns wifi on automatically but you dont want it.
9) New Action: Close Idle connections now can be activated/deactivated as an action.
10) New Action Upload data to configure this feature to OFF/ON state. So you can select when CMP should upload location changes to the server
Version V2.6b3(2009-03-24)
Version V2.5.3(2009-03-16)
1) Bug fixing arrived with service feature:
1.1) Schedule Engine. Some schedules didnt work correclty.
1.2) Virtual Secretariat.
1.3) Button Plan now works correctly
1.4) CMP crashing ocassionally with splash screen stated "Creating GUI"....
2) Now you can lock a profile being in a schedule EOAP (Execute On Any Place).
3) Pause/Resume CMP using the main menu. When CMP is paused it wont execute actions.
3) Upgrade instructions:
3.1) Close CMP (Menu/Exit).
3.2) Copy the cab to the device.
3.3) Dont uninstall first. It will remove your registry settings, your activation code, etc.
3.4) Click on the cab file. It will uninstall/install the new version. These process can take several minutes. Please be patient and dont reset the device until de process is finished.
3.5) Once the install process is done CMP will ask you to reset the device. Click on Yes.
3.6) If you ve any problem using Service way just change the registry key HKLM\Software\Daniel Herrero\CommMgrPro\cmp_as_service to 0 and reset the device. On boot CMP will execute as a process.
Here is the link that describes new features after 2.5.http://forum.xda-developers.com/showpost.php?p=3313774&postcount=2242
Version V2.4(2008-10-31)
1) Fixed an issue on the battery statistics.
2) Fixed an issue related to lock/unlock profiles being phone off
3) Fixed issues with schedules based on "always on" profiles.
4) To avoid confussion CMP wont let you lock a profile if it hasnt a schedule that matches current time
5) The installer has been separated in two different installers. One for CMP and others for skin. In this way a CMP update will be much smaller.
6) To avoid problems with new incomming models with "strange" screen resolution CMP will be forced to use the resolution of the current theme.
7) The way to change the band now is selected manually because of the many carrier names for the different models
8) New skin available "white" for all resolutions and others are comming¡. If you know to draw icons and you want to create a skin and share it with us please contact me.
9) To update: First install the CMP's cab. Then install a theme's cab according to your screen resolution. Then run CMP.
Version V2.3(2008-10-09)
1) Skin engine improvements.
2) Bug fixing related with phone-off action. Now you can rely at 100% about add "turn phone off" action during the night and turn it on automatically in the morning.
3) Better integration between CMP and HTC Touch Diamond/Pro. Current profile-schedule is shown in the main TouchFlo3D tab (Thanks to NLS). User can disable it on Options 3
4) CMP is autorestarted automatically if other program kills it to avoid HTC task manager closes accidentally it. To close CMP just use menu/exit
5) Support for Samsung Omnia (240x400 devices).
6) Minor bugs fixed.
Version V2.2(2008-09-12)
1) There are towers on each country with same cell id. So now the primary key for Cell Mode will be CellID + LAC. CMP will convert your database so make a backup before and will fill the lac information each time it finds a cell with lac equals 0
2) Compatibility with HTC Touch Diamond and HTC Touch Pro (Fixed Band manager, speaker manager, GPS manager and some GUI changes).
3) New option to repair the database.
4) New page for connections option (In connections/menu/options)
5) Option to disable/enable connections on roaming
6) Option to CMP startup delayed on page Options 3.
7) Option to Show/Hide the main window after start CMP.
8) Clicking on the higher part of the battery bar opens the battery page
9) Clicking on the lower part of the battery bar opens the battery page
10) Hide button is raplaced by calendar button.
11) New Today tab. This dialog lets you see the next events that will happen in the place, including calendar events, "Always on" schedules and other events (time limits, etc)
Version V2.1(2008-07-24)
1) Improved call forwarding action. Now you can choose the same kind of options like standard phone program
2) New "Restore" actions. You can choose to restore any option to previous state. For example: On enter Speaker off, on exit Restore Speaker (to same value as it was).
3) The user can reassign a profile as "default profile" in the profiles tab (menu/profiles/mark as default profile). This profile hasn't cells associated and is applied when the location is unknown.
4) CMP ask confirmation before importing a xml data file found on the device.
5) English and German translation and help files have been fixed by Ralf Rutkat. Thanks¡.Some dialogs without help page now have it.
6) Test menu disabled. Ask me if you need access to it (testers, traductors, etc).
7) When CMP says that user must restart to apply changes It can be done in that moment (yes/no buttons).
8) Phone going off bug fixed.
7) MUCH Bug fixing
features looks pretty cool!
Graphically, I have to say, it isn't so good; why not just keeping the same graph style of the original comm mgr?
stepir said:
features looks pretty cool!
Graphically, I have to say, it isn't so good; why not just keeping the same graph style of the original comm mgr?
Click to expand...
Click to collapse
mmmmm art is art and I am not art designer. But all is configurable. Images, fonts, colors......
Is there anyone that can provide graphics??
And could you compike a "non-debug" version? Thanks
Applestar said:
Is there anyone that can provide graphics??
And could you compike a "non-debug" version? Thanks
Click to expand...
Click to collapse
This is beta version and the goal is bug-fixing so debug version is needed to find them. Please keep in mind this is the first beta. Only install it if you have time to test it and report bugs. If not is better to wait some weeks for a stable version......
Greetings
This looks like a great peice of kit. Downloading now and will report any findings/bugs here
Excellent work
S.K.
silent_killa said:
This looks like a great peice of kit. Downloading now and will report any findings/bugs here
Excellent work
S.K.
Click to expand...
Click to collapse
Thanks. Ready to fix bugs. This application is complex (many oem specifics issues) so it could be a long time....but I hope finally all is fixed...
Ok just read your instructions and i'm assuming that email address is mispelt (1 m instead of 2 at the end)??
S.K.
Right fixing.....
Ok, first bug. Clicking on wifi settings brings me straight to the old comm manager screen.
silent_killa said:
Ok, first bug. Clicking on wifi settings brings me straight to the old comm manager screen.
Click to expand...
Click to collapse
well, it isnt a bug. Its what I wanted to do. Maybe I should change the text. Its a quick way to open classical Comm Mgr....
Any way to change the default place so i can remove the 'unknown' one?
danielherrero said:
well, it isnt a bug. Its what I wanted to do. Maybe I should change the text. Its a quick way to open classical Comm Mgr....
Click to expand...
Click to collapse
Or maybe do like a 'Setting1' 'Setting2' type scenario that points to the 2 settings in Control Panel. Would be nice to get rid of the old Comm Manager altogether and replace with this one once its final. Maybe just add the old CommMgr as a menu item??
Once i've created a new place and i go to edit it, the changes are not saved.
silent_killa said:
Any way to change the default place so i can remove the 'unknown' one?
Click to expand...
Click to collapse
I thought It was a good idea to setup a default place. When the current location isnt known then htis plca. This place is special because allows the set a default behaviour when the current place isnt known.....
Can i make a suggestion for the data counter?
I've noticed that the counter only clocks up for the current data session. Once the session is closed, the counter resets to 0 so you have no way of seeing how much was tranferred last session. Maybe add:
Current session
Last session
Total (with a reset counter)
Just an idea to increase functionality
S.K.
silent_killa said:
Once i've created a new place and i go to edit it, the changes are not saved.
Click to expand...
Click to collapse
Ok ignore this post. Wasn't clicking on menu---> save lol.
However, have noticed another bug. If you change the icon and then save, the name of the place is replaced with the icon name.
S.K.
danielherrero said:
I thought It was a good idea to setup a default place. When the current location isnt known then htis plca. This place is special because allows the set a default behaviour when the current place isnt known.....
Click to expand...
Click to collapse
Yeah sorry, didn't fully understand what it was all about untill now.
Just noticed a newer version already. Downloading and installing now.
silent_killa said:
Once i've created a new place and i go to edit it, the changes are not saved.
Click to expand...
Click to collapse
mmm. I cant see this bug. I create a new place and I edit it and change name, desc, and icon and it works...have you tried it again?
silent_killa said:
Can i make a suggestion for the data counter?
I've noticed that the counter only clocks up for the current data session. Once the session is closed, the counter resets to 0 so you have no way of seeing how much was tranferred last session. Maybe add:
Current session
Last session
Total (with a reset counter)
Just an idea to increase functionality
S.K.
Click to expand...
Click to collapse
Yes. The idea is to monitor data traffic per session, day and month but this options isnt included in this beta to avoid confussions on this stage....

[Q] How to organise different screens? Activity or layout?

I'm designing an App with several layers of menus (on the screen, not from the menu button) which lead to several content pages each, so in total I'll be looking at probably 6 screens of Menu and about 30 content screens (just a picture, text and some buttons).
Should this be just 1 activity for the entire application and with each menu and content page loading a different layout xml? If so how do I do change the layout?
Or should each menu screen and content screen be its own activity as well as having it's own layout xml?
Thanks very much for any help.
I usually use dialog box for simple user infos and I prefer activities to do something more complicated, but it's my opinion. I prefer activities because are simplier than using different dialog boxes or anything else, and so my code doesn't become an incredible mess
I don't think it would work to have dialog boxes to display buttons, like I need for my menus or content pages.
If I did only use 1 activity for it, what's the best way to redraw the layout from a different xml when you click a button? Just have the onClickListener call setContentView(R.layout.new_layout)?
PrometheanFire said:
If I did only use 1 activity for it, what's the best way to redraw the layout from a different xml when you click a button? Just have the onClickListener call setContentView(R.layout.new_layout)?
Click to expand...
Click to collapse
Ok, I understand your needs. Unfortunately I didn't use a new layout in the same activity after a button click, it should be tested.
For my game, I have on the same screen different buttons, textviews, and imageviews that appears and disappears, even after a button click. I putted all of them in the same layout xml (one above the other, what a mess!) and I set the different visibility suitably the buttons clicks (the OnClickListener). It works for me because I have 7-8 items to manage, but maybe not so smart for a lot of different items.
In general, Google recommends using different activities, I remember reading about it in the Dev Guide somewhere.
Although maybe your case is different.
The default recommendation of Google is to use activities. But it does depend on your usage - if everything you are doing is related to the same "activity" (for want of a better word), it may make good sense to keep everything in the same class.
You should also think about what behavior you would like the app to have. Do you want the user to be able to use the "BACK" button to step backwards in your menus? If so, it may make sense to implement this as multiple activities (which will give you this behavior for free), rather than implementing it manually.
I think I'm leaning towards activities as from all I've read it does seem to be best programming practice, it just seems a bit of a waste for me to have 1 activity just displaying a menu! However yes, it would be much easier to use activities then just have user press BACK to navigate backwards.
Also with having 1 activity just switching layout it would mean a massive onClick() 'switch' with at least 30 'cases'! I had thought about implementing my own Back button on the screen but that would be a pain to code.
Thanks for the replies, think I'll go with separate activities and see if it works ok, like I said my main concern was that it's a waste of an activity to have it do something so basic!
Maybe ViewFlipper will be useful?
ViewFlipper just seems to add an animation to changing the layout, no? I'm wondering whether I should just change the layout per screen or to start a new activity per screen.
I've worked it out and I've got 27 Menus, each of these is a ListActivity and 62 Content Pages (each of these is an activity calling a RelativeLayout and some onClick Listeners).
In total this is 89 activities, is this too many for one application? I like the idea of having a different activity per page as that means the user can just press the Back button on their phone to go back up the menus rather than coding in one myself. I've got it working with all the menus but only 1 content page and it's ok, but I can imagine that if I add the remaining 62 contents it may get bogged down?
But yeah, is this too many activities for one app? It is likely at a given time the user probably won't use more than 10 of them.
trying to have a single Activity and then have it able to handle every layout you throw at it and its coorosponding functionality will be a nightmare. use multiple Activities. it will also make using the back button alot easier.
http://developer.android.com/guide/practices/design/seamlessness.html#multiple-activities
Thanks, shouldn't take me too long to create all the content (with copy paste and find/replace) so will see how it works like that.

[Q] create shortcut to directly settings?

Is it possible to create shortcuts on the home screen to point directly to specific settings?
E.G. I would like a shortcut to the USB utitlites setting (Settings>Wireless and network>USB Utilities) for when I want to plug my usb cable in to transfer files.
I'd also like a shortcut to the Wi-Fi settings (Settings>Wireless and network>Wi-Fi settings) to scan and switch network quickly.
You can add shortcuts to the 1st tier of settings, but not below. Other than that, you're looking for a 3rd party app that acts as a shortcut, or Launcher Pro may be able to do it by adding activities as shortcuts.
Thanks johnc. Can you explain how I can set a shortcut to the first tier of settings.
This is my first Android phone and I have only had it for 3 weeks but the more I use it the more unfinished Android is looking. There are just so many basic usability functions that are missing within the core apps. It seems you need to tack 2-3 3rd party apps on everything to make it work properly.
sunseaker said:
Thanks johnc. Can you explain how I can set a shortcut to the first tier of settings.
This is my first Android phone and I have only had it for 3 weeks but the more I use it the more unfinished Android is looking. There are just so many basic usability functions that are missing within the core apps. It seems you need to tack 2-3 3rd party apps on everything to make it work properly.
Click to expand...
Click to collapse
Once you get more used to it you'll be fine. There's obviously a learning curve, but it's well worth it as Android allows you to do so much, but yes, usually with the help of an app or two.
Anyway, to add a settings shortcut, long-hold on your home screen and in the pop-up menu, select "Shortcuts". Then, scroll down and select "Settings". That will give you your settings menu and you can then add anything off that menu to your home screen.
That's instructions for doing it with the TouchWiz launcher, which is the default launcher on stock devices. If you have a different launcher then it may be slightly different, but that's generally it for all of them.
Hope this helps mate

[Q] App to control Android 4.1.2 JB "Complete action using" .. "Just once" prompt?

[Q] App to control Android 4.1.2 JB "Complete action using" .. "Just once" prompt?
I just upgraded from Android 4.0.4 to 4.1.2, and I am very annoyed by the new "Complete action using" prompt. I use more than one browser, more than one document viewer, etc, so I do not set default handler apps for a variety of common tasks (above all, launching URLs from within email messages).
It used to be that I would click on a link, or a document, etc, and the platform would present me with a list of apps, and I would click one (one single tap) and the selected app would launch.
Now, it's TWO taps - select the desired app, and click "Just once".
What an idiotic user interface change - ADDING steps and slowing down the user, when the previous interface was about as efficient as it could be.
Is there an app to control that "Complete action using" prompt, ideally with these features:
1. Set a default, but be able to override the default on a per-action basis by e.g. long-pressing the item which would launch the default app or the app selector; but in any case
2. NOT have this insane second "Just once" tap every time?
thanks!
-Jay
(Samsung Galaxy Tab 2, 7", Android JB 4.1.2, CF-Auto-Root, Spain)
<echo> same boat no paddles
Auto tap Just once for JB
> I am very annoyed by the new "Complete action using" prompt
Please check it ! Will be solved this problem .
Auto tap Just once for JB
https://play.google.com/store/apps/details?id=jp.ne.neko.freewing.AutoTapJustOnce
FREE WING said:
> I am very annoyed by the new "Complete action using" prompt
Please check it ! Will be solved this problem .
Auto tap Just once for JB
https://play.google.com/store/apps/details?id=jp.ne.neko.freewing.AutoTapJustOnce
Click to expand...
Click to collapse
Brilliant, thank you! Asks for no permissions at all; puts itself in the Accessibility tools configuration menu, and when on it simply Auto Taps the Just Once button each time you tap on an app to handle a particular action so that you don't have to always tap the Just Once button yourself. Excellent!
One curious thing, Accessibility tools, even though they don't ask for any permissions at all, apparently can see every keystroke (except device-local password entries). But I assume, since Free Wing has many tools with millions of aggregate downloads, that he's a good guy and wouldn't do anything evil.
The only reason I didn't give it a star rating in the App Store is because I refuse to use Google+, and Google prohibits anyone from rating apps anymore if they won't use Google's own personal social network. Google, whatever happened to the version of you which wouldn't do any evil? I hope thousands of others use this and give it good ratings.
When selecting application,
Double tap application icon to Auto tap 'Just once' button for Jelly Bean(Android OS 4.1 only).
This operation is equivalent to OS4.2.
Double tap Just once for JB4.1
https://play.google.com/store/apps/details?id=jp.ne.neko.freewing.DoubleTapJustOnce
---------- Post added at 03:43 PM ---------- Previous post was at 03:35 PM ----------
libove said:
Brilliant, thank you! Asks for no permissions at all; puts itself in the Accessibility tools configuration menu, and when on it simply Auto Taps the Just Once button each time you tap on an app to handle a particular action so that you don't have to always tap the Just Once button yourself. Excellent!
One curious thing, Accessibility tools, even though they don't ask for any permissions at all, apparently can see every keystroke (except device-local password entries). But I assume, since Free Wing has many tools with millions of aggregate downloads, that he's a good guy and wouldn't do anything evil.
The only reason I didn't give it a star rating in the App Store is because I refuse to use Google+, and Google prohibits anyone from rating apps anymore if they won't use Google's own personal social network. Google, whatever happened to the version of you which wouldn't do any evil? I hope thousands of others use this and give it good ratings.
Click to expand...
Click to collapse
Thank you your comment !
> One curious thing, Accessibility tools, even though they don't ask for any permissions at all, apparently can see every keystroke (except device-local password entries).
Of course, I am not a evil .
By the way, I found this thread . This application is very good .
[REQUEST] Double tap app picker
http://forum.xda-developers.com/showthread.php?p=34592765
App Picker Classic
https://play.google.com/store/apps/details?id=se.anyro.picker
Bypass is possible
"Autotap Just Once" from the Amazon Appstore solves this problem. The prompt looks the same, so the "just once" button is there too, but if you select any app it opens right away. It also highlights the selection you made last time which makes it easier to spot the app you'll likely select. It warns that it isn't compatible with certain features, but I have not had issues, but if I did, just open the app up and turn off the autotap feature!
libove said:
I just upgraded from Android 4.0.4 to 4.1.2, and I am very annoyed by the new "Complete action using" prompt. I use more than one browser, more than one document viewer, etc, so I do not set default handler apps for a variety of common tasks (above all, launching URLs from within email messages).
It used to be that I would click on a link, or a document, etc, and the platform would present me with a list of apps, and I would click one (one single tap) and the selected app would launch.
Now, it's TWO taps - select the desired app, and click "Just once".
What an idiotic user interface change - ADDING steps and slowing down the user, when the previous interface was about as efficient as it could be.
Is there an app to control that "Complete action using" prompt, ideally with these features:
1. Set a default, but be able to override the default on a per-action basis by e.g. long-pressing the item which would launch the default app or the app selector; but in any case
2. NOT have this insane second "Just once" tap every time?
thanks!
-Jay
(Samsung Galaxy Tab 2, 7", Android JB 4.1.2, CF-Auto-Root, Spain)
Click to expand...
Click to collapse

Make Chrome default?(Solved)

On Chinese 20s rom any app with links and even in chrome it opens up default browser. It will not let me disable it and since I am not rooted I can't delete it. Anyone know how to make chrome be default browser? Never had this issue before to be honest.
Edit forget that I found it in settings eventually.
Go to System settings -> App Management > Default apps ( lower left part of App management screen) -> Tap on the type of app that you want to change as default and set to your preferred choice.
For anyone else who eventually needs to setup non-default apps AS default ones
Hi, I tried to chenge the default browser, but even chrome is thicked in the previous menu appears that browser is system default. Do you know how to proceed in this case?
Same problem here. The procedure described by Neo299 is not working.
Any help is highly appreciated.
Rgrds
Dgtl

Categories

Resources