[android-developers] Re: New SDK available - 0.9 SDK beta

2008-08-19 Thread viktor
Dear Google representatives, Since Bluetooth seems to be hottest topic for the SDK 0.9, please clarify the level of Bluetooth support in the first Android phone that is coming this fall. Which of the following is correct? 1. The phone does not have Bluetooth hardware. 2. The phone has disabled

[android-developers] DateUtils - Alternatives?

2008-08-25 Thread viktor
The class android.util.DateUtils is gone. What can we use instead? The method getRelativeTimeSpanString was useful to format relative time nicely, like the call log does. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] PACKAGE_ADDED

2008-08-29 Thread viktor
Let's continue this discussion: http://groups.google.com/group/android-developers/browse_thread/thread/697e7e7cc6dd3d1f/fdcf520cce83cf0b The PACKAGE_ADDED broadcast is not received by the installed (added) package anymore (SDK 0.9). This was the only way to let an application to execute a

[android-developers] Application state when Home pressed

2010-08-11 Thread viktor
Hi, Is android have application state, like background or front? I have a situation when need to update same data if app is coming to front. onRestart or onStart is not good idea, because this method fire when we come from another activity. -- You received this message because you are

[android-developers] Re: Making HorizontalScrollView scroll programatically

2010-08-11 Thread viktor
Why do you not use Gallery, it has all your requirements. On 11 Сер, 14:47, Amit amitmishr...@gmail.com wrote: Hi All, I have a horizontal scroll view containing multiple Bitmaps of variable length. My question is how can i make a particular bitmap selected which in not visible on the

[android-developers] Re: Autocomplete with suggestions in Custom Dialog

2010-08-11 Thread viktor
This code: ArrayAdapterString adapter = new ArrayAdapterString(this, R.layout.list_item, COUNTRIES); Be carefully, if you use autocomplete in Dialog, you should passing Context as 1st arg of constructor, ArrayAdapterT(Context, R.layout.list_item, COUNTRIES)() Please read Java Code Style, How did

[android-developers] Re: Application state when Home pressed

2010-08-12 Thread viktor
Anyone can help me? On 11 Сер, 19:34, viktor victor.scherb...@gmail.com wrote: Hi, Is android have application state, like background or front? I have a situation when need to update same data if app is coming to front. onRestart or onStart is not good idea, because this method fire when

[android-developers] Re: Application state when Home pressed

2010-08-13 Thread viktor
On 12 Сер, 20:26, Frank Weiss fewe...@gmail.com wrote: There are two levels of foreground/background, onPause/onResume and onStart/onStop. Please read the Activity documentation. Then explain what you issue is. OK, I write more clear my issue. I have parent activity, other activities extends

[android-developers] Re: Application state when Home pressed

2010-08-14 Thread viktor
OK, my third try to tell you what is my issue mean. For example: Activity0 -- it is a super class, Activity1, ...2, ... 3, ...4 my children classes from Activity0. Activity1 extends Activity0 Activity1, ...2, ...3, ...4 can start another examples of Activity0, My activity stack can be like

[android-developers] Re: Application state when Home pressed

2010-08-14 Thread viktor
PM, viktor victor.scherb...@gmail.com wrote: I try call my method in all Activity life cycle methods but result the same, my method calling always, when activity is coming to the foreground, back to previous activity, start new activity. WHY does it matter if you're returning from Home

[android-developers] Re: Application state when Home pressed

