Hello,
I render an UI rely on Cursor entries, meanwhile is can happen that an
update of an row get updated in my ContentProvider, so i use
getContext().getContentResolver().notifyChange(uri, null); to inform
the CursorAdapter, but it forces the Adapter to reload everything and
the UI beginns to st
Thanks, i will have a look. Sounds like i may completely have a wrong
impression how the cipherstream have to be used.
I was curious about how this can work:
/*
* Read a predefined data block. If the password is incorrect, we'll
get a
security
* exception here. Without this, we will only get
Just give me a bit more Info there please.
I througth the CipherInputStream / CipherOutputStream deal with the
details there ?
PS: I've got an JUnit Test an it works there pretty well.
On 2 Okt., 21:21, Nikolay Elenkov wrote:
> On Mon, Oct 3, 2011 at 2:36 AM, mac-systems wrote:
>
I try to read encrypted data, but always get java.io.IOException: last
block incomplete in decryption
Setup works like this:
final KeySpec keySpec = new PBEKeySpec(passPhrase.toCharArray(),
SALT, ITERATIONS);
key =
SecretKeyFactory.getInstance("PBEWithMD5AndDES")
I do not understood your question quite right i think.
So, where is the benefit that u want to access the prefs. in the loop
instead get a callback when their change ?
- Jens
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this
ta to be sent over right here
> }
> return c;
> }
>
> 17.03.2011 14:10, mac-systems пишет:
>
>
>
> > Is there any API Example about this stuff in the SDK ?
> > Looks like what i have to use...
>
> > On 17 Mrz., 11:56, Kostya Vasilyev wrot
Is there any API Example about this stuff in the SDK ?
Looks like what i have to use...
On 17 Mrz., 11:56, Kostya Vasilyev wrote:
> 17.03.2011 13:47, mac-systems пишет:
>
> > Hello,
>
> > what would be the best approach to use an ContentProvider and a
> > AutoComple
Hello,
what would be the best approach to use an ContentProvider and a
AutoCompleteTextView ?
Looks like i have to use the CursorAdapter ?
regards,
Jens
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
I'm still curios about that there is no parent style, my understanding
was
that a lot of the default behaviour comes from this styles?
For example the scaletype has a default value,i think
Thx a lot,
Jens
On 9 Mrz., 11:34, Kostya Vasilyev wrote:
> 09.03.2011 13:31, mac-syste
Hello,
i've just cant figure out why this should be wrong ?
- wrap_content
- @dimen/title_height
- @drawable/mv_logo
- 5dp
- [android-developers] Disable dictionary on softkeyboard ?
Hello,
my target version is still 1.6, how can i prevent the dictionary to
appear ?
I want that the user simply enters text as he types it.
Since SDK Target Version 5 theres the Option
android:inputType="textNoSuggestions"
best regards,
Jens
--
You received this messa
Hello, i try to create a style for a TextView which also get the
Background using a Gradient declared in another xml. Its not got
displayed, any sugestion why ?
- #
- #ff88
Hello,
i cant figure out whats wrong, and slowly this turnes into an
"showstopper" for me...
if i use a simple ImageView like this everything works fine (ImageView
is centered on bottom)
http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="wrap_c
Hallo,
i just stumpled over this:
In want to place an Image on the Bottom of the Screen, so i used an
RelativeLayout placed an ImageView in it:
http://schemas.android.com/apk/res/
android"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
My Emulator ist API Versi
U just need the RAW data.
On 12 Jul., 08:56, CMF wrote:
> Seems that there is no API in doing theaudiovisualizer?
--
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
Add:
To you Manifest
--
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...@googlegrou
Hello,
i have Code which plays a notification sound using the MediaPlayer :
AssetFileDescriptor afd = null;
try
{
afd = getContext().getResources().openRawResourceFd(_resourceID);
player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(),
afd.getLength());
player.
The problem is that available() is not what to use there:
Just read from the screen like this:
public class CopyBytes {
public static void main(String[] args) throws IOException {
FileInputStream in = null;
FileOutputStream out = null;
try {
in = new FileI
using HttpClient its easy:
final HttpResponse response = getHTTPClient().execute(httpGet);
if (Logging.isLoggingEnabled())
{
final StatusLine status = response.getStatusLine();
Log.d(LOG_TAG, "Response
Hello,
whats the best way to detect that the App is able to download data
from somewhere ?
At the mo. is do something like this:
public static boolean isNetworkReachable(final Context _context)
{
final ConnectivityManager systemService = (ConnectivityManager)
_con
Cant find any Infos about : android:authority="your.package.name"
--
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
Found the Problem, the is twice there :/
thx,
Jens
--
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+u
Hello,
i have a Alarm which invoke a BroadcastReciever. This
BroadcastReciever enqueues an Task into my Service. The Task get
executed. On a failure i that Task i play a Sound (mostly for me at
the moment so i can check via aLogcat to see the stacktrace).
If the Phone (Nexus One) is sleeping and
I try to get my Reciever running, but at the moment it fails:
My Reciever:
public final class ReplaceReceiver extends BroadcastReceiver
{
private final static String LOG_TAG =
ReplaceReceiver.class.getSimpleName();
/*
* (non-Javadoc)
*
* @see
android.c
ms are targeting, that
> state can't be kept around.
>
>
>
>
>
> On Thu, Jun 24, 2010 at 7:31 AM, mac-systems wrote:
> > Hello,
>
> > how will android handle an update of an app which comes from the
> > market ? Will pending alarm intents still invoke
Hello,
how will android handle an update of an app which comes from the
market ? Will pending alarm intents still invoked ?
thanks for reply,
Jens
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to androi
Of course this is always an option. But sometimes its just annoying.
But its always wise to keep informations together without always
asking the Database.
thx,
Jens
On 17 Jun., 15:56, Mark Murphy wrote:
> On Thu, Jun 17, 2010 at 9:51 AM, mac-systems wrote:
> > Yes, docu sucks big t
Yes, docu sucks big time there, no bock even has examples how to do
this!
Any way to go around this ? If tried to set the ClassLoader like this:
@Override
public void onReceive(final Context context, final Intent intent)
{
intent.setExtrasClassLoader(Alert.
Hello,
anyone can point me why i get alway a ClassNotFoundException in my
BroadcastReviever using a custom Parcleable ?
I enqueue Alarms, which trigger the BroadcastReciever:
for (int i = 0; i < alertsToEnqueue.size(); i++)
{
final Alert al
Hello,
im a bit lost in all that Animation Framework Interpolators.
I really looking for some Documentation about the Interpolators and
how i can group sets.
I trying to zoom a View in and then endless zoom out it bit and in
again. How can i obtain this effect ?
--
You received this messag
Works all Fine on my 10.04.
On 3 Mai, 21:25, Greg Donald wrote:
> On Mon, May 3, 2010 at 2:30 AM, riazrahaman wrote:
> > Was not able to launch the emulator on Ubuntu 10.04.
>
> > Is this a known issue with the 10.04 Lucid lynx ubuntu?
>
> Works fine for me. Just tested, all mine work.
>
> --
>
Just to make this Complete, there some J2SE Code which shows whats
expected:
public final class ThreadLogger implements
Thread.UncaughtExceptionHandler
{
private final static String LOG_TAG =
ThreadLogger.class.getSimpleName();
/*
* (non-Javadoc)
*
* @se
Hello,
i use a ScheduledThreadPoolExecutor combined with a ThreadFactory,
their all combined should
cause an unchaught Exception to be logged so that i can see what
happening if any thread is dying in the ThreadPool:
threadPool = new ScheduledThreadPoolExecutor(poolSize, new
ThreadFactory());
M
Created an Issue for that:
http://code.google.com/p/android/issues/detail?id=7780
--
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
I made some Test to terminate the pending Alarms.
I figured out that the API Doc seems to be wrong for Method:
PendingIntent.getBroadcast(...)
WRONG: requestCode Private request code for the sender (currently not
used). <---
If you're using another requestCode the Alarm will not be killed
Code below creates an Alarm, so far everything is working fine.
But i am a bit lost in the Documentaion how to cancel an Alarm.
I need to cancel only special Alarm(s) depending on
Intent#putExtra(IntentConstants.SELECTED_PRIMARY_KEY,_selectedID);
How can i archive this ?
public static voi
Hello,
when stop my Service i may have several Tasks in a Threadpool, some
may take some time. Is there any Documentation available how long the
onDestroy method is allowed to run without risk an ANR Dialog ?
As an example, theres what i played with:
@Override
public void onDest
nce.
> setListAdapter(shows);
>
> Set the adapter once, when you create the list. Requery the list's
> cursor as needed. If you use a cursor adapter you may never have to
> requery manually.
>
> Good luck!
>
> On Jan 5, 7:42 am, mac-systems wrote:
>
>
I just figured out that if i write the setActive Method like this i
see a update, but i have duplicated Code:
private void setActive(final boolean _state)
{
final ISelectedDAO dao = DAOFactory.getSelectedDAO(this);
dao.setActiv(getSelectedItemId(), _
31 PM
> To: Android Developers
> Subject: [android-developers] Re: ListActivity not updating on Database
> update.
>
> Have you tried calling requery on the underlying Cursor?
>
> On Jan 4, 8:00 pm, mac-systems wrote:
> > Hello,
>
> > i update a value in my Datab
Hello,
i update a value in my Database in a Listview using a Context Menu.
The code so far seems to be ok. But everything i try to make the
update visible in the View failed. Anyone can point me whats wrong
there ? I use a ViewBinder to map the Layout for each row.
Row Layout:
?xml version="1.0"
Hello,
i try to connect to the Android Emulator from my Eclipse via JDBC.
Anyone can point me how to do that ?
thx,
Jens
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this gro
Hello,
i want to Inform the User about an Event from my Application using the
NotificationManager and then invoking a Activity with details about
the Event.
As far as i know it should work like this:
final NotificationManager mManager =
(NotificationManager)
get
43 matches
Mail list logo