[android-developers] How to get Android connected to the Internet through sl0 (slip, serial line Internet protocol)

2016-03-22 Thread 'Dirk Petrautzki' via Android Developers
i want to connect my Android device to the Internet via a serial line (the serial line will be a point to point air link later, but for first Tests i'm just using two connected FTDIs). What i've done so far is testing the slip link with two Linux machines, that are connected together via two

[android-developers] Re: Wii Balance Board and Android (already paired) - how to get Data

2016-03-03 Thread Dirk Bellstaedt
It does not work with devices >4.2 Am Mittwoch, 2. März 2016 10:26:26 UTC+1 schrieb Dirk Bellstaedt: > > Hello, > i want to use Wii Balance Board with my Android Device, i already paired > it with my Device ( rooted Custom Rom, but i don't know how, it just worked > ;) ),

[android-developers] Bluetooth Sniffer

2016-03-03 Thread Dirk Bellstaedt
Hi, Is it possbile to listen to the System Bluetooth Socket to Sniff all In- and Outgoing Bluetooth Packages? Or to listen to a single Bluetooth Connection of a device? Best Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Wii Balance Board and Android (already paired) - how to get Data

2016-03-02 Thread Dirk Bellstaedt
Hello, i want to use Wii Balance Board with my Android Device, i already paired it with my Device ( rooted Custom Rom, but i don't know how, it just worked ;) ), but now i don't know how to grab the RawData of the InputDevice? Is there any way to get it? Best Regards -- You received this

[android-developers] Wii Balance Board and Android (already paired) - how to get Data

2016-03-02 Thread Dirk Bellstaedt
Hello, i want to use Wii Balance Board with my Android Device, i already paired it with my Device ( rooted Custom Rom, but i don't know how, it just worked ;) ), but now i don't know how to grab the RawData of the InputDevice? Is there any way to get it? Best Regards -- You received this

Re: [android-developers] How many TCP connection are alive in android device

2013-09-23 Thread Dirk Jäckel
and the fusecore mqtt-client implementation is, that they do not allow sending a ping request manually. So you have to either patch them or send a bigger publish packet. Regards, Dirk danaimset mailto:danaim...@gmail.com 20. September 2013 08:32 Hi all! I'm working with one very wide project

[android-developers] Re: How to keep WiFi on and let screen go to sleep?

2013-04-11 Thread dirk
in some custom ROM (sorry, I don't recall where anymore). Hope this helps, Dirk -- -- 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] Writing to External SD

2012-08-28 Thread Dirk Vranckaert
the location URI of the SD-card, but that's not user-friendly at all so I'dd rather have a way to just let them choose between 'On device storage' and 'SD-card storage' and let me retrieve the URI myself... Is there a clean way (or maybe a library) to do so? Kr, Dirk -- You received this message

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread Dirk Vranckaert
again that button on the widget my activity is no longer executed. Or should I do this another way...? Op dinsdag 17 juli 2012 21:14:18 UTC+2 schreef TreKing het volgende: On Tue, Jul 17, 2012 at 8:35 AM, Dirk Vranckaert dirkvrancka...@gmail.com wrote: However if I start

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread Dirk Vranckaert
It always worked find to just pass the extras (in fact it's not only the widget ID that i'm passing, there is some other stuff in there to..). It since the launced activity starts another activity for result it doesn't work anymore... So I guess using the extras or the data element won't make

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread Dirk Vranckaert
And also.. If I do not use FLAG_UPDATE_CURRENT, then what flag(s) should I define? Op woensdag 18 juli 2012 09:23:57 UTC+2 schreef Dirk Vranckaert het volgende: It always worked find to just pass the extras (in fact it's not only the widget ID that i'm passing, there is some other stuff

Re: [android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-18 Thread Dirk Vranckaert
FLAG_ACTIVITY_NO_HISTORY it works perfect... Thanks for the help anyway (and sorry for my mistake ;) ) and happy coding! :) Kr Dirk Op woensdag 18 juli 2012 09:25:14 UTC+2 schreef Dirk Vranckaert het volgende: And also.. If I do not use FLAG_UPDATE_CURRENT, then what flag(s) should I define? Op woensdag

[android-developers] PendingIntent launched from widget causes onActivityResult to not be called

2012-07-17 Thread Dirk Vranckaert
I have an issue with one of my applications that is using a PendingIntent to launch an activity from a widget... This is the piece of code that does the trick: PendingIntent pendingIntent = PendingIntent.getActivity(ctx, widgetId, intent, PendingIntent.FLAG_UPDATE_CURRENT);

Re: [android-developers] AsyncTask in Android 4.0

2012-05-16 Thread Dirk Jäckel
On Saturday, April 21, 2012 12:52:17 AM UTC+2, b0b wrote: Conclusion: there's probably man apps broken in subtle ways on ICS because of this change. Probably not, only because they have to explicitly set the targetSdkVersion to 13+, and I don't know how many people are setting it that

Re: [android-developers] AsyncTask in Android 4.0

2012-05-16 Thread Dirk Jäckel
to stay informed what a targetSDKVersion change means for their app? Regards, Dirk -- 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

[android-developers] Re: Ant build fails since upgrading SDK to latest revision

2012-04-06 Thread Dirk Vranckaert
I've been looking into this issue some more and still cannot find out how to fix it. But one thing is for sure, the libraries for my app (which are in the 'libs' directory) are not included in the ant-build for testing. Here are two screenshots of a decompile. The first screenshot shows you a

[android-developers] Re: Ant build fails since upgrading SDK to latest revision

2012-04-05 Thread Dirk Vranckaert
If you'dd like to test something yourself, the code is available at http://code.google.com/p/worktime/source Op donderdag 5 april 2012 07:24:52 UTC+2 schreef Dirk Vranckaert het volgende: In my application I use RoboGuice and the configuration for RoboGuice requires to add an Application

[android-developers] Re: Writing files in UTF-8

2012-03-30 Thread Dirk Vranckaert
the BOM (exactly 3) and then it's ok. It's a work-around but not really the best I hope... Kr, Dirk Op vrijdag 30 maart 2012 00:38:08 UTC+2 schreef Lew het volgende: b0b wrote: For your code to work you need: out.write(result.toString(UTF-8)); How do you know that the type of 'result

[android-developers] Re: Writing files in UTF-8

2012-03-30 Thread Dirk Vranckaert
Sadly there is no insert and indeed the put overwrites the bytes. The charset.encode(...) gives me a ByteBuffer that I cannot retrieve 'empty'... Adding (put) the BOM first should be ok, but then adding all the test-bytes will not work. Then again I have to loop over all the bytes... Op

[android-developers] Re: Writing files in UTF-8

2012-03-30 Thread Dirk Vranckaert
Ooh great, didn't think about that. Now it works perfect! Thanks for all the support with this issue! Kr, Dirk Op vrijdag 30 maart 2012 11:55:34 UTC+2 schreef Remote Red het volgende: Looping? byte[] bom = {(byte)0xEF, (byte)0xBB, (byte)0xBF }; byte[] byteResult

[android-developers] Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
!= null) { try { out.close(); } catch (IOException e) { Log.e(LOG_TAG, Could not close the writer, e); } } } Is there anything else that I can do to optimize my code to support those languages? Kr, Dirk Vranckaert -- You received this message because you are subscribed to the Google

Re: [android-developers] Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
When I debug the result.toString() value I see that it's correctly stored in the String. However adding the out.flus(); just after the out.write(...); doesn't change anything! Kr, Dirk Op donderdag 29 maart 2012 09:32:33 UTC+2 schreef bin yang het volgende: try to flush! 在 2012年3月29日 下午3

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
are just unreadable characters. So instead of seeing something like this: 這是一個測試 I see something like this: â €å”€å”€å”€à €à €à €ç¼€ç¼€ç¼€ç¼€ç¼€ç¼€ç¼€Ì€Ì€Ì€Ì€Ì€Ì€ So it's a matter of encoding that is not correct. But I am encoding in UTF-8 so I don't see the issue... Kr, Dirk Op donderdag 29 maart

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
correctly! Are you shure you use an utf-8 capable editor? Yes I'm sure :) I'm using Notepadd++ ;) I attached the file as it is exported! the produced file does not have a BOM (or at least I don't know :) ) How can I write 'them' myself? Kr, Dirk Op donderdag 29 maart 2012 13:50:28 UTC+2

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
Oups, forgot the file ;) But update: I was wrong, ö ë é are not working either! File is now attached! :) -- 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

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
); out.write('\ufeff'); out.write(result.toString()); out.flush(); Op donderdag 29 maart 2012 14:11:01 UTC+2 schreef Dirk Vranckaert het volgende: Oups, forgot the file ;) But update: I was wrong, ö ë é are not working either! File is now attached! :) -- You received