2010-08-14 Thread viktor
---Activity2--Activity3. I think that Activity1 never will be killed. If we have low memory, another application process will be killed but not active application. On 14 Сер, 23:47, viktor victor.scherb...@gmail.com wrote: At the First that is rule from customers. (It is need improve why

[android-developers] Re: Application state when Home pressed

2010-08-14 Thread viktor
Application doest crashes (http requests always getting data, it is not good), I don't want always call it when activity is Resuming On 15 Сер, 00:07, Frank Weiss fewe...@gmail.com wrote: My current understanding of the problem is, there's an update method that needs to be called when any of

[android-developers] Re: Application state when Home pressed

2010-08-15 Thread viktor
Thanks every one. I thing the post should be closed. I got enough information from TreKing. Let's wait Android 3.0, I`m very happy that OS 2.2 run java tasks with JIT compiler. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Android bitmap allocation weirdness

2010-08-24 Thread Viktor
I'm having some trouble understanding why this code public class BitmapAllocTest extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); byte[] b = new byte[20

[android-developers] Re: Android bitmap allocation weirdness

2010-08-27 Thread Viktor
.  What's the problem? On Aug 24, 4:28 pm, Viktor vilainpe...@gmail.com wrote: I'm having some trouble understanding why this code public class BitmapAllocTest extends Activity {     /** Called when the activity is first created. */     @Override     public void onCreate(Bundle

[android-developers] Re: Android bitmap allocation weirdness

2010-08-27 Thread Viktor
necessary for some of the applications I'm writing. BR Viktor On Aug 27, 4:19 pm, Tom Gibara tomgib...@gmail.com wrote: Viktor, This question comes up in various guises. I think your problem is explained by some old posts I made on this thread. http://groups.google.com/group/android-developers

[android-developers] Re: Calling Tomcat server API's from Android app

2010-09-04 Thread viktor
What about Spring MVC, you can create your own servlet and from that call what you need throw http. This is very flexible issue and you dont need parse Beans on your mobile, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Activity inside a view

2010-09-04 Thread viktor
You can use one activity and few views, and manage only their visibility, except if you have to use different view containers (MapView, ListView, ...). On 3 Вер, 23:04, Kumar Bibek coomar@gmail.com wrote: Yeah, you can use the LocalActivityManager, but for his situation, I guess the best

[android-developers] Re: java.lang.NullPointerException when trying to edit strings.xml

2010-09-07 Thread viktor
try using eclipse 3.5 it is more stable and faster than 3.6, some times 3.6 is freezes for 3-6 sec. -- 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] Re: PhotoViewer

2010-09-07 Thread viktor
Where are you want to put GridView, you want add images to grid or display grid in Activity? Look here: http://developer.android.com/resources/tutorials/views/hello-gridview.html On 7 Вер, 09:52, Dhrumil Shah dhrumilsh...@gmail.com wrote: I am new in Android. Can you help me how to put

[android-developers] Gallery popup menu

2010-09-07 Thread viktor
Hi, In common Android Gallery you can see nice popup menu, Gallery--- menu(More) or menu (Share). Enyone know how to implement such kind of menu? -- 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: Gallery popup menu

2010-09-07 Thread viktor
...@commonsware.com wrote: On Tue, Sep 7, 2010 at 7:37 AM, viktor victor.scherb...@gmail.com wrote: In common Android Gallery you can see nice popup menu, Gallery--- menu(More) or menu (Share). Enyone know how to implement such kind of menu? I assume you are referring to the context menu you

[android-developers] Re: Gallery popup menu

2010-09-08 Thread viktor
I captured phone screen, look at left, you can see what I mean. Share menu pressed and sub menu is appear. http://xmages.net/storage/10/1/0/9/8/upload/c509163f.png Nexus One Android 2.2, Standard Gallery application. Any ideas how to do that menu -- You received this message because you are

[android-developers] Fast destroy multiple WebView's

2010-09-08 Thread viktor
Hi, My problem: I have many WebView's these display images. Each WebView is item in Gallery view. 10-15 images are loading simultaneously. Internet is very low, for loading all visible items is need 5-10 sec. If close Activity and restart it few times, device CPU is hangs long time. I try

[android-developers] Re: Killing all the activities that was started by my application.

2010-09-08 Thread viktor
Yahel is right, it is very dangerous. But you can try doing it with broadcast, and listen it in activities which you want to close. If you did, look at device CPU status. Maybe your devise is down!!! Or another way is saving your own activity stack, and consequentially finish. -- You received

[android-developers] Re: How to display route on Google map in Android

2010-09-08 Thread viktor
Use geonames. On 8 Вер, 16:26, cool.manish mannishga...@gmail.com wrote: One more query is, Is there API to find out Lat Long for a zipcode or city name supported in android. On Sep 8, 6:19 pm, cool.manish mannishga...@gmail.com wrote: Hi All, How to display route on Google map in

[android-developers] Re: How to display route on Google map in Android

2010-09-08 Thread viktor
Geocoder geoCoder = new Geocoder(context); ListAddress addressList = geoCoder.getFromLocationName(address, 1); where address contain street or city, or zip For displaying rout you can use standard Android Map, only call it with specific Intent -- You received this message because you are

[android-developers] Re: Gallery popup menu

2010-09-09 Thread viktor
Thanks TreKing, I did this menu, it is really looks nice. On 8 Вер, 18:33, TreKing treking...@gmail.com wrote: On Wed, Sep 8, 2010 at 4:15 AM, viktor victor.scherb...@gmail.com wrote: Any ideas how to do that menu Did you even look at the link I posted

[android-developers] MapsActivity has leaked window

2010-07-27 Thread viktor
Hi, I want to show route with build-in(OS) MapActivity, I put package and class name to Intent, and after show Activity. When I pressed back button when map is starting (Nexus One), I have exception: 07-26 11:00:46.043: ERROR/WindowManager(637): Activity com.google.android.maps.MapsActivity has

[android-developers] Re: ListView/Scrollview inside Gallery ?

2010-08-02 Thread viktor
Gallery intercept scroll listener for ListView, you can register OnTouchListener for ListView and compare horizontal values after that scoll gallery by x. On 2 Сер, 07:35, CMF manf...@gmail.com wrote: Anyone knows? On Jul 30, 12:09 pm, CMF manf...@gmail.com wrote: Hi, just a question

[android-developers] Child activity lifetime in background

2010-09-15 Thread viktor
Hi, I have next problem, I have got parent activity and few sub- activities, if app goes to the background by pressed HOME button for long time, all children will be killed, and my app restart from parent activity. For example: A1 - parent, A2,A3,A4 - sub-activities. A1--A2-- A3(top), from A3 I

[android-developers] Re: Child activity lifetime in background

2010-09-15 Thread viktor
If you haven't used an app this long, it's reasonable to expect it to be killed and started from scratch next time you open it. Why is this a problem? My app based on maps and blogs, many of users said that isn't convenient when they hide an app, and restating it to startup activity. They

[android-developers] Re: How to get the height width of emulator in android

2010-09-16 Thread viktor
try using dip or dp insted px. many devices have different density, height will be in emulator and device list_height = list_height*65/100; list_height *= getResources().getDisplayMetrics().density; //you always have dinamic height on different devices -- You received this message because you

[android-developers] Re: ListView with rows that contain a button

2010-09-24 Thread viktor
Hi John, it is possible, in my example, I use ListView and all list items contain button (LinearLayout with selector), it works fine, I can push on item or on button. And I set click listener for all buttons. I hope my information will be helpful. -- You received this message because you are

[android-developers] Re: GeoCoding fails after SDK upgrade to 8

2010-09-25 Thread viktor
For me only on an emulator api8, but on the device(Nexus one Android 2.2) works! On 25 Вер, 00:57, Bret Foreman bret.fore...@gmail.com wrote: Oh, and both the phone and emulator are Android 2.2. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Display pdf file using webview

2010-09-29 Thread viktor
Yes, the same problem with PDF, for displaying is need additional soft, in iPhone it is more flexible. I don't understand why powerful Google doesn't implement it yet!!! On 17 Вер, 09:48, Kumar Bibek coomar@gmail.com wrote: Does desktop browsers support displaying PDFs without additional

[android-developers] PDF Libraries for android

2010-09-30 Thread viktor
Hi, Is it possible to use third-party libraries for display pdf? I mean to use custom pdf view, in which I can pass pdf url and view it in new Activity. I want include libs into project and use their as resources. It will be great to do that. -- You received this message because you are

[android-developers] Re: how to save the state of checked item in ListView having Checkbox

2010-09-30 Thread viktor
Do you use adapter with domain objects? You can set the state(CheckBox) what you want into object. While you make your views in a adapter set Tag for every checkboxes with the item position. Add listener for checkboxes, when checkbox is checked or unchecked set this state to the odject. On 30

[android-developers] Re: PDF Libraries for android

2010-09-30 Thread viktor
, 18:21, DanH danhi...@ieee.org wrote: Certainly you can install a 3rd-party viewer as a separate app.  I don't know why you wouldn't be able to install something as a part of another app. On Sep 30, 9:44 am, viktor victor.scherb...@gmail.com wrote: Hi, Is it possible to use third-party

[android-developers] WebView content fit display screen!!!

2010-10-05 Thread viktor
Hi, I tried WebView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN); but view crashed in 1.6 OS. I calculate scale(webview.capturePicture()) but I cannot set it after page loaded. Is it any working solution for fitting webview content to display (1.6 OS)? -- You received this

[android-developers] Re: WebView content fit display screen!!!

2010-10-05 Thread viktor
Any ideas? On 5 Жов, 12:51, viktor victor.scherb...@gmail.com wrote: Hi, I tried WebView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN); but view crashed in 1.6 OS. I calculate scale(webview.capturePicture()) but I cannot set it after page loaded. Is it any working

