Android :: Link Dex Files ?
Jan 4, 2010How I can create apk application from two different dex file ? I did'nt find any way to link many dex files with the android tools.
View 1 RepliesHow I can create apk application from two different dex file ? I did'nt find any way to link many dex files with the android tools.
View 1 RepliesI have a WebView in my Android App that is loading an HTML string using the loadDataWithBaseURL() method. The problem is that local anchor links (<a href="#link">...) are not working correctly. When the link is clicked, it becomes highlighted, but does not scroll to the corresponding anchor.
This also does not work if I use the WebView's loadUrl() method to load a page that contains anchor links. However, if I load the same URL in the browser, the anchor links do work.
Is there any special handling required to get these to work for a WebView?
I am using API v4 (1.6).
There isn't much to the code, here are the relevant parts of some test code I've been working with:
CODE:...................
How can I link like the Checkbox and larger TextView to external data? Should I use a SimpleCursorAdapter? Or create my own adapter? Should it extend ArrayAdapter or BaseAdapter? My list item UI:
View 1 Replies View Relatedthis is the easiest way to transfer files to your Droid that I have found so far. Super Easy enjoy!! Motorola Media Link - Motorola USA
View 5 Replies View RelatedCan 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?
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,codepage=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,codepage=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.
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 RelatedI 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.
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 RelatedI 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 RelatedFrom 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.
Looking at the Sprint Evo introduction page at Sprint.com, the link address has the name 'HERO' big and bold in it. I wander why that is? As for me, I sure hope the Evo isn't going to be the only 2.1 Hero on Sprint. Sprint - HTC EVO? 4G
View 1 Replies View RelatedSometimes 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 RelatedI 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?
I cant send any files(pictures,mp3 files) through bluetooth.
Can anyone give some solution on how it works?
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)?
i not able to transfer files from my note 3 n9000 my laptop detects my phone but not able to copy files from my phone but able to send files to my phone
View 1 Replies View RelatedHow 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 Relatedgot a Samsung Galaxy S4 (for several years I had iPhones) and I am enjoying it. Now that I have gotten all my music files away from iTunes' clunky clutches I have reorganized them and they are on my S4's sim card and it works great.
The issue is that I have updated a few of the files and moved a couple more around. I want to update those music files on my S4 from my PC. I could just delete the Music folder on the S4 and recopy everything over, but that seems to be a huge overkill.
What is a good way to compare files between my S4 and folders on the PC and match/update between the two? I am using Windows 7. I have tried to map the Sim Card as a drive but couldn't get that to work. I have Kies from Samsung but that is kinda clunky. I have also tried AirDroid (which I think is great) but I can't really sync files with that. Normally I would use a Windows application like Beyond Compare or WinMerge to do something like this.
I am on a standard website that has a normal upload button, I need to upload a PDF file, But when I click on the upload button on the web site a popup window from my Android phone appears and says "Choose action" and gives me access to the gallery, camcorder, voice recorder , choose music track, gallery (again), select music track and voice recorder (again).
I need to some how get access to my SD card and my download folder to be able to pick the the pdf file that I need to upload. I have tried this both on the default internet browser and Google Chrome, but both give the same options.
I am on a rooted HTC ONE on ATT
My Sandisc 64GB SD card went kaputt last week, it froze at 33GB, luckily the existing files are all ok and I was able to copy all the files onto my PC, however nothing new can be written to it. I've tried formatting with no success. So I copied the files onto the PC and just got a new this time Samsung 64GB micro SD card. Problem I'm having now is that on several attempts it's failed to copy the files back to my SD card (from PC) I've formatted the card in the Note 3..the music files about 4 GB transferred just fine, the problem seems to be with the Pix and Videos. I'm currently trying to copy the DCIM folder back onto the micro sd and it's saying it'll take 6 hours.
I have tried: copying from PC to micro SD in the phone via USB copying from PC to micro SD in SD card adapter plugged directly into PC
copying from PC to micro SD in USB adapter plugged into PC
all results the same
But how do you 'link' the me contact (the contact which is used for smsing) to one of your own google contacts (vincent in my case).
View 2 Replies View RelatedI want to do a app which lunch android market. (The activity should only one activity)
View 1 Replies View RelatedAnyone have a link to the new beta .apk? 5612 expired today.
View 49 Replies View RelatedI'm trying to create an rss feed that my droid app reads but i have some holes that i can figure how to fix the json link page is http://www.mandarich.com/mandarichServer/mlb/indexbaseball.php when reading the json i can see where the icon is missing on some and cant figure out why. mainly only for citys like ney york and chicago(cities with two names)
and the code i have for the php is as follows ...
im trying to exchange some files in /system/framework of a stock jellybean 4.2.1 rom that came with my nexus 10.
I have built a workin rom from AOSP sources and made little adjustments that are present in /system/framework/services.jar and services.odex
I have built full_manta-user (not -userdebug!) so that the rom gets odexed and matches my stock rom.
The problem is i get stuck in a boot loop when i use my services.odex file on my stock rom. Is there a way to make it work or debug it?
I cant find juice defender app in the market anywhere! Can someone please help me find it or post a link to it.
View 9 Replies View RelatedI want to share one app to another persons through mail or sms.For example if i am downloading one app from android market.If i want to send that app link to other persons how i am sending the link to that ones through mail or sms.
View 3 Replies View RelatedI just got my HTC Desire and I am loving it. I am kinda pissed that the Swype beta is closed and I was wondering if someone could PM me a link so I could download it. I checked all over the web and could not find one. I really want to try it and make my desire better. Let me know if you can.
View 4 Replies View RelatedI`am trying to download and install an apk from some link, but for some reason i get an exception. I have one method downloadfile() which downloading the file and a call to and installFile() method, which supposed to install it in the device.
Some code:.........................
This is the exception details:
"Neither user 10057 nor current process has android.permission.INSTALL_PACKAGES". and i have set in my main app that permission in the manifest.