[android-developers] Periodic Sync not working.

2016-03-09 Thread 'Marc Tigges' via Android Developers
Im using SyncAdapter for some server client synchronization. In the official developer guide it is mentioned that there are different methods to trigger a sync. *1 Run the Sync Adapter When Server Data Changes*

[android-developers] In App Purchase Woes

2012-08-07 Thread Marc Call
is not available for purchase I have no idea where to go from here or what to look at, can anyone please post any thoughts or ideas? I have been stuck on this for a few weeks now. thanks in advance. Marc -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] ACTION_SET_ALARM Intent seems too simple

2012-07-19 Thread Marc McDougall
I am attempting to write an application that automatically sets the Android default alarm based on some preset values determined by an alternate algorithm. The alarm setting works fine using the ACTION_SET_ALARM intent, however every time I run the app, it sets a NEW alarm. I'm wondering if

[android-developers] Re: Enabling accessibility in a WebView

2012-06-29 Thread Marc Prengemann
I would like to get the answer too.. -- 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

Re: [android-developers] Library 3D, VRML, WRL...

2012-02-08 Thread Marc-Antoine Beauvais
And you did you try? If yes, you saw I have make a lot of search to solve this problem... On 4 February 2012 00:36, TreKing treking...@gmail.com wrote: On Thu, Feb 2, 2012 at 7:53 AM, kakko76 marcantoine.beauv...@gmail.comwrote: I'm looking for a library to make an app who display VRML files

[android-developers] Loading and Saving Settings to a file

