[android-developers] Android TV Portrait App

2016-11-01 Thread Kamil Faheem Granjur
Hello everyone !
I am new in android development . I am building an app for Android TV . I 
already design the landscape layout but Android Studio is not allowing me 
to design Portrait Layout for TV !
Why is this happening ?
Please help me with some solid detail(information).

Thankyou in advanc

Regards.

-- 
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/cef75ebb-97c3-4c63-948a-866ee8f2c18f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] My acc terminated. Can I develop other apps on friend account together?

2016-05-02 Thread Kamil Florczyk
Hi everyone, this is my first post.

My google play account has been terminated due to impersonation (several 
times). It's not 100% truth because my application was another. It was an 
unlucky accident when I had been trying to create good icon for app. I got 
ban because of that icon. Nevermind.

Can I create another application together with my friend and can he publish 
this app? Another application, another main developer, but app would have 
ads (admob) and these ads would go to our (me and friend) admob accounts. 
Is that possible?

-- 
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/f7bc877e-ea26-435a-a412-7fb9620063a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Android compass simple code do not work. How to fix it?

2016-03-10 Thread Kamil

I wrote application using this example 
https://www.javacodegeeks.com/2013/09/android-compass-code-example.html

But it does not work. If I rotate the phone the image just twitch.

I use Sony M2 (Android 4.4.4).

How to write simple compass?

-- 
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/34d25af7-52e4-47cb-888e-499ca47cacf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Native crash (SIGSEGV) in open gl texture load

2013-01-11 Thread Kamil Czajko
Did you ever manage to rectify this issue? I've only started having it 
happen in the last week or two occasionally and randomly on texture load 

-- 
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: Native crash (SIGSEGV) in open gl texture load

2013-01-11 Thread Kamil Czajko
Typically after posting this I noticed the race condition in my code ;) 

-- 
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] Greetings

2012-03-22 Thread kamil
Hello all,
I just joined this group. I am new to Android and Eclipse and am now
trying to find out about the specifics of android programming.
I am now trying to write a program that utilises SQLite but for the
time being without luck. I am hoping to get some help from this group
but before I send my questions, I will check the archives, who knows,
the questions may already been answered.
Thanks
Kamil

-- 
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] Any quick start recipes for SQLite?

2012-03-22 Thread Kamil Dursun
Hi,
I am trying to make a program that will use SQLite.
I am using the SQL commands to create a database and some tables. I have
understood that the db file should reside in my
data/data/package/databases folder but when I click to /data folder in the
file manager of Eclipse, I see nothing. The db file has not been created.
Any ideas?
Thanks
Kamil

-- 
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: how to save high-score in database

2012-02-11 Thread Kamil
Could you give us some code snippet or whole class? It'll be easier to
find a bug in your application if you paste some info from logcat.

On 11 Lut, 14:23, Mohd Arshi Khan arshikha...@gmail.com wrote:
 I want to save my game high-score with update existing user score in sqlite
 database.
 I'm facing problem for update only score of existing user
 please provide me a good highscore class.

-- 
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: Documentation for the Android/Google TV YouTube player parameters

2012-02-07 Thread Kamil Javorcik
intent.setAction(android.content.Intent.ACTION_VIEW);
Uri.parse( http://www.youtube.com/watch?v=VIDEO_ID.;);
intent.setDataAndType(Uri.fromFile(file),
application/vnd.android.package-archive);
startActivity(intent);

change uri

2012/2/6 Wiktor Gworek wiktor.gwo...@gmail.com

 Just fire VIEW intent for YouTube url. That is
 http://www.youtube.com/watch?v=VIDEO_ID.

 --
 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 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: Holding call programmatically

2011-11-15 Thread Kamil
So maybe some unofficial ways?

On 14 Lis, 22:18, Mark Murphy mmur...@commonsware.com wrote:
 AFAIK, there are no APIs for this in the Android SDK, sorry.









 On Mon, Nov 14, 2011 at 3:13 PM, Kamil kmichal...@gmail.com wrote:
  Hi all,
  I'm developing VoIP application. I'd like to ask if there is some way
  to hold active GSM call programmatically? It's very important case in
  my app to hold gsm call when VoIP call is comming. Is it possible?

  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

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1
 Available!

-- 
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] Holding call programmatically

2011-11-14 Thread Kamil
Hi all,
I'm developing VoIP application. I'd like to ask if there is some way
to hold active GSM call programmatically? It's very important case in
my app to hold gsm call when VoIP call is comming. Is it possible?

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: How safe to store database in sqlite?

2011-08-12 Thread Kamil
So, if you connect to database you can edit its records. AFAIK SQLite
doesn't have any password set. Connecting to database gives you all
permissions to whole database.

On 12 Sie, 17:39, ndiiie 90 rnd...@gmail.com wrote:
 Hi guys,

 I wonder how safe to store sensitive data in sqlite in Android?

 Because i've researched that rooted Android phone can access the database.
 But can the database to be edited? or view only?

 Thanks,

 Rendy

