[android-developers] Upgraded JSON Signature Scheme

2013-12-20 Thread Anders Rundgren
https://openkeystore.googlecode.com/svn/resources/trunk/docs/jcs.html http://webpki.org/downloads/secure-json-4-android-v1.00.zip New and complete spec. in HTML5. Anders -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Secure JSON - Light-weight replacement for the missing XML DSig support

2013-11-05 Thread Anders Rundgren
Docs + Demo:https://mobilepki.org/jcs Source:http://webpki.org/downloads/secure-json-4-android-v1.00.zip Usage in an application:https://play.google.com/store/apps/details?id=org.webpki.mobile.android Anders -- You received this message because you are subscribed to the Google Groups

[android-developers] Blocked by Moderator?

2012-10-29 Thread Anders Rundgren
I have sent several messages to this list and none of them show up. What's the reason for this? Anders Rundgren -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Android Browser plug in

2012-10-29 Thread Anders Rundgren
I wanted the same but have given up on the idea since plugins doesn't exist in Android and have been removed in Windows 8. The currently only useful method seems to use a custom protocol like Google does with market://. If you search stackoverflow you will find example of how you do that. It is

[android-developers] XML Schema Validation in Android

2012-10-29 Thread Anders Rundgren
Since Google has declined to support XML Schema validation http://code.google.com/p/android/issues/detail?id=7395 and the method for adding an XML schema-compliant parser is not actually implemented (!) I took a somewhat dated Xerces port of mine and made it available for general use. The

[android-developers] Creating keys for usage with KeyChain

2012-10-21 Thread Anders Rundgren
Google can create keys accessible through KeyChain using the browser and keygen. How can mere mortals do the same thing? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Validating XML Parser - Available

2012-10-17 Thread Anders Rundgren
Since Google claims that they don't intend to support XML Schema validation some people have done various ports. On https://code.google.com/p/openkeystore/ There is a project android.mod that contains the source of a Xerces port. Using ant you can create a jar for putting in libs. There is

[android-developers] Re: Does Android support APDUConnection as known from JSR 177?

2009-02-23 Thread Anders Rundgren
I don't know but JSR 177 seems to be a J2ME-related JSR. Android has (in theory) a JCE-based API that does what JSR 177 does and more. The problem is really that there is no link between the JCE and the SIM if that's what you are looking for. Personally I think using the SIM with JSR 177 is a bad

[android-developers] Re: Does Android support APDUConnection as known from JSR 177?

2009-02-23 Thread Anders Rundgren
of Android, but shifted my focus in 2008. The only thing, I wanted, was to return... But I was BANNED, thanks... Regards On 23 Feb., 13:10, Anders Rundgren anders.rundg...@telia.com wrote: I don't know but JSR 177 seems to be a J2ME-related JSR. Android has (in theory) a JCE-based API that does

[android-developers] Android Keystore V2

2009-02-22 Thread Anders Rundgren
and/or the Android GUI. Note: this is not yet another password vault or similar, this is about *eventually getting rid* of passwords! Anders Rundgren --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Newbe question - Application folders, how to?

2008-12-05 Thread Anders Rundgren
, that is a flat list of apps.  But you can just write an activity that goes in there, and when your activity is launched show a folder of whatever sub-activities you want. On Thu, Dec 4, 2008 at 9:06 AM, Anders Rundgren [EMAIL PROTECTED]wrote: Thanx! But I wanted to create a folder

[android-developers] Re: Newbe question - Application folders, how to?

2008-12-04 Thread Anders Rundgren
PROTECTED] wrote: Long press an empty space on Home (or click Menu Add) then choose Shortcut Folder. You can drop applications in the newly created folder. On Sat, Nov 29, 2008 at 2:56 AM, Anders Rundgren [EMAIL PROTECTED] wrote: In other operating systems you can typically define a folder

[android-developers] Newbe question - Application folders, how to?

