Hi, my current problem is that I don't receive an intent. I have a
BroadcastReceiver and defined in the AndroidManifest.xml file that it
also should receive intents with these actions
- android.intent.action.PACKAGE_ADDED
- android.intent.action.PACKAGE_CHANGED
-
schrieb Lutz Schönemann:
Hi, my current problem is that I don't receive an intent. I have a
BroadcastReceiver and defined in the AndroidManifest.xml file that it
also should receive intents with these actions
- android.intent.action.PACKAGE_ADDED
- android.intent.action.PACKAGE_CHANGED
Hi,
I have created a service and want to expose the interface to other
applications. For one service I have done this successfuly. I just put
the AIDL interface into the new project and all worked fine. Now for
this service I've done the same but I get a java.lang.VerifyError when
trying
in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 28, 3:29 am, Lutz Schönemann
lutz.schoenem...@sit.fraunhofer.de wrote:
Hi, my current problem is to access my own service. The thing is I
have 2 interfaces for my
in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 28, 3:29 am, Lutz Schönemann
lutz.schoenem...@sit.fraunhofer.de wrote:
Hi, my current problem is to access my own service. The thing is I
have 2 interfaces for my service and want to restrict one of them
Suddenly it works. The change is, that instead of hardcode the
permissions name into the code, I used:
Manifest.permission.MY_PERMISSIONS_NAME;
Am 31.08.2009 um 11:41 schrieb Lutz Schönemann:
I've tested it with a system permission
(android.permission.INTERNET) and it worked fine
Hi,
is it possible to use classes that are defined in other applications?
I have two dependent projects and want to use classes from one project
inside the other. I use eclipse and in the project preferences
Project References I checked the other project. In addition I added
the
a jar file and import jar library in other projects
2009/8/31 Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de
Hi,
is it possible to use classes that are defined in other applications?
I have two dependent projects and want to use classes from one
project inside the other. I use eclipse
Hi, my current problem is to access my own service. The thing is I
have 2 interfaces for my service and want to restrict one of them to
applications that have a special permission.
I have a service and an activity in one package. The application has
that special permission but I always
You also can put your string into the intents data bundle object if
you are using intents to start your next page:
Intent intent = new Intent(YourAction);
intent.setExtras(Username, username);
startActivity(intent);
Am 28.08.2009 um 12:05 schrieb Panut Sunyakorn:
You can use
you need a reference to the class that contains the method you want to
call.
To access the mehtod homepage() inside the eSkyGuide from the class
Weather, you need an instance of the eSkyGuide class inside the
instance of the Weather class.
for example:
public class Weather extends
Am 28.08.2009 um 13:42 schrieb Sasi Kumar:
public static String username;
s2.java
private String df;
df=s1.username;
Bad idea. So you have to hardcode the username because it's static and
you can't change it at runtime
Use intents for this
thats all!.
On Aug 28, 2:22
Hi,
I have more than one problem to use the addProximityAlert() method
from the LocationManager class.
The first thing is that I want to create a PendingIntent for a
broadcast receiver. Therefor I use this code:
Intent intent = new Intent(app1.PROXIMITY_ALERT);
(LocationManager.KEY_PROXIMITY_ENTERING)));
}
}
}
}
The latitude and longitute I registerd for is 1, 1 and on the terminal
I run the geo command multiple times:
geo fix 3 3
geo fix 1 1
...
What am I doing wrong?
Am 03.08.2009 um 15:12 schrieb Lutz Schönemann:
Hi,
I have
Okay, I managed to get it to work on a real phone (Google Dev Phone
1). But why doesn't it work on an emulator? Is there more to do than
just use the geo command?
Am 03.08.2009 um 19:02 schrieb Dianne Hackborn:
Please look at the examples in ApiDemos.
2009/8/3 Lutz Schönemann
Hi,
i have a little frontend showing a list of items that it will retrieve
from a service. I want that service to be started in a separate thread
so the UI is still responding to user interaction while waiting for
that service to call a callback method.
What is the best way to start the
How should I design a method that needs a few seconds to return a
result? Even if I put the call to that method inside a separate thread
it will not return faster.
Am 27.07.2009 um 16:07 schrieb Mark Murphy:
Lutz Schönemann wrote:
Hi,
i have a little frontend showing a list of items
So, do you think that it is a good idea to design the UI that it
wait's for callbacks from the service?
Am 27.07.2009 um 16:44 schrieb Mark Murphy:
Lutz Schönemann wrote:
How should I design a method that needs a few seconds to return a
result? Even if I put the call to that method inside
I need some info about the android.content.pm.Signature object.
Currently I do the following to get the certificate used to sign the
package:
---8---8---8---
ByteArrayInputStream is;
CertificateFactory cf;
try {
cf = CertificateFactory.getInstance(X.509);
}
Maybe you have compiled your application for Android 1.5. Make sure to
set Android 1.1 as target.
Am 13.07.2009 um 13:10 schrieb bluestar:
Hi all,
I used Eclipse-SDK1.5 to create one app from apk(myClient.apk),
and install on OpenMoko(Android version 1.0)
but i received this
If you have all your Views in a LinearLayout or an other container
that extends ViewGroup you can use the functions
getChildCount() and getChildAt(int) and iterate through all of the
contained views.
Am 13.07.2009 um 18:21 schrieb Mathieu Plourde:
I have the instance to my activity, and
Doesn't anybody know something about grouping permissions? The
documentation does not explain that tag in depth.
Lutz
Am 14.05.2009 um 16:38 schrieb Lutz Schönemann:
Hi,
I need some help to understand the use of permission-group tag in
AndroidManifest files. Is there any need of using
Hi,
I need some help to understand the use of permission-group tag in
AndroidManifest files. Is there any need of using permission-group and
what benefit offers this grouping? Is there a plus security using it?
Does anyone know an example when to use it?
Thanks for help
Lutz
Hi everyone,
my current problem is that I have two application. The first one
defines a new permission and is already installed. The second uses the
permission defined by app 1. When I try to install it by downloading
it with the browser the PackageInstaller crashes.
Looking at the logs
If you're looking just for a book on OpenGL there are the official
books:
- The Redbook: The OpenGL Reference Manual
http://www.opengl.org/documentation/blue_book/
- The Bluebook: The OpenGL Programming Guide
http://www.opengl.org/documentation/red_book/
You can also look on this site:
Hi,
try the 'setHeader(String name, String value)' method from the HttpGet
class. For example:
--- snip ---
DefaultHttpClient client = new DefaultHttpClient();
HttpGet method = new HttpGet(url);
HttpResponse response = null;
method.setHeader(user-agent,
Hi,
I want to do some development on the Android system. Is there a way to
make Eclipse know about the entire API that Android provides to
systemtools? And is there a reference for that API?
Thanks
Lutz
smime.p7s
Description: S/MIME cryptographic signature
If you use the DefaultHttpClient to connect to your server you don't
need to reconnect. You'll receive a HttpResponse. You should validate
the status code if the request was successful. after that just
retrieve the HttpEntity. This class provides a getContent() method
which returns a
The point is now: Android already has this user interface description
(layout.xml) and the code which inflates such a description (in
preprocessed form) to a user interface. It would be awesome to reuse
this code!
You can use that LayoutInflater to create the tree of views and attach
it to
Am 26.03.2009 um 16:12 schrieb Stoyan Damov:
ResponseHandlerString responseHandler = new BasicResponseHandler();
String body = httpClient.execute(method, responseHandler);
That's much simpler. But is there a way to get the status code if you
do it this way?
Lutz
2009/3/26 Lutz
Well there is a PackageParser class inside the core which reads the
Certificates. But there seems to be no interface to get them via the
standard API. Do I have to let my app parse the package it self?
Am 23.03.2009 um 18:09 schrieb Lutz Schönemann:
Hi,
I'm looking for a way to get
Hi,
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
Hi,
you can try to add a simple View object between the two Buttons. I
found this snippet in the Android source code:
Button
android:id=@+id/ok_button
android:layout_width=150dip
android:paddingLeft=6dip
android:layout_gravity=left
Hi,
I want to create a activity that receives intents modify these and
send them to an other activity that is also registerd to receive this
kind of intents. These two activities are not in the same package. Is
there a way to specify a activity that should receive this intent?
I am new to
34 matches
Mail list logo