This week's book giveaway is in the NodeJS forum.
We're giving away four copies of Serverless Applications with Node.js and have Slobodan Stojanovic & Aleksandar Simovic on-line!
See this thread for details.
Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Modify String and Commercial Use  RSS feed

 
Ranch Hand
Posts: 88
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 2 questions

Question1 :

I have a file which is named as 3242349d9id.jpg and I want to convert the file name as saadzahoor.jpg
I really appreciate if someone helps me how can I edit the filename



Question2 :

If I make an app for someone and the app itself is not generating any money, I mean he or client cannot generate any money from the app it is just for the business purpose to see the activity of his (my client) clients!! Will the app considered for commercial use?
As a developer, i am getting paid for developing the app.

Will the app get the tag as commercial use?

 
Saloon Keeper
Posts: 5344
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
#1: DO you want to do this manually or programmatically? If the former, you can use a tool like Google's Files app. If the latter, Android supports the java.io.File class which lets you rename files using its renameTo method.

#2: It's hard to say whether the app would be considered commercial, although your usage of "his clients" indicates that it might be. But your work on it would be commercial development, if that's what you're wondering about.
 
Saad Zahoor
Ranch Hand
Posts: 88
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your time @tim mores

q1:

Yes I need it programmatically

q2:

Thanks for clarification
 
no wonder he is so sad, he hasn't seen this tiny ad:
global solutions you can do in your home or backyard
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!