[android-developers] Re: Adding Java JCE provider statically as part of Android

2012-03-27 Thread garaus
Are any updates regarding to this?

On Wednesday, September 29, 2010 8:06:38 AM UTC-4, Kamal wrote:

 Hi, 
 Is there a way to load Java JCE provider statically as part of 
 Android. 

 Regards, 
 Kamal.

-- 
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
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Adding Java JCE provider statically as part of Android

2012-03-27 Thread garaus
Are any updates regarding to this?

On Wednesday, September 29, 2010 8:06:38 AM UTC-4, Kamal wrote:

 Hi, 
 Is there a way to load Java JCE provider statically as part of 
 Android. 

 Regards, 
 Kamal.


On Wednesday, September 29, 2010 8:06:38 AM UTC-4, Kamal wrote:

 Hi, 
 Is there a way to load Java JCE provider statically as part of 
 Android. 

 Regards, 
 Kamal.


On Wednesday, September 29, 2010 8:06:38 AM UTC-4, Kamal wrote:

 Hi, 
 Is there a way to load Java JCE provider statically as part of 
 Android. 

 Regards, 
 Kamal.

-- 
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
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Start activity from preference-headers

2012-01-11 Thread garaus
I'm implementing n-layer PreferenceActivities 1st layer
PreferenceActivity is loaded from preference-headers.

First header creates fragment of settings which is a
PreferenceFragment. Second is a browser activity (2nd is an example
from developer.android.com) which opens specified Url. The third one I
want to be a next level of PreferenceAtivity that also will be loaded
from preference-headers.

First two work fine but 3rd is crashing an app with the exception:

android.content.ActivityNotFoundException: No Activity found to
handle Intent { act=android.intent.action.VIEW
dat=com.mycompany.myapp.ui.MyPreferenceActivity} 

MyPreferenceActivity declared in the manifest file. Probably
declaration of activity in main_headers.xml is wrong, but I didn't
find in references any tip how to do it correct. Tried several
variations, they didn't work.

Example I used: 
http://developer.android.com/reference/android/preference/PreferenceActivity.html

Any thoughts why it doesn't work for me or how the next
PreferenceActivity can be called? Basically I just need to start an
activity from header, that should be really simple but I'm missing
something.

public class MySettings extends PreferenceActivity
{
@Override
public void onBuildHeaders(ListHeader target)
{
loadHeadersFromResource(R.xml.main_headers, target);
}
}
main_headers.xml:

?xml version=1.0 encoding=utf-8?
preference-headers
xmlns:android=http://schemas.android.com/apk/res/android; 

header android:title=Custom Settings
android:fragment=com.mycompany.myapp.ui.SettingsFragment /

header android:title=Intent
android:summary=Launches an Intent.
intent android:action=android.intent.action.VIEW
android:data=http://www.android.com; /
/header

!-- and something like this --
header android:title=Another Preference Activity
intent android:action=android.intent.action.VIEW
 
android:data=com.mycompany.myapp.ui.MyPreferenceActivity /
/header
/preference-headers

-- 
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
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Standard paddings for custom preference

2011-10-17 Thread garaus
Hi everybody,
This question sooner for android team, because searching for the
answer and asking on stackoverflow didn't give a result.
Layout of preferences has paddings. On different devices they are
different. I created a custom preference, without paddings it doesn't
look consistent with other preferences, but assigning paddings
manually doesn't make preference look the same on every device. Does
anybody know some way or trick or workaround how to apply standard
paddings for a preference?

-- 
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
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Disable external storage

2011-07-11 Thread garaus
There is a situation when user wants to make possible to lock/disable
external storage, in other words make it not mountable until this
option enabled after password entered. For instance when somebody's
tablet has been stolen or lost when screen wasn't locked. Even if data
encrypted it still will observable on the non-locked device.
Is the any way disable external storage programmatic?

-- 
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
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Device administration disabling

2011-06-23 Thread garaus
Hi everybody,

Device administration app can't not be uninstalled if it is not
disabled. User can disable Device Administrators from the settings.
When company gives android devices to its employees, company wants to
have a control over devices, their statuses and policies, but user can
easily get rid of that control. Does anybody know how it is possible
to prevent user from disabling Device Administrators?
Thanks.

-- 
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
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Enforce Device Policy Manager rules remotely

2011-06-22 Thread garaus
Hi folks,
Regarding to android Docs, Device policy can be enforced for example
by exchange server administrator remotely. (Through the Email
application, Exchange administrators can enforce password policies —
including alphanumeric passwords or numeric PINs — across devices.)
Could anybody point me to an example how to use Android Email App to
apply policies?

-- 
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
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] AudioRecord on Emulator with friquency 8 kHz

2010-03-26 Thread garaus
Hello dear developers,
I'm doing a voice recording using AudioRecord class and the main
requirement that the frequency must be 16000 Hz. I'm using only
emulator in development process for now and met the problem that I
can't set frequency more than 8000, otherwise I get bufferSize == -2,
and can't create instance of AudioRecord with such buffer.
Thank you to Szabolcs Vrbos, he told me that this problem is only with
emulator and several Samsung phones, device can record with higher
frequency.

I need a word from Android engineers that I will be able to record
voice with 16000 Hz frequency on for instance HTC Hero (Android 1.5)
or similar device with os 1.5 or higher.
Thank you.

-- 
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
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.