Discussion Forums  >  Uncategorized

Replies: 2    Views: 1549

Beta Labs Developer
Android Fan
Profile
Posts: 17
Reg: Nov 23, 2011
Singapore
170
11/27/11 08:36 PM (14 years ago)

[Android] How to launch native app (Camera) using the right button on the top of navbar?

I had made an application for my CCA and it is about photography. There is an option to add a camera-icon button on the top of the navbar, but when I pressed it, it says no screen is linked to this. So is there anyway to launch the native camera app thru a screen?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/29/11 11:10 PM (14 years ago)
Yes / No. The idea behind the right-nav-button is that it loads another screen you've created in your control panel. Because the Photo screen isn't completed in Android you won't be able to do this without a bunch of hacking. Works great in iOS but not yet in Android. You create your own .java class file and android layout to then load when the right button is tapped. This would allow you to do it before we finished the Photo screen for Android. But, this would take some skill.
 
Beta Labs Develope...
Android Fan
Profile
Posts: 17
Reg: Nov 23, 2011
Singapore
170
like
11/29/11 11:22 PM (14 years ago)
So David, how to create my own .java class file and android layout that loads the camera?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.