Needing help implementing "card-flip" animation upon button touch - Java for Android App Development

I am just fiddling around with my latest work that I'm completing, and in Java Encoding, I'd like to implement the standard "Card flip" animation upon clicking to go to the next screen...
(I.E.: Home page of application --> Register a new user page)
So upon clicking "Register" there would be a card flip animation to the register page.
If you think you could help, I can either post my project in paste bin, or put it on github. I can also fetch the card flip animator script so you could help more.
I am willing to pay to get this working. And I will if you do a good job.

Related

GSPocketMagic++ configuration.

Hi, first off im new to the XDA EXEC so be gentle , I've already unlocked and updated the device and now I'm just getting use to customizing it.
I've installed GSPocketMagic and although i can get it running theres a few things im unsure of.
1. it seems to slow the boot up of the device considerably, don't know why or if that might be some remnance of O2 stuff kicking around on the device.
2. The icons don't seem to blend into the themes properly. For instance the close buttons seem to be of a different colour and you can easily see that. On the main today screen when no apps are running I have an obvious discoloured sqaure in the top right hand corner. I'm guessing this might have something to do with the bmp pallettes for the images? anyone done anything about this?
3. Skining the menu , on the download site is shows its possible but i've had no luck.
it looks like a good app but its just not reaching what i need any ideas on how to configure it properly as so far from what i've seen theres limited information on it and i've not found any translations etc.
Regards
Download the latest here: http://homepage3.nifty.com/UK-taniyama/tools/GSPMagicPP.html
Goto Start menu > Option > Setting... and and "play" with the settings of GSPocketMagic++
Cheers
i've had a play with the settings already and could really find what I was looking for the most i've managed to do is change the startup menu button to an image but it didn't resolve the fact that the button images for say close are off colour (even if you install the VGA xscale version (as i stated before).
Also I can't see how you skin the menu so it'd look similar to that of the existing menu bar (just for continuity of the plug in). Then finally theres the fact on boot its terribly slow to start up with this addition (or so it seems). However its still a vanillia(ish) device so i could be som O2 crap kicking around that i haven't removed yet?
dunno..hence the thread.
Smallmenu and GSPocketMagic will take quite a while to generate the icon cache on first launch. Just let it do it. It doesn't do it again after the first launch unless you manually refresh. It takes about 30 seconds for me.
V
If you goto Goto Start menu > Option > Setting... and directly close de Setting page it wil refresh the cache again. You can time it how log it takes. I have about 30 shortcuts in the menu (which I pointed to \windows\start menu\programs and not the standard folder), also to the SD card, and it takes about 4 to 5 secs to refresh it.
installing GSPocketMagic
Hello downloaded it
How do I install it on the Exec
Thx.
Tim
lol
is there an update 2 this? where can i find skins?

Issue: Today Plugin Options

I built a Today plugin (with a little help from folks on this forum) originally for WM5 devices (you can see it here). Everything works great.
Based on user requests, I re-targeted it to work on PPC 2003 SE devices also. Here's the problem: Now, the Options window won't open until the plugin is actually loaded. In other words:
1. After a fresh install, go to Today settings, highlight plugin, click options - nothing happens.
2. Check plugin, close Today settings, re-open Today settings - Options now work.
Any thoughts an why it behaves like this? I've compared the two versions ad nauseam, tweaked this and that to no avail. (this was built using VS 2005)
The options + the today item code are in the same dll and it dose not get loaded until after the items window is dismissed. This is normal behaviour and there is not much you can do about it. If you watch the task bar you will notice a flicker at this exact time (ie closing items window). I think a system-wide message is sent at that time to indicate a setting change. Find that message and you may have something to work with but there is no garantee that your item will get loaded even if you send that message during the installation.
OdeeanRDeathshead said:
The options + the today item code are in the same dll and it dose not get loaded until after the items window is dismissed. This is normal behaviour and there is not much you can do about it. If you watch the task bar you will notice a flicker at this exact time (ie closing items window). I think a system-wide message is sent at that time to indicate a setting change. Find that message and you may have something to work with but there is no garantee that your item will get loaded even if you send that message during the installation.
Click to expand...
Click to collapse
Hey - thanks for the help! Similar to your suggestion, I implemented a post-installation step (another first for me) that executes SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0xF2, 0); This refreshes the Today screen, causing my plugin to load immediately.
Perhaps version 1 always did this and I just didn't notice...

Start IE in full screen on boot

