yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bagarwa:
THIS Changes Everything...!!!

Errr.... was trying to come up with some witty quote, but ran short. Anyway, this is the big update we all been waiting for. * Stands up and claps for Vin *
[Android Apps and Games] bagarwa:
Bug report

Spotted one bug. The "exported skin for APK" doesn't retain the hotspot assignment.

i.e. I create a skin with hotspots assigned, make that editable, export the skin, build the apk. When you install the APK, the skin has the hotspot but it is blank; i.e. nothing assigned to it. :eek: [second screenshot below]

Second - While creating the skin, we get 'hotspot1' 'hotspot2'. But the export window has 'hotspot0' 'hotspot1'.

When the apk user goes in edit window, he also gets 'hotspot0' 'hotspot1' while the WYSIWYG windows shows the hotspots labeled as '1' '2' etc. I think it'll get confusing for users.
[Android Apps and Games] :
Suggestions

Open & Import should be separated.

Save Skin should also be separated.

Export Skin / Export for APK Skin / Save as Image should be in "Developer" or "Themer" options.

Others are fine.
[Android Apps and Games] XDA mark:
Awesome update, users of my theme's will be happy :D

Waiting for bugs to be fixed, but as far as I see the small bug bagarwa posted is the only one. Very nice update:)
[Android Apps and Games] bagarwa:
Ummmm.... bigger bug. With current latest version of UCCW, all Play Store skins lost their hotspot. i.e. any existing skin that anyone downloaded from play store so far, (or installed via mailed APK), after they updated their uccw, the hotspots are gone/blank.
[Android Apps and Games] Slymobi:
Can confirm this too. :confused:

Sent from my Nexus 4
[Android Apps and Games] lorenzo90l:
Hi folks

I have a problem with the hotspot with the last update...

If i try to change for example hotspot 5 it wont change it but it will automatically change hotspot 1... This happens if i try to change all the hotspots...it always modifies hotspot1 and not the one that i want to change...

Edit: Thanks Vin for the fast update!...:)

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] :
I'm waiting for this bug to be fixed before I update my skins on Play Store
[Android Apps and Games] XDA mark:
Has this bug been fixed with the latest update?
[Android Apps and Games] bagarwa:
Yes, this particular bug is fixed. All old / existing skins' hotspots are working now.

Hotspot numbering is also fixed.

But if a developer exports a skin with 'edit hotspots' selected, then the APK created still gets 'no hotspots asigned' for every hotspot. i.e. the skin is loosing assigned apps for each hotspots while exporting. :eek: Looking forward to another update to fix this before I update my skins.
[Android Apps and Games] XDA mark:
I didn't update my theme's yet because of bugs, but today I got an email from one of my users that non of the hotspots were working. I made a new version of my theme with editable hotspots, but that doesn't seem to be working either. He can now edit hotspots, but when he presses on them nothing happens. He has hotspots mode on, so I really don't know whats going on with uccw.

I installed the new version of my theme on my phone and I couldn't edit hotspots. I was happy when I heard he could, though nothing happens when he presses them. And now he can't edit the hotspots anymore either.

Anybody that could provide UCCW 2.2.6? That one worked perfect.

Edit: after messing around for a long time with uccw, he seems to got it working. Though the bug that all hotspots are blank instead of my preconfigured ones is still annoying.
[Android Apps and Games] bagarwa:
This is the current status of the skin export for APK -

The .uccw file in the zip has wrong apps assigned to hotspots. Some apps are assigned to multiple hotspots while some apps that I had assigned to a hotspot goes missing. FYI, this is in the .uccw file - source code.

When you build the apk and install & apply the skin to widget, all the hotspots placeholders are there but they are 'no apps assigned' state. Users have to go to edit mode and assign each hotspots individually to use them.

After making their changes, user just presses back button to come back to homescreen and changes are applied. Turn on hotspot mode and user applied hotspots work. [Success. Not a bug.]

But if user removes the skin from homescreen and later someday wants to apply the skin again, it's back to step one; make all the changes again, assign all the hotspots again etc. No way to save his/her changes. [I understand this though. Guess it's alright.]

