[android-developers] Android Emulator

2012-11-19 Thread Vykes Mac
Hey how do you get the GPU Emulator to work. i tick the option to enable it when is setup the emulator but when i run an app it gives me an error saying OpenGL ES 2.0 not supported by the device -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] android emulator

2012-11-19 Thread Vykes Mac
Does anyone knows y i'm getting error: OpenGL ES 2.0 is not supported by device, even though i set GPU emulation on in the emulator settings -- 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] Update Cursor Adapter on single row

2011-11-01 Thread mac-systems
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

[android-developers] Re: Anyone got an example using CipherInputStream and PBE to work ?

2011-10-03 Thread mac-systems
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

[android-developers] Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread mac-systems
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 =

[android-developers] Re: Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread mac-systems
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 nikolay.elen...@gmail.com wrote: On Mon, Oct 3, 2011 at 2:36 AM, mac

[android-developers] Re: getSharedPreferences for a wallpaper

2011-03-30 Thread mac-systems
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

[android-developers] AutoCompleteTextView and a ContentProvider

2011-03-17 Thread mac-systems
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

[android-developers] Re: AutoCompleteTextView and a ContentProvider

2011-03-17 Thread 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 kmans...@gmail.com wrote: 17.03.2011 13:47, mac-systems пишет: Hello, what would be the best approach to use an ContentProvider and a AutoCompleteTextView

[android-developers] Re: AutoCompleteTextView and a ContentProvider

2011-03-17 Thread mac-systems
         }          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 Vasilyevkmans...@gmail.com  wrote: 17.03.2011 13:47, mac-systems пишет: Hello, what would be the best

[android-developers] How to set Parent ImageView Style

2011-03-09 Thread mac-systems
Hello, i've just cant figure out why this should be wrong ? style name=Logo parent=@android:style/Widget.ImageView item name=android:layout_widthwrap_content/item item name=android:layout_height@dimen/title_height/item item name=android:src@drawable/mv_logo/item item

[android-developers] Re: How to set Parent ImageView Style

2011-03-09 Thread mac-systems
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 kmans...@gmail.com wrote: 09.03.2011 13:31, mac

[android-developers] Disable dictionary on softkeyboard ?

2011-02-02 Thread mac-systems
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 EditText android:id=@+id/codeTextfield

[android-developers] Styles and Background

2011-02-01 Thread mac-systems
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 ? style name=Day_Entry parent=@android:style/Widget.TextView item name=android:textColor#/item

[android-developers] Control rotation of a 3D object using the touchscreen

2011-01-26 Thread Mac
that the next rotation (going vertically on the touchscreen) should be around the z-axis. Thank you in advance. Mac -- 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

[android-developers] How to align SurfaceView on Bottom ?

2011-01-13 Thread mac-systems
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) ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android

[android-developers] Wrong Position when using Big Images

2010-12-17 Thread mac-systems
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: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=wrap_content

[android-developers] request-response messaging with C2DM

2010-08-25 Thread mac
Hi, Is it possible to implement a request/request messaging pattern with C2DM? I mean, some application issues a HTTP POST request to the C2DM server to send a message to a device. If the device is online, the application processing the intent could respond with a custom message that could be

[android-developers] Re: Problem with PhoneStateListener.onSignalStrengthsChanged

2010-07-23 Thread mac
onSignalStrengthChanged(int asu) worked correctly on Nexus One, but not on Droid or EVO. Please let me know if you are able to fix this problem. Thanks. Mac On Jul 3, 12:12 pm, TheArchedOne thearched...@gmail.com wrote: I have written an android app which listens to the phone signal strength. The app

[android-developers] Re: am trying to start my service on device boot up.

2010-07-21 Thread mac-systems
Add: uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / 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

[android-developers] Re: Anyone has expereiences in developing an audio visualizer?!

2010-07-21 Thread mac-systems
U just need the RAW data. On 12 Jul., 08:56, CMF manf...@gmail.com 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] How to respekt volume preferences ?

2010-07-19 Thread mac-systems
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());

[android-developers] Re: BufferedInputStream buffer size

2010-07-07 Thread mac-systems
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

[android-developers] Best Way to detect online connection ?

2010-07-06 Thread mac-systems
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)

[android-developers] Re: how to catch a http 403 error

2010-07-06 Thread mac-systems
using HttpClient its easy: final HttpResponse response = getHTTPClient().execute(httpGet); if (Logging.isLoggingEnabled()) { final StatusLine status = response.getStatusLine(); Log.d(LOG_TAG, Response

[android-developers] Re: Alarms after an update ?

2010-07-01 Thread mac-systems
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-developers] Audio Output pending ?

2010-06-29 Thread mac-systems
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

[android-developers] Re: Alarms after an update ?

2010-06-26 Thread mac-systems
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-developers] Alarms after an update ?

2010-06-24 Thread mac-systems
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

[android-developers] Re: Alarms after an update ?