[android-developers] Using BroadcastReceiver in JUnit tests

2010-10-14 Thread viktor
Hi everyone, Is it possible to receive notification from activities in a test case? I want to test async precesses with broadcast messages. If process done I send broadcast and catch it in a test case, but anything doesn't happen. I declared receiver in manifest. This is my example: MainApp

[android-developers] Re: How can i set text in EditText

2010-10-14 Thread viktor
You can use Error notification, EditText.setError(...). I guess it works with EditText. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: OutOfMemoryError

2010-10-14 Thread viktor
How do you implement your image switching? Maybe problem in this implementation when unused images stay in memory. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Using BroadcastReceiver in JUnit tests

2010-10-15 Thread viktor
Any proposition how to test async calls? On 14 Жов, 15:23, viktor victor.scherb...@gmail.com wrote: Hi everyone, Is it possible to receive notification from activities in a test case? I want to test async precesses with broadcast messages. If process done I  send broadcast and catch

[android-developers] Re: fiel download, java.net.URL, streams

2010-10-15 Thread viktor
Did you allow INTERNET permission? I don't know why do you did this: http.connect(); if you already connected: url.openConnection(); Please, test your connection for available bytes, maybe your stream is empty, if looking on that: URL url = new URL(http:// www.google.at/); On 14 Жов, 15:09,

[android-developers] Re: Memory leak using ListActivity in Android?

2010-10-15 Thread viktor
Hi Kebab, I propose you do not use this.getApplicationContext(), it will better if you use current Activity context, because application context live very long. It will destroyed when you uninstall your app. On 14 Жов, 18:58, Kebab daalmightyke...@googlemail.com wrote: I have an application

[android-developers] Re: Android 2.3 SDK Emulator is very slow

2010-12-08 Thread viktor
Yes, with every coming sdk version the emulator becomes slower. On 7 Грд, 23:59, Alexei 'keyhell' Zhurba keyh...@keyhell.org wrote: Hello! I use Eclipse + ADT + Android SDK for development. Current configuration is Eclipse Helios SR1 20100917-0705  +  ADT 8.0.1.v201012062107-82219  +  

[android-developers] Re: Highlighting an icon in a Gallery widget

2010-12-10 Thread viktor
I propose to you use an animation. On 10 Грд, 18:15, FractalBob ruom...@gmail.com wrote: Simple and elegant; thanks, TreKing. -- 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: Edditing cache xml file

2010-12-10 Thread viktor
TreKing is right, database is the fastest of your cases. Or, if you will use less objects you can use SharedPreferences. On 10 Грд, 19:19, TreKing treking...@gmail.com wrote: On Fri, Dec 10, 2010 at 10:38 AM, Serdel adam.lichwierow...@gmail.comwrote: Does any one have any other solutions?

[android-developers] Re: How to control the width and height of Alert dialog.