[android-developers] Re: Writing files in UTF-8

2012-03-29 Thread Dirk Vranckaert
Ooh yeah, I will have a look tomorrow for the UTF-8. But the question marks in the in the file i attached are because google groups did not get it right the document... Locally it works and I can send it through mail without issues. Kr, Dirk Op donderdag 29 maart 2012 14:43:33 UTC+2 schreef

[android-developers] Re: Android instrumentation testing, how to start with clean database all the time

2012-03-22 Thread Dirk Vranckaert
UTC+1 schreef Dirk Vranckaert het volgende: I'm testing my application with Android Instrumentation tests. So I have a test-class extending ActivityInstrumentationTestCase2 which contains multiple tests. The code looks like this: http://pastebin.com/0Di3Hwug So the activity which is under

[android-developers] Android instrumentation testing, how to start with clean database all the time

2012-03-21 Thread Dirk Vranckaert
I'm testing my application with Android Instrumentation tests. So I have a test-class extending ActivityInstrumentationTestCase2 which contains multiple tests. The code looks like this: http://pastebin.com/0Di3Hwug So the activity which is under test has a list of projects. The list of

[android-developers] Fail ant-build on continious integration server

2012-03-08 Thread Dirk Vranckaert
hope to find just something here... :) Kr, Dirk -- 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

