Friday, April 5, 2013

[android help]facebook android sdk 3.0 login another activity crash


I use android sdk 3.0 login code Session in the MainActivity can run ..


but I move to new Activtiy FB.JAVA.can't run .click button crash..


plase how to fix:


MAinActivity.JAVA code



public void fbautotest(View v){

fb myffb=new fb();
myffb.facebookLogin();}


FB.JAVA code



public class fb extends Activity{

private static final List PERMISSIONS = Arrays.asList("publish_actions","user_photos");
private PendingAction pendingAction = PendingAction.NONE;
private enum PendingAction {
NONE, POST_PHOTO, POST_STATUS_UPDATE
}

private StatusCallback callback;
//private Activity mContext;
private Activity mContext;


public void facebookLogin()
{


Session.openActiveSession(mContext, true, new Session.StatusCallback() {

// callback when session changes state

@Override
public void call(Session session, SessionState state, Exception exception) {

if (session.isOpened()) {
Request.executeMeRequestAsync(session, new Request.GraphUserCallback() {

// callback after Graph API response with user object


@Override
public void onCompleted(GraphUser user,
Response response) {



}
});

}
}
});

}
}


Error Code



04-05 06:50:16.246: W/dalvikvm(904): threadid=1: thread exiting with uncaught exception (group=0x40a13300)
04-05 06:50:16.326: E/AndroidRuntime(904): FATAL EXCEPTION: main
04-05 06:50:16.326: E/AndroidRuntime(904): java.lang.IllegalStateException: Could not execute method of the activity
04-05 06:50:16.326: E/AndroidRuntime(904): at android.view.View$1.onClick(View.java:3591)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.view.View.performClick(View.java:4084)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.view.View$PerformClick.run(View.java:16966)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.os.Handler.handleCallback(Handler.java:615)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.os.Handler.dispatchMessage(Handler.java:92)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.os.Looper.loop(Looper.java:137)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.app.ActivityThread.main(ActivityThread.java:4745)
04-05 06:50:16.326: E/AndroidRuntime(904): at java.lang.reflect.Method.invokeNative(Native Method)
04-05 06:50:16.326: E/AndroidRuntime(904): at java.lang.reflect.Method.invoke(Method.java:511)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
04-05 06:50:16.326: E/AndroidRuntime(904): at dalvik.system.NativeStart.main(Native Method)
04-05 06:50:16.326: E/AndroidRuntime(904): Caused by: java.lang.reflect.InvocationTargetException
04-05 06:50:16.326: E/AndroidRuntime(904): at java.lang.reflect.Method.invokeNative(Native Method)
04-05 06:50:16.326: E/AndroidRuntime(904): at java.lang.reflect.Method.invoke(Method.java:511)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.view.View$1.onClick(View.java:3586)
04-05 06:50:16.326: E/AndroidRuntime(904): ... 11 more
04-05 06:50:16.326: E/AndroidRuntime(904): Caused by: java.lang.NullPointerException: Argument 'applicationId' cannot be null
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.internal.Validate.notNull(Validate.java:29)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.Session.(Session.java:224)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.Session.(Session.java:213)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.Session$Builder.build(Session.java:1454)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.Session.openActiveSession(Session.java:863)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.Session.openActiveSession(Session.java:805)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.example.mk2weibo.fb.facebookLogin(fb.java:45)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.example.mk2weibo.MainActivity.fbautotest(MainActivity.java:410)
04-05 06:50:16.326: E/AndroidRuntime(904): ... 14 more


.

stackoverflow.comm

[android help]Sending Data from the Android App to the Web

web services - Sending Data from the Android App to the Web - Stack Overflow




















I want to develop an android app where in I can send the data from my App to my web service (planning to develop in PHP), on a click of a button.


The data could be any thing from a set of text or integers.


I was reading out the RESTful, but nothing could make me really happy. Can someone suggest how actually i can achieve it, a code snippet could help?
















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default







.

stackoverflow.comm

[android help]Why is the first line is always crossed out?


In my application I use SimpleCursorAdapter. If CheckBox.isChecked() then text should be strikethrough. But why then the first line is always crossed out, even if the CheckBox is not checked