Dear XDA-Developers,
As a volunteer for a project i'm making a webapplication which is controlled by a pocket pc.
To make it useable for people i want Internet Explorer to start automatically on the boot of the device. That on itself isn't that hard, i know.
I need IE to open a specific webpage, and go in full screen mode.
Maybe it's not that difficult, but next to webdeveloping, i can't make software etc. so i was hoping someone has a solution for me. It would be a big help.
Thanks in advance.
You can use Resco Explorer to make a shortcut like this:
"\Windows\iexplore.exe" http://www.xda-developers.com (To open your favorite site )
You can put this link in \Windows\StartUp\
I currently don't know a method to open fullscreen.
Well last time I tried if I exit IE when it's full screen, it stays full screen next time I opened it. This is with WM6.
Hi,
Not sure if this will help but Confused Stu has just released a ROM that starts IE in Full Screen.
http://forum.xda-developers.com/showthread.php?t=371014
Cheers.
THIS is how to start Pocket IE in FullScreen mode
I'm sure this is waaay too late for your project, but for the sake of posterity (and for the search engine) here is how to start Pocket IE in FullScreen mode...
It's in the registry- HKCU\Software\Microsoft\Internet Explorer\Main
the key is a DWord called "FullScreen" set it to 1.
Obviously, if PIE is already running (minimized but not closed) you'd have to kill the process, write the registry entry, then open PIE. PIE retains the fullscreen setting until you change it (either via the registry or by exiting fullscreen mode within PIE) but it couldn't hurt to check the registry value before firing up PIE.
All of this easily done via Mortscript. In the case of a console-type app that runs on startup and you want the user to stay in that app (and out of the rest of the system), you'd want to check periodically to make sure PIE was the active window, and activate it if not. You might also want to prevent access to the PIE menus (via the SoftKeys) and also the Start Menu button. I'm sure there's a util somewhere to disable the HW buttons, but off the top of my head, I can't think of any.

[WebTop]-[How To] Create shortcuts to custom phone actions on Webtop

