[Q] App Creation. - Xperia Play Q&A, Help & Troubleshooting

I was wondering if any of you were talented at creating an app, would mind assisting me in the creation of a app. I have the idea, and I know what I need and want it to do, I just have no idea how to create an app. The tool I use to use to create is down, untill sometime early 2012. So what I need is someone to.create it for me, you can take all credit for it, just a small thanks or a mention of my name in it is all I need. Pm me if anyone is interested.
XperianceIT
sent from my Xplay R800X, using XDA App!

Shameless bump.
Also did some checking around i found Eclipse and I have SDK, and JRE, but I have no flippin clue what the hell to do!
I know we have some app creators out there, little advice, something, anything.... thanks.

XperianceIT said:
Shameless bump.
Also did some checking around i found Eclipse and I have SDK, and JRE, but I have no flippin clue what the hell to do!
I know we have some app creators out there, little advice, something, anything.... thanks.
Click to expand...
Click to collapse
Tell us what it needs to do if you can give us an idea someone might feel more comfortable then
Sent from my R800x using XDA App

odst0016 said:
Tell us what it needs to do if you can give us an idea someone might feel more comfortable then
Sent from my R800x using XDA App
Click to expand...
Click to collapse
What i want it to do is to change the Carrier Name on the notification bar. I know how to do it all by hand, but i think it would be nice to turn it into a app. So the app would need to be able to access the eri.xml and be able to modify .xml, particularly the carrier name, then save it. So if the app had a screen where you could type in your carrier name, it can search the xml for a match, then it would have another box below that or something with what you want to change it to, then it replaces it and saves it. The app would also have to have some sort extraction, xml editor, and a repackage ability. There are a few apps i currently have that each individually can do 1 part of it, such as Ninjamorph for the extraction and reassembly, havent found a good xml editor yet, tried HEX Editor, it can modify but it does it in a way i currently dont understand.
So thats basically the jist of it, the other thing is it would only be able to work on CDMA devices, since i havent figured out how to change the carrier for GSM yet.

Related

Just wanted to know if themers

Have gotten their hands on dxtop. What obstacles and new challenges might it posses?
this is very interesting, good find.
I never heard of this before. This will allow me to build a digital clock widget to give my fadetoblue theme more of a TouchFlo3d look. Thanks!
Thats sick works well but if you have a theme installed it wont read the launcher from the theme so the stuff in the Luncher.apk from the theme wont show up clock,google search bar and stuff like that. Great idea and if themes can be installed with this its going to be bad a$$.
just bought it
Lovin it!
One of the best apps so far!
if you download the apk couldnt you just replace and theme the elements in that and upload it? or is that not something that could be done? i understand that you couldnt redistibute it, but for your personal use no? i opened it up and it looks similar to the launcher...just a thought
doooshty said:
if you download the apk couldnt you just replace and theme the elements in that and upload it? or is that not something that could be done? i understand that you couldnt redistibute it, but for your personal use no? i opened it up and it looks similar to the launcher...just a thought
Click to expand...
Click to collapse
That was my understanding. In fact, didn't you do this to the demo version randumaccess?
Beast84 said:
That was my understanding. In fact, didn't you do this to the demo version randumaccess?
Click to expand...
Click to collapse
well it would be easier if the developer got together with Jesusfreke and make it into a big update and incorporated the app as the home screen for a small donation type thing? I would pay again for a update like that then the sky is the limit with themes for this.
yeah i updated the elements like in the normal launcher by the way and resigned the whole app. people would have to know how to put the elements in the app themselves after purchase... not for amateurs. would like to see someone pull off some way to do it easily though.
so randum, does that mean you already have a theme for it?
rickyteddyb said:
so randum, does that mean you already have a theme for it?
Click to expand...
Click to collapse
that means i can do it, and i am working on one as soon as we figure out how to do it without pirating the app, it will be released.
Randum, you the man. I don't think baron would mind. Just ask him.
RandumAccess said:
well it would be easier if the developer got together with Jesusfreke and make it into a big update and incorporated the app as the home screen for a small donation type thing? I would pay again for a update like that then the sky is the limit with themes for this.
yeah i updated the elements like in the normal launcher by the way and resigned the whole app. people would have to know how to put the elements in the app themselves after purchase... not for amateurs. would like to see someone pull off some way to do it easily though.
Click to expand...
Click to collapse
Thats a damn good idea about the update with him & JF. Have they met!? Someone needs to introduce them! Haha
RandumAccess said:
that means i can do it, and i am working on one as soon as we figure out how to do it without pirating the app, it will be released.
Click to expand...
Click to collapse
And as far as pirating the app, thats gonna be hard. Its not the actual update.zip your modding, its his apk which could prove to be troublesome. Maybe there's a way to get everyone together who has purchased it & they can share the themed versions??? Just an idea
How do you sign the .apk after you edit it doesn't work with the .apk resign tool.
manup456 said:
How do you sign the .apk after you edit it doesn't work with the .apk resign tool.
Click to expand...
Click to collapse
well i signed the demo with no problem, but i am having a problem with the paid version... cant seem to sign it correctly
there should be a meta.inf file in it that you need to remove to resign it so it takes the test keys. Why not just send baron a pm and talk to him? One idea would be to give him the themes to release through his website.
I asked him about whats been talked about here this is what he said.
Quote:
My first implementation of themes will be to look on the sdcard for the assets in the same directory structure and filename that they are found in the dxtop.apk.
Something like this: /sdcard/dxtop/theme/res/drawable/clock_dial.png
or
Something like this: /sdcard/dxtop/theme/res/drawable-land/tray_handle_normal.png
Then i asked him this,i hope it could be done.
Quote
O.k i got you so this would solve the problem i love this app bro very cutting edge,hey i have another Q: off topic if you can make your app look for those folders could a app to install themes be created using this format you have come up with or maybe even have it install a whole update.zip?.
If this can be done my whole world will change.
Original Thread: http://dxtop.wikidot.com/forum/t-135037/help-theme-creators
I would love it if we could change themes without having reflash everytime.
He said he going to try to make that happen but he needs to work on it more.

Is it ok to post free apps that you have modded?