public class MainActivity extends Activity {
// Button btnCalendar;

//*******************************************8
String[] names = {"Иван", "Марья", "Петр", "Антон", "Даша", "Борис",
"Костя", "Игорь", "Анна", "Денис", "Андрей"};
//Button buttonAddTask;
final String Tag="States";
final String Ten = "Ten";
TextView txtDataTaskToday;
String id_for_listtsk_today;
ListView lvMain_today;
String[] arr_date;
SharedPreferences sPref;
static Cursor c;
private ListView listView = null;
SQLiteDatabase db;
//public static String id_for_listtsk_today;
// static SQLiteDatabase db;
MySqlCursorAdapter adapter = null;
//***********************************************8

@Override
protected void onCreate(Bundle savedInstanceState) {
if (getIntent().getBooleanExtra("finish", false)) finish();
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// btnCalendar = (Button) findViewById(R.id.btnActTwo);
// btnCalendar.setOnClickListener(this);

//*********************************************
// переменные для query
String[] columns = null;
String selection = null;
String[] selectionArgs = null;
String groupBy = null;
String having = null;
String orderBy = null;

//*********работа с БД****************
// создаем объект для данных

txtDataTaskToday = (TextView) findViewById(R.id.txtDataTaskToday);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
String id_for_listtsk_today = sdf.format(new Date());
//final String b = id_for_listtsk_today;
txtDataTaskToday.setText("Today: "+id_for_listtsk_today.toString());
// txtDataTaskToday.setPaintFlags(txtDataTaskToday.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);

Log.d(Tag, "id_for_listtsk_today ="+id_for_listtsk_today );
ContentValues cv = new ContentValues();
DBHelper dbHelper = new DBHelper(this);
final SQLiteDatabase db = dbHelper.getWritableDatabase();
columns = new String[] {"name"};
selection = "data_id = ?";
selectionArgs = new String[] {id_for_listtsk_today};
//c = db.query("mytable", columns, selection, selectionArgs, null, null, null);
try {
c=dbHelper.getCursor(id_for_listtsk_today);
} catch (SQLException sqle) {
Log.d(Tag, "неудача");
throw sqle;

}
String[] arr_date = logCursor(c);

//*********работа с БД****************

lvMain_today = (ListView) findViewById(R.id.list);
// lvMain_today.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
//this.listView=getl
//listView = MainActivity.this.getlgetListView();
lvMain_today.setItemsCanFocus(false);
lvMain_today.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
//ArrayAdapter adapter = new ArrayAdapter (this,android.R.layout.simple_list_item_multiple_choice, arr_date);// R.layout.item, my_list_item
startManagingCursor(c);
int[] listFields = new int[] { R.id.txtTitle, R.id.txtDataTaskToday };
String[] dbColumns = new String[] { DBHelper.COLUMN_NAME, DBHelper.COLUMN_TASK };
Log.d(Tag, "трассировка" );
MainActivity.this.adapter = new MySqlCursorAdapter(
this, R.layout.my_list_item,
c, dbColumns, listFields,
dbHelper);
//
lvMain_today.setAdapter(MainActivity.this.adapter);
// setListAdapter(MainActivity.this.adapter);




names = arr_date;
//c.close();
//db.close();
//dbHelper.close();



lvMain_today.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView parent, View view,
int position, long id) {
TextView txtView = (TextView) findViewById(R.id.txtTitle);
txtView.setText("blah blah blah");
Log.d(Tag, "position="+position);
// ((TextView) txtDataTaskToday).setTextColor(android.R.color.white);
SparseBooleanArray chosen = ((ListView) parent).getCheckedItemPositions();
for (int i = 0; i < chosen.size(); i++) {
int key = chosen.keyAt(i);
if (chosen.get(key))
Log.d(Tag, "выделены ====="+names[key]);
Log.d(Tag, "itemClick: position = " + position + ", id = "
+ id);}


//****************nen пробная фигня**************

// String[] columns = null;
// String selection = null;
// String[] selectionArgs = null;
// String groupBy = null;
// String having = null;
// String orderBy = null;
// columns = new String[] {"name"};
// selection = "data_id = ?";
// selectionArgs = new String[] {id_for_listtsk_today};//id_for_listtsk_today
// Cursor c = db.query("mytable", columns, selection, selectionArgs, null, null, null);
// String[] arr = logCursor(c);
//**************************************************
// String s=test();
}

});

// lvMain_today.setOnItemSelectedListener(new OnItemSelectedListener() {
// public void onItemSelected(AdapterView parent, View view,
// int position, long id) {
// Log.d(Tag, "Было выделение позиции меню!!!!position = " + position + ", id = "
// + id);
// }
//
// public void onNothingSelected(AdapterView parent) {
// Log.d(Tag, "itemSelect: nothing");
// }
// });
}

private String[] logCursor(Cursor c) {
// TODO Auto-generated method stub
final String Tag="States";
String[] arr_date = new String[c.getCount()];//String[] arr_date = new String[] {};
Log.d(Tag,"мы в курсоре");
if (c!=null) {
if (c.moveToFirst()) {
// Log.d(Tag,"мы в курсоре1");
String str;
int i=-1;
do {
// Log.d(Tag,"мы в курсоре2");
str="";
i=i+1;
for (String cn: c.getColumnNames()) {
str = str.concat(c.getString(c.getColumnIndex(cn)));
}
Log.d(Tag, "++++"+str);
arr_date[i]=String.valueOf(str);
} while (c.moveToNext());

}
}

return arr_date;

}




@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
menu.add(0, 1, 0, "календарь");
menu.add(0, 2, 0, "Убрать выполненные");
menu.add(0, 3, 3, "Уйти");
// menu.add(1, 4, 1, "copy");
// menu.add(1, 5, 2, "paste");
// menu.add(1, 6, 4, "exit");

return super.onCreateOptionsMenu(menu);
// getMenuInflater().inflate(R.menu.main, menu);
//return true;
}

public boolean onOptionsItemSelected(MenuItem item) {
// TODO Auto-generated method stub
StringBuilder sb = new StringBuilder();

// Выведем в TextView информацию о нажатом пункте меню
// txtDataTaskToday.setText("Item Menu");
// txtDataTaskToday.setText(item.getGroupId());
txtDataTaskToday.setText("\r\n itemId: " + String.valueOf(item.getItemId()));
// txtDataTaskToday.setText("\r\n order: " + String.valueOf(item.getOrder()));
// txtDataTaskToday.setText("\r\n title: " + item.getTitle());
switch (item.getItemId()) {
case 1:
Intent intent = new Intent(this, ToDoCalendarActivity.class);
startActivity(intent);
onDestroy();
break;
case 2:

SparseBooleanArray sbArray = lvMain_today.getCheckedItemPositions();
for (int i = 0; i < sbArray.size(); i++) {
int key = sbArray.keyAt(i);
if (sbArray.get(key))
Log.d(Tag, "выделены "+names[key]);
sPref = getPreferences(MODE_PRIVATE);
Editor ed = sPref.edit();
ed.putString(Ten, "1");
ed.commit();
Log.d(Tag, "ставим константу для скрытия");
}


break;
case 3:
sPref = getPreferences(MODE_PRIVATE);
String savedText = sPref.getString(Ten, "");
Log.d(Tag, "ten= "+ savedText);
onDestroy();
//finish();
break;

}

return super.onOptionsItemSelected(item);
}

@Override
protected void onStart() {
super.onStart();
try {
MainActivity.this.onRestart();
} catch (Exception e) {
Log.d(Tag, "не получилось рестартануть");
}
Log.d(Tag, "MainActivity: onStart()");
}



@Override
protected void onResume() {
super.onResume();
Log.d(Tag, "MainActivity: onResume()");
}

protected void onDestroy() {
super.onDestroy();
// закрываем подключение при выходе
// ToDoCalendarActivity.this.finish();
Log.d(Tag, "MainActivity: onDestroy()");
finish();

// db.close();
}
@Override
protected void onPause() {

super.onPause();
//this.dbHelper.close();
Log.d(Tag, "MainActivity: onPause()");
}
@Override
protected void onStop() {
super.onStop();
Log.d(Tag, "MainActivity: onStop()");
}
@Override
protected void onRestart() {
super.onRestart();
// new SelectDataTask().execute();
Log.d(Tag, "MainActivity: onRestart()");

}

// @Override
// public void onClick(View v) {
// // TODO Auto-generated method stub
// switch (v.getId()) {
// case R.id.btnActTwo:
//
// Intent intent = new Intent(this, ToDoCalendarActivity.class);
// startActivity(intent);
// break;
// }
// }

}


MySqlCursorAdapter



public class MySqlCursorAdapter extends SimpleCursorAdapter implements OnClickListener {
final String Tag="States";
private Context context;

private DBHelper dbHelper;
private Cursor currentCursor;
TextView txtTitle;
TextView txtTitle1;

public MySqlCursorAdapter(Context context, int layout, Cursor c,
String[] from, int[] to, DBHelper dbHelper) {

super(context, layout, c, from, to);
Log.d(Tag, "трассировка1" );
this.currentCursor = c;
this.context = context;
this.dbHelper = dbHelper;
Log.d(Tag, "MySqlCursorAdapter()");
Integer b = c.getCount();
Log.d(Tag, "b="+b);
}

public View getView(int pos, View inView, ViewGroup parent) {
Log.d(Tag, "getView() + posss=" + pos);
View v = inView;
if (v == null) {
LayoutInflater inflater = (LayoutInflater) context
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
v = inflater.inflate(R.layout.my_list_item, null);
}

this.currentCursor.moveToPosition(pos);

CheckBox cBox = (CheckBox) v.findViewById(R.id.bcheck);

cBox.setTag(Integer.parseInt(this.currentCursor.getString(this.currentCursor.getColumnIndex(DBHelper.COLUMN_ID))));
Log.d(Tag, "tag="+cBox.getTag().toString());
if (this.currentCursor.getString(this.currentCursor
.getColumnIndex(DBHelper.COLUMN_STATUS)) != null
&& Integer.parseInt(this.currentCursor
.getString(this.currentCursor
.getColumnIndex(DBHelper.COLUMN_STATUS))) != 0) {
cBox.setChecked(true);
} else {
cBox.setChecked(false);
}

cBox.setOnClickListener(this);

txtTitle = (TextView) v.findViewById(R.id.txtTitle);
txtTitle1 = (TextView) v.findViewById(R.id.txtDataTaskToday);
txtTitle.setText(this.currentCursor.getString(this.currentCursor.getColumnIndex(DBHelper.COLUMN_NAME)));
txtTitle1.setText(this.currentCursor.getString(this.currentCursor.getColumnIndex(DBHelper.COLUMN_TASK)));
if (cBox.isChecked()) {
Log.d(Tag, " pos=" + pos);
txtTitle.setPaintFlags(txtTitle.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
txtTitle1.setPaintFlags(txtTitle.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
}

return (v);
}

public void ClearSelections() {
Log.d(Tag, "ClearSelections()");
this.dbHelper.clearSelections();
this.currentCursor.requery();
}

@Override
public void onClick(View v) {
if(dbHelper.dbSqlite==null) {
//Log.d(Tag, "00000000000");
SQLiteDatabase db = dbHelper.getWritableDatabase();
//Log.d(Tag, "onClick");
CheckBox cBox = (CheckBox) v;
Integer _id = (Integer) cBox.getTag();
//Integer _id = 4;
//Log.d(Tag, "Integer _id="+_id.toString());
ContentValues values = new ContentValues();
values.put(" status", cBox.isChecked() ? 1 : 0);
try {
db.update("mytable", values, "_id = ?", new String[] { Integer.toString(_id) });
} catch (SQLException sqle) {
// Log.d(Tag, "неудача");
throw sqle;
}
}

txtTitle.setTextColor(Color.BLUE);

}
}
}


I put a flag in textView in functoin getView() txtTitle.setPaintFlags(txtTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); txtTitle1.setPaintFlags(txtTitle.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); Why is the first line is always crossed out?



.

stackoverflow.comm

[android help]How to create RESTful webservice


Try Vogella tutorials as they provide tutorials in very simple language and great explanation of the topic.


Also you can check another tutorial here.


A good tutorial on using REST in android here and here



.

stackoverflow.comm

[android help]Can CoMIRVA package be used in android?

speech recognition - Can CoMIRVA package be used in android? - Stack Overflow




















I am planning to extract MFCC features in real time so that it can be used for speech recognition in my android application. For the same I have found that there is a package available in java called CoMIRVA. I tried using the package for my application but I am getting some errors. I would like to know if anyone has used the package in android? If so have you encountered any error while using it?


Thanks!!
















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default







.

stackoverflow.comm

[android help]Soundpool not working


I'm doing a simple game and since I need some short sound effects, I thought the Soundpool would be appropriate. But it's not working! I don't get any sounds! I have checked my code over and over again and also compared it with several other examples, but still not working! I'm confused and need some help to get it to work.


Here is my code. Have I missed something or could I do it in another way? preciated some help! Thanks!



soundPool = new SoundPool(4,AudioManager.STREAM_MUSIC, 0);
soundPoolMap = new HashMap();

soundPoolMap.put(0, soundPool.load(this, R.raw.bonk2, 1));
soundPool.play(0, 1f, 1f, 1, 0, 1f);

soundPool.release();


.

stackoverflow.comm

[android help]facebook android sdk 3.0 login another activity crash


I use android sdk 3.0 login code Session in the MainActivity can run ..


but I move to new Activtiy FB.JAVA.can't run .click button crash..


plase how to fix:


MAinActivity.JAVA code



public void fbautotest(View v){

fb myffb=new fb();
myffb.facebookLogin();}


FB.JAVA code



public class fb extends Activity{

private static final List PERMISSIONS = Arrays.asList("publish_actions","user_photos");
private PendingAction pendingAction = PendingAction.NONE;
private enum PendingAction {
NONE, POST_PHOTO, POST_STATUS_UPDATE
}

private StatusCallback callback;
//private Activity mContext;
private Activity mContext;


public void facebookLogin()
{


Session.openActiveSession(mContext, true, new Session.StatusCallback() {

// callback when session changes state

@Override
public void call(Session session, SessionState state, Exception exception) {

if (session.isOpened()) {
Request.executeMeRequestAsync(session, new Request.GraphUserCallback() {

// callback after Graph API response with user object


@Override
public void onCompleted(GraphUser user,
Response response) {



}
});

}
}
});

}
}


Error Code



04-05 06:50:16.246: W/dalvikvm(904): threadid=1: thread exiting with uncaught exception (group=0x40a13300)
04-05 06:50:16.326: E/AndroidRuntime(904): FATAL EXCEPTION: main
04-05 06:50:16.326: E/AndroidRuntime(904): java.lang.IllegalStateException: Could not execute method of the activity
04-05 06:50:16.326: E/AndroidRuntime(904): at android.view.View$1.onClick(View.java:3591)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.view.View.performClick(View.java:4084)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.view.View$PerformClick.run(View.java:16966)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.os.Handler.handleCallback(Handler.java:615)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.os.Handler.dispatchMessage(Handler.java:92)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.os.Looper.loop(Looper.java:137)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.app.ActivityThread.main(ActivityThread.java:4745)
04-05 06:50:16.326: E/AndroidRuntime(904): at java.lang.reflect.Method.invokeNative(Native Method)
04-05 06:50:16.326: E/AndroidRuntime(904): at java.lang.reflect.Method.invoke(Method.java:511)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
04-05 06:50:16.326: E/AndroidRuntime(904): at dalvik.system.NativeStart.main(Native Method)
04-05 06:50:16.326: E/AndroidRuntime(904): Caused by: java.lang.reflect.InvocationTargetException
04-05 06:50:16.326: E/AndroidRuntime(904): at java.lang.reflect.Method.invokeNative(Native Method)
04-05 06:50:16.326: E/AndroidRuntime(904): at java.lang.reflect.Method.invoke(Method.java:511)
04-05 06:50:16.326: E/AndroidRuntime(904): at android.view.View$1.onClick(View.java:3586)
04-05 06:50:16.326: E/AndroidRuntime(904): ... 11 more
04-05 06:50:16.326: E/AndroidRuntime(904): Caused by: java.lang.NullPointerException: Argument 'applicationId' cannot be null
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.internal.Validate.notNull(Validate.java:29)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.Session.(Session.java:224)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.Session.(Session.java:213)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.Session$Builder.build(Session.java:1454)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.Session.openActiveSession(Session.java:863)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.facebook.Session.openActiveSession(Session.java:805)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.example.mk2weibo.fb.facebookLogin(fb.java:45)
04-05 06:50:16.326: E/AndroidRuntime(904): at com.example.mk2weibo.MainActivity.fbautotest(MainActivity.java:410)
04-05 06:50:16.326: E/AndroidRuntime(904): ... 14 more


.

stackoverflow.comm

[android help]Sending Data from the Android App to the Web

web services - Sending Data from the Android App to the Web - Stack Overflow




















I want to develop an android app where in I can send the data from my App to my web service (planning to develop in PHP), on a click of a button.


The data could be any thing from a set of text or integers.


I was reading out the RESTful, but nothing could make me really happy. Can someone suggest how actually i can achieve it, a code snippet could help?
















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default







.

stackoverflow.comm

[android help]Why is the first line is always crossed out?


In my application I use SimpleCursorAdapter. If CheckBox.isChecked() then text should be strikethrough. But why then the first line is always crossed out, even if the CheckBox is not checked



public class MainActivity extends Activity {
// Button btnCalendar;

//*******************************************8
String[] names = {"Иван", "Марья", "Петр", "Антон", "Даша", "Борис",
"Костя", "Игорь", "Анна", "Денис", "Андрей"};
//Button buttonAddTask;
final String Tag="States";
final String Ten = "Ten";
TextView txtDataTaskToday;
String id_for_listtsk_today;
ListView lvMain_today;
String[] arr_date;
SharedPreferences sPref;
static Cursor c;
private ListView listView = null;
SQLiteDatabase db;
//public static String id_for_listtsk_today;
// static SQLiteDatabase db;
MySqlCursorAdapter adapter = null;
//***********************************************8

@Override
protected void onCreate(Bundle savedInstanceState) {
if (getIntent().getBooleanExtra("finish", false)) finish();
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// btnCalendar = (Button) findViewById(R.id.btnActTwo);
// btnCalendar.setOnClickListener(this);

//*********************************************
// переменные для query
String[] columns = null;
String selection = null;
String[] selectionArgs = null;
String groupBy = null;
String having = null;
String orderBy = null;

//*********работа с БД****************
// создаем объект для данных

txtDataTaskToday = (TextView) findViewById(R.id.txtDataTaskToday);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
String id_for_listtsk_today = sdf.format(new Date());
//final String b = id_for_listtsk_today;
txtDataTaskToday.setText("Today: "+id_for_listtsk_today.toString());
// txtDataTaskToday.setPaintFlags(txtDataTaskToday.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);

Log.d(Tag, "id_for_listtsk_today ="+id_for_listtsk_today );
ContentValues cv = new ContentValues();
DBHelper dbHelper = new DBHelper(this);
final SQLiteDatabase db = dbHelper.getWritableDatabase();
columns = new String[] {"name"};
selection = "data_id = ?";
selectionArgs = new String[] {id_for_listtsk_today};
//c = db.query("mytable", columns, selection, selectionArgs, null, null, null);
try {
c=dbHelper.getCursor(id_for_listtsk_today);
} catch (SQLException sqle) {
Log.d(Tag, "неудача");
throw sqle;

}
String[] arr_date = logCursor(c);

//*********работа с БД****************

lvMain_today = (ListView) findViewById(R.id.list);
// lvMain_today.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
//this.listView=getl
//listView = MainActivity.this.getlgetListView();
lvMain_today.setItemsCanFocus(false);
lvMain_today.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
//ArrayAdapter adapter = new ArrayAdapter (this,android.R.layout.simple_list_item_multiple_choice, arr_date);// R.layout.item, my_list_item
startManagingCursor(c);
int[] listFields = new int[] { R.id.txtTitle, R.id.txtDataTaskToday };
String[] dbColumns = new String[] { DBHelper.COLUMN_NAME, DBHelper.COLUMN_TASK };
Log.d(Tag, "трассировка" );
MainActivity.this.adapter = new MySqlCursorAdapter(
this, R.layout.my_list_item,
c, dbColumns, listFields,
dbHelper);
//
lvMain_today.setAdapter(MainActivity.this.adapter);
// setListAdapter(MainActivity.this.adapter);




names = arr_date;
//c.close();
//db.close();
//dbHelper.close();



lvMain_today.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView parent, View view,
int position, long id) {
TextView txtView = (TextView) findViewById(R.id.txtTitle);
txtView.setText("blah blah blah");
Log.d(Tag, "position="+position);
// ((TextView) txtDataTaskToday).setTextColor(android.R.color.white);
SparseBooleanArray chosen = ((ListView) parent).getCheckedItemPositions();
for (int i = 0; i < chosen.size(); i++) {
int key = chosen.keyAt(i);
if (chosen.get(key))
Log.d(Tag, "выделены ====="+names[key]);
Log.d(Tag, "itemClick: position = " + position + ", id = "
+ id);}


//****************nen пробная фигня**************

// String[] columns = null;
// String selection = null;
// String[] selectionArgs = null;
// String groupBy = null;
// String having = null;
// String orderBy = null;
// columns = new String[] {"name"};
// selection = "data_id = ?";
// selectionArgs = new String[] {id_for_listtsk_today};//id_for_listtsk_today
// Cursor c = db.query("mytable", columns, selection, selectionArgs, null, null, null);
// String[] arr = logCursor(c);
//**************************************************
// String s=test();
}

});

// lvMain_today.setOnItemSelectedListener(new OnItemSelectedListener() {
// public void onItemSelected(AdapterView parent, View view,
// int position, long id) {
// Log.d(Tag, "Было выделение позиции меню!!!!position = " + position + ", id = "
// + id);
// }
//
// public void onNothingSelected(AdapterView parent) {
// Log.d(Tag, "itemSelect: nothing");
// }
// });
}

private String[] logCursor(Cursor c) {
// TODO Auto-generated method stub
final String Tag="States";
String[] arr_date = new String[c.getCount()];//String[] arr_date = new String[] {};
Log.d(Tag,"мы в курсоре");
if (c!=null) {
if (c.moveToFirst()) {
// Log.d(Tag,"мы в курсоре1");
String str;
int i=-1;
do {
// Log.d(Tag,"мы в курсоре2");
str="";
i=i+1;
for (String cn: c.getColumnNames()) {
str = str.concat(c.getString(c.getColumnIndex(cn)));
}
Log.d(Tag, "++++"+str);
arr_date[i]=String.valueOf(str);
} while (c.moveToNext());

}
}

return arr_date;

}




@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
menu.add(0, 1, 0, "календарь");
menu.add(0, 2, 0, "Убрать выполненные");
menu.add(0, 3, 3, "Уйти");
// menu.add(1, 4, 1, "copy");
// menu.add(1, 5, 2, "paste");
// menu.add(1, 6, 4, "exit");

