[Q] How to animate the opacity of android gridLayout? - General Questions and Answers

Hi everyone. I'm actually new to Android development and to this forum so i hope that i'm in the right place to ask this.
Actually, I got a little problem while building my Android App. I want to create a mini-game in my app. It will works like this:
At the begining an image appears
then the app ask the user to zoom-in the picture
then a grid will appear and seperate the picture into pixels (like the one million pixel wall for example)
the user will have to choose one "pixel" of the grid and he will win (or not) some points.
My main problem concern the grid. I want to apply an invisible grid on the picture (before the zoom-in) but when the user will zoom in the picture the grid will appear (opacity=1).
My questions are :
-How can i manipulate the opacity of a grid (GridLayout ?)?
-How can i apply a value (boolean or int) to each pixel of the grid?
I know that this question sounds like "how can this be done" but I just need some personal advices in order to build my own game. General tips and tricks are welcomed. Explanations will be great.
Thanks in advance.
P.S.: Sorry for my English. It's not really my main language but I hope that I am still understandable.

lil bump for a miracle .

Related

[App+Widget+LW] 1010ti.me

I'm finishing a 2 month polishing in my app suite (D'Clock Live / Gold / D'Watchmaker) and I'm in final pre release phase.
The app is an analog clock editor that you can use as a full screen clock, a Live Wallpaper or a Widget 2x2 or 4x4. The clock can show time, battery, wifi and GSM signal for now with much more to come.
Feel free to drop by the app site at http://1010ti.me and try it. I'm also attaching the last version.
Every feedback would be more than welcome as tests were made mainly in Samsung Galaxy S and ZTE Blade.
Looks very nice, I will definitely check it out!
Thanks karyney. Feel free to drop me an email with your thoughts and questions (pmduque on gmail)
Download and installs fast...some nice looking clocks! Will report any issues. Htc incredible.
HTCInc-redibly re-ENGINEERED
Try the editor ( menu on main app screen and choose editor). That's the fun part!
It works nice on my Nexus One on stock GRI40. I don´t like the link under the clock to the website; if you click on the clock, sometimes that launches the website.
Not a bad choice in an overloaded clock app's market.
"The essential guide to Android widgets", an eBook featuring the top ten Android widgets from various categories provides practical information about widgets to help you choose the best widgets for your device. wwwDOTsmashwordsDOTcom/books/view/49216
1010ti.me just went live! Look for it in Android market!
I just want to leave some screenshots from the application. As it's a LiveWallpaper, a widget, and a full clock editor, it's difficult to have it explained in still pictures...
Click on the images to get the full picture. You can find more screenshoots on the site.
My first Clock with 1010ti.me
First to say: Very good work, now my favourite clock! Thanks!
Used D'Watchmaker before and just tried out the new 1010ti.me
Made my first clock with battery indicator, here's the upload. Maybe somebody likes it.
Works pretty good so fare. Some FCs, but seems to be fixed with last update.
Things for the Wishing Well:
Adjusting the angles and positions is a bit tricky with the sliders.
It is hard to get objects fit together, if you want to create something off the middle (e.g. the battery indicator in my clock).
I would like to have an alternative input method, were I can insert numbers of the angles and position literally with the keyboard.
It would be nice if the widget automatically fits its size to the given area (e.g. with ADW-Launcher you could change the size of the widget). I have seen this behaviour with other widgets, so it must be possible
Edit: Posted Clock on 1010ti.me
Hi Jan,
Thank you for the feedback. I really like your clock. Don't you want to post it on the site?
Regarding your wishing well, in the actual version you have three options while dealing with sliders:
- use the slider itself which is good for the first crude placement;
- use the up/down volume button, good for fine adjustment;
- long press the slider title: a popup will show asking for numeric input, which is great for copying values from element to element.
I know this is "hidden" info but now that the release is out, I'll have time to sort out a user guide.
Regarding the autofit, I'll look into it
Hi Pedro,
Thanks for the quick answer. (I normally sleep at that time )
I will tweak my clock, now I know how to do it accurate, then post it on your site.
But I noticed after charging, that the battery hand pointed to 0, should be 100.
Don't yet know, if it is my design issue...
Edit: Setting „Hand divisions“ to 101 does the trick.
Btw.: Phone is Motorola Defy.
For the battery you need to invert the initial and final angle (so that for ex. a 1/4 circle, the initial angle should be 90 and the final 0). That's because the higher the battery goes the closer to the top you want it.
Did that help?
I just set the “Hand divisions„ to 101. Because the direction was Ok, the hand points correctly to 10, 20, ... 90. Just at 100 it pointed to 0. Which would be OK with a full circle .
But now it works fine.
The Defy gives the battery level in 10% steps, so it stays long at 100.
The 1% value is there, but in a different file.
Here is the first independent review of 1010ti.me (http://android-walker.com/?p=5706).
It's in Japanese but it has a nice walkthrough video that gives a good overview about the app.
Always nice to see Portuguese devs out here, cheers mate!
Trying your app right now... So far so good!
Very nice, coincidentally I installed this just hours before it was posted on the XDA RSS feed.
I really like the live wallpaper idea with custom background.
JanHimpIII's clock looks really nice too.
Edit: the import feature works great (straight from the website)
Downloaded and tried it on the Samsung Vibrant as well as the Huawei M860(Ascend) and they worked flawlessly. Great work! PMduque
I got a message in the middle of my LWP this morning saying 'grace period expired ,choose a free clock...'.
Thank you for all the comments!
Britose: the free version will display that message every 6 hours after activating one of the "non" free clocks (there are 6 free clocks stocked with the app). You just need to tap the clock and choose the "set as wallpaper" again.
The gold version does remove that restriction.

[App][2.1+] Photo Tiler

Hi All,
I'm an Android development noob and would like some feedback on my second app, "Photo Tiler"
link: https://market.android.com/details?id=com.photo.tiler
The idea is to apply a color filter similar to the one used by Mac OS X Photo Booth.
The paid version allows custom colors, adjustment of the thresholds and applying the effect to existing photos.
The free version's functionality is rather "fixed", but the core algorithms are exactly the same.
I need feedback as to how it functions on different devices and such.
Thanks for your time.

LectureNotes app

I'm curious about peoples' opinions of the app "LectureNotes" by Acadoid Developer and how it stacks up against the other main players in the active digitizer game. I've only been using my TPT for a few days' worth of note taking and haven't settled on a specific app yet, so I would like to hear thoughts on how you chose your primary note taking app.
i use ezpdf reader usually and just annotate my notes onto the pdf lecture slides.
if i need free form writing, i use free-note as it has keyboard + pen input
or quill if i just need pen input.
personally i haven't tried lecture notes, but it seems like MyScript Notes Mobile preloaded with the TPT
Wow, pretty good app. I didn't know about it. Thanks!
I've been using TPT for about 2 weeks now, and like the OP, I haven't really quite settled on a specific handwriting app..
Key uses for me are:
- taking notes during meetings
- something to help me in my Japanese language study
- some silly doodling/sketching fun
Some apps I've tried:
- Notesmobile
- Antipaper
- Writepad stylus
- Lecture notes
- Asus' supernotes
- Freenote
- Quill
For lecture notes specifically, I like that I can choose checkered pattern for the background and set the pattern size, as that is perfect for writing in Japanese.
But I found that it lags quite a bit when writing, and there isn't an easy way for me to scroll between pages.
So I haven't really been using it much in the past week.
For the moment, I've sort of settled with using a mix of Writepad, Supernote and Antipaper. Sadly, neither Supernote nor Antipaper has stylus only option
Still waiting for the one app that can do it all!
Might never come, but I can always hope, can't I?
I use Lecture Notes and have more or less canned every other note software. Lecture Notes just has way more features that I need. It can export in many ways. It can backup all my notes to dropbox, great support for inserting images and easy to change color, pen thickness etc.
Only think missing is better organization of the notebooks themselves. When that's here, it will be perfect.
It's also by far the most stable of Quill, Notes mobil and asus supernotes.
Personally, I have tried a lot of handwriting notes apps until I cam to this one. At that time this one worked the best overall in my opinion. When I first started using it didn't have everything it has now. But it was already robust and never crashed. I had one issue after a full system crash and reboot that wiped out the content of one notebook. But I simply loaded my backup from the day before without issue and kept rolling.
I have about 15 different notebooks on there now and I use them daily for work notes as I am walk around the office working on equipment or meeting notes.
It doesn't have the handwriting recognition features you find in other apps but I think that is what keyboard are for and I wouldn't write a document up that way anyway.
My good things list.
First, The developer is always adding things per user requests. Options for everything you can think of.
Second, it is being developed directly on the TPT and it seems to be one of the only ones able to be truly palm rejection friendly by only allowing the app to pull input from the pen (Option can be disabled for those that don't have a pen).
Third, and again the endless options... every type of custom settings, scrolling options (one finger, two finger, scroll bars and bar thickness), export options, backup options, sharing options, zoom options, page size - color - patterns, simple drawing tools, cut paste - copy paste, and on and on... every time I turn on the tablet it seems there is anther update to this app.
The dev listens to the feedback and finds ways of making the ideas work. I have submitted several ideas that have become reality.
It isn't free... but I would buy it a second and third time if I could just to support the dev team.
I see a brighter and brighter future of this app.
Hi folks,
I am the author of LectureNotes, I was glad to read that the app is useful for you. Sorry for joining this forum and this thread so late, but I learned only very recently that there are couple of forum threads related to LectureNotes.
Note that I uploaded v1.12.2 today with a couple of minor additions, the most important one probably being the possibility to choose the directory where the app stores your notebooks.
Best regards,
Markus
acadoid said:
Hi folks,
I am the author of LectureNotes, I was glad to read that the app is useful for you. Sorry for joining this forum and this thread so late, but I learned only very recently that there are couple of forum threads related to LectureNotes.
Note that I uploaded v1.12.2 today with a couple of minor additions, the most important one probably being the possibility to choose the directory where the app stores your notebooks.
Best regards,
Markus
Click to expand...
Click to collapse
I am using the trial version, but i am already convinced of buying the full version. I have a suggestion to make :
The software really needs a laso eraser it will make it more feature-full
Dear trt44,
LectureNotes has a `lasso´ eraser, moving the eraser in a closed path so that start and end point are close deletes the interior.
Best regards,
Markus
Perfect, i just tried the laso eraser and it works like a charm, so i bought the software .
I have another suggestion : The software lacks the ability to draw basic shapes (rectangles, circles, lines...), and from my humble point of view, basic shapes are very important for fast and accurate drawing when taking notes.
Many thanks for purchasing the app.
The app contains simple drawing primitives, they are part of the pencil toolbox (as long as you do not disable this in the settings). Choose `Show pencil toolbox´ in the pencil menu to get the toolbox displayed, click-and-hold to move it around. A single click on one of the standard or custom pencils chooses the pencil and a double-click on one of the custom pencils opens the `Custom pencil settings´ dialog; a click on one of the drawing tools activates the drawing tool, another click inactivates it.
OK, thank you, i will try it once i get home.
acadoid said:
Many thanks for purchasing the app.
The app contains simple drawing primitives, they are part of the pencil toolbox (as long as you do not disable this in the settings). Choose `Show pencil toolbox´ in the pencil menu to get the toolbox displayed, click-and-hold to move it around. A single click on one of the standard or custom pencils chooses the pencil and a double-click on one of the custom pencils opens the `Custom pencil settings´ dialog; a click on one of the drawing tools activates the drawing tool, another click inactivates it.
Click to expand...
Click to collapse
OK, so far this is the best note taking application for android platform, it works exactly the way it should. But the UI is a bit ugly frankly you should work it more. A software like yours deserve a sexy fantastic UI :
- Attractive icons cause the actual ones looks dead to me, note Books icons for example looks horrible
- The ability to go forward and back in pages using forward and back buttons (more convenient sometimes instead of just scrolling or doing a notebook overview and select the page from there)
- Notebook overview should have an icon in the top tools bar for easy access
One last thing, when you use palm heuristic there is no way to zoom but using the zoom function in the menu witch have a fixed zoom ratio, i suggest to add a zoom slider in the top tools bar where you can specify how much you want to zoom when using (or not) palm heuristic.
Thank you for the fantastic software and keep the good work on .
Many thanks for your kind comments. I certainly agree that the icons can be improved, but I am not an artist and I do my best.
The app allows to go forward and backward page-wise by using `One page forward` or `One page backward´ in the hand menu; alternatively, to move quickly through your notebook without changing mode or switching to notebook overview, switch on `Permanently display scroll bars´ in the settings and drag on the scroll bars (the bar thickness can be increased in the settings).
`Notebook overview´ is just two clicks away in all modes (one click on main menu and one click on the item), I do not think that it is worthwhile to add an extra icon.
When using the heuristic palm rejection, one or two fingers gestures for scrolling and zooming are restricted to the hand mode, but being in this mode you can scroll and zoom continuously. Besides that, there is a zoom slider at the left side, you can change zoom by dragging it (the bar thickness can also be increased in the settings).
Just wanted to say hello to you Markus and thank you for your amazing app.
I am loving your app more and more. I appreciate your email correspondence about features I asked about. It truly puts you and your application above the rest.
Cheers.
I just uploaded v1.13 into Google Play. The major new feature is to allow folders of notebooks (and folders of folders of notebooks, etc.), but I also added LectureNotes as an image receiver (so that the app shows up when you share an image) and fixed a bug that could cause the app to crash when using a template for a new notebook.
To allow folders affects all parts of the app (notebooks board, notebook content view, notebook overview, notebook index, notebooks board index, ...). I carefully double- and triple-checked all features and things should work as before. Please drop an email to me in case you noticed something unexpected and I will do my very best to fix it quickly.
Best regards,
Markus
Sweet, I requested this feature cause of large number of notes
Works good, but maybe change the icon of folders so they stand out more from the regular.
acadoid said:
I just uploaded v1.13 into Google Play. The major new feature is to allow folders of notebooks (and folders of folders of notebooks, etc.), but I also added LectureNotes as an image receiver (so that the app shows up when you share an image) and fixed a bug that could cause the app to crash when using a template for a new notebook.
To allow folders affects all parts of the app (notebooks board, notebook content view, notebook overview, notebook index, notebooks board index, ...). I carefully double- and triple-checked all features and things should work as before. Please drop an email to me in case you noticed something unexpected and I will do my very best to fix it quickly.
Best regards,
Markus
Click to expand...
Click to collapse
This is a wonderful feature Markus that I didn't realize I needed until just recently. Love it I like the idea of changing the icon on the folders so they stand out more. I also love the new storage location setting, it eases my mind to know it is on my external_sd.
Also, I dunno if I am just being dense, but I cannot seem to figure out the navigation menu when enabled in settings. Within settings, under Settings > Menu > Enable app's launcher icon menu and it says it provides a navigation menu at the app's launcher icon. I've always assumed this was an extra navigation menu in the top left corner, but cannot seem to ever be able to use it.
Any thoughts?
I am glad to hear that you like the new feature.
In case you switch on the menu at the app's launcher icon, you should see a menu when clicking on the icon in the left upper corner (in difference to the case when this option is off, then you get a message that there is no functionality assigned, with the exception of notebook content view where the changed pages are flushed to the file system). What happens in your case? Does the icon highlight when you click on it?
acadoid said:
I am glad to hear that you like the new feature.
In case you switch on the menu at the app's launcher icon, you should see a menu when clicking on the icon in the left upper corner (in difference to the case when this option is off, then you get a message that there is no functionality assigned, with the exception of notebook content view where the changed pages are flushed to the file system). What happens in your case? Does the icon highlight when you click on it?
Click to expand...
Click to collapse
It doesn't seem to do anything when I click on it, with either my finger or with the pen. And it doesn't seem to matter if I have it enabled or not. Neither scenario causes the icon to do anything. It doesn't highlight or say/do anything. It also does not matter what screen I am at, the icon never does anything. Whether I am within a notebook, folder or at the notebooks board screen. Odd.
Would this have anything to do with that I am running ICS?

Mainmenu modification in Wave525

Hello,
My name is Mr.Centurian and I am a developer or the brain behind the much awaited firmware by wave 525 users,Melior aka Bada Platform-X.
We are a group of people modifying our wave for better features and have achieved great results from our experience by now.By default,Wave 525 is not able to change Fonts and Lockscreen but our devs have found out a way of not only making the rc1 file getting accepted but also succeeded in changing the fonts and lockscreen of the phone.We are also working on the main menu modification so that we can get a main menu background but only this is the area where we haven't achieved any success.
Our basic plan is to get a main menu background by changing the defined resolution of Softkey from 240X70 to 240X400 so that it covers the whole screen but we haven't found a file that could be helpful for us.If any expert is able to guide us in this area,then it would be really helpful for our Firmware.
Screens are attached...Hope to receive some help
Cheers,
Centurian

[APP] [4.0+] Just Craigslist

Hey everybody!
To God be the glory, I've been making some custom roms on XDA for a while, but I have decided to try to learn some new things by taking an app developer course. I've made a few apps, and I thought I would share them here as well. This app is open source, you are welcome to go to the Github and post issues, review and or copy the code (it is Apache-2.0 licensed), or download the app and enjoy!
These are my first apps, and I know they need a little improvement. So please feel free to leave a comment! But please remember, the best criticism is constructive.
If you do check out my Github, note that just about every line of my code includes a comment as to what it does or why it exists, so if you are like me and new to Android programming, be sure to check it out to see how it works! Also, in my Github are many "small apps" in the "apps_small" repo, which are apps I either made for the class, or made on the side to test out some feature or function. Hopefully that would be useful to someone.
Without further ado:
A simple, open source app that allows you to search posts on Craigslist.
This app allows you to search Craigslist and save on bandwidth at the same time. The search is only text, which presents you with a list of your search criteria. Then, when you select a posting that you wish to see, it will be displayed as normal in a special web view window. With simple colors and controls, this helps you focus on what is really important: the posts!
Other than the Craigslist postings, there are NO ADVERTISEMENTS!
This app allows you to save on mobile data, as only a small picture of the item is loaded with a price, date, and description (if provided by the poster). You can also click the web browser to open and view the full post if you desire!
You are welcome to stop by the Github (link in app) or website (link in app) to see progress for new features, or if you are into open source coding, you are welcome to submit pull requests and get involved!
Downloads:
Google Play: https://play.google.com/store/apps/details?id=com.alaskalinuxuser.justcraigslist
F-Droid: https://f-droid.org/repository/browse/ (It has been submitted to F-Droid, but not added to the repository yet.)
Github download apk: https://github.com/alaskalinuxuser/app_justcraigslist/blob/master/app/justcraigslist_1_6.apk (Note, since this link is static, newer versions may exist in the future on Google Play, Github, or F-Droid.)
Github source: https://github.com/alaskalinuxuser/app_justcraigslist
One thing I would suggest immediately is to do away with that background and change the font color. A simple black background with white text would work better, but ideally a Material Design layout would be best!
MishaalRahman said:
One thing I would suggest immediately is to do away with that background and change the font color. A simple black background with white text would work better, but ideally a Material Design layout would be best!
Click to expand...
Click to collapse
MishaalRahman,
I have some thought to your proposal, and realized you are right, to a degree.
I happen to like the color scheme as is, but I realize that others may prefer something else. The sell cars in every color, so why not let just Craigslist come in more color options?
So, starting with version 1.6, you now have the choice of several colors for title bars, text, backgrounds, and buttons! There are also several pictures to choose from. So now you may have your preferred black background with white text, and I may have my cyan city! Everybody wins!
Thanks for the great suggestion! Please see OP for a few screenshots.
feedback
i test your app i think you should convert question mark ( ? ) button to search button ( ? ) and move help to top right.
aqamorisny said:
i test your app i think you should convert question mark ( ? ) button to search button ( ? ) and move help to top right.
Click to expand...
Click to collapse
Great suggestion. One problem though: if the user types anything, like a price or search criteria, then the keyboard covers that button. So if the search button was down there, the user would have to hit the back button to make the keyboard disappear, then hit the search button. Do you think that would confuse new users?
aqamorisny said:
i test your app i think you should convert question mark ( ? ) button to search button ( ? ) and move help to top right.
Click to expand...
Click to collapse
After some testing and feedback, it looks like you are right. I have added the search button to the bottom right, and I also added the feature that when you press the enter button on the keyboard after typing, it will search.
Sent from my unknown using XDA-Developers Legacy app

Categories

Resources