[APP] CogwheelWP7 (z80 emulator) -[R]- 14 APRIL 2011 -[V]- BETA - Windows Phone 7 Apps and Games

CogwheelWP7
Note: Only the source code is provided, you must add ROMs & compile the .xap yourself.
CogwheelWP7 is a port of the open source Z80 emulator cogwheel.
What this does:
Emulates the SG-1000, Master System, GameGear and ColecoVision
What this doesn't:
Run at full speed
Handle input for ColecoVision
Save data
Output sounds
Display colours correctly (blue & red are swapped)
How to use:
Download & extract the attached source code
Open CogwheelWP7.sln with Visual Studio
Drag and drop your ROM into the Content project
Right click your ROM in the Solution Explorer & click properties
Change the properties: Build Action = None, Copy to Output Directory = Copy if Newer
Open Game1.cs then go to line 23
Change this to match your ROM's name
Build & deploy to your phone
Source: Me

Looks pretty trippy with the red and blue swapped.
Any plans for further development?

I plan to develop the emulator some more, though due to other commitments progress will be slow. I decided to release this version just in case I don't have the time to take this further.

great, i tested with Aladdin game, it works well just the speed problem made the game unplayable. If this project develop properly ,it definitely got future.

Related

OpenSudoku for android

Hello,
I want to announce just another sudoku game for android: OpenSudoku. You can install it via Android Market or download installation package from project's homepage:
http://code.google.com/p/opensudoku-android/
Main motivation for me in creating this game was to learn android's SDK and also existing sudoku games didn't meet my requirements (but honestly I haven't tried them all ;-).
Feature highlights:
- Preloaded with 90 puzzles, you can also enter your own puzzles.
- Optimized for control by finger and keyboard.
- Game time tracking and history.
- It's open source.
Any feedback is welcome.
One thing I would love for a sudoku game is instead of a screen popping up with numbers to choose from is have them already laid on the bottom of the screen. A good sudoku app I've seen for the ipod is like that and also makes the numbers unclickable when you have used them 9 times. The only thing I would change from your app is the aesthetics from the beginning menu. Good start!
New version with multiple input modes
Thanks for your feedback. As you've suggested, I've added support for multiple input modes - now you can choose whether to use popup or numbers in the bottom of the screen.

[REF] Theme Developement Resources

I want to make a thread for both those that are already Dev'in themes, and those that want to start, can trade info and techniques. For example:
(Program)
Photoshop Editor:
Then a description of a given process...
Etc.
I know that there are How To's, http://forum.xda-developers.com/showthread.php?t=471586 but I'd like a more direct, and detail orientated place to discuss the specifics. I've tried a few attempts myself and found that some programs work, some don't. Plus, since the prices of some of these programs are as high as $600, and the fact that there are thousands of web-based programs, it'd would be nice to see what works best for who, and how.
Hopefully, this will turn into a good resource, and we'll soon have a forum full of the most excellent themes.
MODS: Let me know if I'm outta bounds and I'll fix. This is my first time makin a thread so it ain't all that.
To Do:
*search and post Theme Developement info for Windows, Linux, and Mac
These are links to useful threads related to different parts of theme developement...
Key Files Chart:
http://spreadsheets.google.com/pub?key=r_ua-t_U23ci5_oxwQ4mGrg
Creating your boot animation:
http://forum.xda-developers.com/showthread.php?t=527200
Progress circle style/color editing:
http://forum.xda-developers.com/showthread.php?t=540830
Editing .XML's:
http://forum.xda-developers.com/showthread.php?t=479019
How to use baksmali/smali:
http://forum.xda-developers.com/showthread.php?t=537779
General Theme Developement:
http://forum.xda-developers.com/showthread.php?t=467639
Using DrawPatch-9:
http://developer.android.com/guide/developing/tools/draw9patch.html
Signing made easy:
http://forum.xda-developers.com/showthread.php?t=473580
photoshop is my primary weapon of choice but I've also found that for minor edits like color changes touchups transparency changes and resizes photoscape and fotoflexer work pretty well especially when I'm at work and decide to mess around because I can't install photoshop on my work computer due to administrator locks I just downloaded photoscape and installed to the documents folder and fotoflexer is an online image editor and both are free
Okay... here is something very usefull...
You know those pesky indexed files right? they corrupt if you open them in photoshop?... I figured out how to remove the indexing... first you need to download and install Paint.NET off of the web... and then install(of course)... and then open any indexed file in Paint.NET... then save it... and it will be un-indexed... ... this will be very usefull for lots of people... cuz it is for me!
I like paint.Net myself. Its free and if you load the plugins available you can get a lot done quickly and easily.
Best tip is to make sure you save stuff in layers so that if you only need to edit part of an image you can.
Another tip is after you finish your edits you can expand the canvas on all sides by 1 pixel then use solid black for doing the .9 marks. Once done you can dump your files right into the latest eclipse and draw9 isn't even needed which saves a lot of time.
Also 7-zip is just amazing. You can use the file manager to move files between zip files and apk and even jar files without unpacking or packing over and over.
I agree with beagz 7zip is a must it makes it a hell of a lot easier when porting your themes for new builds another life saver is the android sdk lot s of useful information in there and eclipse for compiling .9 images which there are samples of in the android sdk to show you how to do the guides properly like beagz was talkin about in his previous post because if you mess one of those your phone can end up totally screwed
This is easy
Apps
.zip/.apk management: 7-zip (the most important part of theme development)
image manipulation: GIMP
Software
sign/resign files: Java JDK
.9.png editing: Eclipse to compile the apk
Pre-reqs
ADB working properly through the command prompt
Applications that make theming possible for Jonnybueno
I use Photoshop for images. Hue and Saturation(ctrl+u) is my best friend for changing the color of stuffs. For hex editing, I use HXD, outlined in this thread by Stericson: http://forum.xda-developers.com/showthread.php?t=479019.
For signing, I use Stericson's Autosign.bat. If you don't know, you can double click on this to pull up the command prompt rather than launching the command line and then typing "autosign". Also, you can copy the file path by right clicking while holding the shift button on Vista.
And finally, for notification text, I use Ohsaka's colorChange.jar. Along with this really simple batch file.
White text:http://sharebee.com/b6b43290
Which is just one line(that I'm too lazy to type everytime I update)
Code:
java -jar colorChange.jar theme.zip ticker=FFFFFFFF clock=FFFFFFFF date=FFFFFFFF ongoing=FFFFFFFF latest=FFFFFFFF clear=FF000000 network=FFFFFFFF roam=FFFFFFFF
Resources
For viewing source to reference those xml files, I use these sites
Cyanogen source:http://github.com/cyanogen
Android reference (stock): http://developer.android.com/reference/android/R.attr.html
And then this website for finding just the right RGB codes: http://www.colorschemer.com/online.html
Tips
I've learned that it is totally possible to rotate .9.png files using windows without having to redraw them and that images don't have to be the original size. There is a limit to how big you can go... but i have no idea what that limit is.
Oh and for different colored(other than black) notification text for downloads, edit the only xml file in DownloadProvider.apk/res/layout. For example, 0800001C 000000FF becomes 0800001C FFFFFFFF. In case you're confused, whats happening is that you're changing an ARGB code (which is backwards, so you're looking at BGRA... see stericson's thread please) from black (000000FF) to white (FFFFFFFF).
Working from Linux (Ubuntu) I've found File Roller to work as nice and easy as 7zip in Windows for working with zip/jar/apk.
GIMP is my gfx editor of choice in both worlds. Glad I discovered you don't need draw9patch to put the .9 guides in - draw9patch is a pain to use!
In Windows I use XVI32 a hex editor, ghex in Linux.
testsign.jar is all you need to sign - very simple from command line in both Linux and Windows
/Mats
I use Adobe fireworks for image editing a little easier then photoshop and has styles for lazy ppl like me and winrar full version for managing the apk's and zips and png crush setup to right click and crush pngs for compression if your update is too big.
I know this thread has been dead for a while but I see new phones linking to it as a resource for themeing, so I wanted to let you know that I have compiled a huge amount of information into one guide, see http://forum.xda-developers.com/showthread.php?t=667951 for detalis
As a side note: you might want to note the fact that my tutorial for changing/creating boot animations is for pre-2.1 builds (unless someone really decides they want a pre-2.1 boot animation on their phone, of course). I havent got around to updating the boot animation tutorial for 2.1+, cause thats going to be a looooong post.

Phone GuitarTab: open source guitar tablature viewer

Guitar tab viewer for Windows Phone. Currently supports guitar pro 3,4,5 (.gp3, gp4, .gp5) and text formats. It's developed in C# (Silverlight). Provides search&download tab/images engine (uses ultimate-guitar.com and last.fm).
I have no time to finish it and have no opportunity to add to marketplace (I live in Belarus). So I’ve decided to make it an open source project.
Briefly speaking this project consists of the following parts:
Guitar tab search&download engine: uses web services of ultimate-guitar.com site for direct searching and downloading.
Guitar Pro parser: can open gp3, gp4, gp5 files (Guitar Pro)
Guitar Pro viewer: can show tablature from guitar pro files using custom viewer (features of Silverlight are used)
Text tab viewer: can show tablature in text based formats
The following tools and technologies are used here:
Development approach: Silverlight
MVVM framework: Microsoft Prism
Special controls: LazyListBox, LongListSelector
Currently there are some issues and improvements that should be fixed before it is publish:
Improve guitar tab viewer and parser
Add authenticate engine for guitar-ultimate.com (token is required for downloads)
Fix issues with tombstoning and back button press
Source codes: phoneguitartab.codeplex.com
Screenshots: dropbox.com/gallery/20298658/1/PhoneGuitarTab?h=c75baf
Thanks for the gift !
I'll download it to test, upgrade and maybe publish !
Regards
Sounds great! Hopefully some devs pick it up and run with it.
This is something that I am extremely interested in. I am subscribing to this thread, I look forward to seeing this Project Develop. I use the program Guitar Pro 6 all the time on my PC. I would absolutely love a mobile version on my hTC HD7. Best of Luck... And please do not get discouraged or lose interest. This is definitely something I want to see through till the end.
Sent by Projekt hTC
Nice! I'll check it out when I get home.
Is this only going to be available for people with unlocked phones? Or does the developer plan for the marketplace
Sent by Projekt hTC
I haven't developer account for Marketplace because I live in Belarus and there are some problems with it. Sorry...
I hope this application will be developed as open source project. I will fix some major issues in my spare time: right now I'm investigating how to fix issue with tab downloading from ultimate-guitar.com.
The decision about sharing the source code was made on the spur of the moment and I can provide some comments about my code for developers if it is necessary.

iAPK Suite..

Credits go to qberty for this, pulled this of the original thread...
This is iAPK Suite 0.9. The newest incarnation of iAPK. It's functions have been vastly increased, while keeping it's sole purpose still unique.
The new version of iAPK merits it a new name, iAPK Suite. This means it not only installs APKs, it is a full fledged manager. It installs, deletes, backups, and restores APKs from your respective Android devices. Aside from being drag 'n' drop friendly, i've incorporated a tremendous amount of useful features. Hell, it even signs APKs with a simple click.
There are currently two versions. iAPK Suite and iAPK Mini. The Suite version allows full APK management, while the mini just has simple drag and drop as well as the docking panel without any other APK functions which makes the file size practically cut in half.
..:: Features ::..
- Sleek Drag n' Drop User Interface
- Docking Panel
- File Type associations with .apk files
- APK Management
- Signs APKs
- Drag Multiple APKs for installation
- Drag Folders containing APKs for installation
Download »iAPK.zip
proper Website for iAPK is here » http://0m3ga.net/iapk.html
lol Thanks, I can't post it everywhere in the world by myself

Create, Edit & Install A Custom Watch Face for the Gear 2 Neo

This is not a full blown, how to program tutorial. It's a simple "Getting started with Tizen SDK for Wearables"
First, you will need to Download and Install the Tizen SDK for Wearables.
Once installed, Start the Tizen IDE.
We need to make a quick emulator to emulate our Gear 2 Neo.
On the lower left panel, the Connection Explorer, click on the first icon to start the Emulator Manager.
Click "Add New".
Choose a Name in the Detail panel, ie 'Gear2Neo'
Change the 'Density' to 278. Leave the rest of the settings default.
Click [Confirm]
Give it a moment to create your emulator.
Now your Gear 2 Neo emulator has been created.
Start your emulator by clicking the blue 'Play/Run' button at the bottom of your newly created emulator.
You can minimize the Connection Explorer now.
Once the emulator starts, you can choose to right click on it, and click "Always on top"
Next, Maximize the Tizen IDE.
Let's start playing with a sample project.
Click File > New > Tizen Wearable Web Project.
In the new window, click Sample > Web App > ClockWidget > and choose a Project name (ie. MyWatchFace)
You will now be back to the Tizen IDE and you will have a project (MyWatchFace?) in the Project Explorer.
Double click on the name of the project and you will see the project files.
You can edit these with custom images and code or you can just test the stock project.
At the top of the Tizen IDE, click on the green Play/Run button. This will install and start the project on the emulator. It will also build a file in your Project Explorer named the same as your project, but ending with a .wgt extention. In this case, MyWatchFace.wgt. This file can be pushed directly to your Gear 2 via USB using SDB.
At this point you should have a pretty plain and simple black watchface on your emulator thanks to the sample we just built, but let's add a custom background.
Make a custom 320x320 pixel image to use as a background with photoshop, gimp, etc. I'll name mine 'mywatchface.jpg'. Now paste it into your Project Explorer.
While you are in the Project Explorer, double click on the css folder.
Next, double click on the style.css to open that style file.
Locate the background: #000 line and replace it with this line.. background: url(../mywatchface.jpg);
Click the Save icon to save the style.css.
Click the green Play/Run button to install and build the new version.
If you don't see the new watch face load immediately on the emulator, you may need to go into settings on the emulator and select the new watch face.
Now that we have played with the ClockWidget sample and edited the css to add a custom background, we can play around with java coding and more down the road, but let's put this watch face onto our Gear 2 Neo.
You will need to copy the MyWatchFace.wgt file that was built in the Project Explorer into the same directory that your SDB.exe is located... (ie. C:\Tizen\tizen-wearable-sdk\tools)
It's easier if you make sure that the emulator is no longer running.
Turn on USB Debugging (Settings/Gear Info) and then plug your watch into your PC/Laptop via USB.
If you have issues with your computer detecting your watch, you may need to install the Samsung USB drivers for your watch.
Start a CMD Prompt
Switch to the directory with the SDB.exe and MyWatchFace.wgt
Run a simple test to see if the watch is being seen..
Type: sdb devices
If you get an error, something is wrong. You should see "List of devices attached" and one should be a series of numbers and letters and display as "SM-R381"
Now that you know the device can be seen, you can push your watch face to the Gear 2 Neo.
Type: sdb install MyWatchFace.wgt
You will see text scroll by and then it will indicate that it is done. You should now have a new watch face on your watch!!
To manually uninstall the watch face, you will need to look at in your Project Explorer, Open the config.xml and click the Source tab at the bottom to locate the package id for this app.. In my case, it's package="rlfNgozRkA"
Type: sdb uninstall rlfNgozRkA
Now have fun. Share your experiences, ask questions.. and most of all.. Share your custom watch faces here for everyone. As a community we can all help each other learn how to program for our Tizen wearables.
<- Please click Thank You!
Breach said:
This is not a full blown, how to program tutorial. It's a simple "Getting started with Tizen SDK for Wearables"//cut//Thank You!
Click to expand...
Click to collapse
Thank you for this .. . it is a great way for us to start!
I actually would like to make a 24 hour analogue watch face --something like military time or international time, but to start off this will be very helpful!
I noticed when I DL the Tizen SDK, I thought it asked me to install Java --how much of that do I need to install (there seem to be several Java options for my Windows 7 64bit system! Or, can I skip that?
sorry to bug you with such a basic question, but I am trying to get it right step-by-step! :good:
Awesome, Thanks for taking the time to make this :victory:
markbc01 said:
Thank you for this .. . it is a great way for us to start!
I actually would like to make a 24 hour analogue watch face --something like military time or international time, but to start off this will be very helpful!
I noticed when I DL the Tizen SDK, I thought it asked me to install Java --how much of that do I need to install (there seem to be several Java options for my Windows 7 64bit system! Or, can I skip that?
sorry to bug you with such a basic question, but I am trying to get it right step-by-step! :good:
Click to expand...
Click to collapse
I already had Java JDK installed, but you can grab it here if you need it...
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7-netbeans-download-432126.html
Once installed, you will probably want to put it into your Environmental Variables.. Just right click on the "This PC" icon on your desktop. Then click 'Properties' and then 'Advanced System Settings', then click the [Enviromental Variables] button. Scroll down until you find PATH. It should have a several paths, add the following to the beginning... C:\Program Files\Java\jdk1.7.0_51\bin; (Note that this path will depend on where you installed the Java JDK and the version)
You can save it. To test it.. Open a CMD Prompt and type javac and if you get an error, something didn't work.
neonfreak20 said:
Awesome, Thanks for taking the time to make this :victory:
Click to expand...
Click to collapse
It was my pleasure. I am learning too.. but I figured I would share what I learn so that we can all learn together..
.
.
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
only problem I have is my background image isn't showing up ,
I have background: url(../mywatchface.jpg); set in the style.css and pasted "mywatchface.jpg" into "mywwatchface" project but when I set the above and hit save then the green start, it loads however the watch emulator that is open doesn't change , and I have no errors in the problems box.
ex-28 said:
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
only problem I have is my background image isn't showing up ,
I have background: url(../mywatchface.jpg); set in the style.css and pasted "mywatchface.jpg" into "mywwatchface" project but when I set the above and hit save then the green start, it loads however the watch emulator that is open doesn't change , and I have no errors in the problems box.
Click to expand...
Click to collapse
I was having this issue also, and it may not be the answer to your issue but to the right of the play button (to run it on the emulator), there is a dropdown. Make sure you select the one you want to run. By default, mine kept running the same one.
thanks for the reply but I wonder if this has something to do with it .
when the emulator opends , I get an error see screen shot.
compositor warning your screen does not support OpenGL.
Falling back to software engine.
when I click ok I get the watch face but still no background under the play button menue its set to mywatchface
im running windows 7 Enterprise 32 bit.
trying to good it but all I can come up with is for Linux users.
ex-28 said:
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
only problem I have is my background image isn't showing up ,
I have background: url(../mywatchface.jpg); set in the style.css and pasted "mywatchface.jpg" into "mywwatchface" project but when I set the above and hit save then the green start, it loads however the watch emulator that is open doesn't change , and I have no errors in the problems box.
Click to expand...
Click to collapse
Is the image the proper size (320 x 320)? Are you sure you saved it as a jpg? (If you save as a png or something else, you will need to edit the background url.) Are you sure the mywatchface.jpg is in the root of your project and not in the css or js folder? Are you sure there is no typo in your style.css?
I noticed that in your comment, there is a typo in your project name. Is there a typo in your project name or only in your comment above?
Breach said:
Is the image the proper size (320 x 320)? Are you sure you saved it as a jpg? (If you save as a png or something else, you will need to edit the background url.) Are you sure the mywatchface.jpg is in the root of your project and not in the css or js folder? Are you sure there is no typo in your style.css?
I noticed that in your comment, there is a typo in your project name. Is there a typo in your project name or only in your comment above?
Click to expand...
Click to collapse
type only in comment as far as I see. and I belive the image is in the correct folder.
mywatchface.jpg looking at it it was at 320x240 changed it now to 320x320.
testing in a second here
yup same results wont load the background I just see the black background with a white digital watch and the date under it as in screenshot.
sorry I attached screenshot now forgot it.
ex-28 said:
type only in comment as far as I see. and I belive the image is in the correct folder.
mywatchface.jpg looking at it it was at 320x240 changed it now to 320x320.
testing in a second here
yup same results wont load the background I just see the black background with a white digital watch and the date under it as in screenshot.
sorry I attached screenshot now forgot it.
Click to expand...
Click to collapse
What are the settings in your emulator?
ex-28 said:
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
Click to expand...
Click to collapse
What version of the Tizen for Wearables IDE are you running? Version : 1.0.0b1 ?
Breach said:
What are the settings in your emulator?
Click to expand...
Click to collapse
just clock and display
helps if I select the watch face I guess.,. lol now I get it , thank you soo much
Breach said:
What are the settings in your emulator?
What version of the Tizen for Wearables IDE are you running? Version : 1.0.0b1 ?
Click to expand...
Click to collapse
running
Version : 1.0.0b2
Build id : 20140411-1449
ex-28 said:
helps if I select the watch face I guess.,. lol now I get it , thank you soo much
Click to expand...
Click to collapse
Glad we got it sorted out. Enjoy.. After you get it tweaked the way you like, give it a custom name and feel free to share your watchface.wgt here for everyone to try out.
Breach said:
Glad we got it sorted out. Enjoy.. After you get it tweaked the way you like, give it a custom name and feel free to share your watchface.wgt here for everyone to try out.
Click to expand...
Click to collapse
maybe add that to the op that once you make the changes you have to go into settings on the emulator and select the new watch face , lol , I just had a brain fart moment there. but totally forgot and maybe helpful for new users
ex-28 said:
maybe add that to the op that once you make the changes you have to go into settings on the emulator and select the new watch face , lol , I just had a brain fart moment there. but totally forgot and maybe helpful for new users
Click to expand...
Click to collapse
Done.
only problem I had I was getting an error so I deleated my project compleatlly and started over , but its still throwing the same error.
when I click on the green Play/Run button to start the project under problems window I have Description Resource Path Location Type
Expected '===' and instead saw '=='. main.js /MyWatchFace/js line 135 JavaScript Problem
it highlights this if (e.keyName == 'back') {
removed and restarted it again and same thing. any ideas ?
this is happening before I make any changes to any files , and just following the steps in op
Here are a couple very basic animated analog watch faces as samples..
.
them are nice ! iris pulse looks good
Q is there anyway to have shortcuts at the bottom on an analog clock ? just wondering if possible.
and when we pop a .wgt into the tools folder and install it via cmd , how do you uninstall it ? as theres no package id in the sdk anymore
ex-28 said:
only problem I had I was getting an error so I deleated my project compleatlly and started over , but its still throwing the same error.
when I click on the green Play/Run button to start the project under problems window I have Description Resource Path Location Type
Expected '===' and instead saw '=='. main.js /MyWatchFace/js line 135 JavaScript Problem
it highlights this if (e.keyName == 'back') {
removed and restarted it again and same thing. any ideas ?
this is happening before I make any changes to any files , and just following the steps in op
Click to expand...
Click to collapse
That makes no sense, first because there was no change made to the main.js, and secondly because that is the eventListener and it should be '==' and not '==='

Categories

Resources