[android-developers] Re: After placing AdMob, my layout is moving down

2012-05-06 Thread Zwiebel
My main problem is that if I click on the EditText, and the keyboard is coming up, my background is moving up. Is there any way to stay at the same place? On máj. 6, 11:32, Zwiebel wrote: > Thanks the help, but it doesn't works neither :( > > On máj. 5, 14:41, krishn

[android-developers] Re: After placing AdMob, my layout is moving down

2012-05-06 Thread Zwiebel
Thanks the help, but it doesn't works neither :( On máj. 5, 14:41, krishna kumar wrote: > >  xmlns:android="http://schemas.android.com/apk/res/android"; >  android:orientation="vertical" >  android:layout_width="match_parent" >  android:layout_height="match_parent" >  android:background="#fff">

[android-developers] After placing AdMob, my layout is moving down

2012-05-05 Thread Zwiebel
I have tried to make only a small application, but I have a problem with its layout file. After I placed the ad in the code, my layout has been shifted, and the background too. The edittext went downer and the two buttons too. I don't know how I can make my layout to be the same after the ad place

[android-developers] Re: Save variables in my program, to keep their data

2012-01-07 Thread Zwiebel
Thanks, I think I could make it with sharedpreferences! :) At least it doesn't forget the variables when I run the newer version with Eclipse. Thanks again! On jan. 6, 21:20, Mark Murphy wrote: > On Fri, Jan 6, 2012 at 4:03 PM, Zwiebel wrote: > > If I use SharedPreferences, whe

[android-developers] Re: Save variables in my program, to keep their data

2012-01-06 Thread Zwiebel
3:37 PM, Zwiebel wrote: > > How I can save my variables in my program, to keep their data, after > > when the user update it from the market to a new version? > > Use a file, whether that be a SQLite database, SharedPreferences, or > something of your own design. > > -- &

[android-developers] Save variables in my program, to keep their data

2012-01-06 Thread Zwiebel
How I can save my variables in my program, to keep their data, after when the user update it from the market to a new version? If I made a normal class and put the variable in it, and I gave a value for it (0). I don't want the user to again, and again start from 0 when he/ she update my app. What

[android-developers] Re: Is there any problem with this app description?

2011-12-28 Thread Zwiebel
xD On dec. 28, 19:53, TreKing wrote: > On Wed, Dec 28, 2011 at 12:45 PM, Zwiebel wrote: > > I only asked it because he warned me, that he will report me to the > > Android Market team, if I don't delete these words... But I hope that > > these are not problems... &

[android-developers] Re: Is there any problem with this app description?

2011-12-28 Thread Zwiebel
:D I only asked it because he warned me, that he will report me to the Android Market team, if I don't delete these words... But I hope that these are not problems... On dec. 28, 18:19, TreKing wrote: > On Wed, Dec 28, 2011 at 10:51 AM, Zwiebel wrote: > > I don't know who

[android-developers] Re: Is there any problem with this app description?

2011-12-28 Thread Zwiebel
In my opinion he isn't a member of the android team, if your question was related to this. :) On dec. 28, 16:51, Zwiebel wrote: > I don't know who he is, but it's not the first time. Is there any > problem with the description? What do you think? > > On dec

[android-developers] Re: Is there any problem with this app description?

2011-12-28 Thread Zwiebel
I don't know who he is, but it's not the first time. Is there any problem with the description? What do you think? On dec. 28, 16:42, TreKing wrote: > On Wed, Dec 28, 2011 at 9:21 AM, Zwiebel wrote: > > But there is somebody who writes to me again, and again. He writes to me

[android-developers] Is there any problem with this app description?

2011-12-28 Thread Zwiebel
Good afternoon! I know that it is not exactly connected to this topic, but it is developer connected, so... I have a program, which has a long description. It is not a problem. But there is somebody who writes to me again, and again. He writes to me that it has to much rank gaining up words. Like

[android-developers] Re: Make own voice input method

2011-12-22 Thread Zwiebel
Yes, I thought that it won't be easy... :) But it would be nice, if I can make it, with a lot of work too... :) On dec. 22, 00:07, Jim Graham wrote: > On Wed, Dec 21, 2011 at 02:15:46PM -0800, Zwiebel wrote: > > I have decided, that I will try to start to make a new voice input >

[android-developers] Make own voice input method

2011-12-21 Thread Zwiebel
Hi! I have decided, that I will try to start to make a new voice input program, with I can input words in my own language (hungarian). But I don't know how to start, because I haven't seen anything on the internet about these things. Could you give me some advices of this, please? -- You receive

[android-developers] How I can control the Caller ID from my app?

2011-11-05 Thread Zwiebel
How can I (if I can) control the Caller ID function from my own app? I want enable to the user, to block/unblock his/her caller ID from my app. Can I do this? If yes how? Thanks in advance -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: What's the best method to "force" the user to rate my program?

2011-10-27 Thread Zwiebel
I think they won't rate my program because of it :) On okt. 26, 20:11, lbendlin wrote: > The best method is to make your programs more awesome. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] What's the best method to "force" the user to rate my program?

2011-10-26 Thread Zwiebel
I made some programs, but I saw that only few people rate them on the market. What's the best method to help the user rate my programs? I thought that I will add a plus button, which will redirect the user to the market's site to my application. Is this the best, or is there anything more better /

[android-developers] How can I import Facebook to my Android app?

2011-10-13 Thread Zwiebel
I have an app which in I want to import Facebook login and publish possibilities. I got a source code facebook hackbook which has source code about the things. But I have a problem. I can't get the android hash code from the debug.keystore. I have an E drive instead of C so I copy/pasted the code f

[android-developers] Re: How do I can start a new Activity after 1 minute?

2011-10-09 Thread Zwiebel
Really thanks for helps! I could make it with it! :) On okt. 9, 15:23, Mark Murphy wrote: > On Sun, Oct 9, 2011 at 9:10 AM, Zwiebel wrote: > > It want me to create a new method removeCallbacks(Runnable) > > removeCallbacks() is a method on View. Just as you called > postDelaye

[android-developers] Re: How do I can start a new Activity after 1 minute?

2011-10-09 Thread Zwiebel
It want me to create a new method removeCallbacks(Runnable) On okt. 9, 14:24, Mark Murphy wrote: > On Sun, Oct 9, 2011 at 8:17 AM, Zwiebel wrote: > > I tried to call removeCallbacks in onPause, like this: > > removeCallbacks(r1); but it doesn't good. > > Wha

[android-developers] Re: How do I can start a new Activity after 1 minute?

2011-10-09 Thread Zwiebel
;counter", counter); editor.commit(); removeCallbacks(r1); } I declared the buttons, and everything, I only have problem with the removeCallbacks. Thanks. On okt. 9, 13:52, Mark Murphy wrote: > On Sun, Oct 9, 2011 at 7:26 AM, Zwiebel wrote: > > O

[android-developers] Re: How do I can start a new Activity after 1 minute?

2011-10-09 Thread Zwiebel
Ok thanks I could make it now with it, I had a problem in my code. Now I have an another problem: Even if the user exit the program in THE minute, my Activity will appear itself. How can I do against it? On okt. 9, 12:22, Mark Murphy wrote: > On Sun, Oct 9, 2011 at 6:18 AM, Zwiebel wrote: &g

[android-developers] How do I can start a new Activity after 1 minute?

2011-10-09 Thread Zwiebel
I have a button. If the user clicks on it, I want to start a new Activity after 1 minute. Between the click and the new activity, the user can click on an another button more times. How I can start the new Activity after 1 minute, if the user clicks the button? I tried to make it with a new Runnabl

[android-developers] Re: Can I count the touches out of the app?

2011-09-28 Thread Zwiebel
Ok thanks for replies! So I can't do it android. Thanks for helps! On szept. 28, 17:51, Studio LFP wrote: > I believe it has been stated by some of the Android development team that > the ability to watch buttons (and I would figure this would include touches) > is restricted to the foreground ap

[android-developers] Re: Can I count the touches out of the app?

2011-09-28 Thread Zwiebel
54, Mark Murphy wrote: > Why are you writing spyware? > > On Wed, Sep 28, 2011 at 12:50 PM, Zwiebel wrote: > > I want to make a program, which will count all of the touches what was > > made on the phone. I want the user, to not to close the program only > > "send it

[android-developers] Can I count the touches out of the app?

2011-09-28 Thread Zwiebel
I want to make a program, which will count all of the touches what was made on the phone. I want the user, to not to close the program only "send it to the backgorund", with the home button. Can I count the touches which are out of my program (for example which are in the launcher, or in the webbro

[android-developers] Have problem with compare arraylists in Android

2011-09-16 Thread Zwiebel
I need to have two arraylists. I declared them. I declared a "mine" arraylist and an "user" arraylist with this code: ArrayList mine = new ArrayList(); ArrayList user = new ArrayList(); I want to store in these values, what are will be important to contact with the user: I added val

[android-developers] Re: How I can add an int to an array if the user clicks a button?

2011-09-16 Thread Zwiebel
screen if the user only clicked the button which add 1 to the arraylists, or if he/she only clicked the button which add 0 to the arraylist. How can I make my program to run as I want? Thanks in advance On szept. 4, 19:56, Zwiebel wrote: > OK thanks for the very fast reply. > > So

[android-developers] Re: How I can add an int to an array if the user clicks a button?

2011-09-04 Thread Zwiebel
e add method for add a number to the ArrayList will be good? And here is the question, that How I can compare them, too? Thanks On szept. 4, 19:46, Mark Murphy wrote: > On Sun, Sep 4, 2011 at 1:44 PM, Zwiebel wrote: > > I want to make a program, which will has a lot of button

[android-developers] How I can add an int to an array if the user clicks a button?

2011-09-04 Thread Zwiebel
I want to make a program, which will has a lot of buttons. If the user clicks one button, I want to add a specified number (int) to an array. int[] array; array = new int[20]; button.setOnClickListener(new View.OnClickOnListener) { @Override public void onClick (View v) { //

[android-developers] Re: Can Android devices got normal computer viruses?

2011-08-30 Thread Zwiebel
Ok I know that there are some antivir programs, but these programs will show the attacks which were discussed by Chris? On aug. 29, 21:38, Nick Risaro wrote: > On Mon, Aug 29, 2011 at 5:14 PM, Zwiebel wrote: > > Ok, but people how can defend their devices againt these attacks? Wit

[android-developers] Re: Can Android devices got normal computer viruses?

2011-08-29 Thread Zwiebel
Ok, but people how can defend their devices againt these attacks? With the normal antivir programs like avg antivir or lookout? On aug. 29, 19:58, Chris Stratton wrote: > On Monday, August 29, 2011 2:56:13 PM UTC-4, Appaholics wrote: > > > No. > > > On Mon, Aug 29, 2011

[android-developers] Re: Can Android devices got normal computer viruses?

2011-08-29 Thread Zwiebel
Ok thanks. But if the websites can't harm the android devices, there are only viruses in the market, which are can harm the device? On aug. 29, 18:56, Appaholics wrote: > No. > > On Mon, Aug 29, 2011 at 11:34 PM, Zwiebel wrote: > > I'm interested in this question: Can A

[android-developers] Can Android devices got normal computer viruses?

2011-08-29 Thread Zwiebel
I'm interested in this question: Can Android devices got normal viruses or they can carry them? Can Android got a virus from a website if the user doesn't download anything? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] How I can place an AdMob ad?

2011-08-22 Thread Zwiebel
I have an activity what in I don't use an XML. I have only an activity within I what to place an ad. I don't use layouts like linear layout or relative layout. My program scale him automatically, so if I put in an ad, will it scale itself, to "don't be in ad"? How can I add an ad to it? -- You re

[android-developers] Re: How do I can make resolution independent game?

2011-08-22 Thread Zwiebel
droid game engine". > > Thanks > > > > > > > > > > On Sun, Aug 21, 2011 at 10:12 PM, Zwiebel wrote: > > How do I can make, for example if the user clicks at the 50,50 > > coordinates on the 800x480 resolution screen, will it be on the > > ap

[android-developers] How do I can make resolution independent game?

2011-08-21 Thread Zwiebel
How do I can make, for example if the user clicks at the 50,50 coordinates on the 800x480 resolution screen, will it be on the appropriate resolution on the 480x320 resolution screen too? I read on the internet that I need to make my game for only one resolution, and then scale the touches, and the

[android-developers] Re: How to handle sequential touches?

2011-08-21 Thread Zwiebel
If I make a variable with number 0 and when the user clicks on the first image, I increase it with one, then I check the variable and if it is 1 I make the click for the second picture, It will be good? On aug. 19, 21:26, Zwiebel wrote: > Thanks, I think that it will help me a lot. And yes

[android-developers] Re: How to handle sequential touches?

2011-08-19 Thread Zwiebel
id.com/guide/topics/fundamentals/activities.html, > especially "Managing the Activity Lifecycle". > > On Aug 19, 6:41 am, TreKing wrote: > > > > > > > > > On Fri, Aug 19, 2011 at 4:51 AM, Zwiebel wrote: > > > Thanks for the answer. Can you give

[android-developers] Re: How to handle sequential touches?

2011-08-19 Thread Zwiebel
Thanks for the answer. Can you give me a short example please? I'm only beginner in android and... ok I'm beginner :) On aug. 19, 01:15, TreKing wrote: > On Thu, Aug 18, 2011 at 3:06 PM, Zwiebel wrote: > > But I don't know how I can handle multiple touch events. I kn

[android-developers] How to handle sequential touches?

2011-08-18 Thread Zwiebel
I want to make a program what in I need to handle touch events in order within 1 activity. For example: The user need to click on a picture first If he doesn't click on it I will show an another activity, but if he click on the requested picture I want him to click on the second, third etc. But I d

[android-developers] How I can ask multiple touches in my game?

2011-08-15 Thread Zwiebel
I want to make a game, where in one activity, I need to get multiple touches one after another one... So if I want to make for example a UI. Then on this UI I can got the first touch with if statement. if(event.x > in the zone && event.y > in the zone) else (do what I want) , but I don't know how t

[android-developers] Re: If statements doesn't work (I think that I made a mistake, not the if isn't good), with button appearing.

