android tag editor - android

It is my first time building an android app. Was wondering firstly, if there are demos that exists which could help me to build a media tag editor (form to edit mp3 files).
I would also like to know how to populate the sd card on the emulator.
Any help on android would be good. Thanks all!

When you create your AVD you can tell it how big you want the memory card to be and then you can use DDMS to copy files over to it. There are pretty good explanations on how to do this on the Android website.

Related

How to attach a picture from android gallery into my note app?

I'm developing a simple note app, some kind of diary but I need a function where I click on the "attach" button so I could attach files from internal and external memory from the phone, the files would be pictures and maybe, if possible, video and wav files, all of them together with the text file on the note app, and I would need to save all this in a database, so I would like to know if that is possible and how do I do it , I read about sharing files from apps to apps on android developer site but I got confused, so I would like someone to help if possible, btw sorry for my bad English I'm not a native English speaker and it's my first time asking here, so I would be glad of somebody could help with this.
Hi Leonardo Medina Lango,
You do not need to save whole file in your app's folder. Save only file path to your sqlite database. If you that files in your cloud than sync sqlite database with your cloud server from background service.

Vuforia - Getting Started in Android

Android 2.3.3
I am new to Vuforia and Augmented Reality in particular. So, please excuse me if this is very basic question.
I was able to download and run the sample application from Vuforia on Text Recognition and Image Recognition. Now I set out to create a sample application(Image Targeting) of my own.
Here is what I did ::: Following the steps given in Vuforia
Downloaded the SDK from Vuforia.
Created a Database using Target Manager in the developer console of Vuforia.
Adding a Target - I uploaded an image into the database that i just created. It's an image of letter A.
Updating Targets - skipped this step
Downloading Targets - Selected the image and clicked "Download selected targets" and got a zip file in my system. I extracted it and now i see two files, one is a .dat and another is a .xml file.
Now I have no clue of what to do, from here...
Here is what I wanted to do.. When I scan the Image A with my application, it should show, you have scanned A. That's it - As simple as that.
Can someone tell me what I need to do from here..
I tried searching for tutorials on Android part of vuforia, but I really didn't get any help from web. Please guide me incase you have some links with you.
Thanks in advance!!
Thanks for your quick response Sushil
Edit 1 ::: Okie, I see them in the Assets folder. I will add them in the Assets folder too. Now, can I change the files in the sample application, with my files(that I downloaded) and change the references, to make the sample application work for my files? Is it that simple?
You need to keep those two target image files (.dat and .xml in the assets folder) and then use them in the code.
Check the sample application. You will see .xml and .dat files inside the assets folder

how to use android_asset

I try to make Webview from to display application/x-shockwave-flash embed element in my app, but i have blank gray screen on emulator and white on device. There are many topics about this problem but any1 really solved.
I explore log of simillar app and see: file//android_asset/index.html. So question... this static file or i can get it from web or modify it.
I trying get my data video.loadDataWithBaseURL() from web, but can i have that data from local storage?
Maybe I said something wron but it's look for me like 'convert web data to local'?? Can some one help my in my problem or explain in this question.
Thank you.
file://android_asset/ is a way that allows android apps access assets by a network-based URI. But assets represent neither local nor online files, they are packed into your apk. Put any files in assets folder in a android project and they will be packed into the apk file by the builder.

Simple editor for Android Permissions File

I am new to Android and Eclipse development, but not new to software development in general.
As my first real project, to get over the learning curve, I am modifying the SDK example soft keyboard.
I would like to add a macro capability. So far so good.
I have created a Permissions file to hold the macro string definitions and store that in the getApplicationInfo().dataDir – which turns out to be something like "/data/data/…". I can write then read back a single key-value pair – so I know the file exists. But, I can't see the file using Astro file manager or an FTP program looking at the Device. I have a feeling I may not have the access permissions to view the directory and I don't have root.
I would have liked to edit the macro definitions in this file on a PC and then save it back to the proper location – that would've been the easy solution. I think my other options are to create a simple key-value parameter by parameter editor or somehow use intents to open the file using some already available text file editor. I am guessing the second option will also encounter the file permissions problem.
A third option would be to store the file in some publicly available directory. I tried using a few "get DIR's", but they required a higher level SDK than I was using – I would like to stay compatible with version 6 and below.
Can somebody offer suggestions on how I can edit the key-value pairs or find a public place to create this file? And, where to look to find an example of how to implement the suggestion?
Thanks much,
Barry.
You can save any data in the SD card. Please read the SDK here, where there is a code snippet which may help you.
Try saving the file on your SD card.
http://androidgps.blogspot.com/2008/09/writing-to-sd-card-in-android.html

Android: How to open a file from inside your application

I've done my fair share of searching for tutorials and guides online, but the only stuff I have found is from 2007 and out of date.
I wanted to know how to open a file from within my current application. For instance, if I click a "Browse" button, it will start another activity of a default file browser on the device (I don't have to implement my own, right?). Obviously I would need it to return the file so I could parse through it as I pleased.
I figured it would be some for of Intent binded to the the button, but I'm now sure.
Bad news - there is not a native "file selector". Good news - this guy made one so you don't have to.
Use Environment.getExternalStorageDirectory() instead of hard-coding the directory path to the SD card. There also seems to be a problem with getting the exact SD card directory using Android 3.0 and 3.1. I have a test app that reads and writes fine in Android 2.3.3 but the same piece of code doesn't work anymore (see https://stackoverflow.com/questions/6545478/android-3-1-sd-card-emulation).

Categories

Resources