[Q] Associate file endings to certain App - Galaxy S 4 Active Q&A, Help & Troubleshooting

Hi there,
is there a way to associate a file ending to a certain app? That is, if the app does not appear in the suggested list of Android?
Thanks a lot!

File associations in android do not work like they do in Windows, and sometimes, they do not work well at all. Astro works for opening certain types of files. I think it uses a different scheme for determining which apps can open which files. Specifically, what type of file are you trying to open?
Sent from my SAMSUNG-SGH-I537 using Tapatalk

dibeachdude said:
Specifically, what type of file are you trying to open?
Click to expand...
Click to collapse
It's obvious I come from the Windows World, isn't it? I just started using Android a few weeks ago.
Anyway, thanks for the quick answer: I am trying to open a *.freshroute file with Navigon. In the navigation forum I was told that this might be a way to open files with Navigon in Android. This used to work with winmobile Navigon, but there seems to be no way to open files in Android Navigon. Now one user descibed that a file sent to an IOS Navigon by e-Mail opened the Navigon software and the route was there. So I thought maybe this works with Android too? And that is why I am looking for a way to associate a file with Navigon.
Thanks
Jürgen

I doubt you would be able to open files like this across platforms even if they had the same extensions. OS architectures are too different for an iOS file to be readily accessible on another platform and vice versa without some kind of conversion being necessary.

The file structure is not the problem as it is xml, so should be cross platform. I would only like to open this file with navigon, but do not know how.
Thanks anyway!
westfielddriver

westfielddriver said:
The file structure is not the problem as it is xml, so should be cross platform. I would only like to open this file with navigon, but do not know how.
Thanks anyway!
westfielddriver
Click to expand...
Click to collapse
Does Navigon support xml files? If not, then there's no way to make it support them. If it does and still can't open it then there is obviously something about the file it does not like.

I was afraid someone would say something like this. Still thanks for keeping me from wasting more time on research.
Best regards
Jürgen (westfielddriver)

Related

How do I link ifonez icons to built in apps?

Hi
I am new to this forum and to HTC. I have set up my new phone with S2UL, Ifonez and Icontact. I have got a number of my apps working fine from Ifonez but I cant seem to find the files or commnads to load Windows Mobile 6 built in applications such as the following
Communication Manager
Task Manager
Programmes.
I have been searching through Google and these forums in order to find out but cant seem to find anything, so sorry if this is an obvious question.
I am also using Icontact Burt edition which is mostly working fine. However I am finding one or two contacts are displaying underneath the top bar so that I cannot really make out the entry. I only discovered it by searching for an entry that I knew was there but couldn't see in the list. Icontact seems to display a screen at a time rather than a continuous list so I am finding it difficult to see who these entries relate to. Is this a bug or am I missing something?
Thanks in advance for any help.
Greg
this thread may help you...
http://forum.xda-developers.com/showthread.php?t=340974
strikeone said:
this thread may help you...
http://forum.xda-developers.com/showthread.php?t=340974
Click to expand...
Click to collapse
Thanks for the quick reply.
If I understand this correctly I create a text file with the appropriate code in it and then rename the file with the extension lnk. Then I point one of ifonez launch icons towards this file. Is that correct?
If it is I still cant seem to see a code for Communication Manager or to open the Programs folder. Have I misunderstood?
You would simply make a .txt file with the "data" of the thing you want to link to, save the file, and then change the extension of the file from .txt to .lnk.
For example, to create a shortcut to Settings>System>Memory>Main, you would make a text document with this in it:
20#ctlpnl cplmain.cpl,4
Save the file as "Memory", and then use a file explorer/manager to change the extension from "Memory.txt" to "Memory.lnk"
The link to the Comm Manager is: 39#"\Windows\CommManager.exe"
The link to the Programs folder [in the Start Menu] is 40#"Windows\Start Menu\Programs\"
Sorry for the delay in replying, I have been caught up with work and unable to look at this forum until now. So thanks for your reply it was really helpful.

Question for developers

Right away, forgive my ignorance on the subject, I'm sure I can spend 10-12 hours searching forums and figure it out or someone can take 2 min and just answer it.
Lets say one was to take an app from the market and unzip it into a folder to see what it's made out of. Let's also say that one has absolutely no clue about android, Linux or programming in general, just too much curiosity and a phone to play with. So that certain individual (and I will not admit that it was me, it was.... my friend) found .dex file inside and thought of editing it, nothing fancy, just replace some URLs with other URLs. Here the question: How would I (I mean... my friend) would edit .dex file? Notepad seems to do it but something tell me (I mean... my friend) that it's not the right way. How would I put that app back toghether into .apk format after I'm done with it (Agh, screw it, it's me, it's not my friend). I should also note that I'm not trying to do this for profit or trying to steal someone's app.
Any help is greatly appreciated
You my friend are a Grade A tard.
apk files are not unzipped.
Decompiled maybe?
topdnbass said:
You my friend are a Grade A tard.
apk files are not unzipped.
Decompiled maybe?
Click to expand...
Click to collapse
Whatever you would like to call it. If it make you happy, I "decompilied" apk file using WinRAR to get a number of files including above mentioned .dex file.
Now that we have that figured out, how do I edit .dex file and repack everything else into .apk?
Thanks
First off, yes you can open the .apk file and see the other files but the files for the actual app are compiled. They arent editable. You would need the source to edit the app in any way.
As to the .dex file if you can open it with a text editor and change stuff all you are likely to do is break the app. As for putting it back together and getting it to install, good luck. You will probably need to get it resigned or something.
If you are wanting to learn how to make apps for android you should download the SDK. I believe there is a tutorial with some example apps that you can make out there somewhere also.
Dharkaron said:
First off, yes you can open the .apk file and see the other files but the files for the actual app are compiled. They arent editable. You would need the source to edit the app in any way.
As to the .dex file if you can open it with a text editor and change stuff all you are likely to do is break the app. As for putting it back together and getting it to install, good luck. You will probably need to get it resigned or something.
If you are wanting to learn how to make apps for android you should download the SDK. I believe there is a tutorial with some example apps that you can make out there somewhere also.
Click to expand...
Click to collapse
Agh, now we are getting somewhere.
Just for the record: I do not want to make apps, I'd rather leave it to pros and pay few bucks for working app that has no bugs.
The app I am referring too is StreamFusion which is a streaming audio player. Initial install puts about 30 preloaded stations in the playlist, none of which are of any interest to me. I unzipped apk and found this .dex file (resources.dex? not at home, can't check) which contained URLs for default-loaded streams. All I want to do is replace them with URLs of my own so I don't have to search shoutcast,add my stations and delete defaults everytime I decide to wipe my phone. Sounds like such a simple task, yet there's no clear documentation on how to do something like that (at least for the non-dev crowd).
With that said, I don't want to change the way StreamFusion, they do give you an option to remove defaults manually (one by one!) and they do give you an option to add your own stations in the playlist. It just takes too long and I've done it a few too many times already.
I'll keep playing with it, let me know if anyone for sure knows how to do it, otherwise I'll report when I figure it out or when I get tired of it.
Sorry for being rude earlier, i was in a bad mood
If you mean StreamFurious all you need to do is long press the radio station and hit delete
topdnbass said:
You my friend are a Grade A tard.
apk files are not unzipped.
Decompiled maybe?
Click to expand...
Click to collapse
Have you actually tried renaming an .apk file to .zip and opening it? In short, apk is just like a jar. They're just zip files with specific metadata requirements.
“Always keep your words soft and sweet, just in case you have to eat them.” -Andy Rooney
borodin1 said:
edit .dex file? Notepad seems to do it but something tell me (I mean... my friend) that it's not the right way.
Click to expand...
Click to collapse
when in doubt .. HEX .. hex editing of a file can maintain its purest essence and prevent it from crashing .. provided of course that you edit the right parts .. i've done this thousands of times in computer games .. change one little thing and POOF! your scrawny little piss-ant becomes mighty hercules and you can slay the dragon - LOL - ok .. so maybe not so korny
borodin1 said:
With that said, I don't want to change the way StreamFusion, they do give you an option to remove defaults manually (one by one!) and they do give you an option to add your own stations in the playlist. It just takes too long and I've done it a few too many times already.
Click to expand...
Click to collapse
The defaults that are hard-coded into the apk are loaded on first run into a sqlite3 database. Sure you could edit the hard-coded defaults, but this would be an unclean solution. A better solution would be to backup the sqlite3 database to your computer and restore it with adb whenever you reinstall. You can also easily edit the database conveniently on your pc as well.
The location of the db is /data/data/com.streamfurious.android.free/databases/streamfurious.db
By the way, the SF defaults already include KQED, BBC WS and TWiT. What more could anyone possibly need
You can decompile apk class files from the dex file.
http://zeaster.blogspot.com/2007/11/how-to-decompile-dex-file-on-android_28.html
As for repacking it after the edit.....check this out this might help...
http://forum.xda-developers.com/showthread.php?t=503007
or ask strazzere

Android Access Database

Here we go:
I use a number of Microsoft Access Databases for my work, and each one is intensely coded and designed and basically run like actual programs. What I am looking for is to be able to take these databases with me. Now understanding that Microsoft and Android are two completely different beasts, what I really am looking for is the ability to take the tables (I use all Back-end database so all my tables are in a completely separate file then all my forms, queries, and reports) and the data with me and be able to run them in a program on Android that keeps the relationships and fields and all of that sort of stuff.
Now what would be great is the ability to use forms (even if special forms for android need to be made), run queries, and even be able to run reports and print as PDFs.
now I know how to code in VBA, hence the extensive coding I have done in Access, so anybody willing to WORK WITH in creating an Android Program to basically be an extension of Microsoft Access please contact me. Please not I use the words WORK WITH loosely, while I am trying to learn how to Program for Android, I currently do not have a computer that I can use to develop programs for android on, and well I would be only able to create the "Hello World" starter program and this project seems a slight bit more complicated. But what I can bring to the table is real world experience in testing and using the program day in and day out, a number of already existing Microsoft Access Databases ranging from Complex to Simple that I use every day. Really a program that can run Microsoft Access Tables on Android would be really useful to me and I am willing to do anything to help make this happen.
kronos82 said:
Here we go:
I use a number of Microsoft Access Databases for my work, and each one is intensely coded and designed and basically run like actual programs. What I am looking for is to be able to take these databases with me. Now understanding that Microsoft and Android are two completely different beasts, what I really am looking for is the ability to take the tables (I use all Back-end database so all my tables are in a completely separate file then all my forms, queries, and reports) and the data with me and be able to run them in a program on Android that keeps the relationships and fields and all of that sort of stuff.
Now what would be great is the ability to use forms (even if special forms for android need to be made), run queries, and even be able to run reports and print as PDFs.
now I know how to code in VBA, hence the extensive coding I have done in Access, so anybody willing to WORK WITH in creating an Android Program to basically be an extension of Microsoft Access please contact me. Please not I use the words WORK WITH loosely, while I am trying to learn how to Program for Android, I currently do not have a computer that I can use to develop programs for android on, and well I would be only able to create the "Hello World" starter program and this project seems a slight bit more complicated. But what I can bring to the table is real world experience in testing and using the program day in and day out, a number of already existing Microsoft Access Databases ranging from Complex to Simple that I use every day. Really a program that can run Microsoft Access Tables on Android would be really useful to me and I am willing to do anything to help make this happen.
Click to expand...
Click to collapse
I think we must have the same job
Android utilizes an sqlite database engine and it looks like sqlite already offers a conversion utility HERE. The real question would be how to get the data in and out of the phone. Regarding forms, they definitely would need to be custom built.
Thanks this is deffenetly a start, From what I can tell this This Looks to be the most promising, It looks like all you would have to do is put a MS Access Database file on your SD CARD and have a program access it. That way you copy it back and forth. Unfortunately it doesn't support Access 2003, but I can save down. I also got a lot of learning to do in programing Java programs.
Forms would be as simply as making a program, this is great thanks much
kronos82 said:
Here we go:
I use a number of Microsoft Access Databases for my work, and each one is intensely coded and designed and basically run like actual programs. What I am looking for is to be able to take these databases with me....
Click to expand...
Click to collapse
I would like to say, "yes, please!" to this idea. I currently use Smart List to Go (the descendant of ThinkDB) on my Palm TX. The TX is dying, and I've been shopping for a replacement. HanDBase exists for the iPhone, but I don't want an iPhone. So I've been focused on WinMo - not by choice as much as by necessity.
And android option would be very welcome around my computers.
benmyers2941 said:
I think we must have the same job
Android utilizes an sqlite database engine and it looks like sqlite already offers a conversion utility HERE. The real question would be how to get the data in and out of the phone. Regarding forms, they definitely would need to be custom built.
Click to expand...
Click to collapse
androids sqlite its for applications to access and store data using java code.
try the pocket office app
Freedomcaller said:
androids sqlite its for applications to access and store data using java code.
try the pocket office app
Click to expand...
Click to collapse
Exactly and we're talking about creating an app that would enable manipulation of an sqlite database. Essentially all that would be needed would be to create a ui framework wrapper for the existing api in android. Not the least monumental task I've heard of an individual taking on but not the most either.
The versions of pocket office that I've seen for android do not currently support Access databases as far as I'm aware. If I'm wrong could you post a link and save everyone some trouble?
aaaaaaaaaaaaaaaaaaa
kronos82 said:
Thanks this is deffenetly a start, From what I can tell this looks to be the most promising, It looks like all you would have to do is put a MS Access Database file on your SD CARD and have a program access it. That way you copy it back and forth. Unfortunately it doesn't support Access 2003, but I can save down. I also got a lot of learning to do in programing Java programs.
Click to expand...
Click to collapse
Jackcess library is now patched to support android (will be in 1.2.2 release). Also seems to support 2000, 2003 and 2007 formats now.
Works great for me.
View jackcess site. Couldn't find anything on support for android. I'm using htc desire and would really like to find program to view ms access file. Can you tell me how you do it?
As I remember reading worked as on PC, while writing had some problems.
This forum prevents me from linking directly, but if you click tracker/patches on Jackcess project, check Android Compatibility Fix - ID: 3101578
The changes are in trunk and will be in the 1.2.2 release. I've added some
notes which will eventually make it to the FAQ page on the website
detailing the compatibility steps:
- Set the system property "com.healthmarketscience.jackcess.broken
Nio=true"
- Set the system property "com.healthmarketscience.jackcess.resour
cePath=res/raw/"
- Copy the *.txt, *.mdb, and *.accdb files from the
"com/healthmarketscience/jackcess/" directory in the Jackcess jar to the
"/res/raw" Android application directory.
- Before executing any Jackcess code, set the current Thread's context
classloader, e.g.
"Thread.currentThread().setContextClassLoader(Database.class.getClassLoader())".
Click to expand...
Click to collapse
Until this version (1.2.2) is released you need to build lib yourself.
You also need commons-lang and commons-logging from apache commons.
Before you use Jackcess in Android code, you set
Thread.currentThread().setContextClassLoader(
getClass().getClassLoader());
System.setProperty(
"com.healthmarketscience.jackcess.brokenNio",
"true");
System.setProperty(
"com.healthmarketscience.jackcess.resourcePath",
"res/raw/");
Click to expand...
Click to collapse
and copy those resource files to res/raw
Then you can work as on PC, for example open /sdcard/yourprogram/file.mdb
Jackcess has no GUI, it's a library to read/write access files.
Getting an Access file into Android
I keep a lot of information on a Psion Revo, which has just turned its face to the wall and is giving up the ghost, and have always backed the information up on to my pc as an Access file. It looks easier to get this into a format acceptable to Android by converting the Access .mbx file into an Excel .xls file. This can be searched readily by Column and Values. Maybe this deals with too simple a need for most enquirers to the forum, but if it helps somebody then so much the better.
hi all i have beenlooking for something the same for some time now and just the other day i came accross this site cellica.com
the android app is free and the desktop application has a 5 day trial period or its $50 to buy it works great the only thing you can not do is create a report from the phone
i have emailed support team and they said they will be adding it on in the future.
Any Updates???
I currently build and use databases in MS Access and was wondering if there are any updates on this topic now that Tablets are in use now. Looking to get the Motorola Xoom (2nd version) in the future, but would love to be able to use a program that I would be able to access my MS Access databases while "on-the-go".
Anyone? This would be huge (I believe), since we now have tablets.
Thanks a bunch,
~Kilch~
Access to MS Access by Android
Hi,
I'm also looking to get on-the-go access to my Access databases on my Android HTC Tattoo.
The file is on it, I just need a tool to access it in read-only / search mode, but judging from the previous comments, there doesn't seem to be an oversupply in applications.
The "convert to Excel format" may be OK for me. I want to use a 3 language Access DB (dictionary) on my phone, so I'll try the Excel solution.
It would be nice if we had an ACCESS reader though...
John
Panacea Database
I know XDA frowns upon excessively hawking your own products here, but I do seem to be directly answering more than one of the reply questions, it just happens that the answer is an application my company released.
The Panacea Database application can handle Access from Access 2000 to Access 2007. It has also worked so far on every Access 2010 database we've tested, and we've received no complaints in that department yet. We release updates from time to time as we improve its functionality and features, often guided in our priorities by user e-mail and market comments. Our next update will be focused on improving screen layout for a variety of Android devices - from small QVGA smartphones, to large WXGA tablets. After that we may move onto other functionality.
In the interest of fairness, I'll point out arafa1209's post. He mentions Celicca Database, which is the only other application that I know of that deals with Access databases on Android. It has features Panacea does not have (yet) - ability to work with forms, ability to create and modify databases, ability to connect to your PC etc. Like us, they also send out updates improving their app regularly. So you can compare the apps, and use which one fits your needs better (or use both). If anyone knows of any others they can post here as well, but these are the only two I know of currently.
Just tried Panacea. Although it is more basic and annoyingly doesn't remember the last files you'be opened necessitating finding the file each time you open the app I prefer it for the simple reason you don't have to convert the Access database to another format.
amwebby said:
doesn't remember the last files you'be opened necessitating finding the file each time you open the app
Click to expand...
Click to collapse
If you update the app, this should be fixed, the last version should have this feature.
Got the update last week. Certainly goes a long way to making it more user-friendly. Keep up the great work!
Since the last update it seems to be broken. Although it remembers the last database I cannot open a table within any database.
Edit: It appears the file was corrupted. Loaded a new file and all working again.
Any news in this topic.
I tried panacea Database, works fine. But not very effective. Searching data is a must for me however I didnt manage to find a search option. When I search for tables, it cant even locate the tables by names.

Is there a way to open .apk and find the code

Hi All,
i was wondering if there is a way to open a .apk file and see the coding for the app. Thanks in advance for your help all.
You mean like reverse engineering? It's a pretty fine line around here...
Not tryin to do anything bad or illegal..just wanted to see what an app code looks like...how its broken down....thats all
most apks arent just one thing. the apk acts like a zip file, containing potentially lots of files inside. you can use winrar to open them just fine.
thanks just tryin to learn what makes an app and how it works
jef8310 said:
thanks just tryin to learn what makes an app and how it works
Click to expand...
Click to collapse
http://developer.android.com/guide/developing/tools/index.html
thats where you should go then lol
Thanks B-man007...i will check that out
Just rename your .apk extension to .zip and unzip it. You will get to see some stuff there.
Stuff you can't see readily:
The manifest file can be viewed with some tools available on sourceforge (very easy). You can disassemble/reassemble the .dex file(s), but I warn you that this is a pain in the A. I have done it several times and cursed all the way through each time.
What are you trying to do?
Easy apk dissassembler.
The most easy way to dissassemble APK is using this app:
Is easy and intuitive.
http://code.google.com/p/easy-apk-dissassembler/
You have this thread too
http://forum.xda-developers.com/showthread.php?p=14049173
reverse engineering is how i learned to write my own programs for my ti-86 graphing calculator back in high school. seeing how/why things work inside an established program helped me figure out what i needed to make what i wanted. i wish app development was as easy as basic haha. of course, i say that with no knowledge of java or android programming. i plan on going to school starting next year to learn it though.

Windows Phone 8 hacks

Yes, I have searched quite a different number of ways and have yet to find another thread, on not only this site but others as well, that comes close to answering my question or asking the same one. I assume this means the answer is no, but I thought I'd ask anyway.
Is it possible to hack games on my Windows 8 Phone? I have a Nokia Lumia 520. The particular game in question is Throne Wars. I'd like to get into the game and change the amount of in-game currency I have.
All help is appreciated.
niicholai said:
Yes, I have searched quite a different number of ways and have yet to find another thread, on not only this site but others as well, that comes close to answering my question or asking the same one. I assume this means the answer is no, but I thought I'd ask anyway.
Is it possible to hack games on my Windows 8 Phone? I have a Nokia Lumia 520. The particular game in question is Throne Wars. I'd like to get into the game and change the amount of in-game currency I have.
All help is appreciated.
Click to expand...
Click to collapse
Assuming in-game data is stored in the AppData folder, you could (theoretically) modify some files and results should appear.
Problems you are facing:
-you have a Lumia (so you can't really modify any files because no proper unlock is available)
-we don't know how the game stores it's data (weird file format, etc.)
DaviUnic said:
Assuming in-game data is stored in the AppData folder, you could (theoretically) modify some files and results should appear.
Problems you are facing:
-you have a Lumia (so you can't really modify any files because no proper unlock is available)
-we don't know how the game stores it's data (weird file format, etc.)
Click to expand...
Click to collapse
the file Name :
__ApplicationSettings
and ist just some Kind of XML , I modded a few games like Cookie clicker
works good )
Thank you good sir. How do I find the games though? I've tried turning on hidden items view, but I only see my basic folders when I go into my phone.
ceesheim said:
the file Name :
__ApplicationSettings
and ist just some Kind of XML , I modded a few games like Cookie clicker
works good )
Click to expand...
Click to collapse
ceesheim said:
the file Name :
__ApplicationSettings
Click to expand...
Click to collapse
If the game programmers are followed by the standard scheme only The apps can save data in any format...
Yeah, there's no guarantee that they used the IsolatedStorageSettings feature to store that data. Might have, might not have.
There's also no guarantee that it's unencrypted. Encrypting the data using DPAPI is easy, but makes editing it much harder.
You also could easily get your game account banned. Xbox Live games are known to have anti-cheating mechanisms; Throne Wars may not but then, they might.
But yeah, the key problem for you right now, aside from moderately questionable ethics (let me guess: this is one of those games where if you need more money you're expected to pay a few dollars for it?) is that your phone has no "interop-unlock" or similar "jailbreak" available right now, so you don't have any way to access the app's isolated storage at all. Thus, you can't change it.
niicholai said:
Thank you good sir. How do I find the games though? I've tried turning on hidden items view, but I only see my basic folders when I go into my phone.
Click to expand...
Click to collapse
you would need a developer unlock for that (search development & hacking section to get that on your lumia). Next grab Windows phone power tools from here: http://wptools.codeplex.com/ . Install a XAP of the game (you need to find one yourself) usinf power tools. Next you run the game, after that you can copy its data to a pc using Isolated Storage feature in power tools. enjoy.

Categories

Resources