Well I have a couple apps that I am modding to my liking. I'm modding the actual apk file itself. Is it ok to post them when finished, or could that be an issue
If they are free I don't see why not.
Free does not always equal open source or give you the right to distribute.
You should email the developer to make sure.
I just figured it would get deleted by a Mod due to the fact it wasn't my work originally. I got a couple I know people will like.
Fancy Widget, working on a clear Pandora (couple versions actually), and Some more that I come across.
ViViDboarder said:
Free does not always equal open source or give you the right to distribute.
Click to expand...
Click to collapse
Right that what I was thinking.
ViViDboarder said:
Free does not always equal open source or give you the right to distribute.
You should email the developer to make sure.
Click to expand...
Click to collapse
I second this. An e-mail to the dev would be the best idea.
Wonder how Pandora would respond to a bad grammer, spelling, and sounding email? Hey look at this email this no body actually thinks we will give him permission to distribute our program, just changed to his liking. haha
enragedpaza said:
Wonder how Pandora would respond to a bad grammer, spelling, and sounding email? Hey look at this email this no body actually thinks we will give him permission to distribute our program, just changed to his liking. haha
Click to expand...
Click to collapse
Haha, post it here and I'm sure we can proof read it for you.
Pandora was only a small start-up not too long ago. Although I think your chances are VERY slim on getting them to give you permission to redistribute their APK. Think about it, what if you started putting in a virus and everyone blames it on Pandora?
If you have a clear theme you want people to use, you're probably better off packaging something yourself that requires users to download the official APK for Pandora and modify the contents themselves.
What I just described is pretty common practice as it puts the modification of the content in the end users hands which is (arguably) within their rights.
So posting a zip of some original images (not modified versions of theirs) and instructions on downloading their APK and making the modifications is the safest way to do it.
ViViDboarder said:
Haha, post it here and I'm sure we can proof read it for you.
Pandora was only a small start-up not too long ago. Although I think your chances are VERY slim on getting them to give you permission to redistribute their APK. Think about it, what if you started putting in a virus and everyone blames it on Pandora?
If you have a clear theme you want people to use, you're probably better off packaging something yourself that requires users to download the official APK for Pandora and modify the contents themselves.
What I just described is pretty common practice as it puts the modification of the content in the end users hands which is (arguably) within their rights.
So posting a zip of some original images (not modified versions of theirs) and instructions on downloading their APK and making the modifications is the safest way to do it.
Click to expand...
Click to collapse
Yeah I know they wouldn't give me permision haha. I don't know how to even create a virus. But your point is clear to me. So my easy install of clear Pandora will just sit in a folder for personal use.
enragedpaza said:
Yeah I know they wouldn't give me permision haha. I don't know how to even create a virus. But your point is clear to me. So my easy install of clear Pandora will just sit in a folder for personal use.
Click to expand...
Click to collapse
How about posting a not-do-easy install?
Sent from my EVO 4G using the XDA App.
I've never looked into the structure of apk files but I thought it was compiled code? How are you modifying it?
ViViDboarder said:
How about posting a not-do-easy install?
Sent from my EVO 4G using the XDA App.
Click to expand...
Click to collapse
Lol meaning? Or I could look into metamorph.
Sent from my PC36100 using XDA App
Minjin said:
I've never looked into the structure of apk files but I thought it was compiled code? How are you modifying it?
Click to expand...
Click to collapse
I'll let you know when I'm on my pc.
Sent from my PC36100 using XDA App
i've seen plenty of roms that have pandora (themed) included. would what you're wanting to do be any different?
i've even seen an "adless" version of pandora floating around somewhere before.
madsquabbles said:
i've seen plenty of roms that have pandora (themed) included. would what you're wanting to do be any different?
i've even seen an "adless" version of pandora floating around somewhere before.
Click to expand...
Click to collapse
All I wanted was a transparent Pandora. I made every widget 50% transparent. I know there is metamorph and there is a theme/skin floating around that will do it. But, I dont like having to go through the process of downloading Metamorph, download this, download that. Just wanted to have it as a apk. I haven't used Metamorph since nexus one sold it 2 months after buying it. Might have changed since then, but it used to fail on doing some skins.
you should just make the theme, and let people morph it themselves. a theme is not the same as distributing the application.

"How to" Edit Swype Keyboard

