반응형
반응형

Scaloid - 오픈소스 안드로이드 라이브러리

 

https://github.com/pocorall/scaloid

 

스칼라 언어로 안드로이드 개발의 어려움을 줄여주고자 만들어졌다.

 

Less painful Android development with Scala

Scaloid is a library aimed to simplify your Android code. It makes your code easy to write and understand by leveraging Scala language.

For example, the code block shown below:

val button = new Button(context)
button.setText("Greet")
button.setOnClickListener(new OnClickListener() {
  def onClick(v: View) {
    Toast.makeText(context, "Hello!", Toast.LENGTH_SHORT).show()
  }
})
layout.addView(button)

is reduced to:

SButton("Greet", toast("Hello!"))

Benefits

  • Write elegant Android software
    Scaloid provides a concise and type-safe way of writing Android application.
  • Simple to use
    Check our quick start guide
  • Compatible with your legacy code
    You can use both Scaloid and plain-old Java Android API. You can gradually improve your legacy code.
  • Maintained actively
    Scaloid is a dogfooding software. This is originally created to be used for my own Android apps.

Demos

If you want to see how Scaloid can be used in action, check a Scala port of apidemos app.

Need help using Scala language on your Android project?

There is an out-of-the-box solution. Just fork this project and start your Scala-Android app.

Features

...and many other things! Check the official Scaloid blog for news and announcements.

 

반응형
반응형

FragmentLayoutMaps

https://github.com/petedoyle/android-support-v4-googlemaps/tree/dev-samples/src/samples/FragmentLayoutMaps

 

Activity LifeCycle

 * http://developer.android.com/guide/components/activities.html

Activity LifeCycleActivity LifeCycle

 

 

 

 

Fragment LifeCycle

* http://developer.android.com/guide/components/fragments.html

 

Fragment LifeCycleFragment LifeCycle

 

 

 

######  http://developer.android.com/  #####

 

 

 

반응형
반응형

안드로이드에서 webview가 fragment 로 만들어졌을 경우 웹페이지에서 <select> 태그가 작동하지 않을때가 있다.

액티비티로 만들면 바로 작동이 되지만 일부 디바이스에서 작동이 안될때가 있어서. 속터진다. ㅋㅋ

 

인터넷 검색하면 여러 답변이 있는데, 우리가 필요로 하는 건 없었다.

 

어플에서 수정이 필요하다.

 

 

==================================================================================

 

WebView into a Fragment (android.support.v4)

 

http://stackoverflow.com/questions/9279632/webview-into-a-fragment-android-support-v4

 

==================================================================================

 

[android] 2.2에서 fragment 사용하기

 

fragment 에 대한 설명 : http://androidhuman.tistory.com/469

예제 소스는 http://daddycat.blogspot.com/2011/08/android-30-fragments-example.html 에서 가져와서 약간 수정했음.

허니컴 이하에서 사용할 때 주의할 점 : http://www.androidpub.com/1432908

 

==================================================================================

 

Select dropdown in Android webview

 

The select tag just doesn’t work sometimes in Android, especially in an app using webview. This drove me nuts for a long long time. The main fix I found, even if your select is buried deep in divs and rows and what ever, is this css:


select {
  visibility: visible;
  -webkit-appearance: menulist-text;
}


 

The -webkit-appearance might be the only one actually needed and setting it to ‘listbox’ works too.

반응형
반응형

https://github.com/erica/iOS-5-Cookbook

 

iOS 5 SDK, 엑스코드 4.2, 오브젝티브C 2.0

 

iOS-5-Cookbook /

C03 C03 attempt []
C04 Working on C04 []
C05 test []
C06 Fixed munged project (butterfly animations) []
C07 update []
C08 update []
C09 update []
C10 update []
C11 update []
C12 update []
C13 Batch 3 []
C14 update []
C15 update []
C16 test []
C17 Uploading C17 EE []
C18 test []
C19 update []
C20 test []
C21 test again []
C23 Uploading A few more EE c's []
C24 Hopefully finishing off the EE c's []
Supporting Artwork Initial post-NDA Commit []
TOUCHkit update []
README.markdown Updated README []
do-git Initial post-NDA Commit []
반응형
반응형

N.O.V.A. 3 - Near Orbit Vanguard Alliance By Gameloft

http://itunes.apple.com/us/app/n.o.v.a.-3-near-orbit-vanguard/id474764934?mt=8


N.O.V.A. 3 - Near Orbit Vanguard Alliance


Open iTunes to buy and download apps.

Description

New iOS game sale! N.O.V.A. 3 - Near Orbit Vanguard Alliance is now $0.99 for a limited time!


“If you're an iOS gamer who demands the very best, you should buy N.O.V.A. 3.” - Slidetoplay
“N.O.V.A. 3 looks, and sounds streets-ahead of anything else on the AppStore right now” - Touchgen 5/5
“NOVA 3 is bigger and better than its predecessors, not to mention a visual feast” - KnowYourMobile – 4.5/5


