Remove app title and icon overlay on Google Glass app - google-glass

I've just developed my first Google Glass app (Android Studio) and I was hoping you all might help me work through a problem. I initially developed the app for Android and made the necessary modifications to be able to target Glass (a few updates to the manifest and a few new xml files). The app installs and runs just fine on Glass, with the exception of one quirk: the app icon and title are overlaying the top ~20% of the Glass display, like a title-bar banner.
Is there something that needs to be added/subtracted from a typical android development environment to disable this overlay?
Sorry I don't have a screenshot. I can try to figure out how to capture one on Glass if it helps.

I got to the bottom of if.
Remove app title bar android
I failed to put the android:theme="#android:style/Theme.NoTitleBar" declaration in the correct place in the manifest.
Thank you.

Related

Opening a page when clicking on an Android notification using MAUI and Shiny.Notifications

I have a .NET MAUI app that tests notifications using Shiny.Notifications and the Community.Toolkit.Mvvm.
I know that the MAUI version is in Alpha but I am desperate.
I have the notification appearing and when I click on it the app opens. I want to be able to open at a specific page. Can someone point me in the right direction?
I have tried to find a way within the Shiny Library to set up an Action that would open a page but with no luck. I have also looked at the Xamarin sample and have the same issue with it

Ionic app startup time

Just getting into this ionic framework. build an simple app with just a tab and menu, deploy to android phone. it seems like it takes a good 3 seconds to load. the black screen last for 3 seconds then the app shows. I also try the ionicview app from ionic. similar experience. my question is, is it just something I missed or it's just one of the draw back of this kind of hybrid app? it make sense that the webview need to load and parse the js and html then render the UI.
Crosswalk provides a bundled Chrome Webview with the app, resulting in better performance and predictability. It helps a lot on older Androids and also speeds up the newer phones.

Install google glass app to android mobile

I'm developing app for google glass. I don't have glass, so i used to install file to android device. I referred this document Installing Google Glass in an Android Phone . But when i install and open my own custom voice trigger app, it won't open. I didn't see my app in list of voice command.
There are a few things to keep in mind.
First of all, those instructions were for a much older release of the Glass system. There have been many changes in how to launch a GDK app since then, and the most recent have been outlined in Why is my voice command missing from the ok glass menu in XE16?
Second, it is really difficult to appreciate the differences between Glass and more traditional Android devices. While you can probably get a basic understanding of development for Glass, you may have trouble understanding the UX differences. It is like trying to write for a mobile phone only by using a desktop computer.

Chartboost sample app not showing Ads

I am trying to integrate a tool Chartboost into our game.
We are using following tools for development.
Xcode 5.0.2.
Latest ChartBoost Library.
Deployment target being iOS 6.1.
Base SDK being iOS 7.0.
Game Engine Cocos2d-x ( C++ ).
In order to use ChartBoost I followed these steps.
Created an account at Chartboost.
Added an app
Platform: iOS
Nick Name: Added
-Test Mode: Enabled
and Its showing the App Id and App signature.
Added a Campaign.
-Its On.
-CampaignStart and End are blank, so it will be effective as soon as possible.
-Filter By Bundle verion is Min 1.0 and Max blank .(already tried by keeping both blank.)
-Selected the App I added ,as the app where this campaign will run.
-Campaign Logic: Added test device with UUID.
-Rest of the options are untouched.
For test purpose I downloaded and used the sample iOS project provided at ChartBoost site. I replaced the App Id and App signature with my App's ID and Signature.On running the app, it does not display any ads. It logs messages like :
-failure to load interstitial at location Default
-failure to load interstitial at location Pause screen
-failure to load more apps
-failure to load interstitial at location After level 1
I am not able to conclude what wrong I have done! Please help on this issue.
PS:
1. I have already received a mail from ChartBoost mentioning I have successfully integrated the SDK, and in front of added app , the SDK and Frame icons are lit(green), which essentially shows , I have integrated the SDK correctly.
2.Our game is still under development and as we are using the Cocos2d-x which is c++ Game engine ,so we will be using some wrapper to call the ChartBoost library. Once we get the idea how it works on native platform.
In Chartboost sometimes it happens that you have set in the Chartboost dashboard that your game is in "Landscape" mode for example.
While your game is actually running in portrait mode.
In such cases you will get these errors.
Make both these same. Either change in the Chartboost dashboard for your app or change in the game's project file :)

Class not found error for any glass api

I configure eclipse ADT for glass development successfully.
Then I create a sample project and try to develop google glass card or timelineitem.
when I compile and run, an error occurred from android tuntime
java.lang.NoClassDefFoundError: com.google.android.glass.app.Card
this error also occurring for
com.google.android.glass.timeline.TimelineManager
Error Log
How can I solve it?
You have to set your project to compile with the Glass GDK.
Make sure you're targeting 15, have the GDK downloaded as per the other answer, and then:
Select your project on the left side of the screen, open project poperties (alt-enter, or right click -> properties), go to Android tab, scroll down to Android 4.0.3, and in that section will be the Glass Development Kit Sneak Peak. Check the box next to this, hit ok and everything should start working.
EDIT:
Just to make sure, your manifest should have this line:
<uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="15" />
Make sure you are targeting API 15 and that you installed the glass development Kit.
See the Picture: