Thanx Dave you set me on the right path

i have figured out that i can alter the apk wich codenameone builds. With 
winrar i can add files to the assets and creae a new keystore key and self 
sign the apk.

for other people who has the same problem with too many images the steps 
are to workaround the 50 mb limit for android
1 create apk file with codenameone with a fewer iamges
2 open the apk file in WinRar or other zip file
3 delete in META-INF  folder  the rsa and cf file
4 add to assets the image files 
5 create a new keystore key
- open cmd in administrator
- go to java folder 
- go to to the bin folder
- check if  keytool.exe exits
- run 
keytool -genkey -v -keyalg RSA -alias Naam  -keystore naamapp.jks 
-storepass password -validity 5000 -keysize 2048 -sigalg MD5withRSA 
6 put the apk file in the same jva/bin folder
7 create new signed apk
- run
jarsigner -verbose  -sigalg MD5withRSA -digestalg SHA1 -keystore 
naamapp.jks  naam apk file wtith.apk  Alias 
Alias is the same alias name in step 6 


Op woensdag 29 april 2020 18:56:20 UTC+2 schreef Dave Dyer:
>
>
> It's not a constructive suggestion to say "re-engineer your apps" just to 
> be able to host
> a higher resolution map.
>
> Storage is a cheap resource, and .res files are just baggage that is 
> carried through
> the whole build process - they don't impact anything else and don't impose 
> any costs
> on you, other than the extremely nominal cost of storing and transmitting 
> them.
>
> At the very least, we ought to be able to pay some nominal fee to allow 
> bigger builds.
>
> Just thinking here, but there ought to be a way to use a dummy .res file 
> during the
> build, and re-insert the real .res file into the result.  Presumably there 
> would be
> some code signing that would need to be re-done.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f80a504f-ef4b-4340-92d0-c19d1080c073%40googlegroups.com.

Reply via email to