2010-06-24 Thread mac-systems
that the alarms are targeting, that state can't be kept around. On Thu, Jun 24, 2010 at 7:31 AM, mac-systems jens.h...@gmx.de wrote: 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

[android-developers] Unmarshal Parcleable in Broadcast Reviever

2010-06-17 Thread mac-systems
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

[android-developers] Re: Unmarshal Parcleable in Broadcast Reviever

2010-06-17 Thread mac-systems
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) {

[android-developers] Re: Unmarshal Parcleable in Broadcast Reviever

2010-06-17 Thread mac-systems
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 mmur...@commonsware.com wrote: On Thu, Jun 17, 2010 at 9:51 AM, mac-systems jens.h...@gmx.de

[android-developers] Interpolators and how to repeat endless

2010-05-07 Thread mac-systems
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

[android-developers] Re: ubuntu 10.04 emulator not launching

2010-05-05 Thread mac-systems
Works all Fine on my 10.04. On 3 Mai, 21:25, Greg Donald gdon...@gmail.com wrote: On Mon, May 3, 2010 at 2:30 AM, riazrahaman rahaman.r...@gmail.com 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

[android-developers] Cancel Alarms / Filtering

2010-04-16 Thread mac-systems
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

[android-developers] Re: Cancel Alarms / Filtering

2010-04-16 Thread mac-systems
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

[android-developers] Re: Cancel Alarms / Filtering

2010-04-16 Thread mac-systems
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

[android-developers] UncaughtExceptionHandler not called ?

2010-04-16 Thread mac-systems
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());

[android-developers] Re: UncaughtExceptionHandler not called ?

2010-04-16 Thread mac-systems
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) * *

[android-developers] How long Service#onDestroy is allowed to run ?

2010-04-14 Thread mac-systems
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

[android-developers] Re: ListActivity not updating on Database update.

2010-01-06 Thread mac-systems
once.                 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 jens.h...@gmx.de wrote: I just figured out

[android-developers] Re: ListActivity not updating on Database update.

2010-01-05 Thread mac-systems
, 2010 1:31 PM To: Android Developers android-developers@googlegroups.com 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 jens.h...@gmx.de wrote: Hello, i update a value

[android-developers] Re: ListActivity not updating on Database update.

2010-01-05 Thread mac-systems
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(),

[android-developers] ListActivity not updating on Database update.

2010-01-04 Thread mac-systems
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

[android-developers] How to connect to SQLite DB in Emulator ?

2009-09-16 Thread mac-systems
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

[android-developers] Re: creating a shared jar library

2009-08-27 Thread Mac
and library versioning and such at this point. 2009/8/26 Mac xosk...@gmail.com Thanks, Dianne Hackborn. Could I think the reason that can't support sharing third party libraries is that all applications are on each Dalvik VM? And there's any way to share a regular library(.jar

[android-developers] Re: creating a shared jar library

2009-08-26 Thread Mac
Hello, Dianne Hackborn. I've read all of these mails and I understood most of them. But, I don't know one important point of these mails. I wonder what the difference of regular shared libraries and third party shared libraries. Could you tell me the difference for me? On 8월5일, 오후11시18분,

[android-developers] Re: creating a shared jar library

2009-08-26 Thread Mac
by the system and used by other applications. 2009/8/26 Mac xosk...@gmail.com Hello, Dianne Hackborn. I've read all of these mails and I understood most of them. But, I don't know one important point of these mails. I wonder what the difference of regular shared libraries and third party

[android-developers] Invoking Activity from PendingIntent in NotificationManager

2009-06-22 Thread mac-systems
); setContentView(R.layout.alarmnotificationdetail); Toast.makeText(this, this is a toast, Toast.LENGTH_LONG); } } Anyone can help me out ? regards, Mac --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: PNG Color Issue

2009-06-04 Thread Wang Mac
Do you mean add noise to the images? I tried to add 0.5 noise to our image as the widget guide mentioned, but it only makes the banding looks different. It's not as good as enabling dither attribute. I hope I can do pre-ditering so that I can save a little CPU power. Can you advise how to do it

[android-developers] Re: Shared preferences not accessible in service

2009-03-03 Thread mac
Hi, as I understand you can use the option MODE_WORLD_WRITEABLE in getSharedPref to achieve this. I actually did not use this, because my service runs in the same process. Regards, Mirko On 3 Mrz., 14:27, dar dher...@gmail.com wrote: See the Note on the

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-26 Thread mac
That will be the same for my application. I startet with copy protection in the first version. After some people were not able to download the application (another bug with some APN?) I switched off copy protection. Now I get crash reports that I can not understand after an upgrade. Uninstall and

[android-developers] Developing Image Processing Applications on Android OS using JAVA

2008-10-28 Thread Windows MAC User
How does one go about developing image processing applications on the Android Operating system since this supports only JAVA development. I have developed for Windows and MAC and both provide access (from their Graphical User Interfaces) to bring/link in C/C++ functions which modify images