« first day (520 days earlier)      last day (1908 days later) » 

5:56 AM
I have some issue regarding camera intent,

Intent cameraIntent = new Intent(
android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
cameraIntent.putExtra(android.provider.MediaStore.EXTRA_OUTPUT,
uriSavedImage);
// startActivityForResult(camera, 1);
startActivityForResult(cameraIntent, ACTIVITY_SELECT_IMAGE);
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == CAMERA_REQUEST) {

// Bitmap photo = (Bitmap) data.getExtras().get("data");
// imageView.setImageBitmap(photo);

if (resultCode == RESULT_OK) {
Uri selectedImage = data.getData();
String[] filePathColumn = { MediaStore.Images.Media.DATA };

Cursor cursor = getContentResolver().query(selectedImage,
filePathColumn, null, null, null);
cursor.moveToFirst();

int columnIndex = cursor.getColumnIndex(filePathColumn[0]);
 
2 messages moved from Android Discussion
 
 
5 hours later…
10:36 AM
 
1 message moved from Android Discussion
 
 
5 hours later…
3:11 PM
0
Q: recursive descend parser - avoiding left recursion

Jinu J DI have the following productions A -> Aa A -> b so it is clear that there is left recursion like parseA() { parseA();//recursion parsea(); } It is said that the left recursion can be avoided using the following rule A -> bA' A' -> aA'|null How is left recursion avoided ...

 
Other rooms have.
in PHP, 1 min ago, by Jinu J D
0
Q: recursive descend parser - avoiding left recursion

Jinu J DI have the following productions A -> Aa A -> b so it is clear that there is left recursion like parseA() { parseA();//recursion parsea(); } It is said that the left recursion can be avoided using the following rule A -> bA' A' -> aA'|null How is left recursion avoided ...

3 messages moved from Lounge<C++>
 
3:24 PM
 
1 message moved from Android
 
 
4 hours later…
hey
7:02 PM
Button button = (Button) findViewById(R.id.b1);
button.setOnLongClickListener(new OnLongClickListener() {

@Override
public boolean onLongClick(View v) {
decrease();
return false;
}
});
 
1 message moved from Android
 

« first day (520 days earlier)      last day (1908 days later) »