2010-12-10 Thread viktor
Did you set layout after setting content view? It works for me, but I extend the Dialog. On 10 Грд, 14:39, sat sathvikm...@gmail.com wrote: AlertDialog.Builder builder = new AlertDialog.Builder(this);             builder.setTitle(Title);             builder.setItems(items, new

[android-developers] Outgoing call states

2010-12-24 Thread viktor
Hi, Is it any additional listeners to listen call state such as BUSY, NO_ANSWER, I just have only CALL_STATE_IDLE, CALL_STATE_OFFHOOK? I have an app that calls the special service numbers, if one of them is busy or no answer is need to try another one. -- You received this message because you

[android-developers] Re: Outgoing call states

2010-12-24 Thread viktor
Yes :), but I wrote what I catch. On 24 Грд, 14:33, Pent tas...@dinglisch.net wrote: Hi, Is it any additional listeners to listen call state such as BUSY, NO_ANSWER, I just have only CALL_STATE_IDLE, CALL_STATE_OFFHOOK? There's RINGING too :-) Pent -- You received this message because

[android-developers] Re: Outgoing call states

2010-12-27 Thread viktor
Any ideas? On 24 Грд, 15:14, viktor victor.scherb...@gmail.com wrote: Yes :), but I wrote what I catch. On 24 Грд, 14:33, Pent tas...@dinglisch.net wrote: Hi, Is it any additional listeners to listen call state such as BUSY, NO_ANSWER, I just have only CALL_STATE_IDLE

[android-developers] Re: How to exit the application..?

2010-12-27 Thread viktor
You can set for every Activities android:launchMode=singleTask ; And if you go Home, you always restart an Activity with onCreate state. On 27 Грд, 10:40, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi ,      I am new to android. How can we exit from application...For example

[android-developers] populate ItemizedOverlay when AlertDialog is showing

2010-12-29 Thread viktor
Hi, my problem is that I can't populate overlays if AlertDialog show. I put addOverlay and populate methods to listeners OK and Cancel, but new overlay doesn't showed on map. It will update after moving a map. Is it any other way to refresh overlays? -- You received this message because you

[android-developers] Re: Hourglass

2010-11-01 Thread viktor
I think it is not possible, because all views is referenced to Activity context, if it is critical for you, you can do this with ActivityGroup. On 1 Лис, 08:08, ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ plia...@gmail.com wrote: How can i display an hourglass while i try to load a new activity; Thanks for help -- You

[android-developers] Re: Missing ACTION_UP

2010-11-05 Thread viktor
Did you add clickable=true to your View? On 4 Лис, 23:17, Bret Foreman bret.fore...@gmail.com wrote: These views are inside an ExpandableListView, which is known to have a number of bugs around text selection. This is just another in a list of issues with that widget. I need to pass the event

[android-developers] Re: Context menu for other views

2010-11-08 Thread viktor
Hi venu, you can set tag for every table row or directly for column. Into tag you can pass any information what you need like view id, row id. I cannot see how did you implement context menu calling but I suppose interface method params contain view object. On 8 Лис, 13:13, gvenugopal

[android-developers] Re: Slow execution getThumbnail in HTC hero

2010-11-16 Thread viktor
You can try caching thumbs in RAM. Don't update your view every time if you are using List or something else scrolled. I had the same situation as your. When I start investigation, I sow that thumbs never create on a SDCARD (.thumbnails folder). Every time an app make new thumd and it is so

[android-developers] Re: How to manage severla bitrmap for a ListView avoiding OutOfMemory?

2010-11-17 Thread viktor
for the 2d problem, a list adapter works thus. for the 1t problem, yes, exactly, if you are using correct list adapter, after first initialization view object is repeat, reference to first bitmap will be reassigned. Thats why GC deallocate first bitmap, has no reference to that. On 17 Лис,

[android-developers] Re: How to wake up a thread with the TERMINATED state?

2010-11-18 Thread viktor
Could you try call Thread.run(). I did as you and works fine. This is my example: if(this.getState().equals(Thread.State.NEW)){ start(); } else if(this.getState().equals(Thread.State.TERMINATED)) { this.run(); } All operation I do in Thread class. On 17 Лис, 21:27, Kumar Bibek

[android-developers] Re: ConnectionPoolTimeoutException with DefaultHttpClient / ThreadSafeClientConnManager

2010-11-18 Thread viktor
You also can use next params: ConnPerRoute connPerRoute = new ConnPerRouteBean(CONNECTION_PER_ROUTE); ConnManagerParams.setMaxConnectionsPerRoute(params, connPerRoute); Where CONNECTION_PER_ROUTE is number of simultanious connections to the same host On 18 Лис, 01:13, ernestw

[android-developers] drawable resources is stored in RAM at startup?

2010-11-19 Thread viktor
Hi everyone, Drawable resource is set as background for second layouts (Second activity). My problem is, I get Drawable from resources end set color filter to that, than I set this drawable to layout (First activity). On second activity I don't set color filter but background remain the same.

[android-developers] Re: drawable resources is stored in RAM at startup?

2010-11-19 Thread viktor
). On Fri, Nov 19, 2010 at 6:39 AM, viktor victor.scherb...@gmail.com wrote: Hi everyone, Drawable resource is set as background for second layouts (Second activity). My problem is,  I get Drawable from resources end set color filter to that, than I set this drawable to layout (First activity

[android-developers] Re: How to change color of ListView child items on focus

2010-11-23 Thread viktor
Why did you use complex item layout? Use selector as TableLayout background. On 20 Лис, 21:18, Francesco nolano...@gmail.com wrote: Hi all. i have a list View in my app (this is the xml layout): ?xml version=1.0 encoding=utf-8? ListView

[android-developers] Re: java.lang.IllegalArgumentException: View not attached to window manager

2010-11-23 Thread viktor
You are dismissing dialog in a Runnable, thats why you have exception. Try do it in UI Thread, I mean obtain message and send it to Handler. On 20 Лис, 12:45, PaulJ pjablonsk...@gmail.com wrote: Hi there brainiacs, I'd like to ask about how to proper handle progressDialog in Thread, since

[android-developers] Re: How to change color of ListView child items on focus

2010-11-23 Thread viktor
it. On Nov 23, 4:23 pm, viktor victor.scherb...@gmail.com wrote: Why did you use complex item layout? Use selector as TableLayout background. On 20 Лис, 21:18, Francesco nolano...@gmail.com wrote: Hi all. i have a list View in my app (this is the xml layout): ?xml version

[android-developers] Re: Having trouble setting custom TitleView for a Dialog

2010-11-23 Thread viktor
You are on wrong way, you can inflate only layout (ViewGroup), but not child view, try to using View.inflate(activity, R.layout.how_to_play_dialog, null); On 23 Лис, 15:18, William Ferguson william.ferguson...@gmail.com wrote: I am trying to create a dialog with a custom title and content views

[android-developers] Re: Memory Leak with a ListView revisited

2010-11-23 Thread viktor
Why did you set setAdapter(this)? You implement ListAdapter for your ListView where getView(int position, View convertView, ViewGroup parent) it is already implemented. could you try without setAdapter. Example below, you make it in every place, it is not very nice. LinearLayout ll =

[android-developers] CPU frequency scaling

2010-11-26 Thread viktor
Hi, Is it any way scaling cpu frequency in real time? -- 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] Re: CPU frequency scaling

2010-11-26 Thread viktor
I mean If it is possible without remaking a ROM. On 26 Лис, 15:06, Alessandro Pellizzari a...@amiran.it wrote: Il Fri, 26 Nov 2010 03:31:13 -0800, viktor ha scritto: Is it any way scaling cpu frequency in real time? On most devices it is already enabled. Bye. -- You received

[android-developers] Re: CPU frequency scaling

2010-11-26 Thread viktor
Thanks Alessandro, I will try managing governor. On 26 Лис, 15:58, Alessandro Pellizzari a...@amiran.it wrote: Il Fri, 26 Nov 2010 05:50:32 -0800, viktor ha scritto: I mean If it is possible without remaking a ROM. On 26 Лис, 15:06, Alessandro Pellizzari a...@amiran.it wrote: Il Fri, 26

[android-developers] Re: getting xml style as AttributeSet

2010-11-27 Thread viktor
Very interesting, did you try to add another view instead as setContentView(LinearLayout) and after add TextView to parent. Or it is because Attributes are null. On 27 Лис, 22:26, poohtbear eyaltg...@gmail.com wrote: I was suggested to try using the last parameter of the View's C'tor with my

[android-developers] Re: Android Grid problem

