Android :: Need To Use Transform Package
Apr 5, 2009
I need to use the transform package (transformer, transformfactory, etc.) so that I can convert an xml node to a new document. However, when I try to import the package, it says that it cannot be resolved. Are you not allowed to use this package on Android?
View 7 Replies
Sep 15, 2010
I'm relatively new to Java and android, in my android application I need to get xml file, transform it and show to user.
I know how to parse xml, but I don't want to parse it and generate view after. I'd like to transform it to html and display in WebView.
I'm trying to find something on the Internet but can't find anything
How can I do it?
View 1 Replies
View Related
Nov 21, 2010
I am trying to write some xml generated by my Android app to a file and I'm trying to use javax.xml.transform to do this. Only problem is that javax.xml.transform is not being found by eclipse.The only options that come up are javax.xml and javax.xml.parsers. Does anyone know what could be going on?
View 2 Replies
View Related
Feb 12, 2009
i work on custom Application Manager and try to get the disk usage of installed package. So PackageManager.getpackageSizeInfo was removed from SDK on 0.9->1.0 update android.content.pm. PackageStats(String pkgName)(cacheSize, codeSize, dataSize) returns always "0" Size of phys. file (java.io.File) in "/data/app" seems wrong/not completely. Has anybody any solution to get the total disc space used by an installed package?
View 4 Replies
View Related
Dec 22, 2012
my phone recently died when i was away from home and when i got home and plugged it in it says that the battery is disconected and cannot charge. ive unplugged it and checked to make sure the batter is in all the way but it still says it is disconnected.
View 1 Replies
View Related
Nov 9, 2012
I've had problems since the 4th month of this phone and its at a year now. It lost it's wifi back then and I managed to get it back by wiping it a number of times, both factory resets and android type.Other problems have occurred, I've taken care of them along the way. Now, the phone only works if it's plugged in. If it isn't, it goes dead. Shuts itself off immediately without a plug-in charge.
Btw, Samsung never would honor the warranty, citing they" don't replace phones but would "take a look at it" but couldn't "guarantee what they could do for it's software". I've had Samsung phones before and never had problems like this.
View 1 Replies
View Related
Sep 7, 2012
How to root this device?
View 1 Replies
View Related
Jun 29, 2012
My family sends out a plethora of group messages each morning that goes well beyond the "have a good morning". Just this morning I received 15 texts in 30 minutes from five of them. One will start the conversation as a group message and the others jump on the bandwagon. Is there a way I can "block" from receiving group messages? I want to still receive individual texts from them - I just never want to receive a group text. Asking them to not include me in the group has not seemed to work. Just hoping my phone has an option to block.
View 1 Replies
View Related
Mar 22, 2012
I just Rooted my phone (Samsung Transform 2.2.2) and wanted to know if it was wise to move Google apps to SD (Maps, Search, etc)?
View 6 Replies
View Related
Oct 7, 2010
I'm attempting to override an Android View class to tweak the functionality just slightly. But I need to modify a field that does not have a setter method. I've placed the subclass in a package called android.widget. Why can't I access any of the package-private member fields? I notice that the compiler says they "cannot be resolved," rather than not being accessible. Does this have something to do with how Android.jar is built?
View 2 Replies
View Related
Sep 16, 2009
I have installed the new SDK 1.6r1 on Windows and I realise that 1.6 does not included the older APIs so ran the android.bat tool to download them. The "available packages" only offer me SDK Platform Android 1.1 API 2; I was also hoping to download 1.0 API 1 as I am developing an application that only needs very basic functionality and I would like to be compatible with as many devices as possible.
View 2 Replies
View Related
Oct 21, 2010
Guys I found this today http://innovator.samsungmobile.com/galaxyTab.do and was able to install the package into my avd manager and I now have the Galaxy Tab emulator running.
View 10 Replies
View Related
Aug 27, 2009
Just wanted to know, if we participate in ADC2 will we be required to use a different package name (to the ADC one) for our app *after* the competition is over? Reason for this is that I'm wondering whether I should assign a separate package name now for ADC and keep my standard one for later.
View 2 Replies
View Related
Nov 23, 2009
I have splitted my Android project in 2 packages, lets say: test.current and test.another. From an activity in test.current I want to start an activity in the package test.another
View 6 Replies
View Related
Mar 23, 2009
I'm looking for a way to get the certificates from a package that are used to sign it. Using the PackageInfo class it is possible to get the signatures. But what can I do with signatures if I don't get the public keys to verify these.
The next question I have where does the PackageInstaller verify the signed APK file? The PackageParser class loads the APK file into a JarFile object but does this automatically verify the signature?
View 3 Replies
View Related
Nov 1, 2010
does anyone know how you can find the package name for a particular app already installed on your handset? They usually go like: com.example.prototype(Where the folder prototype cotains the runnable files)Trying to use the intent function to launch an app within an app.Was told putting this code in the onclicklistener method for the button would allow this, yet to test it successfully. I reckon it works, just need to figure out package name of the app I wanna launch.Intent i = new Intent(Intent.ACTION_MAIN);i.addCategory( Intent.CATEGORY_LAUNCHER); i.setPackage("com.otherapp.package"); startActivity(i);Want to press a button, to launch the "com.otherapp.package"
View 8 Replies
View Related
Jul 9, 2010
If i create a service and in it use the method context.getPackageName() or context.getPackageCodePath(). If i then compile that service into a .jar file and someone else includes it in their app will those methods return the original package of the service or that package that they have been included in?
View 3 Replies
View Related
Jun 30, 2009
Is there any method to get all android package name?
View 4 Replies
View Related
May 14, 2010
I am trying to put an XML file containing over 1,000 different fish into my app so that I can read this file, create an Array and attach that to the AutoCompleteTextView. I first tried to create a string-array in a resource file but apparently the array was to large and would never actually load anything after a certain number of values. So want I want to do is add that XML file to a place in my app that I can access it and read from it. Whenever I try to bring the XML file in I get all these errors in Eclipse. So how do I add this file and how do I reference it later in order to access it? I could just store it online and access it that way but I think it is a little bit of a waste to have to access the net for that if I can instead just add it to my package setup someplace.
View 4 Replies
View Related
Jun 2, 2010
I've written an Android app wich various abstract classes that perform useful functions. These functions could be leveraged in other apps. I want to share a class module with another programmer, but I don't want to share the source code. I would like to share a .class file but I'm not sure how to do the following:
Compile an Android .java file into .class What does the receiver of the .class file have to do to use that .class in their project? (using Eclipse environment)
View 2 Replies
View Related
Aug 18, 2010
I am working on windows with JDK, Android SDK and eclipse set successfully. I download the com.android.sdk package from: http://android.git.kernel.org/?p=platform/packages/apps/Stk.git;a=summary
But when I import the project to the eclipse, errors happen everywhere. Mostly is about the com.android.internal.telephony.gsm.stk.something cannot be imported. I googled to find the reason. It only says because of the these packages is internal package and cannot import with standard SDK. So the question is: How can I compile this project? Should I make a linux environment and get the whole android source code to do this?
View 1 Replies
View Related
May 31, 2010
Once I have created a project with the Android wizard, how do I change the API Package from say 1.5 to 2.1 ?
I'm not referring to the application xml where the minimum API is set, I'm referring to the jar's included in my project to the Google APIs.
View 1 Replies
View Related
Jun 29, 2010
I've been playing around with android app and widgets. have a few things running. but one thing i cant seem to figure out is how to package more than 1 widget. say i wanted to release my set of widgets? where in the manifests can i do this?
View 2 Replies
View Related
Feb 24, 2009
How do I get the Package Name if I am having the PID of the process. For example, if I want to output a list of currently running processes, I can get the PIDs but how do I get the names of the PIDs?
View 7 Replies
View Related
Feb 25, 2009
I'm looking for ideas on how to have a package that is not distributed through the Android Market (it's in closed Beta) upgrade itself.
I had hoped to download the .apk file from my web server and then use PackageManager.installPackage(), but that requires the INSTALL_PACKAGES permission, which is apparently not available to packages not installed in /system/app.
Best idea I have now is to launch an Intent to download the .apk (via web browser), but that would require the user to then manually install the package, which is unkind.
View 2 Replies
View Related
Aug 27, 2009
What I am trying to do is install two applications, packaged from the same code, but with different names and different strings.xml files.
I created the two apk files, however, when trying to install the second application, it fails because it says it's already installed. From what I can tell, it thinks the two applications are the same, my guess is because of the package attribute in the manifest. I modified the manifest with a different package name, but R is generated based on that package name and that affects the rest of the code.
So, my question is this: What's the process I should be using to install two applications using the same code, but with different names and different strings.xml files?
View 3 Replies
View Related
Jul 1, 2010
I m building an android application where I need these packages to import:
import com.sun.cnpi.rss.elements.Item;
import com.sun.cnpi.rss.elements.Rss;
import com.sun.cnpi.rss.parser.RssParser;
import com.sun.cnpi.rss.parser.RssParserException;
import com.sun.cnpi.rss.parser.RssParserFactory;
What should I do? From where can I find these packages?
View 1 Replies
View Related
Sep 24, 2010
I'm developing an Android project which currently has 4 packages:
com.myapp.app.activities
com.myapp.app.db
com.myapp.app.ws
com.myapp.app.utils
Would I be able to create an additional package which is just com.myapp.app. Eclipse isn't letting me create this package. It tells me a package with this name already exists. If I start a new project and create a package called "com.testing.app" and then create a new package called "com.testing.app.activities" afterward, it works fine.
For Android developers: What I'm wanting to do is extend the Application class and have it in a separate package. Suppose com.myapp.app can't be used, what's a good name for this new package?
View 4 Replies
View Related
Feb 26, 2010
Because I could not get avaible package from "Android SDK and AVD manager" of eclipse, could I get this avaible packages from somepalce?
View 2 Replies
View Related
Jul 6, 2010
How do I make fields accessible across a package? Currently, even if they are declared public i'm not able to access the fields from another class in the same package.
View 2 Replies
View Related