2011-08-08 Thread Zwiebel
-generated method stub next.setVisibility(-1); } }; On aug. 8, 19:00, TreKing wrote: > On Mon, Aug 8, 2011 at 11:00 AM, Zwiebel wrote: > >  I tried to do it with the if statements but It doesn't make the button > > appearing

[android-developers] Re: How Can I keep data between my activities?

2011-08-08 Thread Zwiebel
t I'm not sure in it. Thanks for helps. On aug. 8, 19:03, TreKing wrote: > On Mon, Aug 8, 2011 at 5:36 AM, Zwiebel wrote: > > I tried it now. I tried with onRestoreInstanceState too, but it looked like > > this. I couldn't show my counter and counter_foe content, because it'

[android-developers] If statements doesn't work (I think that I made a mistake, not the if isn't good), with button appearing.

2011-08-08 Thread Zwiebel
I want to make a new button (again) appearing when one of my variables reached the 5. I tried to do it with the if statements but It doesn't make the button appearing, and I don't know exactly why. Here is my code: public class p extends Activity{ private static final int REQUEST_CODE =

[android-developers] Re: How Can I keep data between my activities?

2011-08-08 Thread Zwiebel
Thanks, I think that I could make it with SharedPreferences! Thanks for help. On aug. 8, 12:36, Zwiebel wrote: > I tried it, thanks for answer, but It doesn't do the expected result. > Here is my code what I tried to do: > > public class s extends Activity{ > >         p

[android-developers] Re: How Can I keep data between my activities?

2011-08-08 Thread Zwiebel
now. I tried with onRestoreInstanceState too, but it looked like this. I couldn't show my counter and counter_foe content, because it's everytime shows 0. Thanks, for any helps. On aug. 8,

[android-developers] Re: How Can I keep data between my activities?

2011-08-07 Thread Zwiebel
:47, TreKing wrote: > On Sun, Aug 7, 2011 at 1:01 PM, Zwiebel wrote: > > My problem is the following: > > I want to keep my counter's and my counter_foe's content through the > > activity changes. I don't want them to be the default (0) texts. For

[android-developers] Re: How Can I keep data between my activities?

2011-08-07 Thread Zwiebel
// TODO Auto-generated method stub Intent data = new Intent(); data.putExtra("s", "s"); data.putExtra("counter", counter); data.putExtra(&

[android-developers] How Can I keep data between my activities?

2011-08-07 Thread Zwiebel
I have an activity what looks like this: public class s extends Activity{ private static final int REQUEST_CODE = 1; ImageView secret; public int counter; public int counter_foe; public TextView txt; public TextView counter_txt; ImageView p

[android-developers] Re: I can't show random images in the ImageView

2011-08-07 Thread Zwiebel
s values 0, 1, 2 > > So, take out the "+1", to avoid getting an index-out-of-bounds exception. > > -- Kostya > > 07.08.2011 0:01, Zwiebel пишет: > > >            Random rand = new Random(); > >            int rndInt = rand.nextInt(3) + 1; > > -- > Ko

[android-developers] Re: I can't show random images in the ImageView

2011-08-06 Thread Zwiebel
(counter_foe)); > > to call TextView.setText(CharSequence) > > -- Kostya > > 07.08.2011 0:01, Zwiebel пишет: > > > > > > > > > > > Thanks, I could make it with your helps. But now I'm found a new > > problem. I try to modify my

[android-developers] Re: I can't show random images in the ImageView

2011-08-06 Thread Zwiebel
, 2 > > So, take out the "+1", to avoid getting an index-out-of-bounds exception. > > -- Kostya > > 07.08.2011 0:01, Zwiebel пишет: > > >            Random rand = new Random(); > >            int rndInt = rand.nextInt(3) + 1; > > -- > Kostya Va

[android-developers] Re: I can't show random images in the ImageView

2011-08-06 Thread Zwiebel
for any helps. On aug. 6, 19:46, Nikolay Elenkov wrote: > On Sun, Aug 7, 2011 at 2:38 AM, Zwiebel wrote: > > I tried it out and sadly n is 0 everytime, but I don't know why. > > Reading the docs usually helps: > > public static double random() > >     Returns a

[android-developers] Re: I can't show random images in the ImageView

2011-08-06 Thread Zwiebel
I tried it out and sadly n is 0 everytime, but I don't know why. On aug. 6, 17:23, Miguel Morales wrote: > Add some logging so that you can see what n is. > Then find out why it's not generating a random number. > > > > > > > > > > On Sat, Aug 6,

[android-developers] I can't show random images in the ImageView

2011-08-06 Thread Zwiebel
Nice day! I tried to show random images in my application in an ImageView. I tried this code: public class r extends Activity{ ImageView secret; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub

[android-developers] How do I can take a photo in Android and show it in an ImageView?

2011-07-31 Thread Zwiebel
I tried this code, but it didn't do anything, with my phone: import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.hardware.Camera; import android.hardware.Camera.PictureCallback;

[android-developers] Re: What layout the normal 2.3 WVGA 800x480 emulator use?

2011-07-29 Thread Zwiebel
Thanks you could help me a lot! On júl. 21, 21:16, Dianne Hackborn wrote: > On Thu, Jul 21, 2011 at 7:43 AM, Zwiebel wrote: > > I have a program what looks like good on my HVGA emulator, everything > > is fine with it (however I don't know why it is use the hdpi drawable, &g

[android-developers] Application doesn't close with back button

2011-07-23 Thread Zwiebel
I made an application, with two logo activity at the start, first is my logo, and the second is the application's logo, they are stay for 2 seconds, and then the next activity starts, the Menu. I can't close my application because from the menu if I press the back button, it's only show the applica

[android-developers] What layout the normal 2.3 WVGA 800x480 emulator use?

2011-07-21 Thread Zwiebel
Hello, I have a program what looks like good on my HVGA emulator, everything is fine with it (however I don't know why it is use the hdpi drawable, when I have layout-normal-mdpi file too, with drawable-layout-mdpi file too.), but I don't know what the 2.3 WVGA 800x480 emulator use? I made a layou

[android-developers] Can't make program which support more screens

2011-07-19 Thread Zwiebel
I tried to make a layout-small folder. In it I made 3 xml files, with the exact name what I made in the "normal" layout file. I made drawables to the drawable-mdpi file too. With the same name as in the drawable-hdpi file. But if I see in Graphical Layout, with 3,2 HVGA screen and with WVGA 3,7(nex

[android-developers] Eclipse - Android - can't connect my device to Eclipse

2011-07-14 Thread Zwiebel
Sorry If it will be a very "easy" question, but I'm only a beginner, so, please be patient   I made a small application, and I tried to put in ads with AdMob. I tried to connect my device to the Eclipse, so I can run on it the progrmam, and see the logcat, because when I'm installed it to my devic