Tired of VS2012 for windowsphone, not work! - Windows Phone 8 Q&A, Help & Troubleshooting

I'm tired of trying to start developing my app because Visual Studio 2012 don't want let me to add more than one element from Toolbox. When I place one, second one deleted. What is wrong? Why I'm not able to add more than one elements? I was trying everything.

Code
cro.dev said:
I'm tired of trying to start developing my app because Visual Studio 2012 don't want let me to add more than one element from Toolbox. When I place one, second one deleted. What is wrong? Why I'm not able to add more than one elements? I was trying everything.
Click to expand...
Click to collapse
Try to add elements by code, not by drag and drop.

arizz96 said:
Try to add elements by code, not by drag and drop.
Click to expand...
Click to collapse
how by code?

cro.dev said:
how by code?
Click to expand...
Click to collapse
In xaml file, you write tags and properties.

cro.dev said:
I'm tired of trying to start developing my app because Visual Studio 2012 don't want let me to add more than one element from Toolbox. When I place one, second one deleted. What is wrong? Why I'm not able to add more than one elements? I was trying everything.
Click to expand...
Click to collapse
You are doing it wrong.
You are attempting to add 2 textbloxes in the root of the pivot control. That will throw an error because the root can only contain one element.
You are supposed to add an item container, such as a grid, stack panel, canvas, listbox, listview, etc first, then add the textboxes into it.
You should get started with the basics of XAML before attempting to write apps.

Thank you all, in meanwhile I get it working

Related

Help with Phone.apk mod please

I want to edit the background of the dialer from black to white, but I cannot seem to find where it is, I've went through the source and can't find it. Can anyone help with this mod?
Thanks
Ima make a judgement call on this one and say if you can't find it, most likely you shouldn't be messing around with it
stefan.buddle said:
Ima make a judgement call on this one and say if you can't find it, most likely you shouldn't be messing around with it
Click to expand...
Click to collapse
If you do not recognize the name, perhaps you should not make such assumptions.
Let me see if I can find the file name, give me a few.
Edit: As far as I can tell, there is no image file for the background. From the small bit of android programming I have attempted, I do seem to recall the default background color being black. I think you probably need to edit an xml file, but I could be completely wrong. I could not read the xml files with my phone, so I could not narrow it down at all. If you agree this is the way to go, and need to know how to decrypt xml send me a pm.
I know it is not an image, I've edited all the images. I have done an abundant amount of themes. I posted the question because I have spent a long time looking though the source. It is not an xml in the drawable, it is in the source somewhere. After looking though the source though, I am starting to think it is something at a higher level than the phone.apk of contacts.apk and maye be something from the system itself, since all the apps have a black background as the default.
Since I think it does default to black, have you thought about including a new background file into drawable, and writing it into the xml somewhere.
cloverdale said:
Since I think it does default to black, have you thought about including a new background file into drawable, and writing it into the xml somewhere.
Click to expand...
Click to collapse
Haven't thought that far but that may be the best solution. There are a few white themes, and it could be a nice addition to them, or even to those without. I'll look into it more when I have some more time, unless there are some people that have time to help on this project
I need help please. I have the latest source from Cyanogen. I am trying to add something to the dialpad.xml but without even doing anything yet, when I start a new project from the code, I get a lot of errors, most I can just delete files and be ok with but I get
Description Resource Path Location Type
ERROR No resource identifier found for attribute 'contentDescription' in package 'android' dialpad.xml /DialtactsActivity/res/layout-finger line 126 Android AAPT Problem
Click to expand...
Click to collapse
Its from the part of the code android:contentDescription="@string/description_image_button_pound"
I have spent days trying to figure out what the issue is.
Can anyone help?

Weather Widget from 2.0 BackPorted

I searched the forum to see if someone had done this and couldn't find it. I back ported the weather widget from 2.0 in case anyone is interested (works fine on donuts). This is the beginning of my development work. Hope this helps!
Please just take the .zip file and rename it to .apk
copy to your sdcard and install with any file explorer or
connect your device to your pc with development enabled
type "adb install MotAccuWeatherWidget.apk"
Red
G1 with latest Cyan
Thank you to this site and all the developers for their inspiration and hard work.
This has been around for a while...
Good work, though. Kudos and thanks for the effort.
Oh, sorry. I guess I'll probably get flamed by like 30 ppl now. lol. I guess I will try my hand at the Dock applications, unless that has been done too?
Red
redd12345 said:
Oh, sorry. I guess I'll probably get flamed by like 30 ppl now. lol. I guess I will try my hand at the Dock applications, unless that has been done too?
Red
Click to expand...
Click to collapse
If anyone flames you, they're stupid. You did good work, even if it was in vain. Car Dock has been ported to Donut, though I don't think the little nightstand Dock from Droid is running on anything prior to 2.0... Not sure, though, as it doesn't interest me all that much.
thanks for the encouragement. is there a list of things that show what needs to be back ported or which ones have already been? I want to contribute.
Red.
redd12345 said:
thanks for the encouragement. is there a list of things that show what needs to be back ported or which ones have already been? I want to contribute.
Click to expand...
Click to collapse
Not to my knowledge. It might not be a bad idea for one of the leading devs to start a thread here on things we want from new phones to run on our phones, and check them off as they are accomplished. 75% of the list would be from the Nexus One, at the moment. You really want to help? See what you can do to get Launcher2 from the Nexus working on Dream... Just changing the build.prop doesn't work, so we'll have to fix errors one by one. Hope you're better at coding than I.
There is also more info in the Dream app section, where these apps are usually released...good work, keep it up!
Hi, there's a version that does not work with 1.6 (only 2.X). Which version is?
BR.
I'm not sure. I pulled this weather widget from Eugene373's AOSP Rom port and hex edited the AndroidManifest.xml to make the MinSDK 3 instead of 5. I can't tell you much more than that. I hope this helps you.
Red.
Give this widget a shot and see if it's the one you are looking for. At least one person might make use of it. haha
Red
yukkio said:
Hi, there's a version that does not work with 1.6 (only 2.X). Which version is?
BR.
Click to expand...
Click to collapse
So, does anyone know if this will work on 1.6? Cyanogen MOD ROM?
It will work on any 1.6 rom. I am running Cyanogen's 11.1 (most recent.) This widget typically works on most people's "custom roms" as long as the 1.6 base is the same, it's just that there is a MinSDK value that prohibits users on a lower SDK from using the application. I dropped that value to 3, so I think that it should also work on hero roms (1.5 cupcake base) if someone likes the graphics on this widget better than the weather app that is included. Hope this helps.
Red.
Ps. I am going to be trying my hand at creating themes instead. My only experience with programming was C++, Pascal, and Visual Basic and that was close to 8 years ago! lol. I'm a little outdated as far as Java goes.
I'm really looking forward to using Stericson's Metamorph. It is such a great effort for theme development.
i sure could use it im new to xda im non root for now, but i would like to make a few nice add ons to my mt3g till i get the guts to root. is thr some good stuff here for a non root like me
Awesome job. I appreciate the work.
Odd question though, what do you do in the process of back porting? I'd love to learn..
Nice Widget, thanks. I was using weathereye before. I like this one better.
Thanks. In the case of this widget, it was ok to backport it because it doesn't call on any other functions that are proprietary to a specific rom (ie. Happenings widget from Blur calls tons of other functions in the home.Blur). There are a few places online when you look up backporting (I'll try to remember to post the links for people.)
You want to start by unziping the aplication you want to backport. Just rename it to a .zip file.
When you look in the file, you will see AndroidManifest.xml. This file has been compiled out as a binary file so you can't read it like a normal .xml file. You want to then download AxmlPrinter2.jar and run that to change the AndroidManifest.xml to AndroidManifest.txt by typing "Java -jar AmxlPrinter2.jar AndroidManifest.xml > AndroidManifest.txt"
The hard part is to find the byte offset in the AndroidManifest where it says the MinSDK value is. The MinSDK value needs to drop from 6 or 7 down to "2" so that you can use the widget on Cupcake or higher. There is a program online and I will post the link when I get home that you use with Eclipse to find the byte offset and then you have to use a Hex editor to change the value in the original .xml file.
Once you use the hex editor and save your changes, you zip up all the files and use the apkbuilder.exe that is in the sdk tools directory by typing "apkbuilder application_name.apk -z application_name.zip"
that will make an apk from a zip file and then you right-click and resign the apk file. From there, you just copy it to your sd card and you know the rest.
It is a pretty dirty and painful approach to porting an app. That is why I am more interested in working on themes. You can just unzip the apk's you want to use and edit the /res directory and then rebuild the app and sign it. Photoshop works great for it.
I'm planning on making a theme/rom that uses hero (1.5) for a base, but slimming it down and using widgets that are smaller like the one that I ported and changing a lot of the graphics for the clocks and such.
I hope this helps for anyone interested in developing.
Red.
Wisefire said:
Awesome job. I appreciate the work.
Odd question though, what do you do in the process of back porting? I'd love to learn..
Click to expand...
Click to collapse

[APP] Purple Cherry formally WJ7 (Wario's Jewels 7) Gameboy Emulator

Hey Everyone. We are doing a complete redesign of WJ7 we will be changing the name to Purple Cherry also. Stay tuned for more updates.
Hey everyone. I am excited to announce that today is the day that WJ7 is released to the public! After months and months of testing we have finally finished it!
You can download the XAP here! http://wj7.fr.cr/
Here is a list of all the games that work atm
http://www.mediafire.com/?6q3851dubkkw7yr
Here is a free public domain game to get you started
http://80.118.144.61/wordpress/wj7/GameList/GameList.xml
If you need help I can assist you in the comments below
Enjoy everyone
Great news..
I'm gonna test as soon as i get home
Hmm i hope i can somehow be able to install this on my mango beta lg e900 without going back to pre nodo... Thank you for the great work!
Do you have any plans for a snes emulator too?
Will check this out. Thanks!
Working fine here, hope you will be able to fix sound too =)
On my Trophy, I do notice a significant speed improvement when I select the "Faster screen" option. What does this do differently? Is there any downside to using this option?
Very Nice.
But maybe you could add a description how to add Games, as it took me a while to figure out what to do (I guess I'm not the only one)
Error
Hi!
I get this error when trying to add an .xml....
Can't load the game list! The remote server returned an error: NotFound
Could you please do a step by step tutorial on how to do the gamelist... and explain what is the "URI" you need to enter into warios jewels settings?
Thanks for your time!
http://gamelistcreator.codeplex.com/
There is what you have to to to create a GameList.
Afterwards - Upload your "Covers" and "Roms" folders to a webserver, as well as the GameList.xml
Then just enter this URL in the Game Settings. Et voliĆ .
Where is the .xap? I'm getting the .zip, but there is no XAP file inside it.
dbG33K said:
Where is the .xap? I'm getting the .zip, but there is no XAP file inside it.
Click to expand...
Click to collapse
rename it to .xap
DominikZ said:
Very Nice.
But maybe you could add a description how to add Games, as it took me a while to figure out what to do (I guess I'm not the only one)
Click to expand...
Click to collapse
if you look on the site there is a video I made showing how to add games
Badcam3 said:
if you look on the site there is a video I made showing how to add games
Click to expand...
Click to collapse
Right I somehow missed that...
Well, in that case you have to move the button (or add a description) so that everyone can easily find it
EDIT: Do you have a PayPal account - because I'd really like to support your work...
DominikZ said:
There is what you have to to to create a GameList.
Afterwards - Upload your "Covers" and "Roms" folders to a webserver, as well as the GameList.xml
Then just enter this URL in the Game Settings. Et voliĆ .
Click to expand...
Click to collapse
Thanks...tried the Gamelist and added some roms... I have now ready the 3 files you said....
but didnt understand what you really meant when you said of uploading it to a "webserver"....you mean ...megaupload/rapidshare...and that sort of?...
or...is it another thing?
sorry for my poor knowledge on the subject...
new to this world
Thx!
You'll need a real webserver where you can access those files. So Rapidshare, e.g. is not an option.
Just wondering, what does the little Floppy Disc button do on the Individual Game page? It's greyed out for all of my games.
DominikZ said:
Right I somehow missed that...
Well, in that case you have to move the button (or add a description) so that everyone can easily find it
EDIT: Do you have a PayPal account - because I'd really like to support your work...
Click to expand...
Click to collapse
We currently do not but that is a good idea . If we do make one I will be sure to contact you XD
I have an issue with the GameList.xml.
I created it with "GameListCreator", then I redirected "GameList.xml", "Roms" and "Covers" with HFS (HTTP File Server), shut off the Firewall, pointed to the URL of the XML but I obtained the following error :
"Can't load the game List ! The format of the GameList is not valid !
NullReferenceException"
I tried your GameList.xml but I have the same issue.
So I tried to replace "Roms\" by "Roms/" and "Covers\" by "Covers/" in the xml file, unfortunately nothing change
Thanks for your work and help
love the website! amazing silverlight
gonna try the emu soon, much appreciate your work!
keep it up!
Someone needs to post the instructions because i don't know what to do

[Tutorial] Sense 3.0 Custom Lock Ring Kit

Due to the volume of requests I've had to make a tutorial on custom lock rings, I've finally made the time to go ahead and do it! Introducing the Custom Lock Ring Kit!!! Everything you need is included in the .zip file, all you have to do is follow the instructions on the video! Now get out there and BE CREATIVE!!!
Tutorial Video
What you'll need:
Lock Ring Kit
Your own custom .png file sized to 271 x 270 px
A Windows machine, and basic knowledge of the Windows command prompt(Don't panic, you don't have to know much)!
A creative mind!!!
Reserved For Future Use!
Nice some tutorials, would much rather learn how to make my own. Thank you for this.
nicely done. Definitely better than the jibberish instructions I put up lol
jmaher, just wanted to point out your thread title says LICK ring kit. Lol. Anyways, thank you for this tutorial. I was wanting to make a request but seen you mention you had alot of requests to fulfill. Now I can try to do my own with your tutorial. Thank you.
Nice thx
Sent from my ADR6400L using XDA Premium App
3|Saint|5 said:
jmaher, just wanted to point out your thread title says LICK ring kit. Lol. Anyways, thank you for this tutorial. I was wanting to make a request but seen you mention you had alot of requests to fulfill. Now I can try to do my own with your tutorial. Thank you.
Click to expand...
Click to collapse
You mean you don't have a lick ring for Sense 3.0? lol!!! Thanx for pointing that out!
Not to be picky, but your process is slightly over-complicated. All one needs to do to change the lock ring is open fusion.apk in m10 tools, open Original/drawable/shared.m10 with "decode images" checked, hit the drop-down arrows to get to textures, right click one of the textures on the right to open in explorer, find and replace the lock ring with new one of the exact same filename (of the exact same size image size as well).
Same must be done in lock_ring_motion m10 in idlescreen_Base.apk (much easier since it is the only drawable in the folder).
The thing that sucks about decoding and theming m10 files is that the m10 files never decode the same way twice. This means that the images' filenames are different every time you decode the m10 files. Luckily the lock ring is a unique image in the apk making it fairly easy to identify and replace.
happimeal said:
Nice some tutorials, would much rather learn how to make my own. Thank you for this.
Click to expand...
Click to collapse
If you know how to make your own images, just make one in whatever image editing software you use and save it, then replace the lock ring with your new image. The only rule is the image must be sized at 271 x 270 or it won't work.
mb02 said:
Not to be picky, but your process is slightly over-complicated. All one needs to do to change the lock ring is open fusion.apk in m10 tools, open Original/drawable/shared.m10 with "decode images" checked, hit the drop-down arrows to get to textures, right click one of the textures on the right to open in explorer, find and replace the lock ring with new one of the exact same filename (of the exact same size image size as well).
Same must be done in lock_ring_motion m10 in idlescreen_Base.apk (much easier since it is the only drawable in the folder).
The thing that sucks about decoding and theming m10 files is that the m10 files never decode the same way twice. This means that the images' filenames are different every time you decode the m10 files. Luckily the lock ring is a unique image in the apk making it fairly easy to identify and replace.
Click to expand...
Click to collapse
I haven't been able to get the m10 editor gui to work properly. This method has proven to be sound for me. I have tried to make it as painless as possible for the avarage user where all they have to do is plug their image in and encode the files instead of having to search the out themselves. Another reason for my method is being able to encode multiple files in one session. Also, I have found that decoding m10 files using the command line, the file names are the same each time. Thanx for the input though!
Sent from my ADR6400L using XDA Premium App
I am trying this and cannot get the C:\, I can only get C:\Users.
Any help will be appreciated.
Thanks,
HoosierRealtor said:
I am trying this and cannot get the C:\, I can only get C:\Users.
Any help will be appreciated.
Thanks,
Click to expand...
Click to collapse
try cd.. agian and you should get c:
I keep getting error no such file or directory
I did it right the first time but windows 7 didn't asked if I wanted to replace the old .png file tried again and now I can't get it to work at the command port
My ADR6400L is just as good as your PG86100.
HoosierRealtor said:
I am trying this and cannot get the C:\, I can only get C:\Users.
Any help will be appreciated.
Thanks,
Click to expand...
Click to collapse
just type "cd.." again
my problem is even though I saved the unzipped file directly to the c: it cannot find the path...
c:\>cd lock ring kit\m10 tools
"the system cannot find the path specified"
is what shows up
any help would be great thanks!
t!g3rbl00d said:
just type "cd.." again
my problem is even though I saved the unzipped file directly to the c: it cannot find the path...
c:\>cd lock ring kit\m10 tools
"the system cannot find the path specified"
is what shows up
any help would be great thanks!
Click to expand...
Click to collapse
Open up "my computer" or on vista and win7 "computer" then open ur c: drive and make sure that the folder is there. Or from the command prompt cd.. until it only has C:\> then type dir/w and look for the directory there. If you can't find it using one of those methods, try unzipping the lock ring kit file again.
Sent from my ADR6400L using XDA Premium App
nativi said:
I keep getting error no such file or directory
I did it right the first time but windows 7 didn't asked if I wanted to replace the old .png file tried again and now I can't get it to work at the command port
My ADR6400L is just as good as your PG86100.
Click to expand...
Click to collapse
In vista and windows 7 don't put the .png when renaming the files. Vista and 7 both automatically keep the file extension intact so you end up with filename.png.png.
Sent from my ADR6400L using XDA Premium App
jmaher bruh it works great. Thanks Donation Sent.
nativi said:
jmaher bruh it works great. Thanks Donation Sent.
Click to expand...
Click to collapse
Very much appreciated! Thanx!
Sent from my ADR6400L using XDA Premium App
jmaher1023 said:
Very much appreciated! Thanx!
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
Not much. But trying to close on a house and move, paint. But thanks a lot for taking the time to make a video for us. Now if I could do a better job editing pictures using gimp. But again thanks.
My ADR6400L is just as good as your PG86100.
Any chance of a tutorial or guide on how to actually make the rings in gimp? would be awesome!
Nevermind I figured it out

Any comprehensive icon set that looks like this...?

I'm basically looking for transparent/ glassy looking icons. Someone on another forum linked me to the following site:
http://icons.mysitemyway.com/category/3d-transparent-glass-icons/
Stylistically, that's pretty much exactly what I'd like them to look like. The problem is, those are mostly generic icons, rather than ones made specifically for apps. Does anyone possibly know of a comprehensive icon set that looks like this, for Android apps?
Glasklart is the closest I know of.
That's what I'm using now, yeah, but I want something without a border, where the icons, themselves, are transparent and glassy-looking.
mrw1215 said:
That's what I'm using now, yeah, but I want something without a border, where the icons, themselves, are transparent and glassy-looking.
Click to expand...
Click to collapse
http://tutorials.mysitemyway.com/premium-psds/
here are the psd files for this set, so now you can create any icons you want with this look
picard666 said:
here are the psd files for this set, so now you can create any icons you want with this look
Click to expand...
Click to collapse
Hm. Well, I don't have Photoshop, I use GIMP, so I don't know how (or if I even can) make that work. There is a GIMP .pat file in the zip of the download, but GIMP won't recognize, it for whatever reason; it keeps giving me an error when I try to access it.
mrw1215 said:
Hm. Well, I don't have Photoshop, I use GIMP, so I don't know how (or if I even can) make that work. There is a GIMP .pat file in the zip of the download, but GIMP won't recognize, it for whatever reason; it keeps giving me an error when I try to access it.
Click to expand...
Click to collapse
actually i think the pat file is a photoshop pattern file, but you can open the psd file in gimp as well
picard666 said:
actually i think the pat file is a photoshop pattern file, but you can open the psd file in gimp as well
Click to expand...
Click to collapse
Ah. Just tried that, but not really sure what to do from there... When I go in GIMP, click File>Open, and choose the psd file, it's just a few layers (with "etc" in large text), covered up by a large black rectangle.
then probably you'll need photoshop for full support. sorry

Categories

Resources