2012-02-06 Thread John-Marc Desmarais
Hi, I'm not sure what I'm doing wrong here: I have an Override on onPause to save settings to a file and an Override on onResume, and onCreate to load them back up from the file. The onPause method looks like this: @Override public void onPause() {

Re: [android-developers] Loading and Saving Settings to a file

2012-02-06 Thread John-Marc Desmarais
Hi, Thank you for your reply. I have a couple follow up comments/questions related to the responses. I have included these inline. On Mon, Feb 6, 2012 at 12:25 PM, TreKing treking...@gmail.com wrote: On Mon, Feb 6, 2012 at 11:15 AM, John-Marc Desmarais j...@ieee.org wrote: I have an Override

Re: [android-developers] Loading and Saving Settings to a file

2012-02-06 Thread John-Marc Desmarais
On Mon, Feb 6, 2012 at 12:56 PM, TreKing treking...@gmail.com wrote: On Mon, Feb 6, 2012 at 11:36 AM, John-Marc Desmarais j...@ieee.org wrote: How do I handle the byte[] settingsBuffer = new byte[(int) inputFile.length]; without opening a File? You get the stream of data as the returned

Re: [android-developers] Loading and Saving Settings to a file

2012-02-06 Thread John-Marc Desmarais
Yup. commit() still works as advertised. Thank you, -jm On Mon, Feb 6, 2012 at 1:19 PM, TreKing treking...@gmail.com wrote: On Mon, Feb 6, 2012 at 12:04 PM, John-Marc Desmarais j...@ieee.org wrote: And am now getting Input settings not found when closing and reopening my application

Re: [android-developers] NullPointerException error

2012-02-03 Thread John-Marc Desmarais
On Tue, Jan 31, 2012 at 6:37 AM, geo geoandr...@gmail.com wrote: Hello,i am getting error: Caused by: java.lang.NullPointerException E/AndroidRuntime(329):  at ...LineGraph.getIntent(LineGraph.java:109) E/AndroidRuntime(329):  at LineGraph.onCreate(LineGraph.java:80)

[android-developers] Tethering two android phones

2012-02-02 Thread John-Marc Desmarais
? Thanks, John-Marc Desmarais -- 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

Re: [android-developers] VideoView and buffering

2012-01-31 Thread John-Marc Desmarais
. Thanks for your help. -jm On Mon, Jan 30, 2012 at 11:16 AM, Daniel Drozdzewski daniel.drozdzew...@gmail.com wrote: John-Marc, I have not done this myself, but here is tutorial on how to do it: http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer

Re: [android-developers] VideoView and buffering

2012-01-31 Thread John-Marc Desmarais
...@gmail.com wrote: John-Marc, I am glad that it works. I am not sure whether prepareAsync would be quicker than blocking prepare call. I mean that whatever the system implementation of the player, preparing it takes the same amount of time and async call simply does not block, but if you call

[android-developers] VideoView and buffering

2012-01-30 Thread John-Marc Desmarais
Hi, I am currently writing a video file to the SDCard while playing it with VideoView. My problem is that, if I buffer 1MB of video and begin the Video playback, the video stops after 1MB has been played, even though by this time, 5MBs of file has now been written to the sdcard. I have been

[android-developers] VideoView.setLayoutParams - ClassCastException

2012-01-25 Thread John-Marc Desmarais
Hi, I have a VideoView in a LinearLayout with 2 other boxes. In trying to create a full screen video, I am doing the following: private boolean isFullScreen = false; public void onClick(View v) { VideoView vv = (VideoView) v.findViewById(R.id.videoView1);

Re: [android-developers] VideoView.setLayoutParams - ClassCastException

2012-01-25 Thread John-Marc Desmarais
That is a very good point. Thanks. -jm On Wed, Jan 25, 2012 at 2:33 PM, TreKing treking...@gmail.com wrote: On Wed, Jan 25, 2012 at 1:25 PM, John-Marc Desmarais j...@ieee.org wrote: Can anyone suggest why this is the case? This is your code: (LinearLayout.LayoutParams)vv.getLayoutParams

[android-developers] AsyncTask never calls onProgressUpdate

2012-01-16 Thread John-Marc Desmarais
Hi, I have the following AsynchTask class but, it fails to execute the onProgressUpdate method when doInBackground is running. That is to say the Log.v(LogName.onProgressUpdate, LogName.onProgressUpdate) never occurs in LogCat. There are two calls to publishProgress. The first is after the

Re: [android-developers] Re: AsyncTask never calls onProgressUpdate

2012-01-16 Thread John-Marc Desmarais
Hi, The authenticate method takes a long time, and I want to update progress while that's happening like this: Authenticating . Authenticating . . Authenticating . . . Authenticating . . . . Authenticating So I created a thread to add a dot to my TextView every 1/4 second. Mark Murphy's

Re: [android-developers] Re: AsyncTask never calls onProgressUpdate

2012-01-16 Thread John-Marc Desmarais
How do I pass my Dialog to onPreExecute? -jm 2012/1/16 Kostya Vasilyev kmans...@gmail.com: ... and this: textViewAuthenticating = (TextView) dialog.findViewById(R.id.TextViewAuthentication); belongs in onPreExecute, or elsewhere on the UI thread, *not* in doInBackground. 16 января 2012 

Re: [android-developers] Re: Giving away my book: Genius Android Marketing

2012-01-10 Thread John-Marc Desmarais
I'll play. Sign me up. -jm On Mon, Jan 9, 2012 at 3:45 PM, YuviDroid yuvidr...@gmail.com wrote: Looks very interesting! Count me in!  :) Yuvi On Mon, Jan 9, 2012 at 6:04 PM, PhotoSteve dfwgoph...@gmail.com wrote: Add me too...I'm so new to Android I don't even know what I don't know

[android-developers] Add Native Support not found in Eclipse

2012-01-10 Thread John-Marc Desmarais
Hi, Can anyone help getting Android Tools - Add Native Support to show up in Eclipse? Eclipse Version: Eclipse IDE for C/C++ Developers Version: Indigo Service Release 1 Build id: 20110916-0149 My system path includes C:\Android\android-ndk-r7 Running Windows 7. I have no problems building

Re: [android-developers] Re: Add Native Support not found in Eclipse

2012-01-10 Thread John-Marc Desmarais
Hi, Thanks for your help. I installed Sequoya and MTJ but, I still have no Add Native Support under Android Tools. I have also tried installing android-ndk-r6b and having C:\android\android-ndk-r6b in the path. But, currently, I have C:\android\android-ndk-r7 installed and in the system path.

[android-developers] Re: uses-feature glEsVersion

2011-12-22 Thread Marc Van Daele
Have you been able to solve this issue? I'm having the same issue right now. I don't find a matching android:name so I don't think that's the solution. I want to create two apk's, one supporting openGL 2:0 (having a higher version) and a second one for the others. But the android market says

Re: [android-developers] Looking for a tester

2011-11-09 Thread marc dupuich
Interested by this tester job too, I make numerical music for games too with my synthesisers and Mac I can test on many differents mobile platforms have a nice day, Marc http://soundcloud.com/marcdupuich/4u-gift 2011/11/9 金光是党员 liudf0...@gmail.com do u pay the tester? 2011/11/9 Alexander

Re: [android-developers] String isEmpty()

2011-11-01 Thread Marc Petit-Huguenin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/01/2011 12:40 PM, Doug Gordon wrote: Why in the world would my app crash with a No such method Java error on a statement like if (!myString.isEmpty() for a perfectly valid String object? If I simply change it to if (myString.length() 0) it

Re: [android-developers] hello

2011-10-02 Thread marc dupuich
Sub Activity_Create(FirstTime As Boolean) Log(Hello world!) Msgbox(Hello world?, First program) End Sub Press F5 to compile and deploy your program to the emulator. Your program will now be compiled and installed to the emulator 2011/9/29 kuek9118 kuek9...@gmail.com i am computer

Re: [android-developers] Any ideas on collecting app usage data ?

2011-09-22 Thread Marc Lester Tan
Take a look at this framework code: http://hi-android.info/src/com/android/server/am/UsageStatsService.java.html It collects app usage data for 5 days and store it in the /data folder. If you are rooted then you should be able to access this file. Cheers, *Marc Lester Tan * http://marctan.com

Re: [android-developers] Re: How to detect if a view is on screen

2011-09-06 Thread Marc Van Daele
Hello Ed, Thanks for your answer but I'm not sure a ListView will work (though I will look at the video). Isn't a ListView limited to Vertical scrolling? (at least the javadoc says so) Kind Regards, Marc 2011/9/6 Ed edscha...@gmail.com Hi Marc, Have a look at ListView. It's probably done

Re: [android-developers] Re: How to detect if a view is on screen

2011-09-06 Thread Marc Van Daele
); parent.offsetDescendantRectToMyCoords(child, mTempRect); return !((mTempRect.right) = parent.getScrollX() (mTempRect.left) = (parent.getScrollX() + parent.getWidth())); } Can you give feedback on this approach? TIA, Marc 2011/9/6 Indicator Veritatis mej1

[android-developers] Re: How to detect if a view is on screen

2011-09-05 Thread Marc Van Daele
I didn't see my question (see below) appear in the group yet so I'm resending. Sorry if it appears twice. Marc 2011/9/3 vdaele marc.van.dael...@gmail.com Hello, Suppose I have a horizontal scrollable list of say 100 movie posters (each in its own View) of which only 4 Views fit

[android-developers] Extend SlidingDrawer, add header view

2011-08-24 Thread Marc
Hi, I'm looking to customise the sliding drawer as well as add an extra view, however the slidingdrawer class seems to only allow the handle and content views to be nested inside the sliding drawer (I would like to add a header that sits to the left of the handle (don't want this to be nested

Re: [android-developers] Re: Application Ranking?

2011-07-02 Thread Marc Lester Tan
Hi Felix, Although it will not really check for your app's ranking but it will give you the list of top 100 apps/games in the Android market as well as their stats for the previous days. http://www.appalert.co Cheers, *Marc Lester Tan * http://www.appalert.co http

[android-developers] Start an external activity from a BroadcastReceiver

2011-06-09 Thread Marc
like a charm. But not if it is put into the receiver or server. Do you have any idea how to fix that? Thanks! Marc -- 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] Aw: Re: Invisible Activity