The most immersive and impressive sci-fi FPS franchise on smartphones is back! Fight for mankind's survival in the greatest space shooter on mobile devices!

Four months have passed since Kal ruined the Volterites' plans by sabotaging their war factories, and stopping the extraction of the Judger Artifacts. However, following the assassination of President Folsom, the government surrendered the colonies to the Volterite Protectorate in order to prevent civil war amongst the increasingly pro-Volterite citizens.
Kal Wardin has been laying low since Folsom’s death, but now he has received a desperate plea from Yelena to come to Earth. Once again, the hero must rise to save mankind!

• An epic storyline: Humanity finally returns to Earth after years of exile! Fight in 10 immersive levels across the galaxy, from a war-torn Earth to a frozen Volterite city.
• Multiple weapons and powers: Run, shoot, drive vehicles, and pilot a mech to defeat hordes of enemies.
• Join 12-player battles in 7 multiplayer modes (Capture the Point, Free-for-All, Capture the Flag, etc.) on 7 different maps.
• Use Voice Chat to communicate with your friends in real time! (Voice Chat available only on iPad 2, the new iPad, and iPhone 4S.)
• For the first time, multiple allies can jump inside the same vehicle and spread destruction on the battlefield.
• Discover the new FPS benchmark for graphics and gameplay on iOS (real-time shadow & lights, particle system, ragdoll physics, etc.)
•Optimized for iPad Retina Display



----

Visit our official site at http://www.gameloft.com
Follow us on Twitter at http://glft.co/GameloftonTwitter or like us on Facebook at http://facebook.com/Gameloft to get more info about all our upcoming titles.
Check out our videos and game trailers on http://www.youtube.com/Gameloft
Discover our blog at http://glft.co/Gameloft_Official_Blog for the inside scoop on everything Gameloft.

What's New in Version 1.0.2

Coordinate ambushes in real time and overcome any challenge by talking directly to your friends during the fight! Voice chat and more amazing features are now available in the new N.O.V.A. 3 - Near Orbit Vanguard Alliance update!

VOICE CHAT (Available only on iPad 2, the new iPad, and iPhone 4S)
Communicate in real time with your teammates and employ devastating tactics using the new Voice Chat feature!

NEW MULTIPLAYER MAP
The Warehouse map is now available in Multiplayer mode. This exciting new map offers a great mix of close- and long-range combat opportunities for maximum fun. Take advantage of the rooftops and control the battlefield with your jetpack! Return to San Francisco and fight your way through the courtyard.

NEW MULTIPLAYER MODE
Tread carefully in Team InstaGib mode, as you and your enemies all have the same weapon, and even a single hit means instant death!

Screenshots

iPhone Screenshot 1
iPhone Screenshot 2
iPhone Screenshot 3
iPhone Screenshot 4
iPhone Screenshot 5



반응형
반응형

http://www.mobilexweb.com/

iPhone 5 and iOS 6 for HTML5 developers, a big step forward: web inspector, new APIs and more

The new main version of the Apple’s iOS is with us, along with the new iPhone 5 and the iPod Touch fifth generation. As every big change, lot of new stuff is available for HTML5 developers and -as always- no much official information is available.

Quick review


I’m going to divide this post in two parts: iPhone 5 and iOS 6 new stuff.

On iPhone 5:

  • New screen size
  • New simulator
  • What you need to do
  • Problems

New features on iOS 6:

  • File uploads and camera access with Media Capture and File API
  • Web Audio API
  • Smart App Banners for native app integration
  • CSS 3 Filters
  • CSS 3 Cross Fade
  • CSS Partial Image support
  • Full screen support
  • Animation Timing API
  • Multi-resolution image support
  • Passbook coupons and passes delivery
  • Storage APIs and web app changes
  • Web View changes for native web apps
  • Debugging with Remote Web Inspector
  • Faster JavaScript engine and other news

Device detection

At the time of this writing there are no iPhone 5 on the street yet. However, as far as every test I could check, there is no way to detect iPhone 5 server-side. The user agent only specifies an iPhone with iOS 6, and the same exact user agent is being used for iPhone 4S with iOS 6 and iPhone 5.

Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25

Therefore, the only way to detect the presence of a 4″ iPhone device is to use JavaScript and/or media queries, client-side. If you need to know server-side, you can plant a cookie from client-side for next load. Remember that these devices have 1136 pixels height, but in terms of CSS pixels (independent resolution pixels) we are talking about 568 pixels-heightas these devices have a pixel ratio of 2.

isPhone4inches = (window.screen.height==568);

Using CSS Media Queries and Responsive Web Design techniques,we can detect the iPhone 5 using:


@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) {
/* iPhone 5 or iPod Touch 5th generation */
}




반응형

+ Recent posts