Search:

Type: Posts; User: fallen01

Search: Search took 0.14 seconds.

  1. Re: Can't understand where should I use longpress in my code.

    Alright :) thanks sir!
  2. Re: Can't understand where should I use longpress in my code.

    What projects was you creating as a beginner ? Seems like I am choosing hard ones.
  3. Re: Can't understand where should I use longpress in my code.

    As a beginner - unfortunately no. There is no sample code for drum pad that includes longlick..
  4. Re: Can't understand where should I use longpress in my code.

    simply failed to add that longpress dammit..here is what one guy told me to do ( but I did not understand ) :
    You have to add onLongClickListener to your button and implement the method onLongClick...
  5. Re: Can't understand where should I use longpress in my code.

    3488
    I have lots of errors now -_-



    package com.example.niko.drumpad;

    import android.media.AudioManager;
    import android.media.SoundPool;
    import android.support.v7.app.AppCompatActivity;
  6. Can't understand where should I use longpress in my code.

    Hi. basically I just made a drum pad app, but I can't figure out how to use a longpress or whatever to be able to turn on/off some buttons ( each is playing different music so all I need is to tap...
  7. Replies
    22
    Views
    1,601

    Re: Facing a problem in android studio ( java )

    Yes sir, thanks for replying tho ;)
  8. Replies
    22
    Views
    1,601

    Re: Facing a problem in android studio ( java )

    private void initializeDrawer() {
    View mBottomSheet = findViewById(R.id.bottomSheet);
    mDrawerGridView = findViewById(R.id.drawerGrid);
    mBottomSheetBehavior =...
  9. Replies
    22
    Views
    1,601

    Re: Facing a problem in android studio ( java )

    I literally can't understand logchat erros, usually I stuck on reading all red lines and just thinking but..I dont know how to explaion sorry
  10. Replies
    22
    Views
    1,601

    Re: Facing a problem in android studio ( java )

    mLayout.setOnLongClickListener(new View.OnLongClickListener() {



    this is line 67

    --- Update ---

    here is MainActivity :
  11. Replies
    22
    Views
    1,601

    Re: Facing a problem in android studio ( java )

    Yes sir. Here it is :



    package com.example.user.emnilauncher;

    import android.content.Context;
    import android.content.Intent;
    import android.view.LayoutInflater;
    import android.view.View;
  12. Replies
    22
    Views
    1,601

    Re: Facing a problem in android studio ( java )

    Have a new errors now on physical device. It is because I wrote something wrong ( basically launcher is closing when I tap on any app or try to drag it ) errors log is here :
  13. Replies
    22
    Views
    1,601

    Re: Facing a problem in android studio ( java )

    Can not really remember now, I will check it in 30 mins ;) Yes they're running different versions of android ( 7.0 on physical device ) and 5.0 on emulator.

    Here is erros while running emulator...
  14. Replies
    22
    Views
    1,601

    Re: Facing a problem in android studio ( java )

    Hi there :) I've been thinking about my problem for a long long time. I found some mistakes by myself and now the launcher is working fine, but I am not sure 100% that it will never crash cause code...
  15. Replies
    22
    Views
    1,601

    Re: Facing a problem in android studio ( java )

    cant do that sooner than in 10hrs sorry :(
  16. Replies
    22
    Views
    1,601

    Re: Facing a problem in android studio ( java )

    I dont remember correctly sorry, I am not on my pc now..

    AppAdapter and AppObject java classes were created.



    com.simcoder.novalauncherclone.ViewPagerAdapter mViewPagerAdapter;
    private...
  17. Replies
    22
    Views
    1,601

    Re: Facing a problem in android studio ( java )

    the problem is that launcher stops working. No it happens while testing on physical device only ( emulator is rly slow ).



    package com.simcoder.novalauncherclone;

    import...
  18. Replies
    22
    Views
    1,601

    Facing a problem in android studio ( java )

    Hi ! I am writing an android launcher, just following the guide in youtube. First 4 lessons were cool, but after that with some new lines of code + new folders etc. launcher just stopped working. I...
  19. Replies
    22
    Views
    1,601

    Facing a problem in android studio ( java )

    Hi ! I am writing an android launcher, just following the guide in youtube. First 4 lessons were cool, but after that with some new lines of code + new folders etc. launcher just stopped working. I...
Results 1 to 19 of 20