[android-developers] GoogleAnalytics v2 and Proguard

2012-10-31 Thread mighter
I use Google Analytics V2 library in my project. When I export signed application package from Eclipse I get following output in Console: Proguard returned with error code 1. See console Warning: com.google.analytics.tracking.android.FutureApis: can't find referenced method 'boolean setRead

[android-developers] Override Activity from Library project in Android project

2012-10-17 Thread mighter
I have the Library project and it contains two Activities. MainActivity launches ChildActivity. In the Android project which uses the Library project I want to override ChildActivity. Is it even possible? Here's my question on SO http://stackoverflow.com/questions/11683697/how-do-i-split-my-pro

[android-developers] Multiple intents of the same tipe for AlarmManager

2012-07-24 Thread mighter
I use AlarmManager to start Service at specific time. intent = new Intent(ACTION_RECORDER_START); intent.putExtra(EXTRA_COMMAND_ID, command.id); pendingIntent = PendingIntent.getService(context, 0, intent, PendingIntent.FLAG_ONE_SHOT); alarmManager.set(AlarmManager.RTC_WAKEUP, command.star

[android-developers] SMS duplicated as calls on galaxy s II(ICS)

2012-07-10 Thread mighter
Ok, guys, here's my code for getting SMS: Cursor cursor = getContentResolver().query(Uri.parse(uri), null, CallLog.Calls.DATE + " > " + lastSmsTime, null, CallLog.Calls.DATE + " ASC"); Where type is: "content://sms/inbox" "content://sms/sent" And for calls: String[] pro

[android-developers] Loading textures in native code using only C++

2012-01-17 Thread mighter
I need to load textures for rendering objects in native part of Android app. For now there's combination of Java/C++ implementation, where bitmap data is loaded using Android Bitmap and then this data is accessed by C++ code to get textures. I want to load textures using only C++. Any suggesti

[android-developers] Android clearing table via ContentProvider

2010-12-28 Thread mighter
down vote favorite How do I clear the whole table using content provider properly? Now I use this: private void clearDB(){ ContentResolver cr=getContentResolver(); String where=FeedProvider.KEY_ID+" > '0'"; cr.delete(FeedProvider.ITEMS_URI, where, null); } But it seems to me that is

[android-developers] SQLite application

2010-10-06 Thread mighter
Hi, I'm trying to make an application that works with SQLite database. My problem is how to transmit data from one Activity to another. For example, when user selects field from listview(binded to table in DB), I neen to start Activity, that shows particular data from another table. I'm new to Andr