@ChulbulPandey see this line com.example.demo.CameraPreview.surfaceCreated(CameraPreview.java:28) in your activity see code of line no 28 which throw null pointer exception
@PiyushMishra I got a freelancing project from UAE, in which I have to develop an app with functionality of whatsapp and viber both, and speech reconginition in 4 languages i.e UK and US English, Arabic, German and Spanish should be use for writing message. And total cost they are paying me only $60. Is it reasonable ?
@sneha to show user “General Sync Settings” screen in Android App?
@sneha Use ACTION_SYNC_SETTINGS for your intent. You have to make sure before sending it that the intent will resolve though, as some devices may not be able to interpret that intent. If they can't, send ACTION_SETTINGS instead, possibly with a note to the user telling them where the sync settings are (if your users aren't expected to be very tech savvy).
@OneManArmy see as we open settings of android device we get an option Accounts and sync.Inside that seperate synch settings of different app like watsapp dropbox etc so i m asking can i create synching option for my app there
@Kalai.G while debuging app with ndk i am getting "android ndk unknown application abi" what may be the problem na. i have set the correct path for the NDK in preferences.
@sneha You can also set enable/disable programmatically with the help of this ContentResolver.setSyncAutomatically and ContentResolver.setMasterSyncAutomatically
I am implementing a syncadapter for an android app and would like to make the settings for the account available under the "Accounts & sync" menu. I have seen this done in the DropBox app(as shown below), but I have not been able to find documentation on how to do this. I have the accounted add...
I am getting a big JSON response in my application. I used to map the json to pojo.But this took more development time to create the classes for mapping .
So i mapped the JSON to Hashmaps. And right now i am accessing the parsed values using hashmaps. But just to be sure....
Storing the json...
I have created a custom listview and placed under a textview in a relativelayout. Now i want to change the textview's text when I scroll the listview. I dont want to implement this in my main class. Instead I want to include this in my listview class which implements onscroll listener
@OneManArmy: actually what i am doing right now is setting the text of the textview and animating it by writing the code in the onscroll method of listview.setOnscrollListener in the main class. But what I want is to implement this functionality in the listview class so that the main class is clean and i dont have to write onScrollListener in the main class.
I'm going to start developing an Android app for android's phones and I don't know which is the best Layout (RelativeLayout, LinearLayout, ...) to design views.
I mean, I want to make my views work with different screens size and density.
@VansFannel layout selection depends on the designs of your app's screen.. some screen will suit Relative and som Linear and some other. So actually you'll have to decide, which layout strategy you gonna use.