Need help making a simple app - General Questions and Answers

I need a simple app made but not sure where to start. I want the app to have text explaining how the buttons work, one that says delete file and one that says replace file, i want it to delete a file in a certain folder on one button with a yes or no as the pick b4 doing so, and then another button that allows me to put a new file that is edited back into the folder with the same yes or no option, similar to how the trashcan button works on the new droidadmin app, but make another button that replaces the file in the same folder with a different file that i already have. not sure how easy this is to do. but if someone could help me figure it out that would be great, not sure where to even start on to make this work. any help or advice would be great. feel free to private message me on here as well.
thanks
also if more info is needed please feel free to ask me

any help would be appreciated

Related

missing file issue?

Since I can't post in the q & a forum I am posting here but mods feel free to move it. So I have a wm6.1 device and a Mac computer and I regularly send files, like cab and music files with out an issue. However, today I noticed that I send a music file like usual and the file is no where to be found on the devices however space about the same size as the file is being taken up. So I send another two files(one music and one cab file) with out an issue at all. Then later on I send a cab file, but I don't see it on the device even though space is being take up. This may have happened prior to this, but I didn't realize it or something. So how can A) regain that space by deleting those files not showing up, or B) find the files that are not showing up and use them as I intended to. I am loosing space because of this. Option of last(and I mean last) resort is a hard rest which I don't like to do. Thank you....
yrsmart said:
Since I can't post in the q & a forum I am posting here but mods feel free to move it. So I have a wm6.1 device and a Mac computer and I regularly send files, like cab and music files with out an issue. However, today I noticed that I send a music file like usual and the file is no where to be found on the devices however space about the same size as the file is being taken up. So I send another two files(one music and one cab file) with out an issue at all. Then later on I send a cab file, but I don't see it on the device even though space is being take up. This may have happened prior to this, but I didn't realize it or something. So how can A) regain that space by deleting those files not showing up, or B) find the files that are not showing up and use them as I intended to. I am loosing space because of this. Option of last(and I mean last) resort is a hard rest which I don't like to do. Thank you....
Click to expand...
Click to collapse
get a good file browser and search for the missing files. You may want to use a wild card search (*.cab,*.mp3)
if you still can not find them look in the folders in /Windows and /Temp or or equivalent on the device
well i am using total commader so I dunno how good that is or not. Not to mention I have done what you suggested and even searched for files added with in the last 3 days and nothing on all fronts but yet the sapce is being taken up by something that I can't seem to find on my device. Memory maid was no help either(granted I only did a clean up). But thank you.
have you tried using the default file explorer?

Need names of default files on htc

I accidentally erased a name of a file using total commander and can't undo myself.
My files show:
//Plugins
Application Data
ConnMgr
Content
Documents and Settings
Music
My Documents
Programs
Storage Card
Temp
Windows
and "wrong name because I deleted it" (in the folder is Manilla_20100401....)
Can someone please let me know what that file name should be? Most of my programs won't fully launch now because of it.
Thank you for your help.
Michael
Just hard reset your phone. That's always an easy fix that's sure to work
I just had this phone replaced due to warranty and had finished reinstalling lots of items but stupidly hadn't made a backup. I was in fact only opening total commander to make certain it was working when I accidentally deleted the file name. I would hate to hard reset when it is just a single file name that needs replaced .... I hope.
Do you have SK Tools? If so, this is a piece of cake. Open the database tool and export Replstor as an .xml. Open it with notepad on your PC and find the name of the file or folder (and its contents) in the list. There could be a few thousand entries, so it may take a while.
Farmer Ted--I don't find any of my file names from my device in this document. Thank you for the suggestion but I am still at a loss for the original names of the folders under My Device.
If only I knew someone with an HTC Fuze, I could just look on their panel under My Device. Unfortunately, most of my folk are Iphone zealots. Their advice usually involves a different purchase!
Michael
Well, I realized after I posted that if you somehow deleted one of the databases, then it won't show up in replstor, because they're all excluded from replstor. Most of them can't be deleted, though. You should have mxip_initdb.vol, mxip_lang.vol, mxip_notify.vol, mxip_swmgmt.vol and mxip_system.vol. If you're missing one of them, then look in the\windows folder and find the rom version and copy it to the root of the device. It may not have everything it needs in it, though. Just post up if you're missing one, and I can probably tell you how to fix it (well, maybe, lol).
Thanks FarmerTed, I'll give it a go as soon as I understand what it means! Just to clarify, I didn't delete any files. I renamed it. Not on purpose. These are just the basic files under My Device.
I've renamed stuff before, too. The best thing to do if you catch yourself is to delete the entire name, then highlight another file. The messed up file will go back to the original name.
shoot. doesn't work. It would have if I would've done that in the first place though, so that is good to know.

