I'm trying to get my hands on some system string resources in all languages available, where can I find them?
Edit: I'm searching for the xml files in the source code
The source code in the SDK doesn't include resources as far as I know and looked.
When I downloaded the Android Source tree, it kept downloading for hours and hours, it was more than 30GB of project data. Where should I start looking in this jungle of data?
Thank you
Edit:
answered by #zapl he/she gave me the answer I was looking for.
https://github.com/android/platform_frameworks_base/blob/master/core/res/res/values/strings.xml
Thanks to #zapl I got what I needed here https://github.com/android/platform_frameworks_base/blob/master/core/res/res/values/strings.xml
You can find them by programmatically like,
getResources().getString(R.string.yourStringResourse);
Related
I apologize in advance if this question or a similar question has already been resolved, but from my search on this site and others, I have failed to resolve my problem.
As the question title suggest, I wish to store the contents of a *dat file located on an external usb or sd card into a String variable within my main activity for further processing. I am new to java and android app development and only started tinkering a few days ago (I am an embedded design/robotics engineer and only have experience writing firmware in c/c++ for microcontrollers).
Could anyone suggest a way to do this, provide a code example, or provide a link to documentation or a library (or class) that I could use that would simplify things for me? I've been wrestling with this for several hours experimenting with various code snippets from the web. Please explain your response if you can, I am a newbie when it comes to java, app development, and android.
Also, do I need to edit the manifest to permit reading of files? If so, how?
Thanks in advance,
Caleb
I'm trying to really get to know the android source code. I've downloaded what I thought would be the code, but it seems to lack many files that I would have expected there.
I'm looking for the hardware/hardware.c (cpp) file, and the hardware/power.c files.
Does anyone know where I could find some samples of this. Or perhaps where I could find a book on the topic.
I think it's here:
https://android.googlesource.com/platform/dalvik/
See also: Where to get the source to Dalvik?
I'm looking to build an Android app(for learning) that searches for music files in my Android system, based on the ID3 tags embedded within the file. Could somebody please give me some pointers?
Please feel free to correct/seek clarification if my question is incomplete/unclear/not specific enough.
Thanks,
Debojit
Check out jaudiotagger: http://www.jthink.net/jaudiotagger/
I guess you have already stumbled upon MediaStore as part of the Android api:
http://developer.android.com/reference/android/provider/MediaStore.html
in android there is any possibility to getting source file from .apk file.
It is possible. You need a decompiler for that. But be careful to consider the legal issues.
I use Dedexer or dex2jar. Most times there are good results, but sometimes it is not possible to decompile all sources.
Well, normally you can't or shouldn't be able to, but you can try to 'reverse engineer' the apk (as its called) by using android-apktool:
http://ibotpeaches.github.io/Apktool/
I have no experience with the program yet by the way
just go to this tutorial
http://forum.xda-developers.com/showthread.php?t=1108798
i hope it will help u.
all,when i open jumpNote project in eclipse,i encounter some mistakes like the following description.
many variables related with c2dm like
Config.C2DM_ACCOUNT_EXTRA,
Config.C2DM_MESSAGE_SYNC,
Config.C2DM_SENDER etc
****cannot be resolved.****
i uses the latest sdk(2.2).
any one konws the reasons, i think that if i miss some jar files?
any help is grateful.
You need to check out trunk/src.shared and merge it into the src dir of jumpnote. Then clean/build. If it still doesn't work re-import it into eclipse.
Those are just examples of what you can do in your own app, they don't actually exist within the Android API.
There is a Config class if you browse the source code, com.example.jumpnote.android.Config.java