2010-12-01 Thread viktor
1) Parse XML with urls for your images; 2) Your implementation how you will be download images (caching on SD or 2 way caching, or direct uri for View) On 26 Лис, 06:38, chamith weerasinghe e05ch...@gmail.com wrote: hi all I'm very new to android. I need to get some Image urls from a xml file

[android-developers] Re: Creating a PDF on Adroid?

2010-12-03 Thread viktor
I think you can use iText library. I used it on server side, it should works on Android too. On 3 Грд, 07:31, Zsolt Vasvari zvasv...@gmail.com wrote: Could somebody recommend a PDF creator library for Android, or at least in Java that could be ported to Android?  It doesn't have to be

[android-developers] Re: How to set images in screen have different click events on different area

2011-01-18 Thread viktor
you can add OnTouchListener and test area what you want. or, add layouts onto FrameLayout, where background is your image. On 18 Січ, 15:14, Faheem Khatri faheemkhatr...@gmail.com wrote: I have an single image in which it set has screen home page in which it contains 5 menu icons,so i need to

[android-developers] Android productivity with multi core processor

2011-01-18 Thread viktor
Hi, Is it need additional api to work with multi core processor, or functionality is already embedded into OS? I know that for Java VM is no matter how many cores there, but what about dalvik VM? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: OpenJDK on Android

2011-01-19 Thread viktor
I think you should change the forum. For example Spring, Java WEB development but not Android. On 14 Січ, 16:16, koala koalares...@gmail.com wrote: For god sake, how convenient would it be to have OpenJDK running on android? Imagine if we could run swing, rmi, if we could run all java code

[android-developers] Display map overlay always on top

2011-02-15 Thread viktor
Hi, how I can show itemizedoverlay ahead of other? I have Next and Previous buttons, if I pressed one of them I want to move cursor to the next or previous overlay. That overlay have to displayed on top of other. Thanks. -- You received this message because you are subscribed to the Google

[android-developers] Re: Display map overlay always on top

2011-02-15 Thread viktor
You mean, if item last(index) in Overlays Collection, it have to display on top? I don't understand this issue, if it is true, that means that API always regroup all items when it was tapped. On 15 Лют, 18:16, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 10:09 AM, viktor

[android-developers] Re: Display map overlay always on top

2011-02-15 Thread viktor
---It doesn't regroup - it just draws the focused item last. OK, it is clear for me now. I try to set focus, but overlay doesn't move to the top. I've forgotten something? On 15 Лют, 18:37, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 10:32 AM, viktor victor.scherb...@gmail.com

[android-developers] Re: Display map overlay always on top

2011-02-15 Thread viktor
I get the Overlay by index from Overlays. and set with: ItemizedOverlay.setFocus(Item item); It works now, but if I scroll or zoom a map the focussed overlay gone again. On 15 Лют, 19:13, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 10:49 AM, viktor victor.scherb...@gmail.com

[android-developers] Re: Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread viktor
Make your Layout in classes it takes 1-3 seconds. On 20 Лют, 06:56, Zsolt Vasvari zvasv...@gmail.com wrote: Yes, this is a very long standing bug.  Up until 1-X files, the build process is fast, once you hit X+1, it becomes unbearably slow.  I've lived with this issue for the past year

[android-developers] Change incoming name in Dialer

2011-03-09 Thread viktor
Hi, Is it any tricks to change name in Dialer on the fly (when dialer is in Ringing state )? In dialer we can see Name with label Unknown, I want to replace it on my own label. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To

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

2011-03-09 Thread viktor
approval, of course). Dirk On Mar 9, 2:58 am, viktor victor.scherb...@gmail.com wrote: Hi, Is it any tricks to change name in Dialer on the fly (when dialer is in Ringing state )? In dialer we can see Name with label Unknown, I want to replace it on my own label. Thanks

[android-developers] Programmatically add contact and start Dialer with some delay

2011-05-11 Thread viktor
Hi, My app create new contact, inserts it into DB, and with little delay(300 - 500 мс) Dialer will start with number of new contact. At first try Dialer shows only a number on the Screen, after second try it shows Full name. This action repeats every time when phone was rebooted. Somebody has

[android-developers] Re: Out of three buttons, one button is not working