Custom sounds [for any rom]

Hey all, this is my first post here, but I've figured out a way to get custom sounds on ANY ROM imaginable. It requires ROOT access, which if you need assistance acquiring root, all you have to do is search here on XDA for it. If it's able to be rooted, it's been done, and there's step-by-step instructions on how to do it.
ANYWAYS, to get custom sounds, i.e. lock, touch, unlock, charge, etc, you need to download a root file explorer. The one I'll be using for this tutorial is Root Browser Lite. It's free, and useful for doing what we need to do.
First of all, I will tell you that I am in NO WAY, SHAPE, OR FORM responsible if you screw up your phone by not following these instructions to the "T."
After you install Root Browser, you'll navigate to system, media, audio, ui, and browse around for the files you want to change. For me, I'm using the Clones|Drones V4 ROM, which is absolutely fantastic. Once you find the sound file you want to change, simply find a clip online, I recommend .WAV or .MP3 format, you rename it to the EXACT file name of your original sound file, including the extension. Make a backup of your existing sound file elsewhere, preferably on your computer. Upload the NEW sound file to your sdcard/usb storage, then eject from your computer.
Here's where it gets interesting. Open up your file browser, navigate to sdcard. At the bottom, you should see your new sound file! Long press on it, select COPY, press the HOME icon IN THE FILE BROWSER, NOT YOUR PHONE, then navigate your way back to system, media, audio, ui.
Once you're back into the ui folder, delete your original file by long pressing and selecting delete. You will need to grant y our file explorer root access to continue. Towards the bottom of your screen, you should see a button labelled Paste Here. You're going to press that, reboot your phone, and voila! Custom sound heaven!
ENJOY!
If I've helped you in any way, feel free to buy me a beer or hit the thanks button. I look forward to any new guides I can post on here, and am up for suggestions!
Thread moved to Android Dev & Hacking
Glad to see that your first post is a very constructive and although quite known already (I still think its great), very helpful and could allow new modders a taste of the rooting world.
Kudos to you!
Sent from my DROID2 using xda premium
Hey, I do my best, and I'm wanting to eventually get into developing, but I'm taking baby steps first lol. Starting with minor tweaks is a good place to begin, IMO. Thanks for the compliment.
Sent from a long time ago, in a Galaxy far, far away.

How To: Remap QWERTY Keys [root]