2011-06-07 Thread Marc
Thanks for all the replys, that helped a lot :] -- 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] Invisible Activity

2011-06-06 Thread Marc
a noobish problem, but I started programming with Android just a couple of days ago ;) Thanks! Marc -- 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

Re: [android-developers] Developing image processing project ny interfacing matlab and android phone

2011-05-12 Thread Marc Lester Tan
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 -- Cheers, *Marc Lester Tan * http://www.appalert.co

Re: [android-developers] Usage Statistics

2011-05-11 Thread Marc Lester Tan
/android-developers?hl=en -- Cheers, *Marc Lester Tan * http://www.appalert.co http://moonphase.pendukosoftware.com http://blogs.marctan.com http://www.proudlypinoy.org/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Promotional Graphic in PNG gets converted to _very lossy_ JPEG in Android Market?

2011-04-05 Thread Marc Reichelt
or as a PNG image with an optimized 256 color palette (which is even smaller than the resulting JPEG file of the market) - but he is still screwing up the image. :-/ Thanks for your help regards Marc Reichelt || http://www.marcreichelt.de/ -- You received this message because you are subscribed

[android-developers] Re: Promotional Graphic in PNG gets converted to _very lossy_ JPEG in Android Market?

2011-04-05 Thread Marc Reichelt
Hi again, by the way, the app (German language) can be viewed here: https://market.android.com/details?id=de.nichtlustig.android All other images apart from the Promotional Graphic look ok. Regards Marc Reichelt || http://www.marcreichelt.de/ On 5 Apr., 22:31, Marc Reichelt mcreich

[android-developers] In-app billing does not work - although everything has been checked

2011-03-26 Thread Marc Reichelt
not. But that is just my guess. Thanks in advance regards Marc Reichelt || http://www.marcreichelt.de/ -- 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: In-app billing does not work - although everything has been checked

2011-03-26 Thread Marc Reichelt
the documentation says and still can not test it successfully. Regards Marc Reichelt || http://www.marcreichelt.de/ On 26 Mrz., 13:14, Kostya Vasilyev kmans...@gmail.com wrote: I am also getting ITEM_UNAVAILABLE for my own product item with both a test account and my developer's account

[android-developers] Re: In-app billing does not work - although everything has been checked

2011-03-26 Thread Marc Reichelt
Hi Kostya, of course they did charge your account for real - you _definitely_ should read the In-app documentation before doing anything else! And as I pointed out I am using a correctly signed release build, not the debug build. Still having problems. Regards Marc Reichelt || http

[android-developers] Re: In-app billing does not work - although everything has been checked

2011-03-26 Thread Marc Reichelt
Hi Kostya, by the way: you can refund the payment you made from your Google Merchant account. Remember that you are testing the real system there, which means real money is going to flow if you do not refund it shortly after. Regards Marc Reichelt || http://www.marcreichelt.de/ On 26 Mrz

[android-developers] Re: In-app billing does not work - although everything has been checked

2011-03-26 Thread Marc Reichelt
I hope they will catch up and solve this problem before In-app billing goes live - although it should only affect some users (e.g. Germany). IMHO they really should stop to allow these @googlemail.com accounts. Regards Marc Reichelt || http://www.marcreichelt.de/ On 26 Mrz., 14:18, Kostya

Re: [android-developers] Android App Tracker - market rank tool

2011-03-21 Thread Marc Lester Tan
. 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 -- Cheers, *Marc Lester

[android-developers] Scaling on Two Webviews

2011-03-16 Thread Marc Lester Tan
on the screen. Any idea what's going on here or what should I do so that the second webview will also scale? Is it a bug or a limitation? -- Cheers, *Marc Lester Tan * http://www.appalert.co http://moonphase.pendukosoftware.com http://blogs.marctan.com -- You received this message because you

[android-developers] Thread + ImageView

2011-03-11 Thread Marc CG
want to modify the ImageView from main activity to a new Image (that i have into resources) my debugger says: Source not found. But if i do this out of the thread it works. I can't see the problem! Thanks for all! Marc -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Google Nexus S - Secure storage

2011-03-05 Thread Marc Petit-Huguenin
to be written from scratch. After this, and assuming that the Nexus S really contains a secure element, any Android app will be able to store/generate and use RSA/ECC keys in a secure way. - -- Marc Petit-Huguenin Personal email: m...@petit-huguenin.org Professional email: petit...@acm.org Blog: http

Re: [android-developers] Re: Google Nexus S - Secure storage

2011-03-03 Thread Marc Petit-Huguenin
for this reason: http://www.gd-sfs.com/the-mobile-security-card/mobile-security-card-ve-2-0/ Code is available here: http://code.google.com/p/seek-for-android/ I yet have to play with it., but that looks promising. - -- Marc Petit-Huguenin Personal email: m...@petit-huguenin.org Professional

Re: [android-developers] Re: Google Nexus S - Secure storage

2011-03-03 Thread Marc Petit-Huguenin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/03/2011 07:43 PM, sebastian nielsen wrote: Marc Petit-Huguenin: How did you get one bought (cant find any buy option, and It would be good if you could point me to a webstore that sells those secure MicroSD cards) and how much do they cost