[android-developers] Re: Problem with writing files to internal memory (not visible on file browser on ICS)

2012-02-09 Thread Dirk Vranckaert
...@gmail.com wrote: On Thu, Feb 9, 2012 at 12:51 AM, Dirk Vranckaert dirkvrancka...@gmail.com wrote: Nikolay, Thanks for the help but my problem is not to write the file or read the file from my device. With code from above I can write the file to the internal memory. But when my device (galaxy

[android-developers] Re: Problem with writing files to internal memory (not visible on file browser on ICS)

2012-02-08 Thread Dirk Vranckaert
it wrong? Any help welcome! Dirk On Feb 8, 10:32 am, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Wed, Feb 8, 2012 at 4:53 PM, Dirk Vranckaert dirkvrancka...@gmail.com wrote: I have a problem when I try to write a file to the device's SD-card. 6) Samsung Galaxy Nexus (running 4.0

[android-developers] Problem with writing files to internal memory (not visible on file browser on ICS)

2012-02-07 Thread Dirk Vranckaert
screenshots I took attached to the issue on google code: code.google.com/p/worktime/issues/detail? id=84#c4 Does anyone know what I'm doing wrong or can do better to have this working? Kr, Dirk -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: nullpointer on getPreferenceManager() in sdk 13 and up

2012-02-01 Thread Dirk Vranckaert
, Jan 31, 2012 at 9:22 AM, Dirk Vranckaert dirkvrancka...@gmail.com wrote: I'm trying to implement a fragemented preferences activity. This is only the first part of my activity where it already fails: public class PreferencesICSActivity extends PreferenceActivity {    @Override

[android-developers] Customize Android PreferenceFragementActivity not working

2012-02-01 Thread Dirk Vranckaert
) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 1929) ... 11 more for tablet: same crash as before... How should I apply this layout file to my fragment activity...? Or should I create a new layout file? Kind regards, Dirk Vranckaert -- You received this message because you

[android-developers] nullpointer on getPreferenceManager() in sdk 13 and up

2012-01-31 Thread Dirk Vranckaert
the getPreferenceManager() is null... What am I doing wrong? Kr, Dirk Vranckaert -- 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

[android-developers] Re: Continuously running Service does not run continuously

2012-01-15 Thread Dirk
:05 PM, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jan 14, 2012 at 1:00 PM, Dirk b...@informatik.uni-hamburg.de wrote: Is there a way to control the device's sleep phases programmatically, so I can make sure the logging really takes place ? Use a WakeLock to keep the CPU

[android-developers] Continuously running Service does not run continuously

2012-01-14 Thread Dirk
://www.hyfy.de/temp/ContinuousServiceTest.zip Thanks for any comments ! Regards Dirk -- 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] Re: Continuously running Service does not run continuously

