[android-developers] Save RTP stream with Android MediaCodec/MediaMuxer

2018-04-11 Thread Ivan Lobanov
I'm trying to save the RTP video stream received from camera, encoded with MediaCodec, using MediaMuxer. However, for some reason I have no keyframes. I am receiving RTP using this library and there are no problems with playing

[android-developers] Bluetooth At commands

2017-01-31 Thread Ivan Kuzlo
i'm writing app for detect battery level of Bluetooth device(headset) i want to listen Bluetooth data c and get data from it many many Bluetooth headsets sent to device their battery level < 01-31 21:56:43.059 21082-7393/com.android.bluetooth

[android-developers] Android OS 4.42 problem

2017-01-22 Thread IVAN LEE
Does anyone experiences the following in android phone? Programme 'com.android.systemui' stop working. Any solution? Thanks a lot. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails

[android-developers] Android App Architecture for "platform" idea

2016-11-25 Thread Ivan Pironi
Hi all, I am new to this group and I hope I can get few answers :) I am in process of design an app which will require a "back-end web based platform"... something like Uber, where *I assume* all the info is stored on a web platform/database and each app installation just queries/requests

[android-developers] Does Developer account count as a company

2016-11-08 Thread Ivan Kramarić
Hi, Im making a game with my friends and we would like to upload it to google play store. Now, question is does opening a developer account with our team name count like we have opened a company or do we rly need to go through all that law stuff to open a real company. -- You received this

[android-developers] Does developer account count as company?

2016-11-08 Thread Ivan Kramarić
Hi, Im making a game with my friends and we would like to upload it to google play store. Now, question is does opening a developer account with our team name count like we have opened a company or do we rly need to go through all that law stuff to open real company. -- You received this

[android-developers] How can I send a multipart binary sms?

2016-09-09 Thread Ivan Metla
How can I send a multipart binary sms -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this

[android-developers] HELP Gradle sync failed

2016-09-08 Thread ivan tan chia chiet
hello, any can help me to solve this problem? after i can my pc user name, from Xian Shi,to XIanShi, without space, i was getting this Gradle sync problem, say that can not create directory c:/user/Xian Shi/.andriod.

[android-developers] How to remove the application from google play

2016-01-17 Thread ivan limonov
Hello. I'm not sure that I write in the right place. But I do not know where to write on this issue. I need to remove my application from google play as it can be done through the google play console? -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] Camera rotation portrait but playing in landscape.

2013-04-30 Thread Ivan Stamenkovic
I tried, i searched but nothing works. I have this code preparing the camera: http://paste.laravel.com/pP1 and there is myCamera.setDisplayOrientation(90); But when i playback the video it's in landscape. Is there any way to change this or to rotate videoview -- -- You received this

[android-developers] Re: A proplem with the floating window

2012-11-11 Thread ivan shi
up! anybody who can help me? 在 2012年11月8日星期四UTC+8下午3时29分14秒,ivan shi写道: I developed a floating window, when I need to change the position of the floating window,I call WindowManager.updateViewLayout to update the layout. If the initial coordinates x 0, adjust it to 500, this box

[android-developers] A proplem with the floating window

2012-11-08 Thread ivan shi
I developed a floating window, when I need to change the position of the floating window,I call WindowManager.updateViewLayout to update the layout. If the initial coordinates x 0, adjust it to 500, this box is sliding past, android show herea sliding animation. I do not want this effect, want

[android-developers] Re: My First App

2012-10-04 Thread ALAN IVAN AYALA NAVA
El viernes, 17 de agosto de 2012 12:13:11 UTC-5, Divya escribió: Hi, I had the smae problem. I could install the support library when I ran SDK Manager as an administrator by right click on SDK manager.exe Thanks Thanks Divya, it works -- You received this message because

[android-developers] writing to /data/data/package-name/lib

2012-05-17 Thread ivan
I have an issue where I need to dynamically load a library to /data/ data/package-name/lib ... is there any way for me to gain write access to this directory? If not, can I put the file somewhere else so that it can still be found? -- You received this message because you are subscribed to the

[android-developers] Unpackaging APKs for ROM builds at initial startup

2012-04-24 Thread ivan
The application I am working on is being preinstalled with the OEM ROM builds. Consequently, the APK is packaged with a .so file that is traditionally placed in /system/lib. Unfortunately, the latest Ice Cream Sandwich builds of the ROMs contain the same exact .so file that is interacted with in

[android-developers] Re: Anti-Aliasing Lines in openGL

2012-04-18 Thread ivan
Romain, can you please briefly elaborate on the technique of using a slightly more complicated mesh with a texture map? On Apr 12, 2:19 pm, ivan istas...@gmail.com wrote: Romain, can you please briefly elaborate on the technique of using a slightly more complicated mesh with a texture map

[android-developers] Anti-Aliasing Lines in openGL

2012-04-12 Thread ivan
I'm trying to use a GL_LINE_STRIP to draw circles and curves, but I'm unable to get rid of the jaggies. I've read quite a bit online about anti-aliasing, but nothing simple has seemed to work. Without restating all that I've read, I'm looking for direction on two things. 1.) What anti-aliasing

[android-developers] Re: Anti-Aliasing Lines in openGL

2012-04-12 Thread ivan
Romain, can you please briefly elaborate on the technique of using a slightly more complicated mesh with a texture map? On Apr 12, 1:05 pm, Romain Guy romain...@android.com wrote: 1.) What anti-aliasing technique (for simple lines) is guaranteed to work on all/most older devices that don't

[android-developers] Reasoning Engine in Android

2012-04-03 Thread Ivan
Wonder any information about reasoning engines inside Android System, just as Jena and Jess for Java? -- 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] Re: Help! No files return from apache commons net FTPClient

2012-03-16 Thread Ivan Kablar
in the manifest file. Did anybody solve this problem? Best Regards Ivan Am Montag, 7. Dezember 2009 16:33:57 UTC+1 schrieb Chander Pechetty: As far as I can tell, there is no compatibility problem. Enable server logging and see if you get a 250 or [some number] directory OK, and hopefully its

[android-developers] Re: EditText in ListView footer not visible when the soft keyboard is present

2012-01-31 Thread ivan
30, 9:34 am, ivan istas...@gmail.com wrote: Anyone? On Jan 27, 12:44 pm, ivan istas...@gmail.com wrote: I have a ListView and I'm placing an EditText view in its footer, but the soft keyboard blocks the EditText view when it pops up. My AndroidManifest has: activity

[android-developers] Re: EditText in ListView footer not visible when the soft keyboard is present

2012-01-30 Thread ivan
Anyone? On Jan 27, 12:44 pm, ivan istas...@gmail.com wrote: I have a ListView and I'm placing an EditText view in its footer, but the soft keyboard blocks the EditText view when it pops up. My AndroidManifest has: activity android:name=com.myapp.views.activities.StoresSearchActivity

[android-developers] EditText in ListView footer not visible when the soft keyboard is present

2012-01-27 Thread ivan
I have a ListView and I'm placing an EditText view in its footer, but the soft keyboard blocks the EditText view when it pops up. My AndroidManifest has: activity android:name=com.myapp.views.activities.StoresSearchActivity android:label=@string/appName

[android-developers] Video playback on Droid2

2012-01-04 Thread ivan
Is anyone familiar with output like this on the Droid2 when attempting video playback. The video encoding we're attempting to play, plays on nearly every other device we've built our app for. W/ConfigParser(1197): Exceeds maximum supported resolution, width=960, height=540 for

[android-developers] Re: Data Usage billing cycle

2011-12-14 Thread Ivan Zuanella
On Dec 13, 7:15 pm, TreKing treking...@gmail.com wrote: b.android.com Thank you -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Data Usage billing cycle

2011-12-09 Thread Ivan Zuanella
Hi everyone. I'm not sure if this is the right place to post. I would like to suggest a change in the billing cycle of the data usage setting in the new android 4. Rather than having only the setting about one month billing cycles, is there a chance to add a few extra options like one day or one

[android-developers] Notifying the view tree

2011-11-28 Thread ivan
I've created a scrollable tab host, widget and activity. I let the scrollable tab widget overlay the content area of the chosen tab, which is the contents of a different activity in the activity group. It usually works, but at times the timing of the setContentView() can be such that it chops my

[android-developers] Re: Notifying the view tree

2011-11-28 Thread ivan
I added an onPreDraw() callback to the ViewTreeObserver for the content view group, and it did the trick. On Nov 28, 12:55 pm, ivan istas...@gmail.com wrote: I've created a scrollable tab host, widget and activity.  I let the scrollable tab widget overlay the content area of the chosen tab

[android-developers] Posting messages to facebook

2011-11-21 Thread ivan goh
Hi, i am developing a calendar and i need to post the events on the calendar to facebook. right now i already gotten the api keys. i am using the official facebook SDK (com.facebook.android), what is the code for me to actually post a message to facebook. thanks for the help in advanced!! -- You

[android-developers] Call tab_indicator.xml from styles.xml

2011-11-15 Thread Ivan Soto
Hello, I'm trying to create a custom theme without relying in classes. Something that is easy enough to plug into an app. My problem is that the TabWidget in styles.xml doesn't reference tab_indicator.xml anywhere so I can't see a way of using a custom style unless I call the style from the

[android-developers] New ADT tools creating eclipse errors

2011-11-14 Thread ivan
Since updating to ADT 15.0.1 preview 2 I can no longer build my projects without getting two errors. 1.) Error generating final archive: java.io.FileNotFoundException: bin/ resources.ap_ does not exist UnknownAndroid Packaging Problem 2.) Unparsed aapt error(s)! Check the console for output.

[android-developers] New ADT tools creating eclipse errors

2011-11-14 Thread ivan
Since updating to ADT 15.0.1 preview 2 I can no longer build my projects without getting two errors. 1.) Error generating final archive: java.io.FileNotFoundException: bin/ resources.ap_ does not exist UnknownAndroid Packaging Problem 2.) Unparsed aapt error(s)! Check the console for output.

[android-developers] Re: New ADT tools creating eclipse errors

2011-11-14 Thread ivan
In addition the console gives the following: ERROR: Unknown option '--no-crunch' Android Asset Packaging Tool On Nov 14, 10:48 am, ivan istas...@gmail.com wrote: Since updating to ADT 15.0.1 preview 2 I can no longer build my projects without getting two errors. 1.) Error generating final

[android-developers] Re: New ADT tools creating eclipse errors

2011-11-14 Thread ivan
in Eclipse). 14.11.2011 21:55, ivan пишет: In addition the console gives the following: ERROR: Unknown option '--no-crunch' -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] updating /system/lib .so file from an APK

2011-11-03 Thread ivan
I'm working on an application that has a native library packaged with it (i.e. contained in its APK). Consequently, this application is going to be prepackaged with new devices thus its APK will live in / system/app/ and the native .so files will be placed in /system/ lib/ . I have been asked to

[android-developers] Re: ViewPager in honeycomb ignoring Application theme.

2011-11-02 Thread Ivan Soto
Anyone? I checked today again, and everything looks in order. Yet, whatever I load inside a ViewPager ignores the application theme. I'm using Android 3.1 with compatibility package v4. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] ViewPager in honeycomb ignoring Application theme.

2011-11-01 Thread Ivan Soto
Hello, For some reason my application is ignoring the theme applied to the Application in the manifest file only inside a viewpager. I have an activity with 2 fragments: application android:icon=@drawable/ic_launcher android:label=@string/app_name

[android-developers] ADT14 and Library projects as Jars

2011-10-25 Thread Ivan Soto
I've been looking around for an answer and had no luck. ADT14 mentions that library projects will be compiled into a jar, so I've been trying to figure out how I can manually compile the library into a jar and distribute it to my team, but I think I can't. Why is that? Thanks. -- You

[android-developers] USB connection Thread

2011-09-01 Thread Ivan Fajardo
Hi, i have been working in a app that allow comunicate with a open accesory dev kit, and i have a big throuble, when ended the USB comunication I cant start new one until the readthread die. then when the ativity is pasused or throw new activity i cant comunicate with an accessory. i close the

[android-developers] Displaying images in WebView... Which way is most efficient?

2011-08-30 Thread ivan
In my research I've seen two ways to display an image in a WebView. 1.) Load a Base64 string with the raw image bytes, as done here: http://stackoverflow.com/questions/5267124/how-to-display-image-with-webview-loaddata Or... 2.) Reference an image from the assets directory, as done here:

[android-developers] starting custom intent from link click in textView

2011-08-29 Thread ivan harmady
Hi people, I have faced a problem and I really haven't seen any solutions how to solve it. Can anybody help me pls? :( Definition: I have a database with some articles and I need to put them into TextViews, they are in HTML form and there are anchor tags like this a href=1000376 something /a. the

[android-developers] A Single APK with multiple processes uses how much memory?

2011-08-11 Thread ivan
I've read that each single process APK gets about 25 MBs. Is this about correct? If another application specific process is declared in the manifest (i.e. android:process=:BackgroundService), does this double the amount of memory consumed by the application; or is the original amount of memory

[android-developers] Edit text with lines to get notepad look

2011-07-26 Thread ivan harmady
Hi people, I'm really stuck in this thing. I need to make something with look like notepad. Shortly: it should have yellow background and line below each row. And this is problem form me. I can't find any method to make or draw these lines, i googled for a very long time but didn't find anything.

[android-developers] Re: Running activity with parameter from status bar notification

2011-06-04 Thread ivan harmady
startActivity() with that Intent in your own app.  Once you have verified that works, then throw the PendingIntent and status bar into the mix. Also be sure to look at log output, because that often has useful messages when things are going wrong. On Wed, Jun 1, 2011 at 4:40 PM, ivan harmady

[android-developers] Re: Running activity with parameter from status bar notification

2011-06-01 Thread ivan harmady
, com.iwaneez.PlaceSettings); nothing happens on the click. Aren't there any permission or something else?? I really don't understand why i cannot run it this way.. I really need this...pls help :( On 31. Máj, 03:20 h., TreKing treking...@gmail.com wrote: On Mon, May 30, 2011 at 7:50 PM, ivan harmady

[android-developers] Running activity with parameter from status bar notification

2011-05-30 Thread ivan harmady
Hi all, I'm trying to run my activity from notification with parameter. The content of activity depends on parameter i send to activity with intent. It should open my activity when i click on the information which gives the notification, but the screen does not change and still remains the same,

[android-developers] Re: bind service in another aplication

2011-05-12 Thread ivan harmady
Oh thanks, you saved me after all. I didn't know what for is intent- filter, but now i fully understand it. thanks once more :)) On 25. Apr, 21:41 h., Mark Murphy mmur...@commonsware.com wrote: Your service needs to have an intent-filter, and your Intent needs to match that filter. For example:

[android-developers] sending parcelable objects to different process

2011-05-11 Thread ivan harmady
Hi there, I want to send my custom object which implements Parcelable from one process(application) to an activity in another one process. But I still get error message: BadParcelableException: ClassNotFoundException when unmarshalling. I accepted some advices but still not working. Here is my

[android-developers] bind service in another aplication

2011-04-25 Thread ivan harmady
Hi, I'm trying to make bound service. Acording to tutorials at developer.android.com it is appropriate for me to implement bound service using messenger // there is written i should use it if i want to allow clients from different applications to access my service for IPC but i don't need to

[android-developers] In-app billing problem

2011-04-08 Thread Ivan
, Ivan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit

[android-developers] Re: ListView leaks memory II

2011-03-31 Thread ivan
Incoming references and path to GC root show only the TmpTestActivity. On Mar 30, 5:56 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Mar 30, 2011 at 7:45 PM, ivan istas...@gmail.com wrote: I just ran the ApiDemos app (from SDK 7) in a stand alone emulator. I went to List1

[android-developers] Re: ListView leaks memory II

2011-03-31 Thread ivan
views? On Mar 31, 10:28 am, Mark Murphy mmur...@commonsware.com wrote: On Thu, Mar 31, 2011 at 11:58 AM, ivan istas...@gmail.com wrote: Incoming references and path to GC root show only the TmpTestActivity. If I am understanding you correctly, then, it is merely a matter of them not having

[android-developers] Re: ListView leaks memory II

2011-03-31 Thread ivan
Ok I just tested the api demo again. I went in and out of List1.java 15 times, and only saw 8 instances still on the heap. So, clearly some are being GC'd. My question still remains... Why doesn't this happen with other views? On Mar 31, 11:50 am, ivan istas...@gmail.com wrote: So

[android-developers] Re: ListView leaks memory II

2011-03-31 Thread ivan
...@gmail.comwrote: I have played with this MANY times.  The only solution I have seen is to walkthetree in the listview and recycle your objects by hand On Thu, Mar 31, 2011 at 2:08 PM, ivan istas...@gmail.com wrote: Ok I just tested the api demo again. I went in and out of List1.java 15 times

[android-developers] ListView leaks memory

2011-03-30 Thread ivan
I have read copious posts on this, but no solution. After using MAT extensively on an ApiDemo list view sample, I am ABSOLUTELY convinced that the ListView/ListActivity is leaking memory. import android.app.ListActivity; import android.content.Context; import android.os.Bundle; import

[android-developers] ListView leaks memory II

2011-03-30 Thread ivan
I accidentally posted that last one before I was done. I have read copious posts on this, but no solution. After using MAT extensively on a simple ApiDemo list view sample, I am ABSOLUTELY convinced that the ListView/ListActivity is leaking memory. I say this because I can see every instance

[android-developers] Re: ListView leaks memory

2011-03-30 Thread ivan
Mark, I accidentally posted this before I was done... please see my second post with the same title and II appended. Sorry about the confusion. On Mar 30, 11:10 am, Mark Murphy mmur...@commonsware.com wrote: On Wed, Mar 30, 2011 at 1:06 PM, ivan istas...@gmail.com wrote: I have read copious

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
onDestory has been called every time, which I've tested with a break point . On Mar 30, 11:23 am, Mark Murphy mmur...@commonsware.com wrote: On Wed, Mar 30, 2011 at 1:18 PM, ivan istas...@gmail.com wrote: I accidentally posted that last one before I was done. I have read copious posts

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
In addition, I've read that the leak doesn't occur while the app is running in a non-debug session. This is not the case with my experiments. I see the leak regardless. On Mar 30, 11:28 am, ivan istas...@gmail.com wrote: onDestory has been called every time, which I've tested with a break

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
Also, I'm using Android SDK build 8 (2.2). On Mar 30, 11:37 am, ivan istas...@gmail.com wrote: In addition, I've read that the leak doesn't occur while the app is running in a non-debug session.  This is not the case with my experiments.  I see the leak regardless. On Mar 30, 11:28 am, ivan

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
was running under the debugger.  So if you are running under the debugger, you might check it without the debugger running to see if you still have a problem. On Mar 30, 10:53 am, ivan istas...@gmail.com wrote: Also, I'm using Android SDK build 8 (2.2). On Mar 30, 11:37 am, ivan istas

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
I'm using a deice. On Mar 30, 1:30 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Mar 30, 2011 at 3:28 PM, ivan istas...@gmail.com wrote: John, I've read your post about this ... I launched a non-debug version through eclipse (i.e. ctrl + F11) and pulled a heap hprof file showing

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
is leaking? What is the chain of references causing the leak? If what you are describing is true it would affect pretty much every Android application, which seems unlikely. On Wed, Mar 30, 2011 at 2:23 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Mar 30, 2011 at 5:14 PM, ivan

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
On Mar 30, 5:01 pm, ivan istas...@gmail.com wrote: When I use MAT to look at TmpTestActivity, I 1.) Open the OQL tab in MAT and type the following query select * from com.package name.TmpTestActivity and run the query 2.) I right click on one of the TmpTestActivity result rows and choose List