-- 
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: Save data in file or db

2011-08-12 Thread Kamil
You should definitely use SharedPreferences. It's easy to save/read
data from prefs. Moreover, everything you save into SharedPreferences
will be stored in XML file placed in application directory, so you can
easy check saved value.

On 12 Sie, 12:17, Kristoffer kris.isak.v...@gmail.com wrote:
 Thanks for the answer.

 I need to save the value from sessions to sessions to i need to save
 it.
 so you think that i should go with SharedPreferences instead?

 On 12 Aug, 11:26, Appaholics raghavs...@appaholics.in wrote:







  If you need it only once per run and can afford to throw it away and start
  again from next time then simply increment a variable. Otherwise for
  something like this SharedPreferences would do as well.

  Thanks

  On Fri, Aug 12, 2011 at 2:53 PM, Kristoffer kris.isak.v...@gmail.comwrote:

   Hello.

   This is my first app made in eclipse (have worked with app inventor)

   This is a simple app where i have two buttons and a textview.

   one button will increase 1 to the number that shows in the textview
   and the other button will decrease with 1.

   So the question is whats the best way to handle the number that shows
   in the textView field?

   Is it over kill to use sqlite for this?
   should i save it in i file?

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

  --
  
  Raghav Sood
  CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
  required to have complete 
  control)http://www.raghavsood.com/https://market.android.com/developer?pub=Ap...

-- 
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: Eclipse/ADT not rebuilding correctly

2011-05-07 Thread Kamil
I've noticed this issue not working with Android SDK but with J2EE
project. In my case turning off autobuild option and cleaning whole
project fixed problem. After this few steps automatic build can be
switched to on again. I think this is IDE bug, so it should be
reported to eclipse developers.

On 7 Maj, 19:45, snpe snp...@gmail.com wrote:
 Can anybody reproduce this issue on Linux ?

 On May 5, 4:59 pm, Jake Basile jakerbas...@gmail.com wrote:

  This problem has not gone away, and is getting worse. I need to fully
  restart eclipse so often now to get it to use my new code that I do it about
  15 times a day.

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


[android-developers] Microphone volume on Samsung Galaxy S

2011-04-15 Thread Kamil
Hello,
I'm running CSipSimple library to stream voice through the SIP. It
runs almost on every testing device. But there is some problem with
Samsung Galaxy S. Microphone gets a lot of noises from space around.
When I speak to phone person at the other side can't because of large
overdrive. I have to keep phone at distance about 25-30 centimeters to
make clear voice.
Is there any way to decrease microphone sensitivity/volume? Or maybe
it's some kind of bug in SGS? If it is, can somebody tell me how could
I fix it or create workaround?

-- 
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] Audio initialization and recording

2011-04-08 Thread Kamil
Hi,
I'm having problem with audio initialization in Android. When
application starts recording in logcat appears message

I/libpjsip( 2248):  15:19:25.328 android_jni_de  Record thread : error
while reading data... is there something we can do here? -3
D/libpjsip( 2248):  15:19:25.328   Master/sound  Underflow, buf_cnt=0,
will generate 1 frame
I/libpjsip( 2248):  15:19:25.342 android_jni_de  Record thread : error
while reading data... is there something we can do here? -3
D/libpjsip( 2248):  15:19:25.349   Master/sound  Underflow, buf_cnt=0,
will generate 1 frame
I/libpjsip( 2248):  15:19:25.354 android_jni_de  Record thread : error
while reading data... is there something we can do here? -3
D/libpjsip( 2248):  15:19:25.357   Master/sound  Underflow, buf_cnt=0,
will generate 1 frame
I/libpjsip( 2248):  15:19:25.367 android_jni_de  Record thread : error
while reading data... is there something we can do here? -3
D/libpjsip( 2248):  15:19:25.379   Master/sound  Underflow, buf_cnt=0,
will generate 1 frame
I/libpjsip( 2248):  15:19:25.380 android_jni_de  Record thread : error
while reading data... is there something we can do here? -3
I/libpjsip( 2248):  15:19:25.393 android_jni_de  Record thread : error
while reading data... is there something we can do here? -3
D/libpjsip( 2248):  15:19:25.404   Master/sound  Underflow, buf_cnt=0,
will generate 1 frame
I/libpjsip( 2248):  15:19:25.405 android_jni_de  Record thread : error
while reading data... is there something we can do here? -3
I/libpjsip( 2248):  15:19:25.418 android_jni_de  Record thread : error
while reading data... is there something we can do here? -3
I/libpjsip( 2248):  15:19:25.431 android_jni_de  Record thread : error
while reading data... is there something we can do here? -3
D/libpjsip( 2248):  15:19:25.434   Master/sound  Underflow, buf_cnt=0,
will generate 1 frame
D/libpjsip( 2248):  15:19:25.439   Master/sound  Underflow, buf_cnt=0,
will generate 1 frame
I/libpjsip( 2248):  15:19:25.444 android_jni_de  Record thread : error
while reading data... is there something we can do here? -3
I/libpjsip( 2248):  15:19:25.457 android_jni_de  Record thread : error
while reading data... is there something we can do here? -3
D/libpjsip( 2248):  15:19:25.460   Master/sound  Underflow, buf_cnt=0,
will generate 1 frame

Can somebody tell me what's that message?

-- 
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] Merged contacts problem

2011-03-25 Thread Kamil
Hi,

I'm trying to get all phone numbers for contacts in my phonebook, but
I've got some problem. If contacts are merged I get separated records
with empty givenName and familyName.

How can I get phone numbers from merged contacts?

-- 
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] Menu typeface

2011-03-20 Thread Kamil
Hi,
Is there any way to change menu typeface to bold?

-- 
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] Creating SQLite DB

2011-03-15 Thread Kamil Michalak

Did you try
this.getApplicationContext().openOrCreateDatabase(DATABASE_NAME, 
Context.MODE_PRIVATE, null);

?

W dniu 14.03.2011 01:46, David Williams pisze:

All,

I am trying to create an SQLite DB but for some reason it's not working.
My logic performs the following.

db.openDatabase(GlobalVars.DATABASE_NAME, null, 0);

This simply tries to open my DB.  If the DB doesn't exist it will 
throw an exception, which I can check, but I would suspect that if the 
DB can't be opened it doesn't exist, therefore my assumption then is 
that this is a new install of my app and I need to create my DB.  So, 
in my exception I am doing the following:


db.openOrCreateDatabase(GlobalVars.DATABASE_NAME, null);

I'd expect the above command to create the database regardless, but it 
isn't.  The exception I am getting for both of the above commands is: 
*unable to open database file. *I am surprised am I getting this in 
the second exception as I would expect it to create the DB.


DATABASE_NAME = golfcaddie.db

What am I doing wrong?


--


David Williams
Check out our WebOS mobile phone app for the Palm Pre and Pixi:
http://www.dtw-consulting.com/GolfCaddie Golf Caddie 
http://www.dtw-consulting.com/GolfCaddie | Golf Caddie Forum 
http://www.dtw-consulting.com/GolfCaddie/forum | Golf Caddie FAQ 
http://www.dtw-consulting.com/GolfCaddie/faq.html by DTW-Consulting, 
Inc.



--
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 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=enimage/png

[android-developers] Re: passing arrays between classes using intent

2011-03-14 Thread Kamil
I think, you could use JSONArray to store data, convert JSON array to
string and put it into extras. It's only way how to do it.
Another way is to store arrays in different singleton object/static
class or put data into SQLite database and read from other activity
but it is not using Intent.

On 13 Mar, 14:16, Mark Murphy mmur...@commonsware.com wrote:
 On Sun, Mar 13, 2011 at 8:49 AM, Chetan Singh Bisht

 chetanbish...@gmail.com wrote:
  hi, i am developing a final year project where i need to retrieve
  details of hospitals like name ,address, location(in terms of latitude
  and longitude) from a server and display them on a mapconnectivity
  has been established and i am able to retrieve the values in the from
  of array like address[], name[] etc..

  now i need to pass these values from an activity class to map activity
  class..

 What you really need is a central spot to hold that data, such as a database.

 Think of a Web app. Would you pass the entire contents of your
 details of hospitals in GET parameters from one Web page to another?
 Or would you hold the details of hospitals in a central place (Web
 server) and use the data from both pages?

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Android 3.0 Programming Books:http://commonsware.com/books

-- 
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] Pressing hangup device button locks screen

2011-03-14 Thread Kamil
Hi,
I'm using OnKeyListener in my app. Almost everything works fine,
except device hangup button, which case locking device screen when
it's pressed.
Could somebody tell me how to unbind lock action or disable it?

-- 
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: How To Start a RTSP connection

2008-12-20 Thread kamil

Hi,
maybe someone could post here URL of some RTSP stream which is known
to work with G1?
It would really help a lot in finding out why SDP answer is being
rejected.

I believe there must be at least one person which has been testing
Android's RTSP stack ;) Or maybe I'm the only one who leaves testing
to the customer ;D

thanks
Kamil
--~--~-~--~~~---~--~~
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: How To Start a RTSP connection

2008-12-19 Thread kamil

Hi,
I've encountered the very same error as described above. I'm using VLC
as MP3/RTSP streaming server, and this looks exactly like Android
didn't like something he got in DESCRIBE SDP response.

SDP looks like:

v=0
o=- 2819777490 2 IN IP4 192.168.100.108
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 0.9.8a
a=range:npt=0-176.091
m=audio 0 RTP/AVP 14
a=rtpmap:14 MPA/9
a=control:rtsp://192.168.100.108:5554/Test/trackID=0

VLC is streaming single MP3 file.

Debug shows MediaPlayer's error (-1,0) and I haven't manage to find
any explanation of this message.

Does anyone have any idea?

Thanks in advance
Kamil
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---