2012-01-14 Thread Dirk
Thank you Mark ! Is there a way to control the device's sleep phases programmatically, so I can make sure the logging really takes place ? Regards Dirk On 14 Jan., 18:48, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jan 14, 2012 at 12:43 PM, Dirk b...@informatik.uni-hamburg.de wrote: I

[android-developers] Re: Permission Denial: starting Intent when launching my activity from my widget

2012-01-11 Thread Dirk Vranckaert
). Maybe because I was installing/removing the app quite some times that it started failing... But then why did it start again after two days or something..? No idea but I can use my app again so me happy :) Thanks for the help anyway!!! Kr, Dirk On Jan 10, 10:09 am, Kostya Vasilyev kmans...@gmail.com

[android-developers] Permission Denial: starting Intent when launching my activity from my widget

2012-01-09 Thread Dirk Vranckaert
I'm developing the WorkTime application for Android and I am expieriencing some strange behaviour with my widget. SO I have a widget on which basically 3 parts are clickable: 1) The header = opens a selection dialog 2) A button = starts an activity to start a new time registration 3) The rest of

[android-developers] Re: Permission Denial: starting Intent when launching my activity from my widget

2012-01-09 Thread Dirk Vranckaert
to call the activity. Any ideas? Kind Regards, Dirk On Jan 9, 11:43 pm, Jonathan S xfsuno...@gmail.com wrote: Look inhttps://developer.android.com/guide/topics/manifest/activity-element -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Using sd-card in 4.0 emulator

2012-01-05 Thread Dirk Vranckaert
for Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); When going in the android settings of the emulator I cannot see the SD memory, only internal memory... Any idea why the SD card is not mounted or the getExternalStorageState() does not equal to MEDIA_MOUNTED? Kr, Dirk -- You received

[android-developers] Re: Using sd-card in 4.0 emulator

2012-01-05 Thread Dirk Vranckaert
Mark, That's what I did. In the SD Card part of the add/edit AVD screen I've entered the size (100MB). I even tried added the hardware parameter hw.sdCard: yes. But none of these things work.. Kr, Dirk On Jan 5, 3:19 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jan 5, 2012 at 9:14

[android-developers] Re: Using sd-card in 4.0 emulator

2012-01-05 Thread Dirk Vranckaert
the .android directory in c:\Users \MY_USERNAME\, then opened the AVD manager again and added an AVD. But now it comes... The AVD is not added in the application. What can I do that I don't have re-install the entire SDK and still can fix my AVD manager...? Kr, Dirk On Jan 5, 3:33 pm, Mark Murphy mmur

[android-developers] Re: Using sd-card in 4.0 emulator

2012-01-05 Thread Dirk Vranckaert
that for launching he should also look at D:\DVRANCKA? On Jan 5, 3:42 pm, Dirk Vranckaert dirkvrancka...@gmail.com wrote: I did the check and am running on the latest versions. But I noticed something strange. When I open my AVD manager and want to create a new AVD it's not created on disk

[android-developers] Re: Using sd-card in 4.0 emulator

2012-01-05 Thread Dirk Vranckaert
\avd \...However when I want to launch an AVD it's looked for in the C: \user \DVRANCKA\.android\avd\... Is there somewhere I can configure that for launching he should also look at D:\DVRANCKA? On Jan 5, 3:47 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jan 5, 2012 at 9:42 AM, Dirk

[android-developers] Re: Slow scrolling in Date/TimePicker using Holo theme

