Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old November 29th, 2011, 07:35 AM   #1 (permalink)
Junior Member
 
Join Date: Jan 2011
Posts: 38
 
Device(s):
Thanks: 0
Thanked 10 Times in 7 Posts
Cool APP DEV - Need help renaming 2 apps I created

Probably a simple solution for this, however I'm new to making applications and this is frustrating me.
I made a couple of simple apps to view a couple of websites for a work project (we are giving away a couple of tablets for a promotion and want our websites pre-installed in app format).
I just used app inventor to make them as they are really simple. However app inventor won't let me save the apps with spaces or other characters in the name.

The 2 apps just need to be renamed to show as their names when installed "Haystack Info" and "Moore & Scarry". As you can see my current naming is kinda lame and my boss wants it changed.

here are the apks:
MooreandScarry.apk
Haystack_Info.apk

I already tried using marketizer but that kept giving me errors, same with "app to market".
Any help is much appreciated

davidukfl is offline  
Reply With Quote
Sponsors
Old November 29th, 2011, 09:53 PM   #2 (permalink)
Junior Member
 
Join Date: Jan 2011
Posts: 38
 
Device(s):
Thanks: 0
Thanked 10 Times in 7 Posts
Default

bump for help
davidukfl is offline  
Reply With Quote
Old November 30th, 2011, 02:31 PM   #3 (permalink)
New Member
 
Join Date: Aug 2010
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you talking about the name that shows up under the icon when it is installed?

The way the apk is named doesn't have anything to do with that. Just make sure you name the project what you want.

Edit: I read your post wrong. Don't know how to put spaces into the apk name.
threeten is offline  
Last edited by threeten; November 30th, 2011 at 02:37 PM.
Reply With Quote
Old November 30th, 2011, 05:12 PM   #4 (permalink)
Junior Member
 
Join Date: Jan 2011
Posts: 38
 
Device(s):
Thanks: 0
Thanked 10 Times in 7 Posts
Default

Quote:
Originally Posted by threeten View Post
Are you talking about the name that shows up under the icon when it is installed?

The way the apk is named doesn't have anything to do with that. Just make sure you name the project what you want.

Edit: I read your post wrong. Don't know how to put spaces into the apk name.
yeh im talking about the name of the app once it is installed
davidukfl is offline  
Reply With Quote
Old November 30th, 2011, 08:25 PM   #5 (permalink)
ROM Developer
 
cr5315's Avatar
 
Join Date: Jul 2010
Location: Narnia
Posts: 397
 
Device(s): Current: HTC Evo Retired: LG Ally
Thanks: 94
Thanked 142 Times in 93 Posts
Default

If you have the source code you can change the name in the AndriodManifest.xml
In the <appliaction> tag should be android:label="@string/app_name"
You might not have @string/app_name but if you do open the strings.xml in the res/values folder, you should find the app_name string there and you can change the name. Re-export and you should be good to go.

If you don't have the source, I'm not sure how to do that.

Hope it helps
__________________

(That's a link. Just saying.)
cr5315 is offline  
Reply With Quote
Old November 30th, 2011, 10:06 PM   #6 (permalink)
Junior Member
 
Join Date: Jan 2011
Posts: 38
 
Device(s):
Thanks: 0
Thanked 10 Times in 7 Posts
Default

Quote:
Originally Posted by cr5315 View Post
If you have the source code you can change the name in the AndriodManifest.xml
In the <appliaction> tag should be android:label="@string/app_name"
You might not have @string/app_name but if you do open the strings.xml in the res/values folder, you should find the app_name string there and you can change the name. Re-export and you should be good to go.

If you don't have the source, I'm not sure how to do that.

Hope it helps
when decompiling the app and then recompiling it using multi-tool i get this error. Even without making changes to the manifest


Quote:
Originally Posted by Log
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)
Could Not Find C:\Users\David\Desktop\app development\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedHaystack_Info.apk
Could Not Find C:\Users\David\Desktop\app development\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedHaystack_Info.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\David\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" java.lang.NullPointerException
at org.jf.util.PathUtil.getRelativeFile(PathUtil.java :44)
at org.jf.smali.smaliFlexLexer.getSourceName(smaliFle xLexer.java:2569)
at org.jf.smali.smaliFlexLexer.getErrorHeader(smaliFl exLexer.java:2661)
at org.jf.smali.smaliFlexLexer.nextToken(smaliFlexLex er.java:2530)
at org.antlr.runtime.CommonTokenStream.fillBuffer(Com monTokenStream.java:119)
at org.antlr.runtime.CommonTokenStream.LT(CommonToken Stream.java:238)
at org.jf.smali.smaliParser.smali_file(smaliParser.ja va:430)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(Smali Mod.java:71)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexF ileBuilder.java:43)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexF ileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuil der.java:64)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:48)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder. java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib. java:222)
at brut.androlib.Androlib.buildSources(Androlib.java: 179)
at brut.androlib.Androlib.build(Androlib.java:170)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
davidukfl is offline  
Reply With Quote
Old December 1st, 2011, 10:01 PM   #7 (permalink)
Junior Member
 
Join Date: Jan 2011
Posts: 38
 
Device(s):
Thanks: 0
Thanked 10 Times in 7 Posts
Default

bump for help. I still can't figure this out
davidukfl is offline  
Reply With Quote
Old December 2nd, 2011, 09:32 PM   #8 (permalink)
ROM Developer
 
cr5315's Avatar
 
Join Date: Jul 2010
Location: Narnia
Posts: 397
 
Device(s): Current: HTC Evo Retired: LG Ally
Thanks: 94
Thanked 142 Times in 93 Posts
Default

If you can give me about 5 or so days, I can make versions of these apps with the exact same functionality. I installed them and from what I've seen, they're web browsers that go to the two websites. I'll start working on the apps soon but if you don't want me to, just send me a pm.
cr5315 is offline  
Reply With Quote
Old December 2nd, 2011, 10:35 PM   #9 (permalink)
Junior Member
 
Join Date: Jan 2011
Posts: 38
 
Device(s):
Thanks: 0
Thanked 10 Times in 7 Posts
Default

Quote:
Originally Posted by cr5315 View Post
If you can give me about 5 or so days, I can make versions of these apps with the exact same functionality. I installed them and from what I've seen, they're web browsers that go to the two websites. I'll start working on the apps soon but if you don't want me to, just send me a pm.
that would be spectacular.
and yes they are just 2 basic apps to show a couple of web pages. If you can make them exactly the same and with the new app names that'd be brilliant.

i cannot for the life of me figure this thing out. For some reason I'm just not able to recompile apps made using appinventor.

pm me your paypal whenever you finish them up, I'll throw some cash your way for the help

thanks again mate
davidukfl is offline  
Reply With Quote
Old December 2nd, 2011, 11:31 PM   #10 (permalink)
ROM Developer
 
cr5315's Avatar
 
Join Date: Jul 2010
Location: Narnia
Posts: 397
 
Device(s): Current: HTC Evo Retired: LG Ally
Thanks: 94
Thanked 142 Times in 93 Posts
Default

Quote:
Originally Posted by davidukfl View Post
i cannot for the life of me figure this thing out. For some reason I'm just not able to recompile apps made using appinventor.
I think Google made app inventor apps un-decompilable, but I don't know.

Also, just wanting to make sure I'm using the right pages.
The Haystack Info app should go to: Haystack: The Industry?s Most Powerful Search Marketing Solution | Moore & Scarry Automotive Advertising Agency
And Moore & Scarry should go to: Automotive Advertising Agency | Moore & Scarry Automotive Marketing
Yes?

EDIT:
Just a peek at what I've got so far. It's actually pretty close to being done.
This is Haystacks Info:




Moore & Scarry:
cr5315 is offline  
Last edited by cr5315; December 3rd, 2011 at 03:30 AM.
Reply With Quote
Sponsors
Old December 3rd, 2011, 09:54 AM   #11 (permalink)
Junior Member
 
Join Date: Jan 2011
Posts: 38
 
Device(s):
Thanks: 0
Thanked 10 Times in 7 Posts
Default

Quote:
Originally Posted by cr5315 View Post
I think Google made app inventor apps un-decompilable, but I don't know.

Also, just wanting to make sure I'm using the right pages.
The Haystack Info app should go to: Haystack: The Industry?s Most Powerful Search Marketing Solution | Moore & Scarry Automotive Advertising Agency
And Moore & Scarry should go to: Automotive Advertising Agency | Moore & Scarry Automotive Marketing
Yes?

EDIT:
Just a peek at what I've got so far. It's actually pretty close to being done.
This is Haystacks Info:




Moore & Scarry:
man both of those look great! They look a hell of a lot better than what I threw together in app inventor. And yes they are both going to the correct sites.

I actually have 2 other apps that only had one name in the title so I didn't have to mess with renaming them after creation in appinventor.
Do you think you can work these up also so they all match and have the same UI? The other 2 apps are just the same as these, just linking to different web pages for browsing.

This is a project I'm doing for my job. We are giving away a couple of tablets for a promotion event and want them preloaded with apps that link to our different sites.

here are the other 2:
Analytics.apk
Haystack.apk

if i'm taking to much of your time and you dont want to do them that's fine, just lemme know.
davidukfl is offline  
Reply With Quote
Old December 3rd, 2011, 10:30 AM   #12 (permalink)
ROM Developer
 
cr5315's Avatar
 
Join Date: Jul 2010
Location: Narnia
Posts: 397
 
Device(s): Current: HTC Evo Retired: LG Ally
Thanks: 94
Thanked 142 Times in 93 Posts
Default

If I could have the links those two go to, it would save a some time so I don't have to try and guess what to use.
cr5315 is offline  
Reply With Quote
Old December 3rd, 2011, 01:25 PM   #13 (permalink)
Junior Member
 
