[android-developers] When do I need a new Activity?

2009-02-25 Thread Michal
Hello, this is as beginner as it gets. I'm creating an app that is basically a series of forms that collect info from the user, and then display that info to the user as well as allow them to modify it... very simple, almost no logic. I have been reading about activities, but in my test, I notic

[android-developers] Re: When do I need a new Activity?

2009-02-26 Thread Michal
> Those are just a few of the design criteria that might lead you in the > direction of multiple activities. Thanks a ton Mark, this is great feedback. I will continue exploring the single-activity approach until I run into issues. I owe ya!

[android-developers] Client server architecture problem (one receiving thread and many activities)

2009-10-30 Thread Michal
erver. How to manage many activities in this receiving thread in a way that an incoming message will be passed to a proper activity (the one which is currently active)? I would appreciate any advice. BR, Michal --~--~-~--~~~---~--~~ You received this message becaus

[android-developers] Re: Get the screen resolution

2009-01-05 Thread Michal
First you need to get the WindowManager by : WindowManager wm = getSystemService(Context.WINDOW_SERVICE); Next use the method to retrieve a Display object: Display d = wm.getDefaultDisplay(); ... and finally the resolution: int height = d.getHeight(); int width = d.getWidth(); Hope that help

[android-developers] Re: Problem with screenshot

2009-01-05 Thread Michal
I'm also looking for a response on this question. Moreover, is it possible to get the root view from a Service I mean, the Service runs in the background and I would like to capture the actual displaying screen Thanks for help, Michal On 17 Gru 2008, 09:40, "Dec." <030440

Re: [android-developers] Re: Sharing gps stuff between several activity

2011-03-19 Thread michal
Hi, I'm trying to create an application consisting of about four activities which all use GPS or cell-ID and I'm wondering whether it is possible to use a service for this. I need the activities to always have access to actual refreshed location. Does anybody have any idea or experience with thi

[android-developers] Re: Best option to get low latency streaming over RTSP

2011-06-29 Thread michal
Hi, If you decided to develop your own (low latency) player, you might want to check this page: http://www.ciufek.net . Perhaps it could get you started somehow. Cheers On Jun 17, 7:52 am, pragnesh wrote: > Hi All, > > I am a streaming and multimedia developer, I am currently developing a > stre

[android-developers] google analytics custom dimension not preserved

2013-05-11 Thread Michal Malecki
Hello all, I'm setting a custom, user scope dimension in google analytics. I'm setting its value in two places: at the entry of the application and just before one event is fired (let's call it "favourite"). Unfortunately dimension behaves like it was hit scope, instead of user scope. I see it s

[android-developers] Issue with OnClick

2012-02-25 Thread Michal Šanda
Hello, I am trying to do this public void onClick(View v) { // TODO Auto-generated method stub if(v==findViewById(R.id.Button1)){ Intent intent = new Intent(this,OknoActivity.class); startActivityForResult(intent,ACTIVITY_INTENT_OK

[android-developers] ADK support/adding adk support for tablet

2012-06-29 Thread Michal Kozlok
Hi, I'm java programmer and I also like Arduino. So I devised an application that will do for Arduino ADK. Unfortunately, nothing from the beginning does not work. Demokit written in 2011 uses a different library, so I modified it according to the documentation. Unfortunately that did not work afte

[android-developers] Re: Order latitude/longitude list by distance to my current location

2013-01-07 Thread Michal Kejzlar
Hello Nelson, Location class has several static methods of calculating great circle distance. Than I would sort collection of place object using comparable. On Monday, December 31, 2012 1:32:18 PM UTC+1, Nelson André wrote: > > Hello all, > > I have a JSON list that I retrive from one website I h

[android-developers] Investigating layout problems in GridView

2011-01-24 Thread Michal Malecki
Hello, I'm trying really hard to understand how the GridView calculates its height and what is the best way to trouble shoot problems in this domain. The problem's details are as follows: the main view contains listView defined like this: Each row is a button and a gridview put together in the L

[android-developers] Re: Poject using other Library Projects problems

2011-06-02 Thread Michal Seliga
1) i never noticed this, thanks... i moved everything from assets to res/raw, it works well now 2) this is still problem, but as its about native libraries i asked on android-ndk group about this On Jun 1, 4:38 pm, String wrote: > On Wednesday, June 1, 2011 3:24:31 PM UTC+1, selmixxx wrote: > > 1

[android-developers] what can be changed in how android looks on phone?

2011-06-06 Thread Michal Seliga
there is of course possibility to change wallpaper, i know that font can be changed, but its for rooted phones only. is there anything else what could be customized without root access? i am 99% sure that application without root access can't mess with other application resources, so the answer to

[android-developers] init.rc --- synchronization

2011-09-20 Thread Michal Maruska
Hello, I would like to invoke synchronously a command from init.rc, i.e. wait for its termination before starting another service (let's say the zygote). I see that the documented "exec" does not do anything. (I also see features not documented, loglevel for example. So that documentation seem

[android-developers] Re: init.rc --- synchronization

2011-09-20 Thread Michal Maruska
> Then the readme.txt mentions init.svc. system property, but > then there is no notification on a change. ok, watchprops -- system/core/toolbox/watchprops.c shows that system-property-change notification is possible. -- You received this message because you are subscribed to the Google Group

[android-developers] Re: init.rc --- synchronization

2011-09-20 Thread Michal Maruska
On Tue, Sep 20, 2011 at 10:55 AM, Michal Maruska wrote: >> Then the readme.txt mentions  init.svc. system property, but >> then there is no notification on a change. > > ok, watchprops  -- system/core/toolbox/watchprops.c  shows that > system-property-change notification is

[android-developers] Which intents not fully supported by AndroidManifest.xml ?

2011-09-26 Thread Michal Maruska
Hello, I have noticed, that some intents, eg. BOOT_COMPLETED or ACTION_SCREEN_{ON,OFF} are impossible to register for from the AndroidManifest.xml. I would like to find the documentation listing such intents, and would like to understand why is that. Maybe if I knew where/how the package manager

[android-developers] Persistent vs. uses-library

2011-08-29 Thread Michal Maruska
Is there (or rather was there in 2.2) any relation between an Activity being android:persistent="true" and not being able to use "external" libraries (that is one declared with "uses-library", not in bootclasspath)? Thank you, M. Maruska -- You received this message because you are subscri

[android-developers] Can I use name..

2016-02-18 Thread &#x27;Michal K.' via Android Developers
Hi, I'm working on a remake game Space Invaders. Can i publish game with name *Space Invaders: Dark Times ?* *Thank you for answer* -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails f