[android-developers] Can I use name..

2016-02-18 Thread '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 from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8e40fab3-499a-4caf-bdfa-150993bac8bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 sent (in 
logged urls) only for the event "favourite" but not for other events or 
activity views.
This is the code I'm using:
Tracker tracker = EasyTracker.getTracker(); 
tracker.setCustomDimension(1, "wro");
Map event = tracker.constructEvent("historydapter", 
"favourite", "", (long)index);
tracker.send(ModelFields.EVENT, event);
EasyTracker.getInstance().dispatch();

here I see wro in the url. However this
Tracker tracker = EasyTracker.getTracker(); 
Map event = tracker.constructEvent("welcome", "history", 
"", historyElementType);
tracker.send(ModelFields.EVENT, event);

sends the event without "wro".

I prefer not to call setCustomDimension before every event or screen view 
since "user" scope should give it to me for free.

Using latest android analytics v2 beta5.

All helps is very welcome!

-- 
-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[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 have that gives me 
> the following fields:
>
>
>- Name
>- Latitude
>- Longitude
>
> This list has around 200 items.
>
> I want to order the list by distance to my current location, closer 
> locations on top.
>
> How may I do this calculation and ordering?
>
> Many Thanks
>
> Nelson
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[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 after uploading to Android tablet
demokit (ICS) to connect ADK freezes. Android Accessory does not work,
MICROBRIDGE communication / adb is working. Can I add the missing
tablet ADK support? ADK seems to be no longer without support :(

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[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_OKNOACTIVITY);
}

but eclipse says this error

Description ResourcePathLocationType
The type Android_testActivity must implement the inherited abstract
method DialogInterface.OnClickListener.onClick(DialogInterface, int)
Android_testActivity.java   /Android_test/src/cz/msanda/testline 13
Java Problem

Eclipse offers fix, but its this
public void onClick(DialogInterface arg0, int arg1) {
..
..
..
---

What's wrong? I read a lot of examples but I don't see any problem

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[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 stores the extracted
filters, I could  understand it...

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.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[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 possible.

And I see that
   int __system_property_wait(const prop_info *pi)

in bionic/libc/bionic/system_properties.c
is a useless function -- it should take a second parameter "unsigned serial" to
compare the futex against. Otherwise just entering the function is
time for a "race": a change con occur undetected.

time to learn Gerrit?

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[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
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[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 seems very unreliable. Documented  properties
init.action,  init.command  not implemented?)

Another way to act on the "service"-exit seems --in the
documentation-- the service-exited- trigger. But it doesn't
seem implemented.

Then the readme.txt mentions  init.svc. system property, but
then there is no notification on a change.
So, it seems I have to implement the synchronization myself. Maybe all
those tools mentioned would not even fit my requirement,
since zygote is explicitely (re)started on exit of other services.


Is there any such tool implemented?

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.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[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 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[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
> streaming receiver for android based devices. I observed the RTSP
> streaming latency with default players but it very high (5 secs in 2.2
> and 5 secs in 2.3 and 3.x) even in local LAN also. So my question is,
> Is there any possibility of getting low latency streaming using the
> default players? If not is it possible to access decoder from the JAVA
> or using the JNI interface, so that I can develop my own player?
>
> I show the opencore and stagefright frameworks but can I use any of
> that to access the codec directly from my application?
>
> I am streaming H.264 baseline video at 512Kbps.
>
> Thanks in advance...

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[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 this is most probably
one big NO. but i need to be sure

thanks in advance

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[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) according to
>
> >http://developer.android.com/guide/developing/projects/projects-eclip...
> > Library projects should be able to contain resources. It also works
> > with native libraries. but it seems to not work with Assets, these
> > from libraries are not included final .apk package. Any idea how to
> > solve this?
>
> Library projects can't contain assets; see the sixth bullet point 
> athttp://developer.android.com/guide/developing/projects/index.html#con...
> .
>
> I believe the only way to address this is to replicate your assets in each
> final, destination (non-library) project.
>
> String

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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 this?

m.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[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 LinearLayout 






GridView is filled with buttons:

Unfortunately when the view is displayed all gridviews are much higher than 
their children would require that. In HierarchyViewer I see that the buttons 
have mMeasuredHeight 30 (mminHeight: 0, no padding), but its parent - 
GridView has mMesuredHeight 64. I tried many other, less intuitive setting 
for layout without any luck. I also experimented with setting the height 
from the code, but then it becomes fragile and behaves on other phones.
Any advice on how to investigate this problem, fix it or develop more stable 
work around would be very welcome!

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.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

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

2009-10-30 Thread Michal

Hi all,

I have a question concerning the following situation:

1. I'm developing a client server application using TCP/IP Sockets.
2. Android application is a client which is composed of many
activities.
3. There is one dedicated thread created in android app for receiving
messages from server.

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 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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!

Michal
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 noticed I can
easily change what appears on the screen when my app is running simply
by using setContentView method and passing it a reference to another
layout xml resource.

It feels "wrong" but seems to work, so I am wondering what problems
might arise from my approach.

When exactly should an app have multiple activities? When not?

Any input greatly appreciated.

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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...@163.com> wrote:
>   hi,guys~!
>   i've been playing around on g-phone test for a few days,But i'm
> really confused on how to get currentscreenshot,One way is to use
> getrootview()->getdrawingcache() method,providing that a View on the
> screen is already known ;But the statusbar is lost,What's more,if i
> launch an activity from an instrumentation class,i just couldn't get
> any View presently shown on the screen,so i tryed to make it the
> following way,but it also makes no sense:
> first new a View based on the target context:
>   View v=new View(this.getTargetContext());
> Then i tryed the focussearch() method and several others provided in
> the SDK,but i got nothing but the nonepointer exception,真TM郁闷。。
>
> So, Any idears ??
> Thanks in advance.

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 helps.

On 5 Sty, 15:17, Nico  wrote:
> Hi,
> I need to get the screen resolution, how can I get it ?
> Thx.

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---