return super.onCreateOptionsMenu(menu);
// getMenuInflater().inflate(R.menu.main, menu);
//return true;
}

public boolean onOptionsItemSelected(MenuItem item) {
// TODO Auto-generated method stub
StringBuilder sb = new StringBuilder();

// Выведем в TextView информацию о нажатом пункте меню
// txtDataTaskToday.setText("Item Menu");
// txtDataTaskToday.setText(item.getGroupId());
txtDataTaskToday.setText("\r\n itemId: " + String.valueOf(item.getItemId()));
// txtDataTaskToday.setText("\r\n order: " + String.valueOf(item.getOrder()));
// txtDataTaskToday.setText("\r\n title: " + item.getTitle());
switch (item.getItemId()) {
case 1:
Intent intent = new Intent(this, ToDoCalendarActivity.class);
startActivity(intent);
onDestroy();
break;
case 2:

SparseBooleanArray sbArray = lvMain_today.getCheckedItemPositions();
for (int i = 0; i < sbArray.size(); i++) {
int key = sbArray.keyAt(i);
if (sbArray.get(key))
Log.d(Tag, "выделены "+names[key]);
sPref = getPreferences(MODE_PRIVATE);
Editor ed = sPref.edit();
ed.putString(Ten, "1");
ed.commit();
Log.d(Tag, "ставим константу для скрытия");
}


break;
case 3:
sPref = getPreferences(MODE_PRIVATE);
String savedText = sPref.getString(Ten, "");
Log.d(Tag, "ten= "+ savedText);
onDestroy();
//finish();
break;

}

return super.onOptionsItemSelected(item);
}