Re: [android-developers] Server Response

2011-02-09 Thread Marc Petit-Huguenin
it is not comparing the condition ? responseText is already string and also comparing String - -- Marc Petit-Huguenin Personal email: m...@petit-huguenin.org Professional email: petit...@acm.org Blog: http://blog.marc.petit-huguenin.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux

Re: [android-developers] Re: Android SDK is so slow that is ridiculous.

2011-01-29 Thread Marc Petit-Huguenin
, visit this group at http://groups.google.com/group/android-developers?hl=en - -- Marc Petit-Huguenin Personal email: m...@petit-huguenin.org Professional email: petit...@acm.org Blog: http://blog.marc.petit-huguenin.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux

Re: [android-developers] Re: Scanner USB and android tablet

2011-01-12 Thread Marc Petit-Huguenin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/12/2011 08:59 AM, Lewis wrote: I highly doubt such a thing exists as Android does not currently support USB host mode One solution is to use a Bluetooth scanner. Regards, Lewis On Jan 12, 2:15 pm, ftovalle ftova...@gmail.com wrote:

Re: [android-developers] Re: Scanner USB and android tablet

2011-01-12 Thread Marc Petit-Huguenin
the Iogear GBS301), is a good solution in this case, and writing the Android app should be simple. - -- Marc Petit-Huguenin Personal email: m...@petit-huguenin.org Professional email: petit...@acm.org Blog: http://blog.marc.petit-huguenin.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU

Re: [android-developers] Downloading file and asynctask opinion needed

2011-01-06 Thread Marc Lester Tan
Yes, i think it's still better to keep it in asynctask as you will never know when the user is in high speed mobile internet or not and also not to block the ui thread. Marc On Fri, Jan 7, 2011 at 1:02 PM, Mystique joven.ch...@gmail.com wrote: Hi, in my app I have an asynctask to download

[android-developers] Flipping views (or: the magic behind onInterceptTouchEvent)

2010-12-19 Thread Marc Reichelt
further. Is there some kind of magic behind onInterceptTouchEvent() or onTouchEvent() which I didn't notice? Is my problem even solveable? I hope so... :-) Thanks in advance merry christmas Marc PS: I also asked this question on StackOverflow, but didn't get any answers yet: http

[android-developers] How to turn On and Off the GPS?

2010-12-06 Thread Marc Sulivan
I need to turn On and Off the GPS, how can I do that using the SDK or NDK? If need to sign my application with a special signature please tell me what kind of signature I need. Thanks Marc -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Custom checkable view

2010-11-08 Thread Marc Poppleton
Ok, problem solved after having looked at the source of the CheckedTextView. I had to override the onCreateDrawableState and drawableStateChanged methods and it now works. On 5 nov, 15:30, Marc Poppleton marc.popple...@gmail.com wrote: Hi there, I'm writing a little custom view which can

[android-developers] Re: Tomcat on Android

2010-11-05 Thread Marc Fleury
I guess if it's a wall mounted device, it might be ok.  But at that point why not just use a PC of sorts and use some linux distribution and use your app as is, why even use Android at all? You would be surprised how difficult it is to get a decent ARM based fanless PC with a stable linux and

[android-developers] Re: Tomcat on Android

2010-11-05 Thread Marc Fleury
Thanks Jason. Very useful. i-jetty looks quite interesting run as a service on android and may just be the ticket. I may also contact the tjws guy see if he is porting to android. On A/ this is meant for an in-wall device so no issues of power. Thanks again. MF On Nov 5, 7:20 am, Jason

[android-developers] Custom checkable view

2010-11-05 Thread Marc Poppleton
. But state_checked=true is never called. What am I doing wrong? Thank you for your help, Marc -- 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] Tomcat on Android

2010-11-04 Thread Marc Fleury
I have seen other threads on the topic, most notably one asking about tomcat/jboss on android. Anyway, I am actually interested in hearing if people have successfully ported tomcat on android? the use case for me would be www.openremote.org. We distribute a controller that is written in java6.

[android-developers] How to try to get connection via mobile network

2010-09-09 Thread Marc
with any sample?? Thanks everybody! Marc -- 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

Re: [android-developers] REST web services and JSON Response object support in Android

2010-09-08 Thread Marc Lester Tan
I am using the library from http://www.json.org/java/index.html. Just include the source in your app (or package it into a jar if you want) then check Test.java for examples on how to use it. Cheers, Marc Twitter: mharkus http://www.appcellar.com On Wed, Sep 8, 2010 at 3:31 PM, cool.manish

Re: [android-developers] about android Reversepengineering !!!!

2010-09-05 Thread Marc Petit-Huguenin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/05/2010 09:38 PM, xc s wrote: My English is just so-so . I dont 'want to other people reversepengineering. my android app. how should I do? Easy. Do not give it to other people. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10

Re: [android-developers] Using RIL for VoIP?

2010-09-02 Thread Marc Petit-Huguenin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You may be interested in a proposal for something similar: http://groups.google.com/group/android-platform/browse_thread/thread/f519754846888193?hl=en# I also pushed a patchset with the new API and an hacked implementation of this API, so people can

[android-developers] Re: Optimizing image processing algorithms for Android

2010-08-19 Thread Marc
I have spent a lot of time optimizing signal processing algorithms using both arm assembly and memory optimizations. The memory optimizations can be huge. I remember one project the speed more than doubled once we only using cache memory. That is the entire working data set was less than 8k. The

[android-developers] Search a non-functioning Nexus One car dock

2010-08-05 Thread Marc Petit-Huguenin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I search a non-functioning Nexus One car dock, i.e. a Nexus One car dock (the one formerly sold by Google on their online shop) that have the plastic intact but with the electronic dead or something else that make it unusable. I could buy one on EBay

Re: [android-developers] Split line of text into few lines

2010-07-29 Thread Marc Petit-Huguenin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If your concern is to split the line at a word boundary, you may want to look at java.text.BreakIterator. On 07/29/2010 10:52 AM, Grzegorz Ae wrote: Hi, I'm wondering how can I split single line text into few lines. I need it for game. I want to

[android-developers] Cursor that will work with query for 2 tables

2010-07-25 Thread Marc
I have a little program that writes to a SQLite database with 4 tables. When I do a query (either with rawQuery or SQLiteQueryBuilder.query) the cursor only has column's from the first table. Does anybody know how to do a query on 2 tables that have been joined on a key value? some code public

[android-developers] HTTP Live Streaming / playing .M3U8 or .TS files on Android

2010-07-23 Thread Marc Reichelt
/UsingHTTPLiveStreaming.html#//apple_ref/doc/uid/TP40008332-CH102-DontLinkElementID_22 to run. Do you have an idea? Thanks in advance Marc Reichelt || http://www.marcreichelt.de/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] R cannot be resolved

2010-07-21 Thread Marc
Hi. I'm an Android development newb, and I got a problem with Eclipse. I tried a few tutorials, but I can't run the tutorial-apps because it pops up with this error: R cannot be resolved . I've searched a lot of different fora, where people describes the same problem, but I just can't fix it. A

[android-developers] Re: R cannot be resolved

2010-07-21 Thread Marc
://www.satyakomatineni.comhttp://www.androidbook.com On Tue, Jul 20, 2010 at 6:31 PM, Marc marc.d.pa...@gmail.com wrote: Hi. I'm an Android development newb, and I got a problem with Eclipse. I tried a few tutorials, but I can't run the tutorial-apps because it pops up with this error: R cannot be resolved . I've

[android-developers] Re: system lock up and restarts when I start and stop my app.

2010-07-18 Thread Marc
to all variables accessed in the onDrawFrame handler. I don't know if your game uses OpenGL, but if it does, that's something to try. String On 17 July, 01:49, Marc gobl...@gmail.com wrote: I put a copy of the log here: http://www.catglo.com/log On Jul 16, 5:45 pm, Marc gobl

[android-developers] system lock up and restarts when I start and stop my app.

2010-07-16 Thread Marc
I have this game, which is almost done. It has 1 critical bug. When the app exits and restarts, the phone goes in to super slow mode and eventually restarts. I am at a loss as to how to debug it. It seems like something is happening to make the program run super slowly. The 2nd time the program

[android-developers] Re: system lock up and restarts when I start and stop my app.