2008-11-29 Thread Anders Rundgren
In other operating systems you can typically define a folder and when clicked it opens a view with applications. I may be blind, but I don't see any of this using the emulator and SDK 1.0. Is the ApiDemos the only GUI-way you can create a suite of associated applications?

[android-developers] Re: javax.net.ssl.SSLException: Not trusted server certificate

2008-11-20 Thread Anders Rundgren
Are you using a commercial SSL cert vendor like VeriSign. If not you need to either disable certficate validation or install the trust anchor of the SSL cert. I don't have the G1 som I only know how to do it on the emulator. It wasn't easy BTW since Android does not use the standard SUN format

[android-developers] Re: About running two different applications with the same code base

2008-11-18 Thread Anders Rundgren
I believe the Android demo APIDemos is doing this. I.e. a single APS file can host multiple applications sharing a common codebase. BR AR On Nov 18, 9:02 pm, magicpig [EMAIL PROTECTED] wrote: Any one can help? On Nov 17, 2:15 pm, magicpig [EMAIL PROTECTED] wrote: Hi,       I am

[android-developers] Re: working WebView example?

2008-11-18 Thread Anders Rundgren
There is a WebViewDemo app which worked fine for me. http://code.google.com/p/apps-for-android/source/browse/#svn/trunk/Samples/WebViewDemo Anders On Nov 18, 5:36 pm, joshv [EMAIL PROTECTED] wrote: Try putting the WebView in your layout, assigning it an appropriate ID, and then in onCreate

[android-developers] Terminal Services Client?

2008-11-12 Thread Anders Rundgren
It seems that it might be useful to not always try to replicate the fat-client but rather use terminal services for certain not so often used applications. Is there such a thing available for Android? BR AR --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Error while connecting to ms sql server 2005 database

2008-11-12 Thread Anders Rundgren
Have you put the msft jdbc driver in libs? Anyway, I wouldn't go this route at all, it is better to put databases behind web-servers and use http/SOAP for database access. If you goal is an admin utility I would consider terminal-server solutions so that you can use existing admin tools rather

[android-developers] Browser extensions i Java? YES, NO, Some?

2008-11-06 Thread Anders Rundgren
For those who do not feel that traversing tons of C++ code to get the real truth is their cup of tea, I wonder if somebody from the Android core team could elaborate a bit on what is possible to do in Java with respect to browser extensions? In particular: - Support for the HTML Object type -

[android-developers] Re: Yet another HTTPS problem with HttpClient in Android SDK v1.0r1

2008-11-06 Thread Anders Rundgren
Wrong keystore version could mean that you do not use the BKS format but JKS. I had to write a converter: package org.webpki.tools; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.Enumeration; import java.security.KeyStore; import java.security.Key; import

[android-developers] Re: Android Database connectivity program

2008-11-05 Thread Anders Rundgren
Hello Ram, You could try to import the MSFT JDBC driver. It is probably very big. But I would not. The best is to create a web-service that talks to SQL server and returns the stuff you asked for. Few if anybody connects to SQL server over the Internet even if it is possible. Over VPN you can

[android-developers] Re: Updating /system/etc/hosts has no effect

2008-11-05 Thread Anders Rundgren
Sorry but I found out that the carriage return characters left by Notepad is incompatible with Linux. Lessons learned: Windows != Linux :-) On Nov 4, 7:37 am, Anders Rundgren [EMAIL PROTECTED] wrote: I managed through help from Google (thanks!) make /system writeable by issuing adb remount. I

[android-developers] Re: Creating libraries for android

2008-11-05 Thread Anders Rundgren
, 4:53 am, Anders Rundgren [EMAIL PROTECTED] wrote: Is the following workaround possible: Having multiple applications in a single APK. It seems so by looking at APIExamples but would it be possible to host applications in a own-defined tools window (I.e. like where apps seem

[android-developers] Updating /system/etc/hosts has no effect

2008-11-03 Thread Anders Rundgren
I managed through help from Google (thanks!) make /system writeable by issuing adb remount. I also managed updating /system/etc/hosts so that the magical address 10.0.2.2 would point to my hosts symbolic name. ping to the magical address works ping to the symbolic address does not - unknown host

[android-developers] Re: browse localhost using android emulator

2008-10-27 Thread Anders Rundgren
You must not use the name localhost but a weird NAT address 10.0.2.2 http://code.google.com/android/reference/emulator.html#emulatornetworking If you want to use hostnames you must also install a DNS server because the hosts file cannot be modiied. Anders On Oct 27, 8:34 am, mushimi [EMAIL

[android-developers] Re: Help_Appreciated: Sample code for getting data from a web server

2008-10-27 Thread Anders Rundgren
The common way is to use something like a web-service. It can be as simple as sending an HTTP get to http//example.com/mydbapp?item=45 which should return data in a shape that your local app understands which can be XML JSOn or custome good luck! Anders On Oct 24, 9:17 pm, Armanda Lewis

[android-developers] Re: Fastest Combination of Http Post/Get and XML parsing libs

2008-10-26 Thread Anders Rundgren
I believe that this issue should be addressed by the Android team since it is of general interest. My guess is that the virtual machine reduces speed compared to with native code with a factor of 10 or so. The only reasonable work-around is to do a mixed implementation where some of the parts

[android-developers] Re: Unable to update hosts and cacerts.bks

2008-10-25 Thread Anders Rundgren
Obviously I'm not alone... http://groups.google.com/group/android-developers/browse_thread/thread/f9278d120d773c8d/b16ff4bbce56b787 Anders On Oct 23, 7:09 pm, Anders Rundgren [EMAIL PROTECTED] wrote: For those who call local servers it is convenient to be able to update hosts. When I try

[android-developers] HostnameVerifier for HttpsURLConnection does not work

2008-10-24 Thread Anders Rundgren
(HttpsWrapper.java:402) at org.webpki.net.HttpsWrapper $CommandLine.execute(HttpsWrapper.java:138Regards Anders Rundgren http://WebPKI.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Error using XMPP using Smack API 3.0.4

2008-10-23 Thread Anders Rundgren
I hope this can be of some help # ls /system/etc/security ls /system/etc/security otacerts.zip cacerts.bks Anders --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Unable to update hosts and cacerts.bks

2008-10-23 Thread Anders Rundgren
For those who call local servers it is convenient to be able to update hosts. When I try updating /system/etc/hosts I get the error read-only file system Updating cacerts.bks is not possible either since there seems to an undocumented password as well! Anders

[android-developers] Linux help command?

2008-10-23 Thread Anders Rundgren
For those who are not Linux specialists, it would be nice with a help command. A doc page would probably be even better. As I understand Android implements a subset og Linux shell commands and man isn't one of them. Anders --~--~-~--~~~---~--~~ You received this

[android-developers] BouncyCastle PKCS12 - dead?

2008-10-22 Thread Anders Rundgren
Program fragment that works as expected in J2SE with both BC and SUN JCE providers: public static void main (String arg[]) throws Exception { KeyStore store = KeyStore.getInstance(PKCS12); store.load (new FileInputStream (new File (arg[0])), arg[1].toCharArray ());

[android-developers] Succeeded porting Xerces DOM parser

2008-10-21 Thread Anders Rundgren
Today I managed to port apache's Xerces java XML DOM parser. I unfortunately had to give it completely new package names since SDK 1.0 R1 is lagging with respect to org.w3c.dom and probably in other ways as well. Anyway, the performence seems quite reasonable on the emulator, so I urge Google

[android-developers] sharedUserId - What does it mean wrt to Java classes?

2008-10-21 Thread Anders Rundgren
Does sharedUserId imply that you do not need to duplicate custom class libraries between cooperating applications? Anders --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Using the browser environment

2008-10-17 Thread Anders Rundgren
I'm in an very early state trying to create a content listener that would start when the browser hits a MIME it doesn't understand. That is feasible, right? However, I want this app to block (as long as it is active) the browser and start communicating back to the server using the existing