2011-05-11 Thread viktor
Is Button selector switches if you push the Button? On 11 Тра, 15:28, mack2978 smashmah...@gmail.com wrote: Hi All, I am baffling with below issue. Out of three buttons, save button is not working and its onclick is not hitting. Any idea anyone.    below code and XML i am using.  

[android-developers] Re: Out of three buttons, one button is not working

2011-05-11 Thread viktor
, viktor victor.scherb...@gmail.com wrote: Is Button selector switches if you push the Button? On 11 Тра, 15:28,mack2978smashmah...@gmail.com wrote: Hi All, I am baffling with below issue. Out of three buttons, save button is not working and its onclick is not hitting. Any idea

[android-developers] Re: Programmatically add contact and start Dialer with some delay

2011-05-12 Thread viktor
Any ideas? On 11 Тра, 17:23, viktor victor.scherb...@gmail.com wrote: Hi, My app create new contact, inserts it into DB, and with little delay(300 - 500 мс) Dialer  will start with number of new contact. At first try Dialer shows only a number on the Screen, after second try it shows Full

[android-developers] Re: Android Start up

2011-05-12 Thread viktor
Did you declared your activity in the manifest file? On 9 Тра, 13:19, LiTTle littlep...@gmail.com wrote: Hi everyone, I am new in android development. I am coming from J2ME. I am trying to build my first Android application. The application is Hello World as it is described at Google's

[android-developers] Get current phone number on multi sim devices

2011-05-23 Thread viktor
Do any work with multi sim devices where is need to get current calling number. in my case 1st sim number return always, if I get it with TelephonyManager.getLine1Number() . -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Get current phone number on multi sim devices

2011-05-23 Thread viktor
, to get other phone numbers. On Mon, May 23, 2011 at 6:38 AM, viktor victor.scherb...@gmail.com wrote: Do any work with multi sim devices where is need to get current calling number. in my case 1st sim number return always, if I get it with TelephonyManager.getLine1Number

[android-developers] Start Dialer with delay

2011-04-04 Thread viktor
Hi, My issue is that need to show in Dialer correct number when incoming call, just trick number in Dialer. I tried to add temp contact to contacts DB, but Dialer doesn't sync the contact!? Is it possible to start Dialer with some delay or deny starting and then restart it? -- You received

[android-developers] Re: Start Dialer with delay

2011-04-05 Thread viktor
Have any ideas? On 4 Кві, 12:17, viktor victor.scherb...@gmail.com wrote: Hi, My issue is that need to show in Dialer correct number when incoming call, just trick number in Dialer. I tried to add temp contact to contacts DB, but Dialer doesn't sync the contact!? Is it possible to start

[android-developers] Chinese soft keyboard and unknown character set

2011-04-06 Thread viktor
Hi, I have got device with Chinese keyboard, when I type digits into EditText and compare it with digits from English keyboard I have different results. How to convert Chinese characters to normal charset? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Chinese soft keyboard and unknown character set

2011-04-06 Thread viktor
21212 -- Input from Chinese keyboard 21212 -- From English keyboard On 6 Кві, 16:22, viktor victor.scherb...@gmail.com wrote: Hi, I have got device with Chinese keyboard, when I type digits into EditText and compare it with digits from English keyboard I have different results. How

[android-developers] android:configChanges=keyboardHidden|keyboard never handle onConfigurationChanged

2011-04-07 Thread viktor
Hi, How to handle soft keyboard state for example VISIBLE and HIDDEN? I tried with android manifest but nothing happening!!! -- 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: How can I achieve this layout? [new to this]

2012-07-23 Thread viktor
Green - LinearLayout Black - FrameLayout Red - ImageView Button Green.addView(TextView, ...) Green.addView(Black, ...) Green.addView(Button, ...) Black.addView(Red, ...) You also can make layouts using classes. Вівторок, 17 липня 2012 р. 20:56:54 UTC+3 користувач Maksymilian Strzelecki

[android-developers] Please help with the Error

2012-09-19 Thread viktor
From Market come a tons of errors but I do not understand what to fix. Thanks. java.lang.SecurityException: Binder invocation to an incorrect interface at android.os.Parcel.readException(Parcel.java:1327) at android.os.Parcel.readException(Parcel.java:1281) at

  1   2   >