Is that by design; i.e. intentional? I'd say the hotspots developers assign should be saved while the skin is exported. Some users want to edit hotspots and they should have that option. But large user base just wants the skins to 'work' and don't wanna bother about editing and assigning all hotspots themselves. I can see a flood of "hotspots aren't working" mail even if I clearly mention the hotspot adding process in app description.

Vineet / Guys, what do you think?

EDIT - The Bug #1 mentioned above occurs ONLY if you select any hotspots as 'editable' while exporting skins. If you don't make anything editable or make anything else other than hotspots editable, correct apps are assigned to hotspots.
[Android Apps and Games] :
I'm sure Vineet is working on the fix
[Android Apps and Games] jak3z:
Since the last update, when I should get the "noon" icons, I can't get any icon to show up. Even using the Default ones, I even tried importing the themes again and no luck. Any ideas?
[Android Apps and Games] frogerra:
Try to build my first apk skins, work well on ICS and GB. But not show up at JB. Can somebody tell me whats wrong?

It's X-RAY!

Sent from my pants.
[Android Apps and Games] :
Jelly Bean Encryption is creating problem.
[Android Apps and Games] vineetksirohi:
UCCW apk skin installer for paid skins

Problem: Paid skins are not visible for android 4.1+.

Workaround: paid skins are wrapped in a skin installer ask and the skin installer is uploaded to Google play. User is presented with a install skin screen. User presses the button to install the skin. The skin is available in the list of installed skins.

Note: skin installer needs sd card in phone.

Install skin screen:

Steps:

Contrary to what is shown in images, keep package name of skin installer different from your skin. For e.g. add '.installer' to your skin package name. If skin package is 'com.uccw.skin1', the package name of installer should be 'com.uccw.skin1.installer'.

So provide normal skins for users of android 4.0 and below. Provider through skin installer for android versions 4.1+.
[Android Apps and Games] :
Thanks a lot for this, Vineet :good:

Please change the theme to Holo :P

---------- Post added at 12:29 PM ---------- Previous post was at 12:06 PM ----------

Why don't you put built in installer in UCCW, is that possible?
[Android Apps and Games] bagarwa:
If anyone is confused by this (I know I was), Play Store allows you to upload any number of different APKs for same app, as long as their package name is same and they have some filtering in manifest file so that play store can determine which device gets which APK. (and some more conditions)

More details here

Essentially, we'll have to build 2 APKs now. One that we are already building. Another APK with this new method and android:minSdkVersion=16 (i.e. starting from JB) in manifest.

Also, we'll have to use developer dashboard's old layout as I'm not seeing multiple apk activation option in the new layout. Maybe that's because I don't have 2 apk with same version code uploaded. Will post more when I check this tomorrow.

Congrats Vin; on cracking this JB issue.
[Android Apps and Games] bagarwa:
Questions -

Vin - I found a few reference to your skin name through out the project -

src/package/name/here/MainActivity.java ->

package inuccw.vineetsirohi.earthskin;

private static final String UCCW_TEST_SKIN_APK = "uccw_earth_skin.apk";

AndroidManifest.xml ->

android:name="inuccw.vineetsirohi.earthskin.MainActivity"

Don't we have to modify these before starting the build?

FYI, I'm manually doing the builds. not using eclipse. So, not sure if eclipse changes this automatically based on package name specified in AndroidManifest.
[Android Apps and Games] :
Yes, you have to change those as well

Name all the APKs skin.apk so you don't have to go to src > MainActivity.java again

---------- Post added at 02:50 PM ---------- Previous post was at 02:36 PM ----------

Hey Vin, what to do with the "String UCCW_TEST_SKIN_APK"?
[Android Apps and Games] vineetksirohi:
I have updated the post. Yes the references need to be changed. Just check first before posting in Google play.
[Android Apps and Games] :
String UCCW_TEST_SKIN_APK will remain as it is?
[Android Apps and Games] StrangerWeather:
Many thanks for this Vineet! I would hit the Thanks button but I've reached my maximum for today...

I would like to report a bug, sorry if it's a known bug.

Basically, the default weather icon in Icon - Current conditions does not work after apps are made into apks. I have tried paid skins by others as well as my own and none of them show an image when the current weather is fair. However, the default weather icon works fine in Icon forecast day 2 (tomorrow). I don't know about Icon forecast day 1 (today).

A lot of my apks are based on current weather icons, so I would be very grateful if this could be fixed.

Many thanks!:)
[Android Apps and Games] bagarwa:
I've been thinking. Why bother uploading and maintaining 2 APKs for each of the skin? Why not give everyone the same APK which will install the skin installer. i.e. upload only the jelly bean APK in playstore? That way, we don't have to give a separate set of instruction for JB user. People hardly read half the instructions and this might confuse them more. So, replace current play store apk with this new apk and let everyone install the skin installer. Sounds better? Any bugs/problems possible?

I have one doubt regarding update though. Say someone downloaded it from play store. He opens the app and installs the skins which replaces the play store version. Next when I push an update, will that update go through to the device? My doubt is, can play store update replace an app with same package name on the device? And the user will again have to open the app and install skin, right?

I'm still divided though whether to push this update to play store now. I'll have to update all 30-40 skins now; and when the "hotspot edit in APK" bug is fixed, will have to update everything again..!! I'm thinking I'll wait for that fix to come and push both updates together.
[Android Apps and Games] :
My skins are free so I'm safe :P

...

Vin, can we put the Exported Skin in assets folder instead of Exported APK of Skin? So that we don't have to maintain 2 APKs
[Android Apps and Games] pooley:):
Hi folks :)

I'm back from holidays ! I missed you all ^^

Well I saw the updates changelog but quicly read it. So now users are able to change more element options (like color, format, etc) so we have to re-export as apk and check the options we allow the user to play with.

Now I see the JB encryption crack. Since I have to re-export all my skins to set my skins editable for users, create some other uccw skin requested and update / create some iconset, I'm not enough on fire to add apk installer. (means update again all my apk + creating another for each) I'd rather send the apk via gmail. if Vineet can build this installer directly to uccw app it will be awesome.

Hope you guys had a nice New year's Eve !

Sent from my toilets
[Android Apps and Games] bagarwa:
So yea, I went ahead with the plan of giving everyone the same APK which will install the skin installer. i.e. upload only the jelly bean APK in playstore. I'm doing it in phases though. Whenever I'm getting a mail for any skin not showing up on JB, I'm creating the new JB APK and uploading it. Covered 22 APKs so far, some 18 are still pending.

Effect? I have to deal with very less mails of "skin not showing. Please send fix". :victory: Vin :good:

But that is now replaced by more mails like "camera/contact hotspot not working" "I want to change this hotspot to that". I haven't enabled hotspot editing in any of my skins yet; since

enabling hotspot editing unassigns apps from those hotspots while exporting

. I've been replying to my users that "Vin is working on a fix and once that is fixed, I'll enable hotspot editing for them". Hope this comes along soon.

Another bug report - "Contact/People" hotspot now opens dialler. The people app doesn't open.

And hope next uccw version makes camera hotspot possible.

What the installer is doing is - picking the apk from assets folder and installing it in sdcard. APK inside assets folder doesn't get encrypted/'secured' in JB; so this works. But if you have the .uccw and skin folder in assets folder, they get 'secured' in JB. Those won't be accessible by the 'installer' even if it is built right inside uccw. Those not being accessible was the problem to begin with.

What DSaif is asking for might be possible though; i.e. putting the exported .zip file in assets folder directly and building the apk. Will that work?
[Android Apps and Games] StrangerWeather:
Great! Any chance of a little tutorial for beginners like me?

For instance, do I put the Skin Installer Folder in New>Project>Android Project from Existing Code or somewhere else?

:)

Cheers!
[Android Apps and Games] :
Skin should be in Assets folder, tutorial on first post, read carefully.
[Android Apps and Games] StrangerWeather:
The skin installer should be in the assets folder?:confused:
[Android Apps and Games] :
APK of the first skin (which is used for 2.2-4.0) should be in the assets folder of skin installer. It's just a wrapper for installing the apk.
[Android Apps and Games] StrangerWeather:
Cool, thanks, and how do I get the skin installer onto Eclipse?

I think I get it from there...

Cheers!:)
[Android Apps and Games] :
Download it and import to eclipse
[Android Apps and Games] StrangerWeather:
Ok, but when I click import I get this (see attachment) and I can't select the skin installer.
[Android Apps and Games] :
Android > Project from Existing Source
[Android Apps and Games] StrangerWeather:
Thanks, it gets renamed "Main Activity", is that ok?

Sorry for the endless stream of questions, but your answers are really helpful!
[Android Apps and Games] :
Have you made an APK with the first tutorial?

----

You can rename it right click > Refractor
[Android Apps and Games] StrangerWeather:
I've made lots of apks (thanks to your past help) and have got some free skins and some paid ones in the Playstore.

Thanks! I think I can manage from here.

Have a good day!
[Android Apps and Games] :
Happy to help others :)
[Android Apps and Games] StrangerWeather:
Me again...

When I import the skin installer I get this message in the console: [2013-01-06 15:39:53 - MainActivity] Unable to resolve target 'android-7'

Is this important? Do you get it too?
[Android Apps and Games] :
I don't know why Vin uses Android 2.1 SDK when UCCW works on Android 2.2+ lol.. Change 7 to 8 in Android Manifest
[Android Apps and Games] r_soares:
I think that we have just one bad thing with the solution of the new installer.

When the update appears on the device, the user accepts, but if he not open the new skin (installer), he'll not install the skin, really. The installer of skin stays in the sd card named "my_temporary_skin" or something like that. The user has to go there to complete the installation, because the installer doesn't appears on app drawer.

I confirmed it when I saw the statistics of my apps and saw that the users that have downloaded the updates are uninstalling my skin. And nothing happens with the ones who downloaded just the new version.

Anyone can confirm this or I'm just talking nonsense?

Today, I started to send some e-mails...:rolleyes:
[Android Apps and Games] blackbearblanc:
the src folder is now empty
[Android Apps and Games] vineetksirohi:
It isn't required.
[Android Apps and Games] vineetksirohi:
Weather icons are appearing for me. May try making a new skin from scratch.
[Android Apps and Games] dagosjt:
That's totally right and understable. However I think you would leave the chance to add/modify hotspots for the people using the apk themes... You change nothing in graphic, but add some functionality or change an already existing hotspot with your preferred app.
[Android Apps and Games] blackbearblanc:
Will be up soon..

Black Dock can be used along with "WindowUI" (and its free!)
[Android Apps and Games] vineetksirohi:
I can think over it. May take some time.
[Android Apps and Games] vineetksirohi:
Should I update UCCW to 2.1.1 in Google play?
[Android Apps and Games] blackbearblanc:
Sure mate
[Android Apps and Games] :
Very nice idea vin :beer:

Sent from my Nocturnalized One XL using Forum Runner
[Android Apps and Games] blackbearblanc:
But would be very cool for customers.

And some hot spots might not work on different phone types.

Like spot for alarm is not the same on Nexus and Motorola... I just learned :mad:
[Android Apps and Games] nizi652:
new way of make apk have a problem

it installed well and show thumnail in UCCW but when i choose one and drop the launcher it won't open.

just finger image... if click image again and again just show default widget( square white image)..

https://www.dropbox.com/s/p8lepe2hjv69682/ArihanVpack.apk

please look and figure whats problem.. thx
[Android Apps and Games] vineetksirohi:
Its working fine here.
[Android Apps and Games] seco10:
:good: I think it's the right time - 2.1.1 runs without any probs or bugs here, congratz! (Moto Atrix with GB 2.3.4)
[Android Apps and Games] nizi652:
really strange.

if your example and my stuff in apk together

dont work mine only. of course exported well from UCCW.

i dont understand why -_-...

EDIT: your neon clock is not working propely too.( white image is backgrounded. i think there is no white image in your resource)

only time note is working well

+1 i found a bug. if continue tap finger image, manage windows show up instantly then UCCW is FC

anyway.. i think this apk method is have some bug..
[Android Apps and Games] A random package:
fonts

everything worked fine except the font. I have the font placed inside the assets folder in eclipse in the same spot the sample font was, yet when I add the widget, it just renders the default font. What am I missing?
[Android Apps and Games] vineetksirohi:
Issues

Adding apk skins widget should not open uccw editor. If it does, open '.uccw' file and at the end change "s_n_w": true to "s_n_w": false.
[Android Apps and Games] vineetksirohi:
There is white image in background. That is just an example skin, I was testing something.
[Android Apps and Games] vineetksirohi:
You have to make your own skin in UCCW app. When done, press menu and export skin. Check the 'Check for apk skin' option. Press OK. This gives you a zip file in 'sdcard/uccwOutput' folder. Unzip that file in assets folder in your project.
[Android Apps and Games] A random package:
I followed all directions, guess it was a user error, i will figure it out. Thanks anyway dude. :)
[Android Apps and Games] bagarwa:
Hi. You have to change AndroidManifest.xml file and modify this line -

package="some.name.here"

That's the name which Android uses to identify your app. Every new skin must have a new package name.
[Android Apps and Games] :
That's a disadvantage of using Skin Installer. Let's wait for Vin's reply and if he has another workaround.

For now write in description to email you for APK.
[Android Apps and Games] hey.yudi:
I have issue hotspot mode, when hotspot mode on, can't open application. How to fix it? Thank u.
[Android Apps and Games] bagarwa:
Wait what...!!?

Install skin app from play store.

Run the app (installer) from app drawer.

Skin replaces installer and is now available in uccw skins list.

Installer icon is removed from app drawer.

I push an update of the app in play store.

App updates, replaces skin with installer.

Skin goes missing from uccw skins list. Installer icon appears on app drawer.

Repeat from step 2

Isn't this how it works? Step 7 doesn't happen and breaks the cycle?? Can anyone confirm?
[Android Apps and Games] r_soares:
It's weird. I can confirm all the steps now. I made a test. A day or two ago I had made the whole process and I couldn't find the installer on app drawer. :confused:

But it's all going right. :)

Edit: I can confirm only the first installation, not the update. But I think that's everything OK.
[Android Apps and Games] the1dynasty:
sweet... gonna start making a few of the ones i have so they're in one nice single .apk instead of all over the place lol...
[Android Apps and Games] :
You can't push updates to Skin Installer it seems. Even I you do, it won't reach the users because they had replaced it with the Skin already.

I'm thinking about a workaround.
[Android Apps and Games] bagarwa:
I tested it locally. i.e. on my device - installed the installer, ran it, skin replaced the installer, again installed the installer which replaced the skin and the installer icon was visible in app drawer.

I still haven't received any mail from anyone saying the skin vanished after update. Anyone received any such mail/complain?
[Android Apps and Games] :
You have to test Play Store update process
[Android Apps and Games] XDA mark:
I see there is some nice progress on solving the Android 4.1+ problem with skins not appearing. I have somehow managed to get my users to email me (a big EMAIL ME IF YOU HAVE A PROBLEM sign at the top of the description might have helped lol). I help them via email and send them the apk, so at the moment this is not my biggest problem (I don't mind helping some people every day).

My biggest problem is with the bug that has been in UCCW for weeks,

the theme's come with empty hotspots to users

. I have already updated 50% of my theme's to support editable hotspots, since I got so many "camera is not working" etc that I wanted to get rid of it. But the problem is that users get "empty"/unlinked skins and I have to explain every time again and again what is going on and what they need to do. It was ok at first, but after 3 weeks I would wish that this bug would be solved once and for all :(

It's just crazy, I tried everything to inform users on the situation, I even made a seperate video on editable hotspots and how to do it. But people don't read these days..

Hoping this gets fixed soon. Would really make my life a bit easier :o

PS: I would also request if it's possible to allow users to edit TEXT. At the moment it's only possible to edit the text colour, but in my theme's it would be nice for users to edit the text itself.

Kind Regards