how to addfirst time app install code to this code link ? How to add a ShowcaseView that pops up only for the first time to show how to use our app?
            Asked
            
        
        
            Active
            
        
            Viewed 220 times
        
    0
            
            
        - 
                    possible duplicate of [Determine if android app is the first time used](http://stackoverflow.com/questions/4636141/determine-if-android-app-is-the-first-time-used) – Nabin Jul 12 '15 at 09:39
- 
                    Nobody is going to tell exact code. please provide me by editing that mainActivity.class file – Prabin Bhusal Jul 12 '15 at 09:41
- 
                    1don`t asking code..we are not write project for you..only we give ideas & links. – Ranjithkumar Jul 12 '15 at 09:54
- 
                    I tried it bruh using your links and stuffs. I want to fit with that mainAvtivity class. if you dont know dont help. Thankss – Prabin Bhusal Jul 12 '15 at 09:56
2 Answers
1
            
            
        Two ways...
► Create a database (SQLite for example) and put on it a boolean value to know if first time or not.
► Or use shared preferences like a database
 
    
    
        Guihgo
        
- 632
- 10
- 13
- 
                    I dont know how to deal with it . Please edit that mainActivity.class file and provide me – Prabin Bhusal Jul 12 '15 at 09:38
- 
                    
- 
                    
- 
                    
- 
                    1
- 
                    
0
            
            
        I do this in my own app by storing a flag in the preferences. Others have up-voted this approach too:
 
    
    
        Community
        
- 1
- 1
 
    
    
        Nitesh Patel
        
- 631
- 3
- 10
- 
                    
- 
                    I want that popup screen appears only one timein install ? please help me out – Prabin Bhusal Jul 12 '15 at 09:31
