[android-developers] how to build library without optimization in order to properly debug it

2009-03-12 Thread dmitry
d be a problem, and what is the right way to handle this? -- Dmitry --~--~-~--~~~---~--~~ 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@googleg

[android-developers] Re: How to use headset button to pick up/hang up a call?

2009-04-17 Thread Dmitry
It would be great if Phone application would support both muting and un-muting the call as well as hanging up current call from the headset button. One of the ways to support it would be to recognize a long press of the headset button. Currently when headset buttong is pressed during the call, pho

[android-developers] Focus issue after calling ArrayAdapter.notifyDataSetChanged()

2009-05-19 Thread Dmitry
. Thanks in advance, Dmitry ---My code:-- TestActivity.java: " package demon.test; import android.app.Activity; import android.graphics.Color; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; i

[android-developers] Re: UnknownHostException on 1.5 emulator

2009-05-23 Thread Dmitry
Yes, I have the same problem. Sometimes it happens very soon after launch-( On May 21, 10:11 pm, Peter Jeffe wrote: > If I leave the 1.5 emulator running for a while (overnight, maybe > less) it starts getting unknown host errors like this: > > 05-21 18:03:23.618  2663  2683 I InetAddress: Unkno

[android-developers] Re: How to dynamically apply themes in Android

2013-01-25 Thread Dmitry
As I know, the only way to achieve it is to recreate your activity like this: final Intent intent = getIntent(); overridePendingTransition(0, 0); intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); finish(); overridePendingTransition(0, 0); startActivity(intent); and set your theme every time dur

[android-developers] Re: what's wrong? "curl http://Android.git.kernel.org/repo >~/bin/repo " doesn't work!

2011-10-19 Thread Dmitry
You can use this tutorial http://php.webtutor.pl/en/2011/09/05/kernel-org-hacked-how-to-get-android-repo/ to get repo and source. On Oct 16, 8:00 am, puwei wrote: >   can't use curl to get  repo, >   when i try  commad  "  curlhttp://Android.git.kernel.org/repo>~/ > bin/repo" >   just can't down

[android-developers] Android SW development request

2008-11-25 Thread Dmitry
eply, Sincerely, Dmitry Tsoy Meridian Group Moscow Product Dev. & Planning DEPT PM [EMAIL PROTECTED] M: + 7.926.036 5534|T: +7.495.780 5136 X 321|F: +7.495.956 6849 Skype: tsoy88| MSN: [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Soap issues

2009-03-02 Thread Dmitry
may be this will help you: http://android.amberfog.com/?p=45 On Mar 2, 1:42 am, Seer wrote: > Guys, > Is there a Soap lib for android?  I know Soap is not the best for the > android but the web services i wish to use are written in soap.  I > have tried ksoap2 but none of the versons of ksoap i

[android-developers] Re: how to develope a popup window class ?

2013-09-14 Thread Dmitry
I believe you should try to dismiss your popup in UI thread. On Thursday, September 12, 2013 5:44:25 AM UTC+4, Amit Mangal wrote: > > Any idea developers how to remove this crash ? > > On Thursday, September 12, 2013, Amit Mangal > > > wrote: > > Problem is my popup window class shows message co

[android-developers] HttpsUrlConnection: Trust anchor for certification path not found on 2.3

2013-09-23 Thread Dmitry
Hello, there. I need to establish https connection with https://free.temafon.ru but I've got CertPathValidatorException on Android 2.3 and below. What have I done. 1. Grab all certs from https://free.temafon.ru with Firefox. 2. Import certs in keystore in sequence from temefon certificate to r

[android-developers] Re: HttpsUrlConnection: Trust anchor for certification path not found on 2.3

2013-09-23 Thread Dmitry
on > > On Monday, September 23, 2013 11:22:26 AM UTC-4, Dmitry wrote: >> >> Hello, there. I need to establish https connection with >> https://free.temafon.ru but I've got CertPathValidatorException on >> Android 2.3 and below. What have I done. >> >&

[android-developers] Re: How to avoid reverse engineering of an APK file?

2015-04-15 Thread Dmitry
Frankly speeking, Proguard just minimize code. It's just a matter of patience to roll back all changes. I suggest to use more sophisticated tools. On Tuesday, April 14, 2015 at 11:18:47 AM UTC+3, bo wrote: > > HI All > > please any body help to restrict extracting apk . > > > Regar

[android-developers] Can't access proximity sensor on Droid X

2010-08-19 Thread Dmitry
I'm writing an app that uses the proximity sensor, but registerListener keeps returning false whenever I try to register to the sensor. getDefaultSensor returns null, getSensorList returns an empty list, but the sensor works fine during calls and according to the log, SensorManager actually finds t

[android-developers] How to create a DBAdapter object in class extends BaseExpandableListAdapter?

2010-07-19 Thread Dmitry
Hello there, I want to populate ExpandableListView from database. But I can't create the DBAdapter object in class extends BaseExpandableListAdapter, because I don't know what context must be passed to DBAdapter constructor. I use DBAdapter db = new DBAdapter(AutoContacts.this); but it doesn't work

[android-developers] Re: Screen flicker when swapping bitmaps to draw

2010-09-17 Thread dmitry
This maybe a problem with painting itself. On Sep 17, 7:34 am, EmilDiego wrote: > I am working on a Live Wallpaper app.  Basically id downloads a bunch > of different background images and then randomly picks one to > display.  They change every few minutes to another background.  THe > problem I

[android-developers] Re: Intercept Emails

2011-04-07 Thread Dmitry
Hi, Daniel I solve this problem by installing app as system app. For example, I'm using following batch file with commands: adb shell mount -oremount,rw -t yaffs2 /dev/block/mtdblock3 /system adb push C:\Your.apk /system/app/ adb reboot On Apr 7, 8:53 am, Daniel Felix wrote: > Hi All, > >   Than

[android-developers] Screen rotation counter clockwise

2009-11-02 Thread Dmitry Munkov
Good day everyone! Is there any way to make autorotation work in both ways: both clockwise and counter clockwise? It's a pain when reading a book that scrolls with volume keys (HTC Hero). Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] TableLayout

2009-09-02 Thread Dmitry Zelenetskiy
Hello, I have some table with custom cell, for example, http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_parent" android:stretchColumns="*" > and I want to make "colspan"

[android-developers] Adding contacts via Intent

2009-09-16 Thread Dmitry Zelenetskiy
Hello! I am trying to add new contact using intent: Intent addPersonIntent = new Intent(Intent.ACTION_INSERT_OR_EDIT); addPersonIntent.putExtra(Insert.NAME, "John Smith"); addPersonIntent.setType(Contacts.People.DISPLAY_NAME); addPersonIntent.putExtra(Insert.PHONE, Uri.decode("806547850012"));

[android-developers] Control styling

2009-09-22 Thread Dmitry Zelenetskiy
Hello, I need create some EditText dynamically in my application, but these components have to apply one custom style in styles.xml. I am trying to this next way: XmlResourceParser parser = getResources().getXml(R.style.MyStyle); AttributeSet attributes = Xml.asAttributeSet(parser); ... for (So

[android-developers] Pipe separator "|" in sms

2010-02-01 Thread Dmitry Zelenetskiy
I am receive sms from server with "|" delimeter, but android make it unreadable. Can I make something with this? Thanks. -- 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.co

[android-developers] How to register new file extension?

2009-07-20 Thread Dmitry Manayev
Hi! I have problem with adding a new file type to android(the file type is .comap).I need to run my application with this file from android browser and from file manager. I know that I need to write a special for that,but I don't know how,because this format hasn't any special,registered MIME

[android-developers] How to open or register a new file extension in Android?

2009-07-20 Thread Dmitry Manayev
Hi! I have problem with adding a new file type to android(the file type is .comap).I need to run my application with this file from android browser and from file manager. I know that I need to write a special for that,but I don't know how,because this format hasn't any special,registered MIME

[android-developers] Re: How to open or register a new file extension in Android?

2009-07-20 Thread Dmitry Manayev
Thanks for reply. So if i registry this new MIME type,how and when it would be added to Android? //Comap is based on xml. On 20 июл, 23:50, Dianne Hackborn wrote: > Android doesn't know anything about file extensions, only MIME types. > > On Mon, Jul 20, 2009 at 6:37 AM,

[android-developers] Re: How to open or register a new file extension in Android?

2009-07-21 Thread Dmitry Manayev
en someone tries to launch an activity matching your intent > filter then your activity will be found. > > On Mon, Jul 20, 2009 at 1:43 PM, Dmitry Manayev > wrote: > > > > > > > > > Thanks for reply. > > > So if i registry this new MIME type,how and wh

[android-developers] Re: How to open or register a new file extension in Android?

2009-07-23 Thread Dmitry Manayev
;                                 android:name="android.intent.category.BROWSABLE" /> >                                 >                                 >                                 >                                 >                                 >                                 >                         >                 > -- > > On Jul 20, 4:37 pm, Dmitry Manayev wrote: > > > Hi! > > > I have problem with adding a new file type to android(the file  type > > is .co

[android-developers] Re: Are NPOT textures compressed to ETC format supported on SGX540 GPUs?

2013-02-19 Thread Dmitry Suzdalev
Yep! Confirming this. Galaxy Nexus, ICS 4.0.4. Got this segfault while using POT: I/DEBUG (26556): #00 pc dbec /system/lib/libc.so (memcpy) I/DEBUG (26556): #01 lr 5b98c588 /system/vendor/lib/egl/ libGLESv2_POWERVR_SGX540_120.so When I switched to using NPOT texture

[android-developers] GPS multipath errors filtering?

2012-01-26 Thread Dmitry Zhadan
Hello! I'm develop an application which uses GPS to periodically determine user location. The problem is that when the user is stationary, the successive locations comes with a large "jumps" in latitude and longitude (up to 100 meters). Is there any way to filter out these "jumps" (also known as "

[android-developers] Android linear accelerometer's values are different on several devices

2012-02-14 Thread Dmitry Tupikin
I'm working on Android navigation app which uses complex of sensors to determine position changes. In some cases device cannot achieve GPS signal for a while (tunnel or multilevel parking) and I want to compensate these gaps using INS approach. Yes I know that there're another approaches like cell-

[android-developers] Re: Android linear accelerometer's values are different on several devices

2012-02-14 Thread Dmitry Tupikin
sing separate GRAVITY sensor which were introduced since 9 API version. Thanks, Dmitry On 14 фев, 16:10, Guillermo Polonsky wrote: > Are you low filtering the values? That can help. For example you can create > an array of 10 position, then each time the accelerometer/linear > accel

[android-developers] Android: Sensor.getResolution() value

2012-02-14 Thread Dmitry Tupikin
I'm working on Android applications which uses SensorManager for defferent purposes. During investigation I found that Sensor.getResolution() function returns different values for different devices: HTC Sensation has 1.0 resolution value for all on board sensors. Motorola XOOM: 3-axis Accelerome

[android-developers] Re: Augmented Reality

2012-02-15 Thread Dmitry Tupikin
What kind of AR application do you want to write? Basically AR apps are divided into two groups: 1. Apps with markers where user sees something when looks on markers through device's camera. 2. Apps where you put some information upon camera view - POIs, routes.. Thanks, Dmitry On 15 фев,

[android-developers] Application is available for 0 devices

2011-11-02 Thread Dmitry Karymov
After submitting of new app (com.mcf.strip_club) we see 0 devices in console, and no compatible phones on Market. The main info is below (I can be incorrect in some terms since I see them not in English): API Level: 7-14+ Supported screens: small-xlarge OpenGL Textures: all Code Version: 1 Versio

[android-developers] postDelayed vs. post

2011-08-31 Thread Dmitry Golubovsky
Hi, Q1: Is post(action) equivalent to postDelayed(action, 0)? Q2: If a view implements a never stopping cycle like this, depending on two time parameters, N and T: public void timerEvent() { final class Timer implements Runnable { public void run()

[android-developers] Re: postDelayed vs. post

2011-08-31 Thread Dmitry Golubovsky
Dianne, Thanks for your quick reply. On Aug 31, 12:28 pm, Dianne Hackborn wrote: > On Wed, Aug 31, 2011 at 9:16 AM, Dmitry Golubovsky > wrote: > > > Q1: Is post(action) equivalent to postDelayed(action, 0)? > > Yes. OK, may I suggest that this be reflected in the

[android-developers] Streaming video over RTMP

2012-06-12 Thread Dmitry Kazakov
Hello, I am programming android client that would show video from web camera in real time. The issue is that I get this stream over RTMP protocol. It seems that nobody knows an easy way to do that. I have found a few libs as www.aftek.com/afteklab/aftek-RTMP-library.shtml http://code.google.c

Re: [android-developers] Re: ActionBar/Mode Style Regressions with SDK 12r2 and 13r1

2011-07-28 Thread dmitry . lukashev
My concern is why I can easily change android:actionOverflowButtonStyle... and cannot do the same with search icon. Gray search icon is not acceptable for our brand style... so default action bar became useless for us, and we should create custom bar for tablet that is ridiculous:) -- You rece

[android-developers] MediaPlayer: setDataSource failed (streaming)

2011-08-15 Thread Dmitry Kazakov
Hi there. I write Android app and I want to playing music from a remote URL via HTTP streaming. In official tutorial is showed this code: String url = "http://";; // your URL here MediaPlayer mediaPlayer = new MediaPlayer(); mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); mediaP

[android-developers] Development environment setup fails on Mac OS

2009-02-23 Thread Dmitry Shechtman
to fetch gnupg-1.4.9.tar.bz2 from ftp://ftp.gnupg.org/gcrypt/gnupg/ Any ideas? Regards, Dmitry --~--~-~--~~~---~--~~ 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] save parts of streaming vides

2016-03-20 Thread Dmitry Medvedev
Hello, I want to create an app which record video from camera, and while video recording save pieces of this streaming - length is 30 second. And when recording will stop I will have a lot of video files - each duration 30 seconds. Is it possible to do in Android? If yes - what libraries or me

[android-developers] emulator: ERROR: the user data image is used by another emulator. aborting

2010-04-14 Thread Dmitry Golubovsky
Hi, I am trying to start the emulator and get this message. No other emulator is running. I am working under Linux, home directory is mounted via sshfs. I saw reports of this message from Windows users when emulator images were located on networked drives/folders. Does the same problem apply to s

[android-developers] emulator: ERROR: the user data image is used by another emulator. aborting (cont'd)

2010-04-14 Thread Dmitry Golubovsky
OK, finally strace gave me this: lstat64("/home/dima/.android/avd/AVD-1.avd/userdata- qemu.img.tmp-6p9Pnr", {st_mode=S_IFREG|0600, st_size=6, ...}) = 0 link("/home/dima/.android/avd/AVD-1.avd/userdata-qemu.img.tmp-6p9Pnr", "/home/dima/.android/avd/AVD-1.avd/userdata-qemu.img.lock") = -1 ENOSYS (Fu

[android-developers] Re: emulator: ERROR: the user data image is used by another emulator. aborting (cont'd)

2010-04-14 Thread Dmitry Golubovsky
David, On Apr 14, 12:44 pm, David Turner wrote: > It is possible, and quality patches are gladly accepted, to be sent at > b.android.com > > The code you're looking for is at external/qemu/android/utils/filelock.c Thank you, For the record, I also have submitted Issue 7717. I pulled the emulator

[android-developers] How to use ListView in Tab?

2011-02-22 Thread Dmitry Kazakov
Good day. In my app I have three tab (one Activity extend TabActivity and others activitys provides access to content). In first tab I have ImageView, a few TextView and it is works. But when I add ListView and in activity that contain ListView I add a few rows it was not show in may tab. Can some

[android-developers] SDcard mount point in portable way?

2011-02-25 Thread Dmitry Golubovsky
Hi, In my program, I need to access the full contents of the sdcard for reading and writing. I have found that the sdcard is itself mounted at /system/media/sdcard (on Pandigital Novel 9" tablet, Android 2.0). Is there any library function that would return this path correctly for any other Andro

[android-developers] Re: SDcard mount point in portable way?

2011-02-25 Thread Dmitry Golubovsky
Mark, Thank you for response. On Feb 25, 4:38 pm, Mark Murphy wrote: > On Fri, Feb 25, 2011 at 6:41 AM, Dmitry Golubovsky > wrote: > > I have found that the sdcard is itself mounted at /system/media/sdcard > > (on Pandigital Novel 9" tablet, Android 2.0). Is there an

[android-developers] How to get an event for soft keyboard KEYCODE_DEL?

2011-03-02 Thread Dmitry Golubovsky
Hi, In my application, I bring the soft keyboard on from time to time, and it looks like events for the DEL key are not delivered. The method in question is at http://pastebin.com/zZaZWJ4t and the whole Java class is at http://squeakvm-tablet.googlecode.com/hg/project/src/org/squeak/android/Squ

[android-developers] LiveWallpapers: Delayed posting of Runnable vs full-fledged paint thread

2010-06-01 Thread Dmitry Suzdalev
as I described above, and i have got a good performance :) Thanks in advance, Dmitry. -- 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] Linear Layout

2010-06-01 Thread Dmitry Suzdalev
pending on layout orientation) are fill_parent, then it will take all the space available :) In this case you should try setting this property (be it layout_width or layout_height) to wrap_content - this will make this object occupy only needed space. Cheers, Dmitry. -- You received this messag

[android-developers] Drawing a bitmap to Canvas every frame - supposed to be slow?

2010-06-01 Thread Dmitry Suzdalev
completely lenghty, but they are noticable indeed. And if I add canvas.drawColor(Color.BLACK); to the beginning of the function then it becomes dog slow. Is this supposed to be so? Am I doing something wrong? Any suggestions on how could I improve this situation? Thanks in advance, Dmitry

[android-developers] Screen switch callback?

2010-06-03 Thread Dmitry Suzdalev
ing didn't reveal anything, so hoping for your advice here, thanks :) Cheers, Dmitry. -- 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] How to get the screen lock status

2010-06-04 Thread Dmitry Suzdalev
locked, but e.g. when some other app starts and wallpaper isn't visible. onVisibilityChanged is exactly what you need in this case :) See http://developer.android.com/reference/android/service/wallpaper/WallpaperService.Engine.html#onVisibilityChanged(boolean) Cheers, Dmitry. -- You r

[android-developers] Transparent InputConnection?

2011-03-30 Thread Dmitry Golubovsky
Hi, Is there an example of/tutorial on maximally transparent subclass of BaseInputConnection? Android 2.0 if that matters. All I need is to pass a key event to the target view on any alpha or digit or special character soft key pressed, bypassing any built-in text editing capabilities. This is p

[android-developers] Launch activity on a file with certain name pattern (file-manager independent)

2011-04-07 Thread Dmitry Golubovsky
Hi, Suppose I have a number files whose names satisfy certain pattern, located anywhere in the file system (SD card likely). I am looking for a file-manager independent way to launch a predefined target activity upon user tapping on those files icons provided that the activity has proper intent f