2011-12-18 Thread Dirk Vranckaert
Thanks for the help Matt! I implemented a CustomDatePicker and CustomTimePicker, for both classes have overriden the onInterceptTouchEvent method and works like a charm now! :) On 16 dec, 16:47, Matt H mjholg...@gmail.com wrote: Hi Dirk, I had the same problem (noticed it yesterday, too

[android-developers] Slow scrolling in Date/TimePicker using Holo theme

2011-12-15 Thread Dirk Vranckaert
I'm trying to build an activity on which the user can change a certain date and time. So I created an activity and a layout file, in the layout file (containing more than just the date and time picker, you can see it beneath) i define the date and time picker. The application android 2.1

[android-developers] Re: How can we control the background data for Individual Apps ?

2011-10-25 Thread dirk
My question is, what's the user experience? For instance, it would be really nice if an app can get notified when approaching a limit so that data is not just cut off mid stream. Does the OS gives some kind of notification or does the app just stop? On Oct 21, 1:47 pm, Mark Murphy

[android-developers] Re: Android Layouts Are Horrible

2011-04-05 Thread dirk
Hold on a minute. I really don't care the least bit about underlying code, that is, the XML that's generated by a really good design tool. Saying you should have to learn the XML (in this case) is like saying you have to learn the bytecode that's generated from the java code. Sure, you always need

[android-developers] Re: Android Layouts Are Horrible

2011-04-04 Thread dirk
Coming from the Windows world where the tools are really top notch, I have to agree with the sentiment (if not the presentation) of grndvl1 point. Really there should be no need to have to know the XML if you have a good designer tool. That tool is improving for sure, but it still has a long way

[android-developers] Re: getbyname() on LAN

2011-03-23 Thread Dirk Bruere
Thanks. I'll check out the references tomorrow. Right now it's 04:24 here The app I am writing is for a tablet to be connected to customers LAN designed to control an XP based machine named Base. I have no control over their router settings. Nor can I rely on them having an active Internet

[android-developers] getbyname() on LAN

2011-03-22 Thread Dirk Bruere at NeoPax
I have tried using InetAddress address = InetAddress.getByName(Constants.serverNameStr); but this goes off to my ISP and gets a page not found reply Tried using JCIFS try{ NbtAddress addr = NbtAddress.getByName(Constants.serverNameStr); }catch (UnknownHostException

[android-developers] Hide soft keyboard

2011-03-22 Thread Dirk Bruere at NeoPax
I am using InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(editBox.getWindowToken(), 0); To hide the soft keyboard when I have finished using an edittext box. However, it won't come back again! What do I need to do to cancel

[android-developers] Transparent background issue with image in 2.2, not 2.3

2011-03-19 Thread Dirk Vranckaert
could solve it? Links: My image: http://vranckaert.eu/android/theimage.png HTC Hero screenshot: http://vranckaert.eu/android/hero.png N1 screenshot: http://vranckaert.eu/android/n1.png Kr, Dirk -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Joins vs. Content provider

2011-03-10 Thread dirk
Another option is to expose a View which includes the joined results. On Mar 10, 11:40 am, Jay Bloodworth johnabloodwor...@gmail.com wrote: Is there a standard or recommended idiom for doing the equivalent of a join of data in a local database versus a content provider?  is there anything more

[android-developers] Re: Change incoming name in Dialer

2011-03-09 Thread dirk
I don't believe so. If it's a known number, the only thing I can think of is to add a contact for that number (with the user's approval, of course). Dirk On Mar 9, 2:58 am, viktor victor.scherb...@gmail.com wrote: Hi, Is it any tricks to change name in Dialer on the fly (when dialer

[android-developers] Intent Flags ignored coming from an widget?

2011-02-09 Thread Dirk Vranckaert
All, For the app i'm currently writing I needs some help. My activity structure when launching the app with the launcher: HomeActivity = ListActivity On the listActivity I've put a home button with a clear top flag (intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);) So pressing the home button

[android-developers] Re: Intent Flags ignored coming from an widget?

2011-02-09 Thread Dirk Vranckaert
Anyone? Can't figure out why it isnt working... :s On Feb 9, 8:19 pm, Dirk Vranckaert dirkvrancka...@gmail.com wrote: All, For the app i'm currently writing I  needs some help. My activity structure when launching the app with the launcher: HomeActivity = ListActivity On the listActivity

[android-developers] ListView items appear 2 or 3 times

2011-02-06 Thread Dirk Vranckaert
Hi all, I'm having an issue with the ListView in Android. So I have an activity extending the ListActivity, in the activity I have an innerclass for my adapater. Now both on my device and the emulator some entries appear 2 or 3 times in the list (not always the same items) although the size of

[android-developers] Re: ListView items appear 2 or 3 times

2011-02-06 Thread Dirk Vranckaert
View.OnClickListener() { public void onClick(View view) { deleteLabel(label, true); } }); } } On Feb 6, 5:45 pm, Kostya Vasilyev kmans...@gmail.com wrote: Dirk, You have a bug

[android-developers] Re: ListView items appear 2 or 3 times