First off, I take no credit in doing this, this is meant to help people if they want to try it. And I am only making thread at request of others members.
If you break your phone I am not responsible, if you have questions though I am more than willing to help as much as I can but this was the first project I did.
There may be easier ways to do this but this is how I did it. If there is, feel free to comment the other ways!
I would like to say thanks to maddoggin and illinois08 for there help in getting mine figured out!
Requirements:
winrar (this is what I prefer but you can use any of your choice)
Original Swype.apk (included in thread and swype needs to be already installed)
image editing software (I personally used gimp and coreldraw) and experience in them.
common sense
What you are actually changing:
To change the look of swype is fairly simple, meaning all you are changing is some .png files in the apk itself to whatever you want them to be.
The only downside is trying to make sure the letter spacing is correct. That is the reason I used coreldraw first to do the spacing and then the background with my flames was in gimp.
First Step:
Using winrar (7zip, etc) open up Swype.apk (I placed on desktop for easier use).
The first folder should say assets. Open up assets. After you open assets, there should be a folder named keyboards. Drag the keyboards folder to desktop.
Once you open the keyboards folder, you will see multiple image files. You have found the files we need to edit! Make sure every png stays in there even if you decided not to edit one of them.
Files SwypeRef_LS_Blue_Shifted_WVGA.png (LS is landscape keyboard) through SwypeRef_PT_Standard_wBlue_VGA.png (PT is portrait, most important for me)
I only edited 4 of the images because these are the main 4 I use and don't use landscape. If you wish you can edit all of them or just 1 .
Second Step:
Using Gimp/or CorelDRAW, you will need to make new images that are 480x320 pixels. At this point, it is totally up to you to get the placements correct and make the image how you want it displayed.
I personally imported the images I was editing to Corel, and basically started a fresh one on top of it so I could get the letter placements correct. You need to make sure when you are done that the image is still 480x320 with the letters not being the end of the size. I made an outline that was 480x320 and placed the letters inside and exported the image that way so it stayed the right size. I would also try to keep the images around 50 kb because mine are around 90 and you noticed some lag when it switched between pngs...
As you are exporting your images, make sure to name them their appropriate names (shifted, capitals, lower case, etc.) which makes it easier to rename them after wards.
Third Step
Once you have all of your images done how you want, I would place them all in their own separate folder.
Now, you will need to open the keyboards folder from earlier and match the images you edited to where they go in "keyboards" and rename your files to the appropriate name and delete its' counter part. Meaning make sure only your image is in keyboards with it renamed to what mode your png represents. And make sure the folder contains every png it did before. They all serve a purpose.
After you have removed all the old pngs and replaced with your renamed images, you will need to open Swype.apk back up and go to assets-> and delete the original keyboards folder. After deleting, move your keyboards folder with your images under assets.
Swype is now edited with your keyboards how you want them!!
Fourth Step:
The only thing left is either adb push Swype.apk to system/app or place on sd card and install with astro,ez,etc.
Another way that is very easy and the way I do it. If you are using a theme, open up on your desktop with winrar. Go to folder system/app and place Swype.apk in app folder. Now flash from recovery and your new and improved swype is ready for action.
I have attached what I made mine look like. Some people may not like how basic it looks and how some of the things are not sized or off correctly but I like it and it works!!
I also added a picture of my custom dropdown which I made in Gimp. If you would like to know how to do one like this send me a PM.
And if you have any questions, feel free to ask. I may not be the best at explaining things thoroughly !
I have been getting a lot of PM asking how to edit swype ...
Are my instructions to complicated? If so, let me know and I will try to revise them a bit and sorry!
Nah it's cool man. I mean i get it. idk about everyone else. I haven't got around to trying it yet but this lets me know what to expect.
Ok well that is good! Thanks for the reply...
I hope that post didn't come off as rude, if you sent me a PM I more than willing to help everyone! I just wanted to make sure it wasn't bad instructions ...
Dude this is really nice, I like how you changed the letters to diferent font. Nice job! You should make some more!
Sent from my SPH-D700 using XDA Premium App
Thanks man! Like I said since this was my personal one I didn't go all out and it was kind of sloppy but it suits me fine.
I was thinking about it but not sure what people would want! If some people gave me some ideas of what kind of background or font, I would have no problem making it for them.
Now that I know how to do it (with your help) it won't be as painful as before, just time consuming.
I'm not a user of Swype but I certainly commend the effort that you put into this. It came out great.
stir fry a lot said:
I'm not a user of Swype but I certainly commend the effort that you put into this. It came out great.
Click to expand...
Click to collapse
Thank you!
This is GREAT!! Thank you for putting this together.
Your are welcome! Let me know if you have any questions!
Just so everyone is clear, the Swype.apk attached to post is the original swype, not my customized one . Because that is what you have to edit.
Just so no one gets confused.
Thank you for this help. I've wanted to be able to change the way mine looked but have been stuck trying to find someone else's work that suited. I've just started modifying mine and what I've got looks awful but that's because I need to learn how to utilize the imaging programs better. I'm sure I can get it and thank you again for the starter.
ficjay said:
Thank you for this help. I've wanted to be able to change the way mine looked but have been stuck trying to find someone else's work that suited. I've just started modifying mine and what I've got looks awful but that's because I need to learn how to utilize the imaging programs better. I'm sure I can get it and thank you again for the starter.
Click to expand...
Click to collapse
Awesome! Im glad it helped you! Im sure you will and hope you share with us the finished product!
Sent from my SPH-D700 using XDA App
jkrough0728 said:
First off, I take no credit in doing this, this is meant to help people if they want to try it. And I am only making thread at request of others members.
Click to expand...
Click to collapse
Im thinkin that pull needs a lil animation......
D
jkrough0728 said:
I have been getting a lot of PM asking how to edit swype ...
Are my instructions to complicated? If so, let me know and I will try to revise them a bit and sorry!
Click to expand...
Click to collapse
I haven't tried yetyet but I get It fine... great job
Sent from my SPH-D700 using XDA App
Worked great on my3VO thanks.
Anyone have a link to the nexus s4g version
I want to edit my swype to look like that
Sent from my SPH-D700 using XDA Premium App
I forgot all about this thread lol
I just edited my 3D's swype today because of you guys posting on it and it made me think to do that so thank you
jkrough0728 said:
I forgot all about this thread lol
I just edited my 3D's swype today because of you guys posting on it and it made me think to do that so thank you
Click to expand...
Click to collapse
I just themed one today. HOLY CRAP IT'S NOT EASY!
shane6374 said:
I just themed one today. HOLY CRAP IT'S NOT EASY!
Click to expand...
Click to collapse
I know it can be a pain sometimes... Really depends if you want different font that is the hardest thing ever lol
sent from my Evo 3D from xda app

