Android :: Displaying Installed Packages Name
Mar 23, 2010
I want to display all the installed packages to user. Below is the code snippet I used but not sure why it is not working.
int flags=0; PackageManager pack = null; List<PackageInfo> packInfo= pack.getInstalledPackages(flags); CharSequence[] items = new CharSequence[packInfo.size()];
Vector <Process>allProcesses = new Vector <Process>(); for (int i=0;i<packInfo.size();i++) { String packI = "Packages"+packInfo; Toast.makeText(this, packI, Toast.LENGTH_LONG).show();
}
I just to display the entire list of packages to user. Any idea what's the problem with the above code?
View 5 Replies
Apr 7, 2010
When i try to do "update all" from Android SDK and AVD Manager thru' windows environment i got following error msg - Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: dl-ssl.google.com, can anybody pls let me know of the correct link from where it will fetch the packages?
View 1 Replies
View Related
Oct 10, 2010
I'm writing an app, that has a somewhat modular system. It has a core app, and some apps, that consist of a single Service, that implements the desired interface. I followed the guide to create the IPC communication. But now I need to get all the services, installed on the system, that my core app can work with. How do I do this? I mean, is there any way to mark my Service apps with some kind of a tag, and then filter results, presented by the PackageManager#getInstalledPackages() based on that tag value? What's the common practice of doing so?
View 1 Replies
View Related
Apr 24, 2009
I have see some apps in Android that use some packages:
import android.net.http.EventHandler; import android.net.http.Headers; import android.net.http.RequestQueue; So some packages do not support the current version of SDK. Where can I find it? Would u tell me about it?
View 2 Replies
View Related
Aug 31, 2010
Can anyone tell me what are the packages available in Android, and which package is frequently used and for what purpose they are used. Anybody please help me regarding in this.
View 2 Replies
View Related
Jul 10, 2010
I've been trying to modify the native android applications downloaded from the android source repo at github. But I noticed that after creating Eclipse projects from some apps, like the Launcher, there are missing imports, variables that are not declared anywhere else, etc... After my initial research, I noticed that some of the libs that are native, are compiled at runtime and registered in the dalvik VM as java libs and by having done this the system finds these as already present libs, the same goes for the "phantom" variables. But I don't understand how does a developer open such a project in any java ide, and compile it. So what do Google developers use to work on android apps? I don't believe it's eclipse, since I am not sure you can make eclipse use runtime imports, and runtime variables. And I am almost certain that they do not write code in notepad.
View 3 Replies
View Related
May 27, 2010
I am including a class in my app that another developer has made freely available. His class has a different package. Will this cause any issues on Android, the market, etc? Does every single class in the app need to be my own package?
View 2 Replies
View Related
Mar 23, 2009
What are the implications for future Android device releases if we are using non-standard packages such as "com.google.android.maps"?
View 4 Replies
View Related
Nov 3, 2010
if this is a silly question, am sorry about that. I was wondering if its possible to design android icons using a 3d modelling package like blender? i know i have to stick to the guidelines documented already, but was just wondering if anyone had come across or done something similar? Its that little part of the icons(launchers) being able to have a slight perspective and looking through the requirements to design icons it seems i might be a lot faster using a 3d modelling package and then following part of the icons template guide(based from my requirement though!).
View 2 Replies
View Related
Oct 23, 2009
I have seen several applications that are free, but allow for add on packages to be installed. Gang Wars sells Respect Points Mafia sells Favors Dungeon Quest sells Gems The central game is a free app, but you purchase these add on apps for in-game benefit. Has anyone purchased one of these add on apps? What is the experience like? Do you have to leave the add on installed on your phone? How does this work technically? Do you think they set shared preferences? How would you handle the 24 hour uninstall rule? I am considering releasing a free game with 10 levels, but offering a full set of levels (say 25) as a separate paid app. I'm looking for the best way to accomplish this and thought the above might have some bearing.
View 3 Replies
View Related
Nov 25, 2009
My app targets 1.5, and runs fine on my phone (1.6), but to support droid, I need the package android.telephony.cdma from 2.0. Targeting 2.0 excludes the current devices running my app (including my own G1), but as it is now, I can't support the Droid.
View 8 Replies
View Related
Oct 17, 2010
i developing Gtalk Like Application. but when i import package i.e. import com.google.android.gtalkservices.IGTalkService; IDE give me Error like Can not resolve.
View 2 Replies
View Related
Jul 27, 2010
I'd like to access resources from other packages installed. Is there any better practice than using getResources() combined with createPackageContext()? Another question is how to use resources from other packages in methods like Notification(int icon, CharSequence tickerText, long when), where 1st argument is just resource id?
View 13 Replies
View Related
Aug 5, 2009
I am new to Android development. I am developing in Eclipse with Android plugin. I am writing an android application, which is dependent on some other new API. I want to know how to export the new API to android emulator. I import the API in the build configuration. It is being compiled. But when I try to run it on emulator, it generates errors.
View 2 Replies
View Related
Sep 28, 2010
I need to import a couple of jars that where compiled under the full implementation of java. I know that Android doesn't use all the packages that java has to offer. My question is: Is it possible to import them without creating errors? Is there a tool that can convert jars to android jars? if so, can some examples be provided.
View 1 Replies
View Related
Feb 16, 2009
I have two packages(Pack1 and Pack2) in same project(Proj) When i created the project (Proj) that time Pack1 was created and R.java was there bydefault.
Now i created Pack2 in same project(Proj) and want to acess some XML files there, but cant access as when i write "R.layout.xxx" that time i don't find any list of xml files there.
Is there any solution to access the XML files across packages
View 3 Replies
View Related
Oct 22, 2009
How do I indicate in the manifest multiple packages
View 4 Replies
View Related
Sep 15, 2010
Can we use j2me packages in android development? I just mean to say like for eg: sax parser is supported in both the platforms. So can we code the business logic in j2me platform and use that class in android platforms and vice-versa?
View 1 Replies
View Related
Oct 5, 2010
So today I had a bright idea to rename my packages, now my android application which I have schedule for release on Thursday is not working.
I am getting a similar error as follows:
Error: Activity class {org.me.androidapplication2/com.albertrosa.DEMO.MainActivity} does not exist.
I have modified the manifest to reflect the change:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.albertrosa.DEMO"
android:versionCode="1"
android:versionName="1.0"
there is more to the manifest but this is all that I have changed. is there something I am missing or doing wrong. I am using netbeans to build this app.
View 1 Replies
View Related
Jul 20, 2010
I've created a service that is meant to communicated to an activity using aidl's and callback functions. I got it working just fine with my test activity in the same package. But I was wanting to expose this service to different activities running in a completely different .apk file. Is it possible to accomplish this? What does the separate package need to bind to my service and register the callbacks? Or am I going about this completely wrong and should I try a different method for conveying information back and forth between two packages.
View 3 Replies
View Related
Apr 29, 2010
I want to install a python package from source on android. Is this possible? I tried in the console to run the py install files, but disturbing (.core, ccompiler) isn't being found. Is it possible to still install them?
View 2 Replies
View Related
Nov 19, 2010
First of all I'd like to mention I am very new to Java programming. This Android project is my first experience with Java. So for one task I need to strip HTML tags from a string. I was thinking about using this answer Removing HTML from a Java String to do this task. In order to do this I need to be able to import javax.swing.text.html.* and javax.swing.text.html.parser.*.
I went to the properties of my project and attempted to add this library to my project. I read that this was included in the rt.jar file which was located at /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar. I was able to use the imports but it seems like it added a million libraries I am not using. Will this negatively effect my application? What is the correct way to add just the one extension?
View 1 Replies
View Related
Jun 18, 2010
I have created a service which exposes few AIDL defined interfaces. I want to access this Service from an application with different package. I have no clue how to achieve this. I want to see an example on this.
Unfortunately all examples I see has client application in the Service package it self:(
Could you please share some sample/example code on this?
View 7 Replies
View Related
Dec 21, 2009
I have implemented code to start android built in applications like email application see the following code...
View 2 Replies
View Related
May 20, 2010
As part of the Android application I am developing in eclipse, I need to combine two packages from different projects into a single project. I tried copying the files in the package of the second project under the src folder of the first folder and copied other files required for second package into the res folder of the first project. But the auto-generated Java files i.e R.java doesn't get updated on copying. I tried right clicking on the project and clicking on Android Tools -> Fix Project Properties. But nothing changed.
View 2 Replies
View Related
Oct 3, 2010
I notice a lot of Handcent font packages in the market. Is this so you can change you fonts? There are about 5 different ones and I don't see any font changing options in the settings. Can some please expain what the font packages are for.
View 5 Replies
View Related
Aug 30, 2009
Are there any sites or free packages for Android icons?
View 4 Replies
View Related
Sep 13, 2010
is there an easy way (api) to do this?
View 6 Replies
View Related
Jul 15, 2010
I want do uninstall some useless apps from /system.
I have super access, and the permission DELETE_PACKAGE in the manifest.
But when i run Runtime.exec("pm uninstall package") I get ERROR/AndroidRuntime(10981): java.lang.SecurityException: Neither user 10094 nor current process has android.permission.DELETE_PACKAGES.
Anyone know how to solve this?
View 2 Replies
View Related
Oct 12, 2010
Sync Gmail on Android source code or packages. How do I get it
View 2 Replies
View Related