2011-02-06 Thread Dirk Vranckaert
View.OnClickListener() { public void onClick(View view) { deleteLabel(label, true); } }); Log.d(LOG_TAG, Done rendering row + position); return row; } } On Feb 6, 11:39 pm, Dirk Vranckaert dirkvrancka

[android-developers] Re: Mediaplayer cuts off early

2011-01-26 Thread dirk
I've seen the case where on some devices (like the Nexus One and the Evo) where the while audio track gets played, but the current play time is not reported correctly. Similarly, the duration gets reported correctly. Is that the case here? On Jan 25, 9:40 am, Hank hwang...@gmail.com wrote: I

[android-developers] Re: Do Androids dream of rule engines?

2010-11-30 Thread Dirk
to play an active role in distributed systems. To cut a long story short: it's time that more heavy-weight components (like rule engines) are finally supported by mobile platforms, because this allows developers to benefit from established desktop concepts even in the mobile world. Cheers, Dirk ps

[android-developers] Re: VerifyError reloaded

2010-10-01 Thread Dirk
That was fast ! Thank you. Do you know if the fix will be included in the next Android version ? On 30 Sep., 19:29, fadden fad...@android.com wrote: On Sep 29, 11:32 am, Dirk dirkb...@googlemail.com wrote: In order to get around the problem, I tried to replace the whole switch-statement

[android-developers] Re: VerifyError reloaded

2010-09-30 Thread Dirk
in the Dalvik.  The best thing to do would be to figure out some way to break up the mongo method that's causing these problems. On Sep 29, 1:32 pm, Dirk dirkb...@googlemail.com wrote: Just for the sake of completeness: In order to get around the problem, I tried to replace the whole

[android-developers] Re: VerifyError reloaded

2010-09-29 Thread Dirk
(regs=127 count=34916) There's already another thread on this topic: http://groups.google.com/group/android-developers/browse_thread/thread/e2a36821d0476057/b549ddd81b5e8ca7?lnk=raot Maybe one should keep this issue in mind when fixing the Verifier bug, cause they seem to go hand in hand. Cheers Dirk

[android-developers] Re: VerifyError reloaded

2010-09-28 Thread Dirk
dependencies. Thanks in advance, Dirk On 28 Sep., 04:06, DanH danhi...@ieee.org wrote: VerifyError occurs for two basic reasons: 1) An error in the bytecodes. 2) An error due to a mismatch between two different class files. It's really unusual to find a case for reason (1) but you

[android-developers] Re: VerifyError reloaded

2010-09-28 Thread Dirk
dependencies. Thanks in advance, Dirk On 28 Sep., 04:06, DanH danhi...@ieee.org wrote: VerifyError occurs for two basic reasons: 1) An error in the bytecodes. 2) An error due to a mismatch between two different class files. It's really unusual to find a case for reason (1) but you

[android-developers] Re: VerifyError reloaded

2010-09-28 Thread Dirk
Hej fadden, I only have a glance of what might be wrong, but I'll post that bug (and your comment) on the Android bug list. Thank you very much, I'll really appreciate this ! Cheers Dirk On 28 Sep., 22:53, fadden fad...@android.com wrote: On Sep 28, 11:28 am, Dirk dirkb...@googlemail.com wrote

[android-developers] Android Calendar widget

2010-09-27 Thread Dirk Vranckaert
with it! Grtz.. Dirk -- 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

[android-developers] Android Calendar widget

2010-09-27 Thread Dirk Vranckaert
? Cause I searched all over internet but couldn't find anything so far. If anyone has experience with such a calendar view please let me know how to start with it! Grtz.. Dirk -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] VerifyError reloaded

2010-09-27 Thread Dirk
confused with this VerifyError and would appreciate any help getting closer to the error's source. What can I do to encircle the error ? Thanks in advance, Cheers Dirk -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Intercept launching of apps

2010-09-23 Thread Dirk Vranckaert
would like to intercept it, do some stuff of my own, and then let the messaging app open. Is it possible to do so? And if it is, could you guys give me some tips before I start on this? Kind regards, Dirk -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Intercept launching of apps

2010-09-23 Thread Dirk Vranckaert
} } So there is the action and category of the intent, but I should be able to use the 'comp' part (what does 'comp' mean?) to get my activity launced. But how? Dirk On Sep 23, 1:54 pm, Dirk Vranckaert dirkvrancka...@gmail.com wrote: Hey, I'm walking around with a little idea for a new Android