Join Date: Jan 2011
Posts: 38
 
Device(s):
Thanks: 0
Thanked 10 Times in 7 Posts
Default

Quote:
Originally Posted by cr5315 View Post
If I could have the links those two go to, it would save a some time so I don't have to try and guess what to use.
yeh sure.

analytics goes to: Google Analytics | Official Website

and Haystack goes to: AdWords Signup

thanks again
davidukfl is offline  
Reply With Quote
Old December 3rd, 2011, 04:08 PM   #14 (permalink)
ROM Developer
 
cr5315's Avatar
 
Join Date: Jul 2010
Location: Narnia
Posts: 397
 
Device(s): Current: HTC Evo Retired: LG Ally
Thanks: 94
Thanked 142 Times in 93 Posts
Default

I'll work on the two other apps later today and hopefully I'll have then ready on Sunday or Monday. Just so you know, the tablet and phone versions are actually 2 different apps because of Android fragmentation. If you want the phone versions in addition to the tablet versions just let me know.
cr5315 is offline  
Reply With Quote
Old December 3rd, 2011, 09:23 PM   #15 (permalink)
Junior Member
 
Join Date: Jan 2011
Posts: 38
 
Device(s):
Thanks: 0
Thanked 10 Times in 7 Posts
Default

Quote:
Originally Posted by cr5315 View Post
I'll work on the two other apps later today and hopefully I'll have then ready on Sunday or Monday. Just so you know, the tablet and phone versions are actually 2 different apps because of Android fragmentation. If you want the phone versions in addition to the tablet versions just let me know.
just the tablet versions are fine, we aren't gonna be using them on phones.

i really appreciate the help. I've been messing with this crap for like 5 days now with no luck. As simple to use as they made the app inventor, you'd of thought they'd let you put spaces in the app name

in the time I've taken on this i could have probably been learning how to just develop apps properly. lol
davidukfl is offline  
Reply With Quote
Old December 4th, 2011, 12:17 AM   #16 (permalink)
ROM Developer
 
cr5315's Avatar
 
Join Date: Jul 2010
Location: Narnia
Posts: 397
 
Device(s): Current: HTC Evo Retired: LG Ally
Thanks: 94
Thanked 142 Times in 93 Posts
Default

I am almost done with the tablet apps. I have made a version that is all four apps in one as well if you would prefer that.
I would also like to know if I may add a popup window that would allow me to put some information about the app such as version number and my name.
Once the apps are done, I'll send you a pm so you can get your hands on them.

EDIT:
Here's what I've got for the all in one app.
cr5315 is offline  
Last edited by cr5315; December 4th, 2011 at 12:58 AM.
Reply With Quote
Old December 4th, 2011, 10:51 AM   #17 (permalink)
Junior Member
 
Join Date: Jan 2011
Posts: 38
 
Device(s):
Thanks: 0
Thanked 10 Times in 7 Posts
Default

Quote:
Originally Posted by cr5315 View Post
I am almost done with the tablet apps. I have made a version that is all four apps in one as well if you would prefer that.
I would also like to know if I may add a popup window that would allow me to put some information about the app such as version number and my name.
Once the apps are done, I'll send you a pm so you can get your hands on them.

EDIT:
Here's what I've got for the all in one app.
That looks pretty damn good mate. Thanks for doing such a good job.

I dunno about a pop up window. If you wanted to do an "about" option in the menu that would be cool. I definitely want to be able to give credit to you. I just know my boss wouldn't like a pop up window or something that shows when the app is opened.
davidukfl is offline  
Reply With Quote
Old December 4th, 2011, 12:26 PM   #18 (permalink)
ROM Developer
 
cr5315's Avatar
 
Join Date: Jul 2010
Location: Narnia
Posts: 397
 
Device(s): Current: HTC Evo Retired: LG Ally
Thanks: 94
Thanked 142 Times in 93 Posts
Default

Quote:
Originally Posted by davidukfl View Post
That looks pretty damn good mate. Thanks for doing such a good job.

I dunno about a pop up window. If you wanted to do an "about" option in the menu that would be cool. I definitely want to be able to give credit to you. I just know my boss wouldn't like a pop up window or something that shows when the app is opened.
It wouldn't pop up when the app starts. It would pop up when the user clicks the about button in the dropdown menu
cr5315 is offline  
Reply With Quote
Old December 4th, 2011, 01:04 PM   #19 (permalink)
Junior Member
 
Join Date: Jan 2011
Posts: 38
 
Device(s):
Thanks: 0
Thanked 10 Times in 7 Posts
Default

Quote:
Originally Posted by cr5315 View Post
It wouldn't pop up when the app starts. It would pop up when the user clicks the about button in the dropdown menu
oh ok gotcha. That's kinda what i had in mind too. Sounds good to me
davidukfl is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 11:50 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo