how to change android package name on phonegap build website - phonegap-build

i am trying to upload my apk on google play store but i am seeing this error: You need to use a different package name because com.phonegap.www is used by a pre-installed application. To upload a pre-installed application, please contact Google Play Developer Support. Learn more.
You need to use a different package name because "com.phonegap.www" already exists in Google Play. i just export my project as html from anyflip book as maker i didn't follow the phonegap normal build, please tell me how to change my package nameenter image description here

Change it in your config file before you upload anything.

In the root folder you have a file called config.xml. The second line of that file starts with <widget and it has an attribute id="com.phonegap.www". Change it to your own domain name for the app you're building, or to any value that should be globally unique. Then zip your folder, upload it to PhoneGap and try again.

Related

Website with auto updating image from latest file in folder

I am a noob with everything related to coding, except for some knowledge of the linux command line. Anyway, I have this idea for a project. I need a website with an image that updates every few hours or so. I have a folder in google drive, and every few hours a new image is uploaded. These times are not regular, but as long as the website gets the new photo within an hour-2hours, it will be fine. I was thinking of making an alias folder that links to the latest image in a folder (like how apple does it with time machine backups) if that makes sense. Then I would copy the link on google drive (of the alias folder) and put that into wordpress. It would pull that link, which would go to the latest image in a folder. I have a feeling that this would not work out, however. Basically, I just want an automated updater to pull the latest image from a google drive folder and publish it to the website. If it needs to be local, I could use the backup and sync for drive and the google drive folder would be synced to my local machine.
Another thing I was thinking of was a automatic slideshow maker. I would use some kind of script in google to delete all files in a folder except for the latest one. Then I would use the automatic slideshow maker to make a slideshow based on data in the particular google drive folder, which would be the latest photo.
Again, these are just some ideas that I have had, and they are both likely not going to work.
I have a self hosted web server (docker) and could put a wordpress instance on that, or I could use an online website builder like weebly or wix or even google sites. It needs to be free because this is for a community service project and I do not want to have to constantly fundraise. However, if my only option requires payment, I am open to that.
Does anybody have a solution for this?
Thanks!
There are several ways to achieve what you desire.
One approach:
I would suggest naming the image that you put in drive with the same filename. (renaming the old ones, as each new image is uploaded)
Google Apps script makes it easy (and free) to deploy a Web App, and using it gives you the benefit of using it's Drive Service among others.
Use a time-driven trigger to execute a function that renames your images so that the most recently uploaded one has the name of the image your website is requesting.
Alright, I have found an awesome solution! First, I setup a google account and made a folder in google drive. Then, I downloaded an app called DriveSync. I used the app Automate (by llamalab) to take photos (you can program it however you want it to trigger the photo). The trigger happens, then it deletes a file called latest.jpg in the Automate Image folder (on the android phone). Then it takes a photo with an image name of latest.jpg. And all of this is synced to the remote Google Drive Folder thanks to DriveSync. So now we have a synced google drive folder. Then, I setup a Wordpress Instance. Get the Add-On called Image and video gallery from Google Drive here https://wordpress.org/plugins/skaut-google-drive-gallery/. Now, follow the steps to link up your google drive folder to it, and configure your website to display this addon on your page of choice. It will pull the only image in the folder we configured earlier, and it will display it on the website! Plus it auto updates. Also, you can configure the image size which is helpful as this was probably meant to display more than one photo, but with only one photo there is a lot of empty space.
Hope you found this helpful!

How to change package name already taken in Google Play but not published yet

I have set up a package name like "com.correct.aaa" for my new app in Google Play.
But after I uploaded apk with wrong packege name like "com.wrong.bbb", google play takes my wrong package name, and replace over the old one...
When I re-upload a new apk with correct package name, I got Upload failed "Your APK or Android App Bundle needs to have the package name com.wrong.bbb"
How can I change it back to my original package name???
Thanks,
You need to create a new application in the Play Console. It is not possible to change the package name after the first upload.
we can delete the app if it is in draft and create one. but once it is published we cannot delete it.

can i send a tiny database from app inventor via whatsapp

I am trying to send a voice note from app inventor via whatsapp can I do that ,the activity starter isn't helping me at all. I tried creating a file text but still cant get through.It says unsupported file format.
Yes you can share via WhatsApp. You need to add element "sharing" for that.
Here's the example of sharing the image file to the whats app through the app created with app inventor.
But first you need to understand that there are two paths for any files while creating apps with app inventor.
Path where files are stored while development (live previews)
Path where files are stored after producing the app
path while development is:
file:///mnt/sdcard/AppInventor/assets/myFile
path after production is:
file:///android_asset/myFile
So while using "SHARE" component of app inventor you have to specify both paths to avoid any errors in future.
So here is the app:
Front End Arrangements:
Block Arrangements:
Pay attention to the if then else block.
It says if the image is not in the development path then the app is installed in the phone(produced). It saves our time to change path very often(and saves us from error if we forget to change paths)
Snapshot from the app:
After pressing share button:
After sharing through whats app:

Xamarin Component Submission - Unable to extract XPKG archive on Windows

I am trying to create a xamarin XPKG for component submission as described here.
In Xamarin components store, Xamarin has provided a link to download .exe file for creating the Xamarin package which has to be extracted.
But, for some reason, I am unable to extract that file after downloading. It is not a zip file. What am I doing wrong?
The issue was that the proper file extension wasn't added when downloading the archive to Windows. The solution is to simply re-name the file and add .zip at the end.

Media Error with Google App Engine Deployment

I have successfully deployed a running website on the app engine - here is the URL:
https://black-backup-96302.appspot.com/
This website was on a PHP hosting, and we migrated it to Google Apps, and deployed it using the App Engine. I understand that to put up any media, I will have to change my local version, and then re-deploy it. Same goes for plugins. However, when I browse into my local version using the App Engine launcher, login wordpress, and try to add an image in the media section, I get an error, as shown in the image below:
I googled this, and understand it is a permission error from the file system. My folder has a "Read only" checkbox which is marked blue, and no matter how many times I uncheck it, it is checked again.
I also assigned all the users full control, i.e. the following privileges (to folders, and subfolders)
Any help or ideas will be appreciated!
Adding google_app_engine.disable_readonly_filesystem = 1 to your php.ini file should fix the issue.

Resources