I looked around and couldn't find a detailed guide on how to do this so I figured it out and decided to share..
Prerequisites:
Working Webtop
XFCE Desktop
or
AWN Manager
aLogcat > https://market.android.com/details?id=org.jtb.alogcat&hl=en
This is a simple proccess which will require you to use aLogcat to get the activity name of the item you want to launch and then simply make a new shortcut item on your launcher.
Getting our activity name:
Launch aLogcat
Hit the menu button on your phone
Select Filter
type "activityMan"
leave the option for regular expression unchecked
--Now that your application is logging and filtered you will see a window with alot of text. This is where we will be searching.
hit your menu button again
Select Clear
Now hit your home button and navigate to the icon you would like to be able to directly launch from your webtop and click it.
Go back to aLogcat
Hit the menu button on your phone.
Choose the pause option from ALogcat
***Now were going to search for the string we need to tell activity manager which activity to launch**
Look through your log for something that looks like this: "com.p1.chompsms/.activities.ConversationList" (this one will launch ChompSMS)
In my case the entire line looked like this: /ActivityManager( 1700): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.p1.chompsms/.activities.MainActivity bnds=[5,343][115,483] } from pid 3088
copy the string that comes after "cmp=" (bolded above)
Creating the shortcut
Depending on which interface you are using this will differ slightly:
For AWN Manager
Open AWN Manager
Choose Launchers
Click Add
Set your name description and Icon
For Command add the following: androidlauncher --action "android.intent.action.MAIN" --cmp "<TEXT THAT YOU COPIED ABOVE>"
For XFCE
Right click on the task bar.
Choose "Customize Panels"
Next to where it says Panel 1 hit the + button to create a new Panel.
**Select the new panel and edit its options**
Set it to Normal Width | Fixed position | And then select the position where you would like to see it on your screen.
Change icon size to suit your taste. (Tip, if you would like to use the icon for the application an easy way to get it is to Google "AppName icon" and then use Google's image search. Choose an icon that's somewhere near 96*96 (you can sort by size), save it and select it from the menu.
Now that we have created a shortcut / panel
Right click the new panel / Icon
Add new Items
Launcher
Set your name description and Icon
For Command add the following: androidlauncher --action "android.intent.action.MAIN" --cmp "<TEXT THAT YOU COPIED ABOVE>"
you now have a working shortcut that will pull up the app or activity in "Mobile view" on your webtop!
Yay.
If anyone knows any more tricks with this please let me know! I have been wondering if it is possible to tell the app to come up in full screen.
** if this helped you please remember to hit the thanks button (help a guy boost his newb cred) **
Thanks for this. You probably saved me a lot of time because I was going to try to figure out how to do this.
Have all the apps on the phone worked without problems?
Also, does the Entertainment App work thru XFCE Desktop without the Awn dock?
blingmaster said:
Thanks for this. You probably saved me a lot of time because I was going to try to figure out how to do this.
Have all the apps on the phone worked without problems?
Also, does the Entertainment App work thru XFCE Desktop without the Awn dock?
Click to expand...
Click to collapse
I haven't tested enough to say whether everything works or not. I also haven't eve used the entertainment center . This was one of the primary reasons why I was frustrated with the original webtop. They gave use the ability to launch only a couple of their apps rather than just creating a mechanism for us to select apps for shortcuts. This is something I may look into developing in the future.
Awesome work! I was just going to look at this today after looking at XFCE menu editing yesterday and BAM you already did it!
Too bad I broke my webtop somehow and had to start over this morning. I'm getting so practiced I could do it in my sleep!
Upon further thinking, you could probably just create a .desktop file like the other ones have and then it would automagically get put in the XFCE menu. Then it could be scripted and added into webtopscripts or something.
stewartsoda said:
Awesome work! I was just going to look at this today after looking at XFCE menu editing yesterday and BAM you already did it!
Too bad I broke my webtop somehow and had to start over this morning. I'm getting so practiced I could do it in my sleep!
Upon further thinking, you could probably just create a .desktop file like the other ones have and then it would automagically get put in the XFCE menu. Then it could be scripted and added into webtopscripts or something.
Click to expand...
Click to collapse
Last night was my first night with a working webtop, being able to quickly launch ChompSMS , or pandora on my mobile view was top priority for me. Now that I have that mostly handled I guess I need to move on to learning XFCE tweaks. I'm really glad this helped, I was really surprised that this wasn't already hashed out and detailed, but I was glad to finally be able to contribute something over here!
Hi nineismine,
Mind to provide me a little bit of extra info on the below? Thank you in advance.
(1) How to "remove" the pre-installed short-cut apps in mobile view? For example the "Messaging". I rather prefer to replace this with the "Text Messaging" by following your tutorial.
(2) How to "remove" the pre-installed short-cut apps in webtop view? For example, mine Atrix is Asia Retail version and it build-in with the "Motorola Video" app-tray which I have no idea how to "remove" it.
I herewith attached the screenshot on my stock webtop for your reference (the stock webtop do support screenshot feature and I learn this from this link: http://forum.xda-developers.com/showpost.php?p=17093665&postcount=3)
Edited:
I found my solution by installing the webtop2SD. My issue solved. Thanks.

[SOLVED] Minimalistic Text widgets help

See following post for workaround
I tracked down an old version of the app (2.6.2--extracted from one of the nooter project file zips) and installed it on my NST, hoping to create a simple date-day widget.
I must be daft. I cannot get a widget to display! I can go through the entire creation and customization process. I can "see" the preview result while in the settings section. But nothing appears on the home screen
I tried installing the same app on my little KitKat device and had no issues with the widget appearing on the home screen. This version of the app was surely known to work with the NST or else it would not have been included in the nooter package.
Does anyone have any experience with Minimalistic Test on the NST? I must be missing something. I have no problem adding other widgets.
Workaround
Whew! It's too bad there wasn't any chatter on the forum about working with this app. Maybe something in the newer NST firmwares just makes it mad, but whatever may be the case, here's what I did:
The last version for Eclair is 2.6.3. You can get it straight from the developer here: http://devmil.de/MT/MinimalisticText_2_6_3.apk
I did this on a system running FW 1.2.2 but I'm pretty sure this will apply to 1.2.1 also. Installation goes OK but apparently the file minimaltextprefs*.xml in /data/data/de.devmil.minimalitext/shared_pref is malformed in some way. Things just don't behave the way they should. While I floundered about I ended up installing the app on my little KitKat media player and then copied the minimaltextprefs*.xml file from that device and used it to replace the one on the NST. Voila! There is a number at the end of the file name and you can make the replacement file the same as the original file, but the number does change as you use the app. I have attached a zipped copy of the file I used below.
For me the best use of the widgets is with black text and no background. Unfortunately the opening settings screen of the app is black.... So if you use black text (the default is white) you will see nothing except a box for your widget. However, within the customization section there is a preview pane which lets you see what you've got.
One last--and the most important--thing. Supposedly when you've made changes the "back" button saves these. Not on the NST. Instead, while in the settings section (anywhere except the customization preview pane) if you tap the "menu" button one of the options that pops up at the bottom of the screen is "OK". That is how you save your changes. Using the "save" command at the end of the settings just places things in a file for later reference.
All this for a date-month-day text widget...... But you can do a lot more with the app, so maybe someday.
I want to thank @Devmil for providing the direct link to v. 2.6.3 and also for having patience with me while I tried to figure all this out.

Categories

Resources