Did you add clickable="true" to your View?
On 4 Лис, 23:17, Bret Foreman 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 up the stack
> bec
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, ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ wrote:
> How can i display an hourglass while i try to load a new activity;
> Thanks for help
--
You received this me
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 wrote:
> I have an application that uses a Service and some list
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, r
Any proposition how to test async calls?
On 14 Жов, 15:23, viktor 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 it i
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 u
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 grou
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
I
Any ideas?
On 5 Жов, 12:51, viktor 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.
>
>
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 m
0 Вер, 18:21, DanH 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 wrote:
>
>
>
> > Hi,
>
> > Is it
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
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 subsc
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 wrote:
> Does desktop browsers support displaying PDFs without additional
> plugins??? No. So, y
For me only on an emulator api8, but on the device(Nexus one Android
2.2) works!
On 25 Вер, 00:57, Bret Foreman 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" group.
To post to this
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
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
> 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
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
Thanks TreKing, I did this menu, it is really looks nice.
On 8 Вер, 18:33, TreKing wrote:
> On Wed, Sep 8, 2010 at 4:15 AM, viktor wrote:
> > Any ideas how to do that menu
>
> Did you even look at th
Geocoder geoCoder = new Geocoder(context);
List 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 subscribed
Use geonames.
On 8 Вер, 16:26, "cool.manish" 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" wrote:
>
>
>
> > Hi All,
>
> > How to display route on Google map in Android in between two lat long
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
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 WebV
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
, 14:41, Mark Murphy wrote:
> On Tue, Sep 7, 2010 at 7:37 AM, viktor 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 th
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 androi
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 wrote:
> I am new in Android.
> Can you help me how to put GridView ?
>
> ~Dhrumil
>
>
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
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 wrote:
> Yeah, you can use the LocalActivityManager, but for his situation, I
> guess the best way would be to fol
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 g
sometimes that's necessary for some of the applications I'm
writing.
BR Viktor
On Aug 27, 4:19 pm, Tom Gibara 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.goo
>
>
> > The first array is 20 MB. The second is also 20 MB. What's the
> > problem?
>
> > On Aug 24, 4:28 pm, Viktor wrote:
>
> > > I'm having some trouble understanding why this code
>
> > > public class BitmapAllocTest ex
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 *
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 pos
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 wrote:
> My current understanding of the problem is, there's an "update method"
> that needs to be called when any of the activities c
---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 wrote:
> At the First that is rule from customers. (It is need improve why this
> issue doesn't imp
n new activity or previous
appear, I thing Application will be crashed.
Is it possible to do that by getting current device activity state?
(fore example PropertyActivity(cashed) ; MapActivity(cashed) ;
MyActivity(active))
On 14 Сер, 23:23, TreKing wrote:
> On Sat, Aug 14, 2010 at 3:04 PM, vikto
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 thi
On 12 Сер, 20:26, Frank Weiss 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 that.
I want
Anyone can help me?
On 11 Сер, 19:34, viktor 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
This code: ArrayAdapter adapter = new
ArrayAdapter(this, R.layout.list_item, COUNTRIES);
Be carefully, if you use autocomplete in Dialog, you should passing
Context as 1st arg of constructor, ArrayAdapter(Context,
R.layout.list_item, COUNTRIES)()
Please read Java Code Style, How did you compile y
Why do you not use Gallery, it has all your requirements.
On 11 Сер, 14:47, Amit 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 current screen and let t
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 subscrib
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 wrote:
> Anyone knows?
>
> On Jul 30, 12:09 pm, CMF wrote:
>
>
>
> > Hi,
>
> > just a question about a listview/scrollvi
be rotated 90 degrees.
Is this a bug in the emulator or am I wrong in my interpretation of
android:screenOrientation?
Best regards,
Viktor Linder
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send emai
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
Hi!
I live in Sweden, and so cannot publish paid apps on the Android
Market.
Is there any company in a "publishing enabled" country which you can
publish apps through (for ex. a percentage fee)?
All answers appreciated!
Best regards,
Viktor Linder
--
You received this message becau
well.
Unfortunately, I have no time to explore this issue further.
Kind regards, Viktor.
--
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 t
place and handle events.
Yet, there is a function post() in View where I can post a Runnable
object that will execute in the UI thread without involvement of
Handler. Can I not call this function from threads other than the UI
thread??
I'm confused!
Best regards,
Viktor Linder
--
You rec
;android-4".
Is there a difference in behaviour between downloading from the Market
and the browser?
Best regards,
Viktor Linder
On 22 Juni, 05:49, Dianne Hackborn wrote:
> As usual, when new features are added or changes made, targeting the
> platform version (or better) where that
#x27;t
write to the sd card nor use the phone function).
Anyone in this group have experience dealing with this issue?
All answers appreciated!
Best regards,
Viktor Linder
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to
with SparseBooleanArray.keyAt(int index)
Viktor.
On May 11, 12:34 am, dillipk wrote:
> Hello,
> How do I get the selected items in a ListView which contains a multi
> selelected check boxes.? The following code doesn't work correctly...
> getContacts() is being called
would need to load a savegame
created by the free version.
All answers appreciated!
Best regards,
Viktor Linder
--
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@googlegro
during its loop) this would
be achieved.
Best regards,
Viktor Linder
On 9 Apr, 18:03, Robert Green wrote:
> It's pretty easy to do this:
>
> I use a World to write to and read from for the two "sides." Makes
> networking nice too. My World has a simple lock. Only one
.
Is this possible using XML?
I know that I could add ButtonGroup and RadioButtons myself but
I would prefer to keep it as simple as possible.
Many thanks, Viktor.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to t
fer create_floatbuffer(int size) {
ByteBuffer bb = ByteBuffer.allocateDirect(size*4);
bb.order(ByteOrder.nativeOrder());
FloatBuffer fb = bb.asFloatBuffer();
return fb;
}
...
}
On 26 Feb, 00:49, Robert Green wrote:
> Viktor,
k without destroying any memory.
So it is not a gc issue. Also, while the buffer might get filled with
"junk" it will still be valid floats of some sort, since the array is
only written to from java.
Best regards,
Viktor Linder
On 25 Feb, 20:08, Robert Green wrote:
> Actually, let me
hread/thread/87827933dc7346c6
Best regards,
Viktor Linder
On 22 Feb, 22:20, Clankrieger wrote:
> Hi,
>
> I tried to use VBO on 1.6 Android SDK and get a crash whenever I try
> to give the VBO id free usingglDeleteBuffers. The issue has already
> been filed here:
>
> http:/
d?
If its possible to use a single buffer that would reduce the needed
calls to glBindBuffer() and allowed interleaved data which would
improve cache locality.
Curious; did using GL_FIXED give a large performance gain?
Thanks for your help.
/Viktor
On 16 Feb, 21:25, Robert Green wrote:
> Yo
ible example, I thought I would ask
this group if anyone else
have experienced the same trouble when using a VBO right after call to
glBufferData()?
All answers appreciated!
/Viktor
PS.
This is the crash dump:
02-16 20:23:00.979: INFO/DEBUG(14143): *** *** *** *** *** *** *** ***
*** *** *** *** *
Does anyone know of a tool (preferably free/open source) for
converting 24-bit PNGs to 16-bit?
I have searched around a bit and it seems like PNG perhaps does not
support 16-bit modes. If so, how do you package your textures to
minimize load-time processing?
All answers appreciated!
--
You rece
/android";
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
Many thanks, Viktor.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups &q
Ok.
On a related note, has anyone used a preprocessor of some sort and
managed to integrate it with Eclipse?
Best regards,
Viktor Linder
On 7 Okt, 18:32, Romain Guy wrote:
> There's no inlining at the moment.
>
>
>
> On Wed, Oct 7, 2009 at 6:31 AM, Viktor Linder wr
se are left to the
VM?
Does the Dalvik VM do inlining of functions at all, or did it just
decide to not inline this specific instance?
Curious to hear a response from someone more familiar with the Dalvik
VM than me.
Best regards,
Viktor Linder
--~--~-~--~~~---~--~---
2009/2/14 Nox
> Hello,
> I`ve developed an application,but I don`t know how to upload it into
> the Android Market!!!
> If I click to upload there always appers this error message:
>
>
> The apk is not properly signed.
>
> But how can I sign it???
>
> With kind regards
>
> Nox
--~--~-~--
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 piece
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
Grou
TECTED]> wrote:
> viktor wrote:
> > Which of the following is correct?
> > 1. The phone does not have Bluetooth hardware.
> > 2. The phone has disabled Bluetooth hardware that can be enabled with
> > a future SDK update.
> > 3. The phone has Bluetooth hardware and sup
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 B
101 - 170 of 170 matches
Mail list logo