[android-developers] Can't Update Android App
Hello, By mistake I deleted and overwrites the pass.jsk file, now I don't remember "Key alias" but I remember the password. But I have tried many Key alias but they are not working and I am getting error while updating the app: http://prntscr.com/bbyyu3 So anyone can help me to update the app please. Thanks Pankaj Jangir -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/f3bbab07-0ac6-4441-a2b0-900f0fb64a46%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Can't update widget preview on Nexus 5/Lollipop
I am modifying a widget product, including an all-new screen layout. The development is going well and I'm about ready to release the update, but am having a very interesting anomaly on my Nexus 5 with the recent Lollipop upgrade. Basically, no matter what I do, the widget preview shown in the launcher's widget screen is the one from the previous version that was installed -- not the updated one in my widget. The old preview graphic does not exist anywhere in my project structure and I even gave the new preview a different name. The really strange thing is that the old image persists even if I completely uninstall the widget from the Apps Manager, then reboot the phone and install the new version. Interestingly, when I press and hold the preview image and begin to drag it onto my home screen, the image changes to the new one as I drag it! Obviously, the launcher has the old image cached somewhere and does not clear it out when the widget is deleted and does not check to see if it has changed when installing the same widget again. The preview on the widget screen does update as expected on my other devices. Anyone have any ideas? Is this a Lollipop bug? Doug Gordon GHCS -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Can't update browser bookmarks
I have come across an awkward issue, and I would very much appreciate your help to find out what I am doing wrong. I have an app which among other things allows users to edit bookmarks in the Android Browser's bookmark store. It uses the ContentResolver.query, .insert, .delete, and .update methods, with the URI Browser.BOOKMARKS_URI. It all works well under Android 2, but on Androids 3 and 4 the .update command does not appear to work. I have tried everything I can think of, and just cannot make it work. To repeat this issue yourself in under one minute, create a new app with an Activity named BookmarkTestingActivity and paste in the source at the bottom of this post. Also add these two permissions to the Manifest: uses-permission android:name=com.android.browser.permission.READ_HISTORY_BOOKMARKS/ uses-permission android:name=com.android.browser.permission.WRITE_HISTORY_BOOKMARKS/ This source simply inserts a new bookmark with title Test and url http://test.com;, attempts to update the url to http:// updated.test.com, then Logs the url after that attempted change. In Android 2, the url correctly changes to http://updated.test.com; but in Androids 3 and 4 it remains at http://test.com;. The same thing happens when I try updating other fields or using different select variables etc. I'm testing with the latest SDK in Eclipse, on Android 2.3.3, Android 3.1, and Android 4.0.3. I can work around the problem of course by doing a delete then another insert, but that's not the point :) Thanks in advance! James. Source to repeat this issue: === public class BookmarkTestingActivity extends Activity { private static String LOGTAG = BookmarkTesting; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // Insert a new bookmark, with title Test, and url http:// test.com. ContentValues cv=new ContentValues(); cv.put(Browser.BookmarkColumns.TITLE, Test); cv.put(Browser.BookmarkColumns.URL, http://test.com;); cv.put(Browser.BookmarkColumns.BOOKMARK, 1); getContentResolver().insert(Browser.BOOKMARKS_URI, cv); // Update the url of all bookmarks with title Test, to http:// updated.test.com. cv.clear(); cv.put(Browser.BookmarkColumns.URL, http://updated.test.com;); getContentResolver().update(Browser.BOOKMARKS_URI, cv, BookmarkColumns.TITLE+=?, new String[]{Test}); // Log out what the url is now. Cursor cur = this.getContentResolver().query(Browser.BOOKMARKS_URI, null, BookmarkColumns.TITLE+=?, new String[]{Test}, null); if (cur == null) { Log.e(LOGTAG, Cursor null); } else if (cur.getCount() == 0){ Log.e(LOGTAG, Cursor empty); } else { cur.moveToFirst(); Log.e(LOGTAG, URL is now +cur.getString(cur.getColumnIndex(BookmarkColumns.URL))); } this.finish(); } } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Can't update..
File not found: C:\Program Files (x86)\Android\android-sdk\temp \android-15_r01.zip (Access is denied) WTF?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Can't update my app in the Android Market
I realized yesterday that I had signed in with the wrong account. uploaded an iPhone app -- very funny. Susan On Mon, Dec 5, 2011 at 11:22 PM, TreKing treking...@gmail.com wrote: On Sun, Dec 4, 2011 at 12:25 PM, scrayne susancra...@gmail.com wrote: Does anyone know why I am not seeing this? You signed in with the wrong account and didn't realize? You got banned / suspended and didn't realize? You actually uploaded an iPhone app and didn't realize? - TreKing - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Can't update my app in the Android Market
When I log in at market.android.com/publish, I see a page that invites me to register to upload an app. I am already registered and have an app in the Android Market. I believe I am supposed to see a page which allows me to update my app. Does anyone know why I am not seeing this? Thanks. Susan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Can't update my app in the Android Market
On Sun, Dec 4, 2011 at 12:25 PM, scrayne susancra...@gmail.com wrote: Does anyone know why I am not seeing this? You signed in with the wrong account and didn't realize? You got banned / suspended and didn't realize? You actually uploaded an iPhone app and didn't realize? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Can't update event on phone's calendar from code
I've posted this question herehttp://stackoverflow.com/questions/7656343/cant-update-event-on-phones-calendar-from-codewithout any luck. I'm attempting to update a calendar's event on my phone from my code, but context.getContentResolver().update keeps returning 0, and of course there are no changes made to the event when I look at it in the Calendar app. I have android.permission.READ_CALENDAR and android.permission.WRITE_CALENDAR set in the manifest. I'm getting the event ID, start time, etc with context.getContentResolver().query, and I'm getting unique numbers like 431, 4, 233, etc, so I'm presuming the event IDs I'm using are real. I understand the official way to do this is to go through Google's servers instead of using update(), but for my implementation it doesn't make sense to do it that way (or even in general, but I digress). Am I doing something wrong, or am I trying to do something that Android simply isn't going to allow? Uri updateEventUri = ContentUris.withAppendedId(Uri.parse(content://com.android.calendar/events), id); ContentValues cv = new ContentValues(); begin.set(Calendar.HOUR_OF_DAY, arg0.getCurrentHour()); //begin is a java.util.Calendar object begin.set(Calendar.MINUTE, arg0.getCurrentMinute()); //cv.put(_id, id); //cv.put(title, yeahyeahyeah!); cv.put(dtstart, begin.getTimeInMillis()); int updatedrowcount = context.getContentResolver().update(updateEventUri, cv, null, null); System.out.println(updated +updatedrowcount+ rows with id +id); A related question was posted here with no replies Update Android Calendar Eventhttp://stackoverflow.com/questions/5636350/update-android-calendar-event Let me know if I can clarify anything; I would really appreciate any input you guys and gals could provide! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Can't Update Existing contacts phone number
i'm trying to update phone number of all existing contacts, below code run but don't update contact phone number package com.third; import android.app.Activity; import android.content.ContentUris; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.Contacts.People.Phones; import android.provider.ContactsContract; import android.provider.ContactsContract.CommonDataKinds.Phone; import android.provider.ContactsContract.Contacts; import android.provider.ContactsContract.Data; import android.util.Log; public class ThirdAppActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Cursor cursor = getContentResolver().query(ContactsContract.Contacts.CONTENT_URI,null, null, null, null); while (cursor.moveToNext()) { String contactId = cursor.getString(cursor.getColumnIndex( ContactsContract.Contacts._ID)); String hasPhone = cursor.getString(cursor.getColumnIndex(ContactsContract.Contacts.HAS_PHONE_NUMBER)); Cursor phones = getContentResolver().query( ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, ContactsContract.CommonDataKinds.Phone.CONTACT_ID + = + contactId, null, null); while (phones.moveToNext()) { String phoneNumber = phones.getString(phones.getColumnIndex( ContactsContract.CommonDataKinds.Phone.NUMBER)); ContentValues values = new ContentValues(); values.clear(); values.put(Phones.NUMBER,1234567890); values.put(Phones.TYPE,2); Uri phoneUri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, Long.valueOf(contactId)); int raw= getContentResolver().update(phoneUri, values, null, null); } phones.close(); } } } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Can't update view
I am populating (through inflation) an XML file and then I want to update the textSize of each TextView and redraw it, but it's not updating the view with new textSize. Here is the code: public class Contacts extends ListActivity { private SimpleCursorAdapter mAdapter; private Integer totalContactsMade; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Cursor cursor = getContentResolver().query (People.CONTENT_URI, null, null, null, People.NAME + ASC); startManagingCursor(cursor); String[] columns = new String[] { People.NAME}; int[] names = new int[] {R.id.row_entry}; mAdapter = new SimpleCursorAdapter(this, R.layout.main, cursor, columns, names); setListAdapter(mAdapter); Integer contactCount = getListView().getCount(); for(Integer i=0; icontactCount; i++) { LinearLayout layout = (LinearLayout) mAdapter.getView(i, null, null); if(layout != null) { TextView view = (TextView) layout.findViewById(R.id.row_entry); if(view != null) { view.setTextSize(6.0f); view.requestFocus(); view.getParent().requestLayout (); view.requestLayout(); view.postInvalidate(); // I have tried to invalidate the layout also, but it doesn't work layout.requestFocus(); layout.requestLayout(); layout.postInvalidate(); } } } } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Can't update app of ADC2, can't publish on Market in same package...
Hi everyone, I've submitted one app for ADC2, after two or three days, I can't get into the app's entry or update. I tried IE and it's not firefox's fault. Then I found I can't publish on Market in same package... I have to change my app from com.* to net.* Now the judging app comes out, it's a complicated procedure to understand. It's like lottery for me. Just wanna know: If common users can't get the apps of ADC2, why can't I publish in same package? And how does the Terms or something about users' judge work? So confused... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---