Closed sagarvekariyam closed 5 years ago
@sagarvekariyam Has the issue resolved? Where is the code where you are fetching the images from Internet?
you need to pass the sticker id not the sticker name in the intent. you need to change this line:-
intent.putExtra(StickerPackDetailsActivity.EXTRA_STICKER_PACK_ID, downloadpack.name);
to
intent.putExtra(StickerPackDetailsActivity.EXTRA_STICKER_PACK_ID, downloadpack.identifier);
Override the sticker pack with Old sticker pack issue in android. How can I solve it? Any one have faced this issue, help me!
@sagarvekariyam can you please help me with where and how should I add my server url? can you share me your application?
Is this issue solved ?
@sagarvekariyam, @ahkohd, @piyushbhanu Hey guys, can you tell me the approach you are using for the downloading and inserting into the content provider. I'm able to download the icon packs to my internal storage but not sure what next has to be done. As the given example shows getting icons pack from assets folder. Any suggestion or sample code help will be highly appreciated Thanks
@simonzhexu I am creating an app for WhatsApp stickers and I am fetching data from the server. When a user adds a sticker to WhatsApp, it will download the sticker file into the folder. My problem is that when I download the sticker and after that set it on WhatsApp, it will give me the following error in the imagelink below https://i.stack.imgur.com/bG03J.jpg
Behavior of the app: The first time that I download the sticker and add it to the WhatsApp, it gives me the error above. However, when I remove the app from memory and reopen the app, it will work properly. Why is the app behaving like this and what is the problem?
here is my code for the StickerContentProvider.java