2010-07-16 Thread Marc
Some more information: I do not get a restart in the emulator. I can exit and restart the app in that environment. My phone is a G1. -- 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: system lock up and restarts when I start and stop my app.

2010-07-16 Thread Marc
My device has a standard build. Its a t-mobile G1. I am only not using any extras. Just a basic 1.6 app. here is my log, I removed the lines which my program spits out. 07-16 17:39:09.097: INFO/ActivityManager(74): Starting activity: Intent { act=android.intent.action.MAIN

[android-developers] Re: system lock up and restarts when I start and stop my app.

2010-07-16 Thread Marc
I put a copy of the log here: http://www.catglo.com/log On Jul 16, 5:45 pm, Marc gobl...@gmail.com wrote: My device has a standard build. Its a t-mobile G1. I am only not using any extras. Just a basic 1.6 app. here is my log, I removed the lines which my program spits out. 07-16 17:39

[android-developers] Placing focusable clickable views in a custom expanded view in the notification bar

2010-06-30 Thread Marc Reichelt
as such is clickable. And when it is clicked the PendingIntent of the notification is executed, not the PendingIntent of one of my buttons. Any suggestions? Regards Marc Reichelt || http://www.marcreichelt.de/ -- You received this message because you are subscribed to the Google Groups Android

[android-developers] DialterFilter, what does this widget do?

2010-06-08 Thread Marc Poppleton
) and, according to its name, DialterFilter sounds like what I'm looking for. Thanks for you help, Marc -- 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] Processing Camera Preview

2010-06-02 Thread Marc Lester Tan
for processing 3. ProcessingThread post updates to the UIThread for the result of the processing. Is there other way or pattern to do this kind of scenario? Thanks in advance. Regards, Marc -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Add header/footer to ListView in XML?

2010-05-26 Thread Marc Reichelt
Hi! Is it possible to add header or footer views to a ListView by just defining them in the layout XML code? So without having to inflate the views and call addFooterView() or addHeaderView() manually? Thanks in advance Marc Reichelt || http://www.marcreichelt.de/ -- You received

[android-developers] Re: How to make the keyboard to show