[Q] Editing APK

So I've been looking thru all the forums trying to find a similar instance but I cannot. I want to edit the SGS2 Digital Clock widget to where if you touch click it, it will open up the TW Clock Package app. I'm not a programmer or developer, but I know this can be done because I've been using the Weather and Clock Widget from the market and it does exactly this. If I touch click the clock portion of the widget it will open up the clockpackage.apk. It can even be customized to open up a different apk. Now I've searched thru some of the xml files trying to find the lines of code that enable such a feature but with no luck. Anyone willing to help me on this or point me in the right direction, I would appreciate it.
radugb out
radugb said:
So I've been looking thru all the forums trying to find a similar instance but I cannot. I want to edit the SGS2 Digital Clock widget to where if you touch click it, it will open up the TW Clock Package app. I'm not a programmer or developer, but I know this can be done because I've been using the Weather and Clock Widget from the market and it does exactly this. If I touch click the clock portion of the widget it will open up the clockpackage.apk. It can even be customized to open up a different apk. Now I've searched thru some of the xml files trying to find the lines of code that enable such a feature but with no luck. Anyone willing to help me on this or point me in the right direction, I would appreciate it.
radugb out
Click to expand...
Click to collapse
That would require that apk's source code, reverse engineering, programming experience, and a recompile. You could try looking up on how you'd go about decompiling apks? I'm also betting that you'll need android sdk, or at the least, Eclipse equivalent programming software for programming.
Sent from my SPH-D700 using XDA App
Wow. Thats a lot more work than I thought it would be. Probably best to leave it to the professionals.
radugb said:
Wow. Thats a lot more work than I thought it would be. Probably best to leave it to the professionals.
Click to expand...
Click to collapse
Since its something as simple as making a widget 'clickable' for launching a different app, I'm sure there's pre-made program templates of some sort made by other devs who have such function, the issue at hand would still be the same though.
Sent from my SPH-D700 using XDA App
Yeah I figure since it was more a widget question than an app submission I'd better post it in the Q&A forum.

Different sound for Nfc.apk

