[android-developers] Spinner does not apply dropDownSelector attribute

2013-02-06 Thread Vladimir Svydenko
Hi there, I'm using spinner and want to add spinner - to change behavior depends of states(focused, pressed) My code: *activity_main.xml* Spinner android:id=@+id/spinner android:layout_width=wrap_content android:layout_height=wrap_content

[android-developers] Proguard ignoring -assumenosideeffects while exporting Export Signed Application Package

2012-12-24 Thread Vladimir Svydenko
Hi, I try to strip all log calls from release app using proguard (-assumenosideeffects) but no any succes.. Ubuntu 12.04 intellij idea 12 Community Edition SDK 16 Android 4.1.2 Created test project with one activity: public class MyActivity extends Activity { @Override public void

[android-developers] Re: How to get outgoing call duration in real time?

2011-09-20 Thread Vladimir Svydenko
this value populate field in db? On Sep 18, 4:20 pm, Vladimir Svydenko vov...@gmail.com wrote: Hi, guys Now I write one app and have some problem - I need to show real-time outgoing call duration. But I do not know when I should start timer. I must start when get answer from other side. I tried

[android-developers] How to get outgoing call duration in real time?

2011-09-18 Thread Vladimir Svydenko
Hi, guys Now I write one app and have some problem - I need to show real-time outgoing call duration. But I do not know when I should start timer. I must start when get answer from other side. I tried TelephonyManager.EXTRA_STATE_OFFHOOK -- but it's state is when I press call-button.. OFFHOOK is

[android-developers] IMarketBillingService do not created. Android 3.0

2011-08-08 Thread Vladimir Svydenko
Hello, guys! I want to implement In-app Billing app Have some problems with IMarketBillingService.java-file creating. I do these steps: 1. Create the following directory in your application's /src directory: com/android/vending/billing/ 2. Copy the IMarketBillingService.aidl file into the

[android-developers] Re: close cursor

2011-08-04 Thread Vladimir Svydenko
ull, query = select * from TableName E/Cursor  (  863): android.database.sqlite.DatabaseObjectNotClosedException: App lication did not close the cursor or database object that was opened here On Aug 3, 5:59 pm, Vladimir Svydenko vov...@gmail.com wrote: Hi, If You close cursor

[android-developers] Horizontall scrollview without spacing. For honeycomb

2011-08-04 Thread Vladimir Svydenko
Hi, guys! I want to create an app to Honeycomb devices. But now have some problems: For vertical orientation I created at bottom of device fragment in which show some images. I want to scroll this images in horizontal way. I used Gallery. But Gallery has spacing in the start and end. How to avoid

[android-developers] How to make icon of app on desktop? Problems with WebView

2011-08-03 Thread Vladimir Svydenko
Hi, guys! In my app I have one activity with WebView. When I push Home button and then click on icon my app -- web page do not reload - it is good. But in code I create icon manually: private void createIcon(int iconId){ final Intent shortcutIntent = new

[android-developers] Re: close cursor

2011-08-03 Thread Vladimir Svydenko
Hi, If You close cursor inside this method - it will return null. So, You do not need here closing cursor. Here You can get data from cursor and then close it. regards On Aug 3, 2:56 pm, Dev_red sktniranjanad...@gmail.com wrote: hi How to close cursor in following method? where i have to add

[android-developers] how to save content in webView after minimizing app? and do not reloading after restore app?

2011-07-30 Thread Vladimir Svydenko
Have question: in my app I have one webView. When I minimize application and re-open it - in webview I get white space. I want when I can minimize application and re-open it without reloading content... code here: public void onCreate(Bundle savedInstanceState) {

[android-developers] android gridview troubles

2011-07-28 Thread Vladimir Svydenko
Hi. have some troubles with GridView. after populate grid - height of each cell isn't actual Here google do not allow post this question (very long?) . See please on stackoverflow: http://stackoverflow.com/questions/6861445/android-gridview-troubles Can anybody help? -- You received this