Hey guys, so this is my first how to for the Photon Q (I just recently got the phone) so don't be too harsh on me.
Maybe I'm crazy, but I was really hoping for a search button on the keyboard, and when I saw the sym button I thought "Well that was convenient! now to remap it!"
So here's how it's done.
-Download a text editor (I use Jota, it's free in the play store) and a root explorer.
-Navigate your way to /system->usr->keylayout and copy the keypad_8960.kl file to your sdcard.
-make a copy of this file as a backup somewhere.
-open your text app, then open the keypad_8960.kl file.
-navigate to key 100, or search for "sym" (minus quotes)
-erase SYM, and write SEARCH.
-Save/close the file.
-Copy the new file back to the keylayout folder and overwrite the old file.
-Make sure the file has rw-rw-r permissions, juuuust in case something got messed up while messing with the file.
-Reboot your phone, listen to some Steve Aoki, then enjoy your sweet new search key!
This was probably listed somewhere else, in which case I must apolamagize, but I searched everywhere for this and couldn't find it, so I did this myself. Still, I take no credit, and simply want to give back to the XDA community. Also, you can search this forum for a thread to get quick launch/hotkeys working, like on the old school G1. (pressing search+ a button to open an app). It's awesome!
Hopefully this helped someone!
**EDIT**
Here's the thread about the quick launch stuff
http://forum.xda-developers.com/showthread.php?t=2189496
good summary.
I think you can edit txt directly with the root explorer, without bothering to install Jota.
Just long click the file you want to edit, and you can see the appropriate option.
palmwangja said:
good summary.
I think you can edit txt directly with the root explorer, without bothering to install Jota.
Just long click the file you want to edit, and you can see the appropriate option.
Click to expand...
Click to collapse
This is true! I always used Jota because of the really nice search function, and because I use a generic free root explorer
Or don't install any apps, and just adb push/pull
At any rate, nicely done. Thanks!
Hi guys, I am using CM10. Is it possible to remap the keyboard in order to let me select text by using shift+cursor (the arrows)? Right now, using shift+arrows just outputs the following characters: <,>,^,|, which I don't need. Before CM10, on stock rom, shift arrow used to let me select letter (shift+left or right arrow), or the whole text towards the left or right (shift + up arrow, shift + down arrow): how do I resume this behaviour in my physical qwerty?
Thanks!
Tony

Windows Shell Ext. For Apk's?

Looking for a simple small windows program that will simply show correct icons for .apk's on my PC
I set a default .ico for all my apk's but something showing the correct .ico for apk's would be great.
Is there one available?
Thanks to anyone replying.
There's got to be something??? anyone?
I remember when I played around with a Nintendo DS I found some type of shell extension that would show .nds games icons...
Was really hoping this was out there for .apk's
Really....no one can answer me on this subject....ugh
Either its a dumbass question and the asnwer is so simple anyone reading it just pass's it up, or noone is understanding my subject...OR theres nothing out for pc to do this...maybe i should make something?
Anything guys...**** give me an answer....even a "hey ceaser shut the **** up" would be somthing
Im talking to myself in this thread
ceaserone said:
Really....no one can answer me on this subject....ugh
Either its a dumbass question and the asnwer is so simple anyone reading it just pass's it up, or noone is understanding my subject...OR theres nothing out for pc to do this...maybe i should make something?
Anything guys...**** give me an answer....even a "hey ceaser shut the **** up" would be somthing
Im talking to myself in this thread
Click to expand...
Click to collapse
Not anymore, i might have a solution for you
first get the image you want to use as an icon and resize it to be EXACTLY 256x256 and in .ico format
then click run in start menu and type regedit
allow UAC if needed
make backup of registry
if you want to just change the icon to know what it is, go to HKEY_CLASSES_ROOT\.apk
if it isnt there, right click on the folder and create new key called .apk
check if the (default) entry is blank, if so, then create a new key in the same place as .apk and call it something.Assoc.APK (not tested)
in the new key, create a key called DefaultIcon, and in that create a REG_EXPAND_SZ and put the full path in quotes of the .ico file
tell me if it doesnt work and include screenshots
Thanks for the reply...whats I actually ended up doing is making an .ico of a droid and basically setting the file extension within windows to use that ico with any apk...thanks for the info above though
ceaserone said:
Thanks for the reply...whats I actually ended up doing is making an .ico of a droid and basically setting the file extension within windows to use that ico with any apk...thanks for the info above though
Click to expand...
Click to collapse
What i said was the proper method, for someone searching for this thread could you tell how you did it
i guess my help was not appreciated

Categories

Resources