Hello there!
I've been searching high an low for this, and can't seem to find a way to solve this: the sound the phone makes when detects an NFC tag is annoying! I know it is stored inside Nfc.apk and I tried (unsuccessfully) to modify that apk, but... would it be a way to modify it, maybe even easily, through the Xposed framework?
I'm no developer but I'm willing to put all the necesary information together and try to do it myself.
So please help me out here!
daniel_loft said:
Hello there!
I've been searching high an low for this, and can't seem to find a way to solve this: the sound the phone makes when detects an NFC tag is annoying! I know it is stored inside Nfc.apk and I tried (unsuccessfully) to modify that apk, but... would it be a way to modify it, maybe even easily, through the Xposed framework?
I'm no developer but I'm willing to put all the necesary information together and try to do it myself.
So please help me out here!
Click to expand...
Click to collapse
Hi Daniel,
If I remember it right this is quite easy
Have a look at your NFC.apk (/system/app/) and change the standard sound files (/res/raw/start.ogg and /res/raw/end.ogg) to something silent ...don´t forget to backup your nfc.apk first ..
To make it short and clear: create a silent start.ogg and a silent end.ogg file and swap these files with the standard files within the NFC.apk....
Sent from my Nexus 7 using XDA Premium 4 mobile app
I've done just that and, for whatever reason, Nfc.apk keept on crashing afterwards. I might have done something wrong, dunno...
daniel_loft said:
I've done just that and, for whatever reason, Nfc.apk keept on crashing afterwards. I might have done something wrong, dunno...
Click to expand...
Click to collapse
Hmm, are your .ogg files working ?
Not sure if you could have something else done wrong, but this method was discussed several times here on xda... So, perhaps have a look via search if someone else had the same issues.
... Sent from mobile...
Really? I know it seems like your just tweaking an app, but systemically you're pirating someone's app, changing it, and expecting it to work. You'll need to re-sign it, at least (look for that).
Janis said:
Really? I know it seems like your just tweaking an app, but systemically you're pirating someone's app, changing it, and expecting it to work. You'll need to re-sign it, at least (look for that).
Click to expand...
Click to collapse
Pirating someone's app by changing sound files in nfc.Apk? Are you serious? Have you read and understood the thread ? Nfc.apk is part of the firmware of your device ... NOT SOMEONE'S APP.
I think I know the difference between a firmware tweak and pirate apps pretty good, because a lot of people trying to pirate my apps every day and I wouldn't support any pirating.
Sent from my GT-I9300 using XDA Premium 4 mobile app
ascsa said:
Pirating someone's app by changing sound files in nfc.Apk? Are you serious? Have you read and understood the thread ? Nfc.apk is part of the firmware of your device ... NOT SOMEONE'S APP.
I think I know the difference between a firmware tweak and pirate apps pretty good, because a lot of people trying to pirate my apps every day and I wouldn't support any pirating.
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes, it came with your phone, but really, it is technically software (perhaps by an older definition), and someone, though on a time-clock, sat at a keyboard and punched it all in. You might be surprised how much freer a development environment we'd have if people started respecting the big, bad corporations much like they do individual developers. Ten years ago M$ eased up after a crack-down when they saw what was going on, for real, on XDA. I just think it's crap that there's a signing process in place to make swapping out a sound file that much more difficult, but you make my point really well. It needs to be there. What it gets down to is where you draw the line on what's pirating and what's not, and without that line being "as soon as the app is altered at all," we end up with a lot of fuzziness. So yeah, decompile, resign. Huge hassle to figure out how to do that the first time.
Janis said:
Yes, it came with your phone, but really, it is technically software (perhaps by an older definition), and someone, though on a time-clock, sat at a keyboard and punched it all in. You might be surprised how much freer a development environment we'd have if people started respecting the big, bad corporations much like they do individual developers. Ten years ago M$ eased up after a crack-down when they saw what was going on, for real, on XDA. I just think it's crap that there's a signing process in place to make swapping out a sound file that much more difficult, but you make my point really well. It needs to be there. What it gets down to is where you draw the line on what's pirating and what's not, and without that line being "as soon as the app is altered at all," we end up with a lot of fuzziness. So yeah, decompile, resign. Huge hassle to figure out how to do that the first time.
Click to expand...
Click to collapse
Nope, I don´t think you got my point. You said "systemically you're pirating someone's app"...And that´s the point I do not agree. And I don´t draw a line between big corporations and individual developers. Pirating has nothing to do whether it´s some big bad corporation or a small independent developer, it only depends on the licensing model and btw. Android is open-source.
I don´t know if someone is running an asop rom or a heavy customized manufacturer rom... however the stock nfc.apk "someone, though on a time-clock, sat at a keyboard and punched it all in" was build with open source in mind, so changing some sound files within the nfc.apk and pirating (e.g. changing copy-right protection and use a paid app without paying ) is something completely different for me ...even if you have to use the same methods to achieve this ...

Categories

Resources