BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-15-2009, 04:14 PM   #1 (permalink)
New Member
 
Join Date: Jan 2007
Location: Poland
Model: 8700f
Carrier: ERA
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb Requirements: background app, launch during phone start, GPS and GPRS notifications

Please Login to Remove!

Hello,

I am preparing for the development of my first application for
BB. This application needs to have network access as well as
access to the embedded GPS perfectly without any notification to the
user, or eventually only one notification during install time. Is it
something possible to achieve in BB ? Could you please point to some documentation about it ?

Other requirements that I would like to check first if they are possible to achieve in BB:

1. This application needs to be run in background.
2. The application needs to be started during phone start (so working as a service).
3. It must be possible to receive and read SMS (perfectly using dedicated port number, not using standard Inbox).

Are all of these requirements possible to achieve on BB ? Could you please point to some documentation (or keywords) ?

Thank you and best regards,
Marcin
Offline  
Old 02-16-2009, 02:03 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

there is no way around the user allowing stuff on the phone. it is an integral part of the BB security concept.

In my world people want to know what is going on on their phone. And even in a corporate environment i would be very aware of civic rights.
Your application sounds like malware to me, i don't think that there is anybody willing to help you out with this unless you explain a lot more then you did.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 02-16-2009, 08:52 AM   #3 (permalink)
New Member
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by simon.hain View Post
there is no way around the user allowing stuff on the phone. it is an integral part of the BB security concept.
Hi,

is there any doc talking about what can be done in BB and what not related to security issues?

I mean, those points this guy asks about, running apps in background, starting apps as a service or listening to sms, are not allowed due to security reasons or you mean that the idea of creating an app with those functionalities is what doesn't fit with blackberry security concept?

Thanks in advance
Offline  
Old 02-16-2009, 10:27 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

There are a large number of tasks that (event signed) applications can do that still need user authorization. Sending and receiving SMS messages is one. When the app tries to start an inbound SMS port, for example, the system will ask the user to authorize that. The use can not authorize, authorize once or authorize for ever. Newer OS versions have the concept of a trusted application. The first question is does the user want to make the app "trusted". Trusted apps don't have to deal with getting authorization to individual services, but the user gets to decide, not the application.
Offline  
Old 02-17-2009, 02:43 AM   #5 (permalink)
New Member
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by hrbuckley View Post
Newer OS versions have the concept of a trusted application. The first question is does the user want to make the app "trusted". Trusted apps don't have to deal with getting authorization to individual services, but the user gets to decide, not the application.
Thanks a lot for the answer

So, how can the user make an app "trusted"? Is it possible to create a trusted app by code?

As you may know, i'm quite newbie in bb world, and I'm trying to figure out what sort of app is possible to make for a bb...
Offline  
Old 02-17-2009, 03:33 AM   #6 (permalink)
New Member
 
foreverwave's Avatar
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: TMOBILE
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

facepalm. what would be the point if you could circumvent it via code???
Offline  
Old 02-17-2009, 04:09 AM   #7 (permalink)
New Member
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by foreverwave View Post
facepalm. what would be the point if you could circumvent it via code???
Thanks for your answer...

Maybe in a corporative environment, your company wants you to have certain app in your enterprise bb, without asking for permission to the employee... don't know.

So, i guess is not possible via code. How can a user make an app "trusted" then?

Regards
Offline  
Old 02-17-2009, 06:31 AM   #8 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

When you first start the application, the OS pops up a dialog asking the user if s/he wants to trust the application.

Check out the API documentation for net.rim.device.api.applicationcontrol.ApplicationP ermissionsManager

But remember, this API allows the application to request permission, it does not grant it automatically.

Last edited by hrbuckley : 02-17-2009 at 06:34 AM.
Offline  
Old 02-17-2009, 09:03 AM   #9 (permalink)
New Member
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot, I'll check that
Offline  
Old 03-01-2009, 11:47 PM   #10 (permalink)
New Member
 
Join Date: Mar 2009
Model: 8310
PIN: N/A
Carrier: Vodafone
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Background App to run, without entry in catalog

Quote:
Originally Posted by hrbuckley View Post
When you first start the application, the OS pops up a dialog asking the user if s/he wants to trust the application.

Check out the API documentation for net.rim.device.api.applicationcontrol.ApplicationP ermissionsManager

But remember, this API allows the application to request permission, it does not grant it automatically.
Hi

I am commissioning a custom application, which we hope to get signed by RIM, for a customer. There's an NDA, so can't reveal too much here.

Here's our situation. We want an app to run in the background, after seeking user's authorization, including the service's TOC. Thereafter, we don't want it to either be stopped by the user nor do we want it to be user-deleted via a GUI on the phone.

Is this possible to achieve in 8310 and 8330 series Curves?
Thanks much.
Vishnu
Offline  
Old 03-02-2009, 12:22 AM   #11 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: Ernakulam, Kerala, India
Model: 8320
Carrier: Airtel
Posts: 65
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Murali

I think the first part you can do by some methods (restrict user from stopping the app), But I think you cannot do the latter, i.e, you cannot force hiding the app from the phone gui, where it will be listed for the bb user to decide if he can continue using or whether he can delete it.
__________________
Regards
Anand.
Offline  
Closed Thread


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

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





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.