android-sdk-2.1
how to limit seekbar
In SeekBar you can set only max value. <SeekBar android:id=”@+id/SeekBar01″ android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:max=”50″/> And, You cannot directly set the minimum value to the seekbar. SeekBar mSeekbar = (SeekBar) findViewById(R.id.SeekBar01); mSeekbar.setOnSeekBarChangeListener(new OnSeekBarChangeListener() { public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { length_edit.setText(Integer.toString(progress + 20)); } public void onStartTrackingTouch(SeekBar seekBar) {} public void onStopTrackingTouch(SeekBar seekBar) {} … Read more
Android SDK in Eclipse gives error about expired certificate [duplicate]
To fix this problem, simply delete the debug.keystore file. The default storage location for AVDs is In ~/.android/ on OS X and Linux. In C:\Documents and Settings\<user>\.android\ on Windows XP In C:\Users\<user>\.android\ on Windows Vista and Windows 7. Also see this link, which can be helpful.
Post multipart request with Android SDK
Update April 29th 2014: My answer is kind of old by now and I guess you rather want to use some kind of high level library such as Retrofit. Based on this blog I came up with the following solution: http://blog.tacticalnuclearstrike.com/2010/01/using-multipartentity-in-android-applications/ You will have to download additional libraries to get MultipartEntity running! 1) Download httpcomponents-client-4.1.zip … Read more
Show soft keyboard for dialog
Awesome question, I was trying to do that too and found a solution. Using the dialog builder class AlertDialog.Builder you will have to invoke the dialog like this: AlertDialog.Builder builder = new AlertDialog.Builder(); AlertDialog dialog; builder.set… dialog = builder.create(); dialog.getWindow().setSoftInputMode(LayoutParams.SOFT_INPUT_STATE_VISIBLE); dialog.show(); This worked fine for me. Note: you must import android.view.WindowManager.LayoutParams; for the constant value … Read more
I lost my .keystore file?
Now it is possible don’t worry, here is the full and final steps to reset .JKS file. UPDATE: As it states in the Play Console Help here (scroll to bottom), you should now already do step 3 before (create new .jks, convert to .pem) and only then fill out the form with the upload_cert and … Read more