Customize System Menu - Other Operating Systems and Languages

Hello,
I hope this thread is placed right. If not feel free to move it.
I have a fairly simple idea:
All I want is to add a button to the Android 6 text selection menu that appears on several text fields like this:
developer.android.com/images/android-6.0/text-selection.gif
So far I managed to add my app to the "..." menu by adding text processing intents to my app manifest. But I also want to add a button to the "paste" menu as well so I can alternatively execute my own paste operation. Since I have never customized my Android OS I am not sure where to start. It would be perfect if there was a way to do that using official APIs so I could potentially put my final app into the playstore. Do you have any ideas how to approach this?
My system: OnePlus X, Android 6.0.1, CyanogenMod 13.0-20160819-nightly-onyx
Thank you for your help.
Greetings,
vrcomputing

Related

[APP] NotepadWS - Tabbed text editor with online Search feature - updated (2.7)

NotepadWS ver 2.7
NotepadWS is a notepad-like application with TABS feature and some interesting tools such as the WEB SEARCH.
The Web Search (context menu) allows you to get google, wiki or dictionary contents about the word or text selected from NotepadWS,
it could be a good way to perform your search quickly and easily!
FEATURES
- Edit up to four different text files in the same session.
- Switch from one tab to another with just one click.
- Ability to add or remove tool bars at any time.
- Configure each tab separately.
- Online search of selected word or text; google search, wiki search, dictionary.
ver 2.0
- Open and Save dialogs totally redesigned to be more useful and finger-friendly
- Settings page added
ver 2.55
- File association works propely
- Max file size supported increased
- Word-wrap options added
- Copy and paste between different tabs added
- Cmd ExitAll added
- File and Folder Shortcuts feature added
- Start folder option added (if left blank, the folder of last file used is taken)
- Single click option added
- Font and color customization tool added
- Ability to have tabs with different properties (font, colors, start folder, etc)
- Tab character enabled (by pressing tab button you get column alignment)
ver 2.57
- Overwrite related bug fixed
- Read-only related bug fixed
ver 2.7
- External clipboard functions added
tabs improved
Now NotepadWS allows to configure and save the properties of each tab,
so you can have 4 tabs completely different one from another;
each tab has its own font type, size, style and color, background color,
start folder and other properties you can configure through the settings page.
Instead, if you prefer to configure all the tabs in the same way, you don't need
the repeat the setup more times, just setup one and check "apply to all tabs"
in the settings page.
Requirements
- Windows Mobile 5.0 or later
- Touchscreen device
- VGA or higher resolution screen
- .NET Compact Framework 3.5
Hope you enjoy!
Message for the generous people: If you like this app you can
eur, or
usd, the amount you prefer. Thank you!
xdaid said:
NotepadWS ver 2.0
NotepadWS is a notepad-like application with TABS feature and some interesting tools such as the WEB SEARCH.
The Web Search (context menu) allows you to get google, wiki or dictionary contents about the word or text selected from NotepadWS,
it could be a good way to perform your search quickly and easily!
FEATURES
- Edit up to four different text files in the same session.
- Switch from one tab to another with just one click.
- Ability to add or remove tool bars at any time.
- Configure each tab separately.
- Online search of selected word or text; google search, wiki search, dictionary.
ver 2.0
- Open file and Save file dialogs completely redesigned to be more useful and finger-friendly
- Settings page added
Requirements
- Windows Mobile 5.0 or later
- Touchscreen device
- VGA or higher resolution screen
- .NET Compact Framework 3.5
Hope you enjoy!
Message for the generous people: If you like this app you can
eur, or
usd, the amount you prefer. Thank you!
Click to expand...
Click to collapse
Hello,
Your program is very interesting, but I can not use just one problem you encounter, and it is important: only lets you open documents in the folder "my documents" in the main memory device. You should modify the program to allow open and save files in any folder on the device memory and the external memory card.
I have not tested whether extensions can also be associated with your program to automatically open when clicking those files from the file explorer program.
If I could use it widely, as I need, I would donate a sum of money for it, in that there is a problem.
Sincerely,
jcmm said:
Hello,
Your program is very interesting, but I can not use just one problem you encounter, and it is important: only lets you open documents in the folder "my documents" in the main memory device. You should modify the program to allow open and save files in any folder on the device memory and the external memory card.
Click to expand...
Click to collapse
Very good software
Only thing i could ask extra is word wrap "hope i haven't missed the option"
stylez said:
Very good software
Only thing i could ask extra is word wrap "hope i haven't missed the option"
Click to expand...
Click to collapse
Hello,
True, I had not noticed having to click twice (or press "enter") to run this option to access all folders on the device.
What if I notice that you can not open large files, not size, but more than 100 KB can not be with them.
Nor could I see if you can associate text files "txt" to open this program directly from file explorer.
Sincerely,
Hello,
I've been testing the program further NotepadWS, which I consider a good application, but there are two problems with it:
I have seen two important issues that prevent me from replacing AgileNotesTouch, which is what I use now, for NotepadWS:
1 .- NotepadWS not allow it to associate with files by extension, to boot automatically with this application. For example, if you associate files "txt" with NotepadWS ... file does not start with "txt" open.
2 .- I do not know NotepadWS maximum size allowed, but a file of 100 KB or more does not open properly. AgileNotesTouch allows very large files sizes, without problems.
It is important that NotepadWS could solve these two problems.
Sincerely,
short video for your app
NotepadWS new version - 2.5
What's new and cab installer at first post (updated)
xdaid said:
NotepadWS ver 2.5
NotepadWS is a notepad-like application with TABS feature and some interesting tools such as the WEB SEARCH.
The Web Search (context menu) allows you to get google, wiki or dictionary contents about the word or text selected from NotepadWS,
it could be a good way to perform your search quickly and easily!
FEATURES
- Edit up to four different text files in the same session.
- Switch from one tab to another with just one click.
- Ability to add or remove tool bars at any time.
- Configure each tab separately.
- Online search of selected word or text; google search, wiki search, dictionary.
ver 2.0
- Open file and Save file dialogs completely redesigned to be more useful and finger-friendly
- Settings page added
ver 2.5
- File association works propely
- Supported max file size extended
- Word-wrap options added
- Copy and paste between different tabs added
- Cmd exit added
- Editor and menus improved
- Bug on launching online dictionary fixed
Requirements
- Windows Mobile 5.0 or later
- Touchscreen device
- VGA or higher resolution screen
- .NET Compact Framework 3.5
Hope you enjoy!
Message for the generous people: If you like this app you can
eur, or
usd, the amount you prefer. Thank you!
Click to expand...
Click to collapse
Hello Xdait,
Now he has been magnificent NotepadWS v2.5 program. Only one small detail I see in my device (VGA) and is the icon of your program in the file explorer leaves very large, so you see only a quarter of the icon ... only that detail.
I just made a donation through PayPal by using the program, as I indicated. I hope you get well.
Sincerely,
Looks interesting, just what i was looking for. Any chance for WQVGA in future?
Thank you a lot JCM!
2.5 -> 2.51
- Now app memorizes the folder of last file used for the next launch
- File shortcuts list added, to open registered files with just one click
QVGA version, probably i will do it, but don't know exactly about the time i need
2.51 cab installer at first post
regards
xdaid said:
Thank you a lot JCM!
2.5 -> 2.51
- Now app memorizes the folder of last file used for the next launch
- File shortcuts list added, to open registered files with just one click
Click to expand...
Click to collapse
@xdaid, appreciate the effort you've put in to this app so far. It has a lot of promise.
I've been playing with it off and on since the 2.0 release. It has not replaced me using AgileNotes (which has its own set of issues for me) on a regular basis, but I look forward to the possibility.
Here are my suggestions and please note I understand you have a life and your own set of requirements when you code, so I know maybe none of these comments might be used...
1. if you can support PWI files
2. if you can handle files with carriage return + linefeed end of line terminator (eg, DOS, windows based text files). Right now, files with CR+LF show up as unprintable characters
3. if you can allow for a default file folder on startup. Use the file shortcut UI you just implemented and apply it to select default, and/or favorite folders. I see you've just implemented it to memorize the last used folder, that is a good start and should be retained unless a default folder is specified.
4. allow for a default file type (eg, TEXT, LOG, etc). Currently always defaults to TEXT when you restart the app.
5. suggest adding or putting an EXIT APP type selection/option in your "cmd" CLOSE action list. Right now it has "X" to only close the active tab, but you have to go to the MAIN MENU to exit the app. Just does not seem intuitive in my opinion.
6. allow the user to select a default background color, font size, and font color if possible (to override system defaults). I realize this suggestion may be difficult or out of scope.
Future wish list, knowing it would likely require extra effort as you may not have the development environment to test on:
a. support the newer WM 6.5.x layout with the STARTMENU and "X" button on the bottom of the screen, or at least detect you are running on the newer versions and keep that bottom bar accessible.
b. use a better file selection UI. Right now, at least on my device, you have to tap on the actual scroll bar to scroll. It should be smooth and fluid like some of the default file selection interfaces in AgileNotes or even Resco File Explorer.
c. allow similar option like Resco or Total Commander for double or single tap to open a directory or file in your selection UI.
Again, thank you for the time and effort you have invested in to this application thus far.
A new version --> 2.55
cab installer and info at first post
It's a quite-big update for NotepadWS, sure not all the stuff listed by powinmo but.. something has been done.
Hope you enjoy
xdaid said:
A new version --> 2.55
cab installer and info at first post
It's a quite-big update for NotepadWS, sure not all the stuff listed by powinmo but.. something has been done.
Hope you enjoy
Click to expand...
Click to collapse
Hello Stefano,
Congratulations !!!... you've made a great program, you've passed this new version. Thanks for your program remains my sole editor in my HTC Touch Pro, I do not need anything else to work.
Sincerely,
xdaid said:
A new version --> 2.55
cab installer and info at first post
It's a quite-big update for NotepadWS, sure not all the stuff listed by powinmo but.. something has been done.
Hope you enjoy
Click to expand...
Click to collapse
@xdaid. Sweet! Did a quick test run, and seems you incorporated many of my suggestions. Nice work so far.
Only major concern right now is:
- allowing up/down scroll gestures in the file selection UI without actually having to tap directly on the scroll bars. Trying to do a scroll gesture typically selects the item your finger first lands on - basically seems the filename/directory listing of that UI reacts to single tap picking only.
Other than that, my left overs from my prior wish list post are still items:
(1) pwi support and (a) winmo 6.5.x UI support
Again those are not critical, just something for down the road - if even possible.
It's pretty close to being my daily editor and that's saying a lot. Keep up the great work.
Please re-download 2.55 cab installer
i forgot to include a small bug fix, now the cab is updated.
@ powinmo: scroll gesture in file selection UI should not be a problem, i will implement it soon.
Instead, pwi support could be quite hard to realize, i have some ideas about how
extract text from / save text to pwi files. Just ideas so far, but i can try..
regards
Thx for update works a treat
xdaid said:
Please re-download 2.55 cab installer
i forgot to include a small bug fix, now the cab is updated.
@ powinmo: scroll gesture in file selection UI should not be a problem, i will implement it soon.
Instead, pwi support could be quite hard to realize, i have some ideas about how
extract text from / save text to pwi files. Just ideas so far, but i can try..
regards
Click to expand...
Click to collapse
@xdaid - appreciate your continued work on the app! Looking forward to seeing that file selection UI more usable and closer to how others UIs act.
As for pwi support, I would put that priority at the very bottom and address any other items you feel are more important.
I do have one additional request after using your app a bit more now:
- add the ability to recognize a scroll up/down gesture versus highlighting text when editing. Right now, when you try to do that the editor strictly acts as if you want to mark text for an action (eg, copy, looking, etc). To scroll through a long document, you have to literally tap on the scroll bar versus the natural inclination of using a gesture.
Other than that, I'm almost sold on trying to the app as my regular editor. Thank you for being so receptive to user comments and suggestions!
For those who like to use the tab character to get fixed spaces / column alignment:
I added a 2.56 version, it's the same as 2.55 but tab character is enabled.
xdaid said:
For those who like to use the tab character to get fixed spaces / column alignment:
I added a 2.56 version, it's the same as 2.55 but tab character is enabled.
Click to expand...
Click to collapse
Hello Stefano,
I think your application becomes an application program is essential to our Windows Mobile devices. You've got an editor and text file reader very versatile and practical, ingenious solutions. Thanks for your good program.
Sincerely,
I've been looking for a nice notepad app for a while now, this looks pretty nice . Thanks for sharing!
I have a bit of a request: would you consider adding file 'scheme' functionality. Say you are looking a reg file, the 'scheme' would highlight certain predefined key words or phrases making it more readable. The same could then be true for .xml, .mscr or any other file that can be read by notepad. You think that would be doable?