[android-developers] Re: Intercept launching of apps

2010-09-23 Thread Dirk Vranckaert
/com.android.mms.ui.ConversationList} } So I can use the action and category part of the intent (which is not surprising the same same for any application) but I should also be able to use the comp part in order to know which application is launching. Is there anyway to achieve this? Dirk On Sep 23, 1:54 pm, Dirk Vranckaert

[android-developers] Re: Intercept launching of apps

2010-09-23 Thread Dirk Vranckaert
So when I intercept, and the user choses my application to start default, when I want to let open the application I intercept is that still possible or will it always return to mine? Dirk On Sep 23, 3:02 pm, patrick patrick.boul...@gmail.com wrote: If you do this, the user will see a pop-up

[android-developers] Google Maps: Let the user choose a location

2010-08-28 Thread Dirk Vranckaert
searched through this group and on Google but couldn't find anything usefull. Kind regards, Dirk -- 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

[android-developers] Trying to create wizard-like layout

2010-06-22 Thread Dirk Vranckaert
Hey, I'm currently trying to create some wizard-like layout for some edit/ add views in my Android application. Therefore I use only one activity and different layout files which I load. Altough there is something wrong with my layout files. The layout files can be found here:

[android-developers] Re: Stalling widget buttons after some time

2010-05-29 Thread Dirk Vranckaert
Anyone? Cause I'm really stuck on this issue! Can't find out what I did wrong! Dirk -- 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

[android-developers] Re: Can an AppWidget's RemoteViews be edited/created dynamically, or only from XML?

2010-05-29 Thread Dirk Vranckaert
James, To modify the widget layout from an activity or service you should use some could like this: RemoteViews rv = new RemoteViews(context.getPackageName(), WIDGET); rv.setTextViewText(R.id.label1, text for label1); rv.setTextViewText(R.id.label2, text for label2);

[android-developers] Re: Stalling widget buttons after some time

2010-05-29 Thread Dirk Vranckaert
am sending intents back to widget). After that, there was no more problems with orientation change - buttons were reacting every time. Maybe you can do something similar? On May 29, 11:03 am, Dirk Vranckaert dirkvrancka...@gmail.com wrote: Anyone? Cause I'm really stuck on this issue

[android-developers] Re: How to update a Widget dynamically (Not waiting 30 min for onUpdate to be called)?

2010-05-29 Thread Dirk Vranckaert
Kostya, at first sight, that helped! Thanks a lot for pointing me that out! Greetz.. Dirk On 29 mei, 11:04, Kostya Vasilyev kmans...@gmail.com wrote: Dirk, This is the reason your widget sometimes stops responding to clicking. Each and every RemoteViews update needs to specify complete

[android-developers] Re: How to update a Widget dynamically (Not waiting 30 min for onUpdate to be called)?

2010-05-28 Thread Dirk Vranckaert
block a few times after each other you can get into troubles when updating the widget. Dirk On 28 mei, 23:40, String sterling.ud...@gmail.com wrote: Before you get too far into this, you need to be aware that the widget architecture isn't designed to update that frequently. There's a lot

[android-developers] Stalling widget buttons after some time

2010-05-28 Thread Dirk Vranckaert
Hey all, I'm currently working on a widget/application and I have an issue with that. Before I get into the issue you could check out the code which is available just over here: http://code.google.com/p/workregistrationwidget-android/source/browse/ So my issue... :) The widget contains two

[android-developers] Re: Stalling widget buttons after some time

2010-05-28 Thread Dirk Vranckaert
I just had the issue also on my device. Strangly when I noticed it has been little longer than 24 hours since I added the widget. And 24 hours is the updateperiod I've set. Could it really have anything to do with that and if so, what??? Can't I just disable the updatePeriod? Dirk On May 29, 12

[android-developers] Widget won't start properly some times

2010-05-27 Thread Dirk Vranckaert
in the logging == LOGS: http://pastebin.com/z2yxzjsi All the project's code is available over here: http://code.google.com/p/workregistrationwidget-android/ I really can't think of anything I would be doing wrong! Kind regards, Dirk -- You received this message because you are subscribed

[android-developers] Re: Widget won't start properly some times

2010-05-27 Thread Dirk Vranckaert
not work anymore. How is tat possible? Can it have something to do with the updateInterval set? Kind regards, Dirk On 27 mei, 20:44, Kostya Vasilyev kmans...@gmail.com wrote: Hi, Looks like your code updates the widget using two steps: pending intents and then the current data state. You need

[android-developers] No permissions set altough permissions requested

2010-05-27 Thread Dirk Vranckaert
=) on install it notifies the users that it requests both SD card access and phone state access. The application source is available here: http://code.google.com/p/workregistrationwidget-android/ Can anyone have a look and tell me what I do wrong or is it just a bug? Kind regards, Dirk -- You

[android-developers] Re: No permissions set altough permissions requested

2010-05-27 Thread Dirk Vranckaert
is written also for 1.5 and higher and suddenly more access is requested upon install (access that is not specified in the manifest and not used!). Any explanation how this may be possible? On 27 mei, 23:15, TreKing treking...@gmail.com wrote: On Thu, May 27, 2010 at 2:37 PM, Dirk Vranckaert

[android-developers] Re: Modifying components on widget from activity

2010-04-19 Thread Dirk Vranckaert
Thx Mark, that did it for me :) On 17 apr, 19:18, Mark Murphy mmur...@commonsware.com wrote: Dirk Vranckaert wrote: On my widget I'm having a button and a textView. When clicking that button some data is registered and I want the TextView to be updated. However I can't get to the TextView

[android-developers] Starting activity witouth window from widget

2010-04-17 Thread Dirk Vranckaert
I recently (yesterday in fact :)) started creating widgets. So my first widget I want to create is something like: * A 2x2 widget * Containing 2 buttons * Button 1: Register current time and location * Button 2: Open up an activity where configuration can be modified, registered times and

[android-developers] Re: Starting activity witouth window from widget

2010-04-17 Thread Dirk Vranckaert
Sorry all for bothering. I didn't look well enough in this group, now I found the answer: http://groups.google.com/group/android-developers/browse_thread/thread/8ac30e3b1870fb98/1cc71bab92a7ff97?lnk=gstq=Starting+activity+without+layout#1cc71bab92a7ff97 :) On 17 apr, 18:45, Dirk Vranckaert

[android-developers] Modifying components on widget from activity

2010-04-17 Thread Dirk Vranckaert
On my widget I'm having a button and a textView. When clicking that button some data is registered and I want the TextView to be updated. However I can't get to the TextView instance from within my Activity it seems. Any ideas? -- You received this message because you are subscribed to the

[android-developers] Custom Dialog

2010-03-15 Thread Dirk Vranckaert
I'm trying to create a custom dialog in my application to show an about window but it ain't working. Maybe one of you knows a solution? So I have an activity with the onCreateDialog(int id) overriden in it: @Override protected Dialog onCreateDialog(int id) {

[android-developers] Re: Custom Dialog

2010-03-15 Thread Dirk Vranckaert
Thx for the quick response but doesn't change a thing, it gives me exactly the same exception! On 15 mrt, 21:58, Kumar Bibek coomar@gmail.com wrote: Try getBaseContext(); Thanks and Regards, Kumar Bibek On Mar 16, 1:50 am, Dirk Vranckaert dirkvrancka...@gmail.com wrote: I'm trying

[android-developers] Re: Custom Dialog

2010-03-15 Thread Dirk Vranckaert
, 2010 at 10:05 PM, Dirk Vranckaert dirkvrancka...@gmail.comwrote: Thx for the quick response but doesn't change a thing, it gives me exactly the same exception! On 15 mrt, 21:58, Kumar Bibek coomar@gmail.com wrote: Try getBaseContext(); Thanks and Regards, Kumar Bibek

[android-developers] Creating dialogs from a thread

2010-01-21 Thread Dirk Vranckaert
I'm working on an application which loads some data from the net in a thread. However when something goes wrong (no internet connection or sth) I'dd like to create a dialog to show an error message to the user. However my code works fine not using threads but creating a dialog from my thread makes

[android-developers] Re: Creating dialogs from a thread

2010-01-21 Thread Dirk Vranckaert
creation? :s Still don't really get the reason why... Anyway thx in advance for giving me a possible working solution, and I'll certainly keep you informed if it did the job for me (later this evening). On 21 jan, 19:47, TreKing treking...@gmail.com wrote: On Thu, Jan 21, 2010 at 12:28 PM, Dirk

  1   2   >