[android-developers] ListView flicker problem (cacheColorHint=#00000000 already set)

2011-03-16 Thread Ivan
; android:id=@android:id/list android:layout_width=fill_parent android:layout_height=fill_parent android:layout_weight=1 android:scrollbars=none android:background=@drawable/ game_background android:cacheColorHint=#/ Cheers, Ivan -- You received this message because you

[android-developers] RemoteServiceException (Nexus S SDK 2.3.2)

2011-03-16 Thread ivan
I have an app that produces a RemoteServiceException on the Nexus S (running Android SDK 2.3.2) when trying to expand remote views in the notification bar. Is anyone aware of issues with this? I've noticed that the official SDKs versions (http:// developer.android.com/sdk/index.html) jump from

[android-developers] How does an AppWidgetHost set focus to an AppWidget button?

2011-03-07 Thread Ivan
I am working on an Android Launcher application. I can host AppWidgets and display them on my View. I can't figure out how to set focus to the buttons within the widget (for example, the individual controls of the Power Control widget), as happens with the default launcher. I am assigning focus to

[android-developers] Re: Update activity A from another activity B

2011-02-16 Thread Ivan
Thanks, I tried out the startActivityForResult in the end and it worked nicely. I was not sure if after coming back from C, A would be updated but in fact it does. For the interested this is what I do (simplified with 2 activities, 3 is basically the same process with passing the position):

[android-developers] Update activity A from another activity B

2011-02-15 Thread Ivan
or discussion is very appreciated! Thanks a lot, Ivan -- 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

[android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-08 Thread ivan
Anyone? On Feb 7, 4:33 pm, ivan istas...@gmail.com wrote: I'm using a ResourceCursorAdapter to display a list of downloads from a ContentProvider that track's my application's downloads -- modeled after Android's DownloadProvider. The problem is that when a download is actively running

[android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-08 Thread ivan
notifyDataSetChanged / Invalidated. -- Kostya 08.02.2011 19:47, ivan пишет: Anyone? On Feb 7, 4:33 pm, ivanistas...@gmail.com  wrote: I'm using a ResourceCursorAdapter to display a list of downloads from a ContentProvider that track's my application's downloads -- modeled after Android's

[android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-08 Thread ivan
touch the ListView and its adapter from the UI thread? -- Kostya 08.02.2011 22:11, ivan пишет: Thanks for the reply. The button events are -- nine times out of ten -- tied to the correct data, but if you rapidly push a button you can throw an event that will be tied to the wrong data

[android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-08 Thread ivan
item? -- Kostya Vasilyev --http://kmansoft.wordpress.com 09.02.2011 1:04 пользователь ivan istas...@gmail.com написал: The only manipulation to the view object is via the non-overridden ResourseCursorAdapter bindView() function. On occasion this function will block for a couple seconds

[android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-08 Thread ivan
://kmansoft.wordpress.com 09.02.2011 1:54 пользователь ivan istas...@gmail.com написал: You were saying something about buttons - how are you creating them, and mapping to the right data item? I set a tag to the cursor position in the bindView() function. On Feb 8, 3:20 pm, Kostya Vasilyev kmans

[android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-08 Thread ivan
Excuse me, I misspoke... Let me correct: The only manipulation to the view is via the OVERRIDDEN ResourceCursorAdapter bindView() function. On Feb 8, 3:03 pm, ivan istas...@gmail.com wrote: The only manipulation to the view object is via the non-overridden ResourseCursorAdapter bindView

[android-developers] Minimize CursorAdapter view recycling?

2011-02-07 Thread ivan
remains tied to a single cursor and view object. Thanks, -Ivan -- 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: How to interrupt a blocking I/O operation?

2011-01-11 Thread ivan
, calling cancel(true) on these instances will interrupt the HTTP I/O. If i'm not mistaken, the apache HttpClient is sensitive to calling interrupt() on the thread on which it is doing HTTP I/O. On Jan 7, 12:07 pm, ivan istas...@gmail.com wrote: I'm wondering what the currently suggested

[android-developers] How to interrupt a blocking I/O operation?

2011-01-07 Thread ivan
I'm wondering what the currently suggested method is for interrupting a read operation of a socket input stream? I know that traditionally the read could be interrupted by closing the socket from another thread and catching an IOException, but I'm not quite sure how to get at the socket from the

[android-developers] Re: ThreadSafeConnectionManager timeout...

2011-01-07 Thread ivan
Have you tried playing with the timeouts passed via the http params? HttpParams httpParameters = new BasicHttpParams(); ConnManagerParams.setMaxTotalConnections(httpParameters, inApp.gResources.getInteger(R.integer.HTTP_MaxConnCnt)); HttpConnectionParams.setConnectionTimeout(httpParameters,

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-07 Thread ivan
this best on Android I haven't a clue. On Jan 7, 11:07 am, ivan istas...@gmail.com wrote: I'm wondering what the currently suggested method is for interrupting a read operation of a socket input stream? I know that traditionally the read could be interrupted by closing the socket from

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-07 Thread ivan
do - I go with 3s connect timeout and retry if it fails). On Jan 7, 9:07 am, ivan istas...@gmail.com wrote: I'm wondering what the currently suggested method is for interrupting a read operation of a socket input stream? I know that traditionally the read could be interrupted by closing

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-07 Thread ivan
not mistaken, the apache HttpClient is sensitive to calling interrupt() on the thread on which it is doing HTTP I/O. On Jan 7, 12:07 pm, ivan istas...@gmail.com wrote: I'm wondering what the currently suggested method is for interrupting a read operation of a socket input stream? I know

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-07 Thread ivan
/InputStream.java.html Let me know if this solves your problem. On Jan 7, 7:07 pm, ivan istas...@gmail.com wrote: I'm wondering what the currently suggested method is for interrupting a read operation of a socket input stream? I know that traditionally the read could be interrupted by closing

[android-developers] Re: Stablesocket connection (Correct work with Socket/Thread).

2011-01-06 Thread Ivan Pupkoff
On 5 янв, 00:21, Kostya Vasilyev kmans...@gmail.com wrote: Ivan, Try the following: - Use socket.connect(SocketAddress endpoint, int timeout). - Catch SocketTimeoutException around connect() and use it to retry (after a delay). It provides no benefit to try and keep the same Java object

[android-developers] Stablesocket connection (Correct work with Socket/Thread).

2011-01-04 Thread Ivan Pupkoff
Need to have stable connection to server. 1. The client tries to connect to server every 5 (10, N)-seconds. 2. After sucess connection client receives data from server. 3. After interrupt connection (server turn off) - go to step # 1. How test: 1) Start server 2) Start client (to be sure that

[android-developers] ListView disappears after orientation change

2010-12-06 Thread Ivan Švogor
Hello, I'm using a listView with my SimpleAdapter. It works fine, and populates relative view correctly, but when I put my phone in landscape position, my list is gone. Did anyone have a similar issue, what am I doing wrong? thank you -- You received this message because you are subscribed to

[android-developers] How to start others application in Widgets click event ?

2010-08-09 Thread ivan...@gmail.com
I designed a widget and successful using setOnClickPendingIntent to active the click event, but I want to start other application witch is install in my Android phone (such as Google Map), how can I using in this following command? if (intent.getAction().equals(ACTION_WIDGET_CLICK)) { }

[android-developers] Re: TrueType fails to load on android 2.2

2010-08-06 Thread Ivan
Works fine for me. Probably it's about your font, try a different one. Also, could you please post the complete stack trace. On Aug 6, 9:13 am, Chopcsu st...@kilsby.com.au wrote: Hi All I am experiencing a problem where I can not load a truetype font in android 2.2 but loads fine in all

[android-developers] Re: Persist a variable value

2010-08-06 Thread Ivan
Try shared preferences. On Aug 6, 9:08 am, Martins Streņģis martin...@draugiem.lv wrote: db is simple  :) but if you dont want db you could try files -- 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] Video Playback Service

2010-06-14 Thread ivan
I'm writing an app that needs a video player. It would be nice to have the audio of the player still available when the user navigates away from the application, and have the visual resume when they navigate back to it. For an audio player this could easily be done by creating a service that

[android-developers] Building for System API

2010-06-07 Thread ivan
Hello, I'm working on an extensive project that will be prepackaged on certain phones. I'm researching using some of the existing Android providers such as DownloadProvider, and as such I need access to an Android System JAR file containing all the necessary classes. How do I get my hands on

[android-developers] Use DownloadProvider or not?

2010-06-07 Thread ivan
Hello, I'm building an extensive Android app that will be pre-packaged on many soon to be released devices. I have seen from the post that in general one should not use the DownloadProvider, except for the cases where the app is prepackaged on the phone. This is correct, right? I need robust

[android-developers] Two articles on Android app development

2010-06-03 Thread Ivan
-with-a-background-service-using-ipc/ The second one: Intro to Loopers and Handlers http://mindtherobot.com/blog/159/android-guts-intro-to-loopers-and-handlers/ Hope the articles are useful to you. Any feedback is appreciated. -Ivan -- You received this message because you are subscribed

[android-developers] Re: Two articles on Android app development

2010-06-03 Thread Ivan
Thanks for your feedback guys. The experience I shared there was practical - and there are times and requirements when you do need to start a service at the boot time, and it's really better to run it in a separate process. For example, any mail-like application would have such requirements. It's

[android-developers] Re: Unlimited Web Hosting

2010-05-31 Thread Ivan Greene
gtfo we don't need your spam On May 30, 11:35 pm, Biswajit biswajitsarka...@gmail.com wrote: FREE DOMAIN NAME UNLIMITED SPACE UNLIMITED EMAILS UNLIMITED SUBDOMAINS UNLIMITED DATABASES PHP,MYSQL,PERL,RUBY SUPPORT FREE SCRIPT LIBRARY 10 GB BANDWIDTH/MONTH FREE SITE BUILDER FREE

[android-developers] Re: I've found a way to stop piracy of my apps

2010-05-21 Thread Ivan Greene
for me, I am developing an app that I think will be heavily pirated. my idea to stop that is to require the user to update with each update I make (maybe once every 2 weeks or so), which would require them to buy it. the app needs to connect to my server anyway, so if it connects with an older

[android-developers] Re: Installing apps to Nexus One device

2010-05-04 Thread ivan
to different USB ports. ... and still I can't get the app on the phone. I'm working on Windows XP with eclipse using SDK 1.5 r3. Plus, I can view the file system and remove and upload files from Eclipse, but I can't get an app running on the phone. Any thoughts? Thanks, -Ivan On Mar 31, 5:47 am, Mark

[android-developers] Re: 14-year-old Android Developer:

2010-04-24 Thread Ivan Greene
, Ivan Greene ivant...@gmail.com wrote: Miguel: Thanks for the encouragement! I am working on an Android game right now. I'm thinking about college, because I would really like to work for Google. But I'm not sure that will happen, my grades are quite bad (about 2.5 GPA). On Apr

[android-developers] Re: Market update of an app installed from another source?

2010-04-24 Thread Ivan Greene
I think it can be. I just recently noticed download crutch lite was appearing in my Downloads section, even though I had installed it from some website On Apr 24, 12:07 am, joebowbeer joe.bowb...@gmail.com wrote: I haven't seen this answered anywhere so I thought I'd ask. Can an app that was

[android-developers] Re: Long-press hard volume keys

2010-04-24 Thread Ivan Greene
You need to return true when you are capturing the events public boolean onKeyDown(int keyCode, KeyEvent event) { final AudioManager audioMan = (AudioManager)getSystemService(Context.AUDIO_SERVICE); if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN) { //

  1   2   3   >