2010-05-26 Thread Marc
I have a button that brings up the keyboard final ImageButton abc = (ImageButton) numbers.findViewById(R.id.ButtonAbc); abc.setVisibility(View.VISIBLE); abc.setBackgroundColor(0); abc.setOnClickListener(new View.OnClickListener() {

[android-developers] Re: How to make the keyboard to show

2010-05-26 Thread Marc
This works for me, I have a button the user presses and the keyboard pops up. final ImageButton abc = (ImageButton) numbers.findViewById(R.id.ButtonAbc); abc.setOnClickListener(new View.OnClickListener() { public void onClick(final View v) {

[android-developers] Problem in Exporting Signed Application Package

2010-05-25 Thread Marc Lester Tan
:* eclipse.buildId=unknown java.version=1.6.0_20 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/marc/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch

[android-developers] Why are some of my apps not being listed for someone using ATT and Motorola Cliq?

2010-05-25 Thread Marc
I have 3 published apps. Yet I recently tried to get someone using a Motorola Cliq with ATT. They can only find 1 of my apps on the market. Can anybody suggest a way for me to determine why and get them listed. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Problem in Exporting Signed Application Package

2010-05-25 Thread Marc Lester Tan
Thanks Xav, you are correct, I have broken projects in the workspace. Fixing them or closing those projects did the trick. -Marc On Wed, May 26, 2010 at 5:54 AM, Xavier Ducrohet x...@android.com wrote: Ah thanks for the stack trace. I was trying to reproduce I couldn't, Do you have Android

[android-developers] HTML5 video tag improved support

2010-05-12 Thread Marc-André Moreau
/code/video_for_everybody/test.html While Chrome appears to have very good HTML5 support, the Android browser seems to be quite behind. Is improved HTML5 video tag support planned for the next release of Android? Is anybody currently working on improving it? Thanks, - Marc-Andre Moreau -- You

[android-developers] Animating the background of a LinearLayout

2010-04-27 Thread Marc Poppleton
Hello, Is there a way of being notified when a TransitionDrawable has finished its transition? I'm looking for a way to animate the background of a LinearLayout, switching it back and forth between two images thus creating a pulsating effect. TransitionDrawable works nicely, butonce. I tried

[android-developers] Re: Animating the background of a LinearLayout

2010-04-27 Thread Marc Poppleton
Thanks, I'll see what I can do with a custom Drawable. On 27 avr, 12:53, skink psk...@gmail.com wrote: Marc Poppleton wrote: Hello, Is there a way of being notified when a TransitionDrawable has finished its transition? I'm looking for a way to animate the background of a LinearLayout

[android-developers] Re: memory problem with image... but strange...

2010-04-15 Thread Marc Reichelt
if the activity really is cleaned up later. Regards Marc Reichelt || http://www.marcreichelt.de/ On 15 Apr., 16:51, Kofa elk...@gmail.com wrote: Hi, I have some headache with an error about the system going out of memory. When I run the game fo first time there's no problem, but when i quit

[android-developers] Re: How to switch between views following a finger ?

2010-04-15 Thread Marc
I used this tutorial http://whyandroid.com/android/174-flipping-your-views.html On Apr 15, 1:19 am, Julien Del Rio julien.del...@gmail.com wrote: Hi, I can't find a tutorial on Google for my problem. I'm french and i don't find the best google keywords for to describe my goal. I decided to

[android-developers] Maintaining a free and paid version maybe other version

2010-04-05 Thread Marc
I used to be a C/C++ programmer before getting in to android. I am not sure how people maintain 2 versions of a program without using #ifdef preprocessor macros. Right now I am changing the package name in eclipse and changing the code manually, but this seems really inefficient. Can anybody

Re: [android-developers] Re: Ads in apps... How to successfully generate a larger revenue?

2010-03-31 Thread Marc Lester Tan
Yeah that is true. I have an app that's ~15k active installs and is gaining $20/day while my other apps where active installs are 20k are just gaining ~ $1 a day. It really depends whether your users are actually using your application very often. marc On Thu, Apr 1, 2010 at 5:23 AM, Greg

Re: [android-developers] Re: GLSurfaceView and camera surface

2010-03-25 Thread Marc Lester Tan
You can try this one: Camera image as an OpenGL texture on top of the native camera viewfinder http://nhenze.net/?p=172 Marc http://nhenze.net/?p=172 On Fri, Mar 26, 2010 at 11:22 AM, sleith raysle...@gmail.com wrote: Hi, thanks for your response. how do i give different z index? isn't

[android-developers] Re: Application losing SharedPreferences and Sqlite database on Droid

2010-03-21 Thread Marc
I was recently was doing some file io stuff and discovered that when debugging the application gets killed in a more drastic way than is not possible on the phone. What I found is that if a debug session is started during a file io write the data file gets corrupted. On the phone you have to pull

[android-developers] Re: MediaPlayer failures on Android 2.1?

2010-03-16 Thread Marc Reichelt
Hi Mark, thanks for your answer! It really is helpful. I tried to reproduce the problem by creating an MP3 file on my own, but the problem did not occur again. So I used my original testfile and filed a bug: http://code.google.com/p/android/issues/detail?id=7186 Regards Marc Reichelt

Re: [android-developers] 3D Physics Engine For Android Demo

2010-03-15 Thread Marc Lester Tan
Works well on my Nexus One. Cool! On Mon, Mar 15, 2010 at 10:25 PM, Kevin S. dada...@gmail.com wrote: I've completed my first Android application. It as 3D demo with a physics engine. It uses the phone's accelerometer so that you can shake the world by moving the phone around. There

[android-developers] MediaPlayer failures on Android 2.1?

2010-03-15 Thread Marc Reichelt
not able to call start() on the MediaPlayer object. Can anyone confirm this problem? Is this a bug in the Android 2.1 SDK (or maybe 2.0.1, too)? And what can I do to solve this? Thanks in advance regards Marc Reichelt || http://www.marcreichelt.de/ -- You received this message because you

[android-developers] Re: MediaPlayer failures on Android 2.1?

2010-03-15 Thread Marc Reichelt
No idea, anyone? This problem really is severe - if I can't fix this all new devices like Nexus One, HTC Desire, Motorola Milestone etc. will be affected... :-( Regards Marc Reichelt || http://www.marcreichelt.de/ On 15 Mrz., 20:55, Marc Reichelt mcreich...@googlemail.com wrote: Hi

  1   2   3   >