Android :: Extracting Zip / Tgz Files

Jul 20, 2010

anyone knows how to extract zip files/tgz files in Android? i tried Astro File Manager but it does not work.

ADVERTISEMENT

Android :: Extracting Files From APK

Aug 3, 2009

I'd like to extract classes.dex from an APK file. I've tried using aapt, but I can't see an option for extracting the files. When I run the aapt tool without options it prints out the list, dump, package, remove, add and version commands, but it doesn't seem to me like any of them extracts files. Could someone please tell me which options I would have to use to do it?

View 3 Replies View Related

Samsung Galaxy I7500 :: Extracting APK Files From Your Android

Aug 20, 2010

so the story behind this mini-tutorial is that I live with other people that have Galaxies and I upgrade their phones periodically, as part of the upgrade process I have to wipe the phones and a nandroid backup doesn't always work (like if you go from 1.5 to 1.6.3.4) and with the wipe some important things are lost: APN settings, Hebrew fonts, Hebrew Keyboard, etc.I have to install the keyboard, fonts, script utility, etc. every time on every phone; some of these apps are in the market, but to use the market you need to do the setup wizard to add your Google account to the phone. And sine sometimes the owners of the phones aren't around, I need to have the .apk files with the apps I need to install so I can do it without downloading them from the market. Hence, I had to figure out a way to extract the .apk files from my phone so I could install them on theirs. Here's how it's done:Prerequisites:
- Android SDK
- Android USB driver

View 5 Replies View Related

Android :: Extracting Colors From Themes?

Apr 26, 2010

I want to use colors from a Theme to apply it to HTML my app is rendering. I am wondering if I can do that? I am looking to use colors like they are specified in themes.xml: <itemname = " color Fore ground">@android:color/bright_foreground_dark</item> name =" colorBack ground " >@android:color/background_dark</item> <item name ="textColorPrimary" >@android: color/primary_text_dark</item> I get this as a result: I/System.out( 1578): tv.string=null I/System.out( 1578): tv.coerced=#ffffffff I/System.out( 1578): colorResourceId=-1 I/System.out( 1578): tv.string=res/color/primary_text_light.xml I/System.out( 1578): tv.coerced=res /color/primary_text_light.xml I/System.out( 1578): colorResourceId=-16777216 The results are different. The first one actually gives me the color "#fffffff" which would work for me, the second one only gives me an xml. Do I need to jump through a few more hoops here to resolve the actual color? Does my original intention work at all? Maybe it won't work, because colors could be arbitrary drawables? I didn't find any relevant documentation, but if you know any, just point me there please. Btw. I also tried obtainStyledAttributes(), but this had basically the same issues. ou received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

View 5 Replies View Related

Sprint HTC Hero :: Extracting .apk From Stock Rom

Nov 17, 2009

Shortly after rooting, my voice search and google maps got corrupted. How do I extract these out of the stock rom? Or is there a place to get these already extracted?

View 2 Replies View Related

Android :: Webview Extracting Html

Jan 30, 2009

guys, is it possible to extranct html content from webview component/ class? I wanna show an img file from getting rid of <img...> tag from html of webivew.

View 3 Replies View Related

Motorola Droid :: Extracting Rar File

Mar 9, 2010

Is there an app that can do this? I am trying to extract petes latest Rom from a rar file he posted but can't extract on my phone and don't have access to a pc right now. What gives? Why would he post in a format that cannot be extracted on the phone itself? I have a hard time believing this can't be done.

View 12 Replies View Related

HTC Incredible :: Extracting An APK Fom Rooted Dinc

Sep 12, 2010

My Dinc is 2.2 rooted s-off. I have an app on the phone that I would like to extract it as an apk for future use. Can anyone offer me some instructions on getting this done?

View 8 Replies View Related

Android :: Intent Not Extracting Extra

Aug 3, 2010