How to create a web page shortcut on desktop?

The only way I know how to create a shortcut on the desktop is to press and hold on the desktop, then select shortcut from the pop-up menu. Unfortunately, this method doesn't appear to work on my rooted NT.
Any suggestions how this can be done?
There's probably an easier/more elegant way, but this is one I know of, and since most of us are probably already using AnyCut:
Open AnyCut.
New Shortcut/Make your own
ACTION: android.intent.action.VIEW
DATA: http://URL
Nothing needed under TYPE. Name it, and it should appear on the desktop. The icon will be ugly stock Android, but if you're using GoLauncher or similar you can replace it with a decent icon if that matters to you.
Perfect. Thanks so much.

[Q] Automating text entry using android 4.2 gesture keyboard

Hello,
I am new to the android development platform and working on a project to write some test comparing some of the different gesture keyboard implantations (android 4.2 built in, swipe and swift key).
I am using eclipe for my IDE and relying primarily on the emulator for testing. I am using the 4.2 gesture keyboard from here (http://forum.xda-developers.com/showthread.php?t=1964663).
What I would like to be able to do (starting with android 4.2 built keyboard).
1. Pass a string in, for example “hello” and then have that string entered using the gesture keyboard.
2. Get the words shown in the Candidates View box.
3. Compare the words to an expected word and return pass/fail depending on if the words returned from Candidates View were what I expected.
4. Store passed in word and returned suggestions in a log file for analysis.
Ideally I would like able to use API’s only for this and not reply on UI but I am not sure if this is possible.
Some possible solution I am looking at.
Use TouchUtils class (http://developer.android.com/reference/android/test/TouchUtils.html) to draw shapes between keys. However, I am not sure how I can specific x and y coordinates on device to map to specific keys. Also I don’t see any methods in this class that would let me draw a custom based shape.
Also I see the sendKeys(String keysSequence) however this looks like it just presses key and would not exercise to gesture keyboard stuff.
So I am curious how all you advance android developers would approach/solve this problem and if there is already any resources/API’s out there that can help.
Thanks
Pete

App Development Question

Hello XDA Forum.
Im about as novice as it gets with coding/scripting/application development so I'm looking for some help with a phone application I want to develop.
First, any tips on a free/cheap program to get started using? I dont need anything flashy. Just a good starting point.
Then, does anyone have an example program/script outline, advice or tips that get me to close to this desired outcome:
I want to generate an image, based on a given set of icons/images/text. It would incorporate individual pieces into a final product image.
I want to do this by allowing a user to select options, and those options should reference the corresponding image/icon/text.
Preferably I would use buttons or a drop-down menu or spinner per category of options since there would be a lot of options to choose from. Basically, a giant wall of option checkboxes would be overwhelming.
Any help is greatly appreciated!
Free-of-charge apps are Android Studio, MIT, Sketchware et.al:
GIYF
jwoegerbauer said:
Free-of-charge apps are Android Studio, MIT, Sketchware et.al:
GIYF
Click to expand...
Click to collapse
I looked into the MIT app, and it seems like I can make this happen with it, but the Block builder section was overwhelming for me lol
I feel like I need to have a list of the applicable images, which populate to a new list based on user selections, then they all populate to a results screen, but I'm too novice to figure it out.

Shortcuts (URL) on Android Homescreen

Hi!
I have added several shortcuts to websites on my homescreen while browsing.
I've tried to find more information about this but I wonder why it's impossible to edit the URL or change the app to use besides the one that created the shortcut.
There must be a source of the shortcut that is editable?
The name is editable but not the content of it.
The device I'm talking about uses Android 5.0.2 but I have the same on a device running on Android 9.
Why can't it behave like a file which leds to an 'Open with' screen?
AFAK creating web-links on home-screen is a feature offered by both the Chrome and the Firefox browser. It's not a feature provided by any Android OS version.
jwoegerbauer said:
AFAK creating web-links on home-screen is a feature offered by both the Chrome and the Firefox browser. It's not a feature provided by any Android OS version.
Click to expand...
Click to collapse
I see.
So they are assigned to the program who made them?
They can't be detached from them?
Why does the Android user in this video get the chance to choose which app should open the hyperlink?
https://www.youtube.com/watch?v=uZFP2sJMocA
Is there a difference between adding from the bookmarks or by adding the shortcut directely from the feature?
He did add the shortcut from his bookmarks while I just used the feature without passing through the bookmarks. (would be strange but you never know)
The video is from 2012 so I assume that the Android version is even lower than 5 which would mean that there was more functionality (in this case at least) back then.
Is there a go-around when it comes to choosing the browser you want to use?
It would be nice to see the list of installed browers popping up.

Categories

Resources