@Override
protected void onStart() {
super.onStart();
try {
MainActivity.this.onRestart();
} catch (Exception e) {
Log.d(Tag, "не получилось рестартануть");
}
Log.d(Tag, "MainActivity: onStart()");
}



@Override
protected void onResume() {
super.onResume();
Log.d(Tag, "MainActivity: onResume()");
}

protected void onDestroy() {
super.onDestroy();
// закрываем подключение при выходе
// ToDoCalendarActivity.this.finish();
Log.d(Tag, "MainActivity: onDestroy()");
finish();

// db.close();
}
@Override
protected void onPause() {

super.onPause();
//this.dbHelper.close();
Log.d(Tag, "MainActivity: onPause()");
}
@Override
protected void onStop() {
super.onStop();
Log.d(Tag, "MainActivity: onStop()");
}
@Override
protected void onRestart() {
super.onRestart();
// new SelectDataTask().execute();
Log.d(Tag, "MainActivity: onRestart()");

}

// @Override
// public void onClick(View v) {
// // TODO Auto-generated method stub
// switch (v.getId()) {
// case R.id.btnActTwo:
//
// Intent intent = new Intent(this, ToDoCalendarActivity.class);
// startActivity(intent);
// break;
// }
// }

}


MySqlCursorAdapter



public class MySqlCursorAdapter extends SimpleCursorAdapter implements OnClickListener {
final String Tag="States";
private Context context;

private DBHelper dbHelper;
private Cursor currentCursor;
TextView txtTitle;
TextView txtTitle1;

public MySqlCursorAdapter(Context context, int layout, Cursor c,
String[] from, int[] to, DBHelper dbHelper) {

super(context, layout, c, from, to);
Log.d(Tag, "трассировка1" );
this.currentCursor = c;
this.context = context;
this.dbHelper = dbHelper;
Log.d(Tag, "MySqlCursorAdapter()");
Integer b = c.getCount();
Log.d(Tag, "b="+b);
}

public View getView(int pos, View inView, ViewGroup parent) {
Log.d(Tag, "getView() + posss=" + pos);
View v = inView;
if (v == null) {
LayoutInflater inflater = (LayoutInflater) context
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
v = inflater.inflate(R.layout.my_list_item, null);
}

this.currentCursor.moveToPosition(pos);

CheckBox cBox = (CheckBox) v.findViewById(R.id.bcheck);

cBox.setTag(Integer.parseInt(this.currentCursor.getString(this.currentCursor.getColumnIndex(DBHelper.COLUMN_ID))));
Log.d(Tag, "tag="+cBox.getTag().toString());
if (this.currentCursor.getString(this.currentCursor
.getColumnIndex(DBHelper.COLUMN_STATUS)) != null
&& Integer.parseInt(this.currentCursor
.getString(this.currentCursor
.getColumnIndex(DBHelper.COLUMN_STATUS))) != 0) {
cBox.setChecked(true);
} else {
cBox.setChecked(false);
}

cBox.setOnClickListener(this);

txtTitle = (TextView) v.findViewById(R.id.txtTitle);
txtTitle1 = (TextView) v.findViewById(R.id.txtDataTaskToday);
txtTitle.setText(this.currentCursor.getString(this.currentCursor.getColumnIndex(DBHelper.COLUMN_NAME)));
txtTitle1.setText(this.currentCursor.getString(this.currentCursor.getColumnIndex(DBHelper.COLUMN_TASK)));
if (cBox.isChecked()) {
Log.d(Tag, " pos=" + pos);
txtTitle.setPaintFlags(txtTitle.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
txtTitle1.setPaintFlags(txtTitle.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
}

return (v);
}

public void ClearSelections() {
Log.d(Tag, "ClearSelections()");
this.dbHelper.clearSelections();
this.currentCursor.requery();
}

@Override
public void onClick(View v) {
if(dbHelper.dbSqlite==null) {
//Log.d(Tag, "00000000000");
SQLiteDatabase db = dbHelper.getWritableDatabase();
//Log.d(Tag, "onClick");
CheckBox cBox = (CheckBox) v;
Integer _id = (Integer) cBox.getTag();
//Integer _id = 4;
//Log.d(Tag, "Integer _id="+_id.toString());
ContentValues values = new ContentValues();
values.put(" status", cBox.isChecked() ? 1 : 0);
try {
db.update("mytable", values, "_id = ?", new String[] { Integer.toString(_id) });
} catch (SQLException sqle) {
// Log.d(Tag, "неудача");
throw sqle;
}
}

txtTitle.setTextColor(Color.BLUE);

}
}
}


I put a flag in textView in functoin getView() txtTitle.setPaintFlags(txtTitle.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); txtTitle1.setPaintFlags(txtTitle.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); Why is the first line is always crossed out?



.

stackoverflow.comm

[android help]How to create RESTful webservice


Try Vogella tutorials as they provide tutorials in very simple language and great explanation of the topic.


Also you can check another tutorial here.


A good tutorial on using REST in android here and here



.

stackoverflow.comm

[android help]Can CoMIRVA package be used in android?

speech recognition - Can CoMIRVA package be used in android? - Stack Overflow




















I am planning to extract MFCC features in real time so that it can be used for speech recognition in my android application. For the same I have found that there is a package available in java called CoMIRVA. I tried using the package for my application but I am getting some errors. I would like to know if anyone has used the package in android? If so have you encountered any error while using it?


Thanks!!
















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default







.

stackoverflow.comm

[android help]Soundpool not working


I'm doing a simple game and since I need some short sound effects, I thought the Soundpool would be appropriate. But it's not working! I don't get any sounds! I have checked my code over and over again and also compared it with several other examples, but still not working! I'm confused and need some help to get it to work.


Here is my code. Have I missed something or could I do it in another way? preciated some help! Thanks!



soundPool = new SoundPool(4,AudioManager.STREAM_MUSIC, 0);
soundPoolMap = new HashMap();

soundPoolMap.put(0, soundPool.load(this, R.raw.bonk2, 1));
soundPool.play(0, 1f, 1f, 1, 0, 1f);

soundPool.release();


.

stackoverflow.comm

&#9733;&#9758; [Rom][4.1.2] Jelly 'Beans' - Build 14 [04/04/13][Fully Customizable][VRBMB1] &#9756;&#9733;

beanstown106's Avatar
Senior Member - OP

Thanks Meter 5253


Posts: 952


Join Date: Dec 2011


Location: Springfield, Ma




Flag

Carrier






DONATE TO ME



Default★☞ [Rom][4.1.2] Jelly 'Beans' - Build 14 [04/04/13][Fully Customizable][VRBMB1] ☜★




Build 14


Jelly Beans is Geared Towards Users that want the look of AOSP but want the stability and feautures of touchwiz



Code:



Aroma Feature's:
-Carrier Selection (Vzw, Att, Tmo, Spr)
-Selectable Applications
-Google: Talk, Maps, Youtube, HD Youtube, Gmail, Play Music
-Samsung: Allshare, Kies, Live Wallpapers, Sphoto editor, Paper Artist,Mobile Print, Smemo, Svoice, SCalendar,
-Misc:dropbox w 50gb hack, flash player, ad blocking, Polaris Viewer, Wireless Tether, Vpn, terminal emulator, Anti-Aliasing
-Launcher Selection (Stock Touchwiz, 4x5 Touchwiz, Apex, Nova)
-Email App Selection (Stock, Hacked Stock, Aosp)
-SMS App Selection (Touchwiz, Aosp, Inverted Aosp)
-Keyboard Selection (Touchwiz Keyboard, 4.2 Keyboard)
-Music Selection (Touchwiz Music, Apollo)
-File Explorer Selection (Stock, Es File explorer)
-SystemUi Mods (Sense Recents, Stock Recents, brightness slider on/off)
-Lidroid Mods (# of toggles shown, color of toggles, text of toggles on/off)
-Sound Selection (Aosp or Tw Ui Sounds)
-Carrier Specific App Selection
-Carrier Specific Kernel Selection

Feature's:
-Based off of Scotts Deodexed OTA 4.1.2 VRBMB1
-Clock alingment toggle
-am/pm size toggle
-day of the week toggle
-longpress to skip tracks toggle
-keyboard switcher toggle
-battery icon picker toggle
-MIUI Battery Bar Toggle
-Re-Themed To be JB Aosp Looking
-True Init.D Support
-Sense 4 Recents
-Enabled Mobile Hotspot
-Removed Annoying Location Icon
-Removed All traces of Software Update
-Removed 100% battery full Notification
-Removed Easy Mode
-Enabled All Rotations
-Added Ringtones MIUI/CM
-Build.prop Tweaks
-23 toggle mod
-5 Lockscreen Mod
-custom settings
-rom control
-1% Battery Mod
-3 size resizable popup browser
-4-way Reboot Menu
-Zipaligned
-non fading ringtone mod
-wifi notif killer mod
-50Gb Free Dropbox
-Xposed Framework
-Xposed Tweakbox
-Per App Dpi Settings
-Pie Control
-MUCH MORE





Code:



Build 14 - 04-03-2013
<*>redid Aroma installer
<*>annoying wifi suggestion now off by default!
<*>ripple effect is now off by default
<*>completely removed backup assistant
<*>xposed disabler is now pushed to sdcard
<*>4.2.2 downgrade zip is pushed to sdcard
<*>took out 4.2 cam made flashable zip
<*>redid my init.d scripts, combined
<*>redid custom settings and rom control
<*>fixed any tw mms bugs there were
<*>fixed twrp saying root is broken
<*>fixed google now bugs
<*>added back note2 cam/gallery option
<*>added multicarrier support vzw,att,tmo,spr
<*>added carrier kernel and app selections
<*>added nfc terminal capability FU VZW
<*>added apn editor for vzw use any sim now
<*>added pie control & settings to cus setting
<*>added dormant mode to custom settings
<*>added xposed installer to custom settings
<*>added xposed tweakbox to custom settings
<*>added per app dpi to custom settings
<*>added stock samsung bootanim just incase
<*>updated inverted aosp mms to 3.1 version
<*>updated adobe flash to newest version
<*>updated kt747 kernel and added bootanim
<*>updated google now,samsung push, apex

Build 13 - 03-18-2013
<*>hopefully fixed any aroma freezes
<*>completely redid rom from ground up
<*>combined mine and didacts rom control
<*>new lidroid settings app no beacons now
<*>removed scrolling cache
<*>fixed some phone theming
<*>all aroma batteries are in rom control
<*>added time placement toggle
<*>added ampm toggle
<*>added day of week toggle
<*>added didacts lockscreens and toggles
<*>added longpress to skip tracks toggle
<*>added Battery Icon Toggle
<*>added keyboard switcher toggle
<*>updated kt747 kernel to 3-14-13
<*>updated imoseyon Kernel to 2.1
<*>updated Rom to new 4.1.2 VRBMB3 OTA
<*>updated SuperSU, Kies, dropbox
<*>updated group play,google now, my verizon
<*>updated hacked stock email

Build 12 - 02-28-2013
<*>full framework-res theme overhaul
<*>fixed copy and paste bug
<*>updated Phone Theme
<*>updated contacts theme
<*>updated touchwiz email theme
<*>updated host blocking file
<*>updated imoseyons kernel to 2.0
<*>updated Kt 747 Kernel to 2-19-13 version
<*>updated 720 youtube to new version
<*>updated Supersu, nova
<*>reverted lockscreen clock to stock
<*>added nano and bash text editors
<*>added back labels on apps phone/contacts
<*>added back labels on apps videos/music
<*>Added Samsung Setup Wizard Option
<*>added back missing keyboard switcher
<*>added touchwiz email with security disabled

Build 11 - 02-18-2013
<*>JellyBean's Now has ota updates
<*>Added option for Recent apps
<*>Added Aosp Email w/ security disabled
<*>Added Stock Mms screen off option
<*>added aosp lockscreen time images
<*>Added BeansRom Section to about phone
<*>Added root detection killer
<*>Added Lidroid 23 toggle's
<*>Added Note2 shutdown animation
<*>Added choice of 5,6,7 toggles
<*>Added choice of text on toggles
<*>Added choice of toggle color
<*>Added New JellyBeans Bootanim
<*>Fixed battery being cutoff
<*>Fixed hidden toggle labels
<*>Fixed Battery Drain issues
<*>updated Contacts Theme
<*>updated Phone Theme
<*>updated framework theming
<*>updated Custom Settings app
<*>updated SuperSu
<*>updated Kt747 Kernel to 2-07-13
<*>updated Google Music, nova, apex, teminal
<*>updated Kies air, Dropbox

Build 10 - 01-30-2013
<*>JellyBean's is now on rom toolbox
<*>longpress now works with all music apps
<*>tw mms, aosp mms or inv aosp mms option
<*>fixed fc on mms with dirty flash
<*>Fixed Aosp Mms install issue
<*>Fixed inverted colors in theme
<*>Fixed Emergency Dialer theme
<*>Removed call recording til its fixed
<*>Removed MultiWindow
<*>Removed Ink effect
<*>Removed Bravia Engine
<*>Added Sense 4 Recent apps
<*>Added samsung calendar option
<*>Added 8 lockscreen mod
<*>Added Anti-Aliasing Option
<*>Added 4.2 cam/gallery Option
<*>Added new dialer sound
<*>Added 720p youtube w/screen off option
<*>Added ktoons kt747 kernel
<*>Added Bootanim Support to kt747 kernel
<*>updated imoseyon's lean kernel to 1.8
<*>updated Touchwiz Launcher theme
<*>updated Contacts theme
<*>updated Touchwiz Mms theme
<*>updated Tw Music Player theme
<*>updated Task Manager theme
<*>updated Camera theme
<*>updated All Apps

Build 9 - 01-14-2013
<*>fixed auto install of dropbox and flash
<*>removed google ears get from market
<*>treves tether now installs to data not system
<*>updated to imoseyon lean kernel 1.6
<*>added fully working aosp mms
<*>added multiwindow support
<*>added Pdroid security support
<*>removed lock from lockscreen
<*>added ink effect
<*>reuploaded with date and time fc fix

Build 8 - 01-02-2013
<*>added new imoseyon lean kernel 1.4
<*>build prop edits and csc edits
<*>option for note2 or s3 cam/gallery
<*>best group photo comes with note2 cam now
<*>redid aroma setup and organized apps etc
<*>added option for mobile print and s photo
<*>added weather, lockscreen options to aosp
<*>fixed menu button unlock bug aosp lockscreen
<*>redid install method so it doesnt lock up
<*>option for ics blue or white toggles
<*>added lockscreen torch and toggle
<*>added back samsung cloud stuff
<*>cb message **** is NO more
<*>updated kies, es file, nova, and terminal
<*>finally aosp themed framework-res
<*>option for call recording
<*>some theming fixs..

Build 7 - 12-21-12
<*>removed acid, beats, kt747
<*>removed vzw accesories
<*>fixed ui sound selection
<*>updated imoseyon kernel to 1.2.1
<*>fixed wallpaper changing on note2 gallery
<*>removed 4.2 gmail as it is now irrelevant
<*>ad blocking is now an option
<*>fixed 4.2 keyboard enter issue
<*>fixed stock email coloring issues
<*>framework-res and phone.apk themeing fixs
<*>added option for terminal
<*>tweaks for moar SPEED
<*>added treveE's Wifi Tether
<*>note 2 cam/gallery are now default
<*>bye bye s3 cam/gallery
<*>updated ad blocking host file
<*>updated apps

Build 6 - 12-10-12
<*>updated to VRBLK3 Base
<*>some framework-res theming
<*>fixed theming in volume icons
<*>added kernel options Stock, imoseyon, kt747
<*>added option for acid audio engine
<*>added option for awesome beats(acid addon)
<*>added option for aosp or tw ui sounds
<*>updated all apps
<*>added modded popup browser


YOU MUST BE UNLOCKED

Step 1-
Make sure u are unlocked
Step 2-
Wipe all(factory reset and davlick wipe) if coming from an old build
Step 3-
Install the Rom
Step 4-
Reboot and Enjoy!


aosp apps are added for convenience and are not supported.. i will do my best to get them to work as well as possible but for full stability use touchwiz based apps

All lockscreens other than stock Lockscreen will force close in landscape if you have ripple effect enabled

Also the white line at the top of screen is MIUI battery bar u can disable it inrom control or change the default colors to what is picked u just need to go into the colors and hit ok on each default color!

also as with any custom kernel if u have a 64gb sdcard it needs to be formatted to fat32!(do it this is never going to change, might as well get it done)

if you would like to request feature's or report bugs i have set up a google document for that just please keep it in the same order it is in
https://docs.google.com/spreadsheet/...zM19fdGc#gid=0

kernels contained in rom are
Imoseyon's: https://github.com/imoseyon/leanKernel-d2vzw
kt747: https://github.com/ktoonsez/KT747-JB





"If you like my work please consider Buying Me a Beer"


Follow me @BeansTown106, Massive Props to Everyone that has donated, its much appreciated, if you cant donate at least say thanks!


Current Device's: Verizon Galaxy S3, Verizon Galaxy Note 2, Nexus 7 Retired Device's: Droid RaZr, Droid2, Droid 2 Global, Droid X, Droid Incredible My Github: https://github.com/beanstown106




.

forums.androidcentral.com

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...