I have this code: protected void onListItemClick(ListView l, View v, int position, long id)
super.onListItemClick(l, v, position, id);
Log.i(TAG, "The id of the selected note is " + id);
Intent editNote = new Intent(this, TaskEditActivity.class);
editNote.putExtra(TasksDBAdapter.KEY_ID, id);
startActivityForResult(editNote, EDIT_TASK_REQUEST);
}And this code that retrieves the extra FROM A DIFFERENT ACTIVITY: if (savedInstanceState != null) { id = savedInstanceState.getLong(TasksDBAdapter.KEY_ID); Log.i(TAG, "Id of note = " + id);In the first code snippet, Logcat says: The id of the selected note is 2, but in the second code snippet, Logcat says: Id of note = 0. What just happened here? Any solutions to this VERY annoying problem.

View 2 Replies View Related

Motorola Droid :: Extracting Apps From Your Sd Card

Nov 8, 2009

i placed some new apps to my sd card from my pc i have a file manager app and need to know how to extract it and where to put it on the phone

View 3 Replies View Related

HTC Desire :: Extracting Contact Multiple Numbers From Sim

Jul 20, 2010

Sorry I am a bit of a newbie on phones.I kept with my Motorola 1000 till I got a Desire. On this phone on the SIM card I could store several numbers for each contact/person.I swapped the SIM card into the Desire, and all the first number for each contact is there, but I can find no way to access the other numbers e.g. landline that I had against each contact/person.Does anyone know where I am going wrong?

View 8 Replies View Related

Android :: Extracting Zip To SD Card Very Slow - Optimize Performance?

Oct 20, 2010

my app downloads a zip with about 350 files. A mix of JPG and HTML files. The function i wrote to do it works just fine but the unzipping takes for ever. At first i thought the reason might be that writing to the sd-card is slow. but when i unzip the same zip with an other app on my phone it works much faster. is there anything that i could do to optimize it?

here is the code:.................

View 1 Replies View Related

Android :: Extracting String Resources To A Jar - Referencing Error

Jan 27, 2009

I'm just about to start externalizing all my String-resources to a new project and then bring them back by including the exported jar-file of this 'i18n'-project. Doing so i18n for different languages becomes easier (I could simply export just a handful of languages to the jar). can successfully change the java-references to the outsourced foo.bar.i18n.R.java BUT, all references of the xml-layouts fail Sample: ############ android:label="@string/app_name"> ############ where: "@string/app_name" is now unknown =/ I'm asking myself whether this is possible and how to resolve my issue / properly reference the externalized string-resources.

View 6 Replies View Related

Android :: Extracting Activity Code And Creating Graph View Class

Mar 1, 2010

I had a bunch of code in an activity that displays a running graph of some external data. As the activity code was getting kind of cluttered, I decided to extract this code and create a GraphView class:

public class GraphView extends LinearLayout {
public GraphView(Context context, AttributeSet attrs) {
super(context, attrs);
LayoutInflater inflater = (LayoutInflater)
context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
inflater.inflate(R.layout.graph_view, this, true);
}
public void start() {
// Perform initialization (bindings, timers, etc) here
}
public void stop() {
// Unbind, destroy timers, } }

Moving stuff into this new LinearLayout-derived class was simple. But there was some lifecycle management code associated with creating and destroying timers and event listeners used by this graph (I didn't want this thing polling in the background if the activity was paused, for example). Coming from a MS Windows background, I kind of expected to find overridable onCreate() and onDestroy() methods or something similar, but I haven't found anything of the sort in LinearLayout (or any of its inherited members). Having to leave all of this initialization code in the Activity, and then having to pass it into the view seemed like it defeated the original purpose of encapsulating all of this code into a reusable view. I ended up adding two additional public methods to my view: start() and stop(). I make these calls from the activity's onResume() and onPause() methods respectively. This seems to work, but it feels like I'm using duct tape here. Does anyone know how this is typically done?

View 4 Replies View Related

Motorola Droid :: Install Additional Live Wallpapers On Sd Card And Extracting .zip?

Mar 25, 2010

So I downloaded a couple different colors of the Nexus style Live wallpapers, and I want to install them with the Cyanogen 5.0.5 i am running. Is there a certain way to do this or is it as simple as putting the files on the sd card and extracting the .zip?

View 3 Replies View Related

Android :: Extracting Android .apk And Reading Contents Of XML File In Layout

Oct 6, 2010

I am trying to reverse engineer an existing android app and understand how a particular UI is constructed. I've found that I can rename the apk to zip and view some of the compiled source. The res/layout directory is populated with all the xml files that define the UI, but while they do have the xml extension, they are not in XML format. Is there anyway to convert these files back to text based markup?

View 2 Replies View Related

Sony Ericsson Xperia X8 :: Delete Downloaded Files And Browser's Temp Files

Nov 6, 2010

Sometimes I'm browsing the web and... One more download... And then oops! Another one...Then I realised that those downloads are still in my download list and there's no option to COMPLETELY remove them. Also, where do I clean browser's temporary files?

View 3 Replies View Related

Media :: Music Player Can't Find All Files / Need Doesn't Use Native Index Of Files?

Apr 4, 2010

I have a Samsung Galaxy I7500 using android 1.5. I extended my phone with a 16GB microSD. I copied a big music collection (around 800 files) into a folder on this SD. Now the problem is that the music player can't find all the files.

I know that there are several threads about android not finding music. The answers are usually that the library hasn't yet been updated or that the ID3 tags are not correct.
I have checked both.

Btw. I can play the files using ASTRO.

In my opinion it seems as if android can't build up a library with too many entries. If I rename the files or put them into different folders, songs disappear and reappear quite randomly.

Do you have any solutions? Is there a music player which doesn't use the native music players index of files?

View 3 Replies View Related

Android :: Directory To Store Files Generated By App (audio, Video Files Or Images)?

Apr 24, 2009

Can anybody advice what is the recommended directory to store files generated by your application: audio files, video files or some images.

If the phone contains SD card, it is clear that files should be saved there, but if there is no any external storage. where would you recommend to save to?

View 2 Replies View Related

Sony Ericsson Xperia X8 :: Can't Send Any Files(pictures,mp3 Files) Through Bluetooth / Solution For This?

Oct 21, 2010

I cant send any files(pictures,mp3 files) through bluetooth.

Can anyone give some solution on how it works?

View 2 Replies View Related

Android :: Writing To SD Card - Deleting Files On It - Number Of Files Relevant

Mar 19, 2009

I wrote an app that downloads web sites and all their assets (images/stylesheets) to "disk" and therefore stores lots of small files on the SD card.

Sometimes it fails to delete large amounts of files and afterward the file system is r/o. To analyze that behavior I tried to do the removal of the files by hand and then go from there. But that already failed.

localhost:~ mkamp$ adb -d shell mount [.. some mounts ..] /dev/block/mmcblk0p1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,code­page=cp437,iocharset=iso8859-1,utf8 0 0 --> R/W

Last login: Wed Mar 18 19:41:49 on ttys005 localhost:~ mkamp$ adb -d shell rm /sdcard/newsrob/a* [.. minutes of silent deletes ..] rm failed for /sdcard/newsrob/a2aade03616c28b30_113.png, Read-only file system localhost:~ mkamp$

localhost:~ mkamp$ adb -d shell mount [.. some mounts ..] /dev/block/mmcblk0p1 /sdcard vfat ro,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,code­page=cp437,iocharset=iso8859-1,utf8 0 0 --> R/O now

The log contained nothing but the usual gc output and random WiFi status changed mumbo jumbo.

Anybody else seeing this behavior?

There were 6.500 files in that directory. Might that be the problem? I don't access the files with queries, I always have the exact name.

View 5 Replies View Related

Android :: Access Larger Files - More Than 1 Mb Plist Files - From Assets Folder

Nov 4, 2010

I am working on an android app. Where i need to parse some plist files from assets folder. I do understand how to use assets in android but now problem is that file sizes are more than 1MB and so android gives error Data Exceeds UNCOMPRESS_DATA_MAX (2183588 vs 1048576). how to access such larger files from assets? Also I cant reduce a file into small buffers because i am just sending it to "DocumentBuilder.parse(in)" as a whole so can not use buffer. The error is on line: Document doc = db.parse(in).

View 1 Replies View Related

Motorola Droid :: Unnecessary Files - Safely Delete Them - Just The Files Not Folder?

Nov 17, 2009

I uploaded about 50 pictures from iPhoto (using a Mac) just to see what they looked like and then later formatted the Droid's SD card, so the pictures were no longer there.

Now, if I mount the Droid via USB and view the file structure there is a folder named /albumthumbs which contains 50 files, presumably for the 50 pictures a had on the SD card.

To me, these file, unless linking to actual photos stored on the SD card, take up extra space in the phone's memory (not worried about the SD card). I wonder if I can safely delete them (just the files...not the folder)?

View 2 Replies View Related

Android :: Using Local Files - Overlay Route Data In KML Files On MapView?

Jun 11, 2010

I am trying to overlay route data in KML files on a MapView.

The following code works great:

CODE:................

The only problem I have with this is that I don't need to re download these KML files every time. I have about 10-15 KML files that will rarely change. Also since it has to connect, download, and parse these each time there is a delay in opening the maps.

It would make a lot more since for me to save these as a local resource and have the URI reference it there. Is there a way to construct a URI using the geo: scheme and have it point towards a local resource?

It looks like file:///sdcard support was included in 2.1. The only reference I could find to it was at the end of this bug report thread. I am currently at work and don't have time to play with this yet but I would like to figure it out later. I feel like there are a lot of people on stackoverflow and elsewhere who would really appreciate a reasonable way to do this.

View 1 Replies View Related

HTC Desire :: Checking Files - Deleting Files - Making Space

May 7, 2010

How do you go about checking what is stored on your phones memory and deleting content? For example I used dropbox and downloaded a 7mb photo onto my phone. Can't find it in the photos app or anywhere else. Going into SD & phone storage under settings doesn't do anything. It says I have 70mb available space under phone storage but you can't click on that to get any further info. Same goes for the SD card options.

View 1 Replies View Related

Android :: Install Apk Files In Androd 1.5 Using Eclipse IDE - Apk Files Installed

Jul 29, 2009

To android working on eclipse with android 1.5 r2 version when i am running a basic program its showing a error .apk file not found.

View 2 Replies View Related

Android :: Retrieve Files Or Audio Files Programmatically From Device

May 11, 2010

I want to know how to get the ringtone,audio files in the device and I want set them as alarm. I am working in the code to set the alarm and I want to know how to retreive audio or ringtones from the device.

View 1 Replies View Related

Android :: Files - Local Files - Storage

Sep 2, 2009

From the Android documentation:

"You can store files directly on the mobile device or on a removable storage medium. By default, other applications cannot access these files. "

I could write to the sdcard (/sdcard/file.tmp) and other apps could access these files, right?

I would like some local storage that I can write files to (and read from later) that are not accessible to other applications, and I will always have access to.  The problem with the sdcard is that if someone plugs in a USB cable and turns on MSC, my application (and all applications on the phone) will lose (both read and write) access to the /sdcard directory.  So I need something more reliable.

View 8 Replies View Related

HTC Droid Eris : Trying To Download Apk Files As Zip Files?

May 6, 2010

I'm trying to download the SMS app from XDA and the guy has it up as a zip file. I download it and extract it, and it's a folder with random crap in it. No apk.

Then I read that I just change the file name. I'm on a Mac, so I change the filename and it verifies if I want to change it from .zip to .apk and I say "yes." Put it on my card and Astro still doesn't recognize it. It's list, but it's an icon with a window and a gear in front of it.

I installed the Vanilla email app, no problem. Not sure what the deal is with this one.

View 15 Replies View Related

Android :: Create Files Hierarchy '/data/data/pkg/files' Directory

Dec 11, 2009

I try to create 'foo/bar.txt' in Android's /data/data/pkg/files directory.

It seems to be a contradiction in docs:

To write to a file, call Context.openFileOutput() with the name and path.

http://developer.android.com/guide/topics/data/data-storage.html#files

The name of the file to open; can not contain path separators.

[url]

And when I call

this.openFileOutput("foo/bar.txt", Context.MODE_PRIVATE);

exception is thrown:

java.lang.IllegalArgumentException: File foo/bar.txt contains a path separator

So how do I create file in subfolder?

View 2 Replies View Related

HTC EVO 4G :: .apk Files Are Saving As .bin Files

Nov 27, 2010

Recently my phone started saving .apk's as .bin. when i try to download them. Etc

View 5 Replies View Related

Android :: Merge Jar Files With Apk Files In Android

Feb 11, 2010

I'm Using external jar files with my android application and i want to install that jar file with apk file in my android emulator. but i'm unable to merge both the files. I'm using Net Beans IDE.

View 2 Replies View Related

HTC EVO 4G :: Looks Like XDA Has The ROM And System Files Up Already

May 21, 2010

EVO 4G Android Development - xda-developers. Won't be long before we get some modded ROMs

View 6 Replies View Related

HTC EVO 4G :: What Is Difference Between These Two Files?

Oct 9, 2010

What is the difference between:

RUU_SuperSonic_S_Sprint_WWE_3.26.651.6_Radio_2.15.
00.07.28_NV_1.40_release_140444_signed.exe
vs
RUU_Supersonic_1.47.651.1_Radio_2.05.00.06.10_rele ase_CL195459.exe ??

These are supposedly stock files for the Evo?

View 5 Replies View Related

Android :: SVG Files

Feb 20, 2009

I've questions w.r.t svg file. 1. Does Android support for svg files. if yes than can we use the svg files in our resource folder while creating applications? 2. Is it possible to rendered svg file? What parsers are needed?

View 2 Replies View Related

Media :: MKV Files

Feb 18, 2010

What do I need to do to get this playable on my phone? I have a converter of sorts, what settings? Or can you recommend a program and settings that will be nice.

View 6 Replies View Related

Android :: App Files On SD

Jan 7, 2010

I've read that it's possible to save or transfer some (but not all) of the files for an app to the SD card in order to save internal memory, and be able to install more apps

Is this really possible? If so, how is it done?

Is rooting required? (I'd rather not)

View 3 Replies View Related

Android :: Zip Files

Jun 20, 2010

I am re-downloading WunderRadio.The customer service rep for them sent me a zip file to put onto the phone. Now where do I copy it to on the phone and where do I open it from on the phone?

View 1 Replies View Related

Media :: HD Mp4 Files On EVO

Jun 4, 2010

Is there a video player that can play 720p MP4 files with AC35.1 sound?

If not, I see folks remark that most need aac sound, does the aac track have to be the first audio track?

I am trying to find a format that satisfies both a Tivo and the EVO, in HD for connection to a display panel.

View 19 Replies View Related

HTC EVO 4G :: My Evo Won't Load Files

Oct 25, 2010

Ok here is the deal every time i hook my evo to my desk top. window pops up and asks me to scan and repair the device. Ive done it and tried to load new music to the phone and it says can not read source files but i can plug in my wifes bb and everything works phone has been rest and the card was reformated fine?

View 1 Replies View Related

HTC EVO 4G :: My Evo Won't Play Files

Aug 2, 2010

I ripped my home dvd collection to H.264 with AAC audio and a .m4v container. My evo wont play the files! Is there a way that the evo can be made to play them? I don't feel like transcoding my collection of movies just to play it in my phone... I feel ripped off because sprint announced that it was the ultimate HD media phone yet you cant play a simple 480p movie...

View 3 Replies View Related

HTC EVO 4G :: How To Install Apk Files

Jun 30, 2010

I have some apk files i want to put on my phone how do i install these apps?

View 6 Replies View Related

Android :: What .apk Files?

Mar 13, 2010

I have a HTC Hero phone and I have been reading a lot of .apk files. Can you tell me what they are and is there a site that I need to go to inorder to install them?

View 7 Replies View Related

HTC EVO 4G :: Where Do Ringtone Files Go?

Jul 15, 2010

I saw on the SD card where I place notifications and have been able to get the phone to recognize the .m4a files. Where and what format do you use for ringtones?

View 4 Replies View Related

HTC Tattoo :: Where To Put Files?

May 26, 2010

I have downloaded free software and games to put on my HTC Tattoo. How do I go about getting those files on my phone. Do I extract them first to my computer and then put it on the sd card, and where do I put the files in the sd card. Have tried all the files but do not see the application on my phone. I even tried HTC sync but with no success. I am new to the android phone, before that I was a Nokia and Sony Ericsson fan, but got convinced to get a HTC from my brother in law. His got the HTC HD and loves it.

View 1 Replies View Related

ADVERTISEMENT